tag name | repair-xattrs_2021-12-15 (22167770b38d67f9c70dc6b3ad353be72da509c0) |
tag date | 2021-12-15 17:30:56 -0800 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit e4ca20e081... |
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+H93GTRKtOsFAmG6ltAACgkQ+H93GTRK
tOv5URAAhXrwfEFQJ2HOBFlVGCPPTCCakIc1DzV3ln/E/AMafFI19d79GpFBoNvM
Udnkd9Yf7uOpYgVjXF0q2dYRrWnV3l3YDS4wXMLhOA9AGb9gcHRCynQCkmSSvvx9
74SJzRC6bYcKpJPt+OnbWl/Ekm7KRQobBatyJX4lpJECyvayFIeI/8HeTCDUBjky
CgbXjdsWCTziENEGuO9Yovp/XKuARCzyPqDc8gpY70aGcBszVB28P/Ubyo/4mNAt
dOLOsbGRfkdAlPL6tbxf98lyqrtbyUpWEJbaoAQ5icnLjpIXmPQrpAeB9vsbno55
MoAG+gmD5uTM3FCEu0NljHbRLQR7fqC0oyVUKirUdSZWb9tTgtUyqYVvcX+IidBx
oT1lvB/e/9eWovUoMzg+UPl8j4RYjFT3w4Pktu+jiIAAGJbISpyb4meUlbmM3WYY
AyeicImuw+5pOauvlnA/YYSjdw8DftxxVCa0hpOP77CVzK6wZ/1GEnGeADzM+i9R
7A0eSH01g+TaQr7YQSYvaM/0MfqXAsvvq3CE4C2O27N+R1HRihkDavrvQt5u2U+0
ZoMm6OOcke35rzpYMBYSS6pwfiyYQCR+GwRFsVOg34v8x/1wZWNRkkd+TE/4RBly
DPGWlo9hU6G9+ufCmNsnGuVox2QRktejXnJt6gc5nZ5sKIWTmHc=
=euEv
-----END PGP SIGNATURE-----