tag name | repair-ag-btrees_2021-09-17 (6c8288ebf639008d594e8b4f7f7c723f69c60ae5) |
tag date | 2021-09-17 18:56:01 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit c8b6a42b46... |
xfs: online repair of AG btrees
This is the first part of the twenty-second revision of a patchset that
adds to XFS kernel support for online metadata scrubbing and repair.
There aren't any on-disk format changes.
New for this version is a rebase against 5.5-rc4, bulk loading of
btrees, integration with the health reporting subsystem, and the
explicit revalidation of all metadata structures that were rebuilt.
First, create a new data structure that provides an abstraction of a big
memory array by using linked lists. This is where we store records for
btree reconstruction. This first implementation is memory inefficient
and consumes a /lot/ of kernel memory, but lays the groundwork for a
later patch in the set to convert the implementation to use a (memfd)
swap file, which enables us to use pageable memory without pounding the
slab cache.
The three patches after that implement reconstruction of the free space
btrees, inode btrees, and reference count btree. The reverse mapping
btree requires considerably more thought and will be covered later.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmFFRzEACgkQ+H93GTRK
tOs4vg/+Kmd3Pt08ijlr8WNL0pkeGxm3oPcLzIctxneINyCE8q/DlX9wnpsUwZ3b
GcpesVgkWQo+gDpcoGNK3rRj17GgLnPb8KKD6L9Lr+KNp1qHTAxC2d7nyz6Y70Vb
/Ij7y9k9AebJf/9bhgc7kyr9t/bXNrecaiOGUL+5JUrlXwHujX6bnw2iyDrWa+SR
JyvrBPg0uWKR7ZExHPEDRVVxcyGXTHaTFqATLBvsbEjPFi9YuHbXQTeAD4bkA5jP
Jq63j87lY+qLPgpelsT7xigeF4ZeFETDncqM7Y6uAZcr6ufN5H4+GPZAAMMFllDu
Jc9K22slbsEFn92MmHxzG80UbyYA1U3tKzLTZW9RWa5R8deHHY1QcewEYEy6YxLI
O4V8kbzjoVHm8i5e4EJRlK+2FlK1b3bjY3tXPNs5g3nQx2RztQvQZ6Zq9AYjNC2a
cSH0balkgWmohEeBA5k7WqXoO9fqNVRK6WJPHoeUQfLc/dBhsS8hX3dn0Xa6ZX30
Pw6rzi3wyPZ1//YbrzHJpksmip+aaj2UAlTidatHkREk1k5IXp7yLOa4RgX1+AR1
KDQfe7wJwvwm9x7/U+hKVwmgUWGkO982RgRvsaMP/D/M22hb+YyozmHSyqGWBiL7
W6trHALYMuHPdYwGLKvQok8nlazVldU6ynos24dUughfZejVpiQ=
=EKRA
-----END PGP SIGNATURE-----