summaryrefslogtreecommitdiff
tag namerepair-file-mappings_2022-10-14 (9eea536893cfb0b617ea8d849e43fe51fbc13f0e)
tag date2022-10-14 14:18:41 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 88b4930063...
xfs: online repair of file fork mappings
In this series, online repair gains the ability to rebuild data and attr fork mappings from the reverse mapping information. It is at this point where we reintroduce the ability to reap file extents. Repair of CoW forks is a little different -- on disk, CoW staging extents are owned by the refcount btree and cannot be mapped back to individual files. Hence we can only detect staging extents that don't quite look right (missing reverse mappings, shared staging extents) and replace them with fresh allocations. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNJ0jEACgkQ+H93GTRK tOvqSA//URkBofOq7EDV6lnqgBZJtHZw3mzeqacHt92mHw3FM37ivOG5eZe7MJSZ TGUV1HIOd25rpXh3rsbLC26mf8uY/FbS21xXR275OP3/D6ANda3ToR3UgeGHCjCs 0xc/LVZroqDHJDU1ZvmiLkx7VzMAn9WeZ3ci4C1RIXqZk+DAN1D/hxdOiVJ0tzwQ kboC+nWs6NcwTWt8TXWvvMGTxniQSh3hbRUExE3jamscqimsLS/1bCZP8NAYfIMD IJh7nhfSV4YvD9JAdVY5qMYYTJqDlsNWj0FQR6kM2RPhfpw/nIei0TKrO+Sh7C7K 2OvYVrdYXV6UNm8Kh44wFDPZdRhY7pmgrucAfGb3Qe+zZ4VOcQdUonJBAU6XXtpT fOz4DVmd/jXIhu6WhspM3uAvjxoj2ue8KGgyvmzygj+7nNYDpckVNezm0dy5esva 8BwsrH/bYHgAgxFLcQLet9+jfjXj8i6ztY7kettLeS/MLKO8iYbVEWMUNPKvF7pk WCRwPdc97VNLMPXVL5sEu4nljxuTykaFciLocIJ5pnIn/FEm85M4vLyLYVq9JOeR hcNATquP+0lptATkbwjUQyowpyYx5EatW7FL3IekKdj4iXdrOPw1SVUZ9svVGAe8 jnzcXBFR6jwcprT5324k5Qr7gscZOU8uxxgprIRJYE6i+btbnoM= =sUVr -----END PGP SIGNATURE-----