tag name | repair-xattrs_2021-09-17 (93b928b3110cb475d95682c832bedb31323ad711) |
tag date | 2021-09-17 18:56:12 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 7ec93c86fd... |
xfs: online repair of extended attributes
This series employs atomic extent swapping to enable safe reconstruction
of extended attribute data. Extended attribute repair consists of four
main parts:
First, we walk the existing attributes to salvage as many of them as we
can, by adding them as new attributes attached to the repair tempfile.
Second, we prepare the temp file by changing the inode owner field in
the attr block headers.
Third, we use atomic extent swaps to exchange the entire attribute fork
between the two files.
Finally, we tear down the old attr data (which is now in the temporary
file) as carefully as we can.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmFFRzwACgkQ+H93GTRK
tOufgw/+Pprp8P7/uLaYuYZ59Wkdxl/hv4wcjKSVdSamZBNYot95gVGcjIl0+MWQ
+VVooVI8qBOxuD4fasNyIz8nplYymIkaRhDZD9467z0Cxbdv/HQDbq/Aqa1ttwpg
ks2pZzwAfK3Uosl1vOW4yl/vc9FZpzBbvjtu0rpbbS3zILZxn+XeTU8QPwSBDXqI
tE+Y4BdrywZeKST3xXPhTZhRfl6h2ZOl4NSoeya2IJgUKE0IJm65Dr6Ua7SB1ZXX
ktGj4FKhM/syK1lR0rC31iZeb81Q95Uf1G4IZNl4O/fSs8gEm72gxBWHuCwcyviw
hL7KNjvCCokIoXbZ3vgkruu2hN/kVk93BKwZQF6sL8boOykawDF32Nq7AWcPcxpW
ui0YOAcmC9kTN4C0g3HnHD/0iquIfONgpVABla/KGoP4UK9Bt7pfWzSMXFxkauj5
JRZY7JAYbaVMbLzJg4wsPzLVlc75aGoULJsMJAn9+2kLHLXE3ghsu5+hDcNZ/cUn
SySIFhzpkzU1vZLdtoK/zg844shs4M0+0POKkMTT9UAKJ82mwYOOh596mV0jxTz/
segT9VaL++sM8LyAvupyK+5hHjEvVhvqFxvtKV7G5Jry5E8hObCF/CunGXgW8my5
d/c52I7qjfHaGXsMK0bhcLhyLGp+8woWjcL4CeSBQBVnwt+2IYE=
=y0eU
-----END PGP SIGNATURE-----