tag name | repair-ag-btrees_2021-12-15 (99628d509801dffd9b983628ac10ecf4b6ffd9a9) |
tag date | 2021-12-15 17:30:45 -0800 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit f025f5d864... |
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+H93GTRKtOsFAmG6lsUACgkQ+H93GTRK
tOsH6w/9Eier7Jtt1TJCuuGrUUbcdmAV7AW1yysvETTt25Odpcbr0pWiBjDR/Js/
ewmejNM1G6k6M31mKGB0l84vGeDM4Ku3guXHF4FUr9jrVgjOtpHdzT5XmRs8HJEJ
kj7Mb83TGC3RxJcTsmH9Yz0Nv4yYwZ9KFngxI4PPMhY7nVK6N8XM61eeTjhg32tX
ppD+d4mXgdfrLv8Y99O3Yy61gr76msUm5Ms8J7BLDQs233YsmEsdGGJZrU9Pwp12
98zqwTVv3l1gJQFqnj9NTc/SjVlV8QzwNT4M6gId9137LZzTdhb99XIcqTIdCy1t
sueZV0RlMeCF9wHFAC6K3/Z9Yj3tY4StXSdcOp2yOwdS9KkQJI+UkXWZx0FKTr0D
1VRZ0pRL/1x+qKUzBU7y7XQ9MfPshDM9+/aKs4z1lOeNajNO0qyXb+bKTZ4CZXG0
7v6uESW33A1Mprb5/rWUjAczreiY+rpf4BXrunOobIIQ4nouQ8iWwBKdXH/qPZSD
18uJhJ8jjjLSsFB+0oTotAfkwCOuxj0upvX9ZXt3oXw18yDdlB1hFu7PFPLx7EMA
946xEDfKM8OgvMfH6bAfFIDREfk6YfLBv1ZWO+mt5FJKDhJBe3s6uEge9Q5pw8k7
9R2vEhj7M0mlCXV4quzXI9vHxVhYh6ohtgND0hmylq2X3y4tJbQ=
=GbVs
-----END PGP SIGNATURE-----