tag name | log-use-incompat-features_2021-08-25 (dbaba449ec6d1420f219ba19f1a959c31f9cab3f) |
tag date | 2021-08-25 22:27:19 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 4cf1800184... |
xfs: enable use of log incompat features
Currently, there are no bits defined for the log incompat feature field
of V5 superblocks. This field is intended to be used for enabling new
log features that older kernels cannot recover, such as new log intent
items, when those new features do not affect the ondisk format.
The upcoming atomic extent swap and logged xattrs features require new
log intent items to track high level file operations. Therefore, they
need a way to turn on the feature in the superblock to prevent replay on
old kernels, and they need a way to turn off the sb bit once the new log
becomes clean again. This patchset is short -- the first patch enables
high level code to turn on a log-incompat feature bit, and the second
patch turns it off again when we write a clean log to disk.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmEnJjcACgkQ+H93GTRK
tOttrA/7BbfjUhy/4aL1Rts75+dtzbTy9O6WiwJoQIibga8mUK2giIr2wbV/G7MW
nC8Jqwc8G6002j9+uvSocEnhTijtiMG+ecFTfNgOjMpzqUDBAFT8dXY2nE2k8Mvi
GWX+e4rlThTkqCVZo6c/iRTCXJmsbvaZ9xGL7CXyUqK5FgI7QCqnubdqa2hKHKZD
kU3p/KRytexrn2zuNTZZ59agud/dFe5NXGtdQVuVHW7jvdpeqm0GLVA9nxgA62QL
rJHwN8uLTdFwP/Kwt1KzqIvZdGWSS/rdfgUfdlo/4j49AXtbW+Luif9V+T/iaVyL
urwE/LZAJiInwQqf1QrSEbTXpxg1IYrTeIrg0Eg1oClZ5CRGtrujbge9L+kxF39z
3BlF42kQFFYRnIADCWQZkszWg/0jBV0+AweyDBrnYTJBdLz5seQan/51oWawneH+
2eAH0AygeUcLblH9n8oiQdvJUaj1rwcuP8nHG15jqLiGvPM9ePNGie6vMJvOtAvF
F/l7Uy0ChNdBUyZlLic+VZnhBqkwCdC2N2ePWEaU0oozZ/a6PbEgJ+oyesolpJBV
ECvsaW4lESqjPOY84AhtzYb0p4yFnlP6pAs3Y1Gz7vTdycu+0S1S35YBreUwebLv
tRQBSDbpLwv3NoceoXXNl728AiUj501j15J6i5GkVNCos5Z20V4=
=VFty
-----END PGP SIGNATURE-----