summaryrefslogtreecommitdiff
tag namerepair-xattrs_2021-10-22 (036f8febc4f328c28b03ed0a065d41bdd540fe00)
tag date2021-10-22 16:45:24 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit e2e1ab0030...
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+H93GTRKtOsFAmFzTRQACgkQ+H93GTRK tOuk5g/+Ot6od7/g22h1CyTlxOeEWSUCNSwoUsG/bB5Rvm6s/3qIrizWNP0F8dYt elNNf9IVQEIKfw0IgY+E+gbuOzGH/6u07s0KOSrJgqQuKy+9aqNPU3OhQLVeVCJw Q5bcvVQ9LC8Y/+OpPr8tw2SXXkiqdfyg/W6/i50r6Ic6bMAdP65QZUR99R/1zXah FtrDltaX4ZjNv6rBjfdvh8ifz/3nNA+EXXB9MW0Vp/lxCGlet0JZerZHiQeEuXZr 83CKUMFIe0443rpnxMu/t+S8Sm9R5zj/4E65wiM10bUhu4quIEzq1lAPBtn9S4yv SwXEa+AZyHEBaUou6l977fwKrNb40snJABo64s0zMvHw/NArF28mkrY49PckHZt7 k0izeb1uaWTIletYc9TTPBvd46huhWhkEvmZGolBNTWV/n8IEA1elgucfzdE1HNk wL/hdyhzqmG8Fgo3xGwlFmZ/bbJKf0c+lk4YDMOHpAQav4MqNwd4F5C7cGPiefd6 gfqsSQXq9JPQydRo9vFlKeEhoZhLzYsCxgVRxPzLUGZXn0/reUEaIK6vcSNUw2oT joJ8iAh7b5hlwrZzcXP5O0RrTCDuO0WIJc9CG79BloH1MAWvdbHfqBIKnDSnev01 AcK16Z04SnMW93zz7H58lNs93pkQe0ciWd1P/P3cZb3/pzdXkqs= =NQK3 -----END PGP SIGNATURE-----