summaryrefslogtreecommitdiff
tag namerepair-rmap-btree_2022-11-09 (abee5bfc1df00e16b3f485ee0faacf17eeb195ef)
tag date2022-11-09 19:10:10 -0800
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit b2040cb16f...
xfs: online repair of rmap btrees
We have now constructed the four tools that we need to scan the filesystem looking for reverse mappings: an inode scanner, hooks to receive live updates from other writer threads, the ability to construct btrees in memory, and a btree bulk loader. This series glues those three together, enabling us to scan the filesystem for mappings and keep it up to date while other writers run, and then commit the new btree to disk atomically. To reduce the size of each patch, the functionality is left disabled until the end of the series and broken up into three patches: one to create the mechanics of scanning the filesystem, a second to transition to in-memory btrees, and a third to set up the live hooks. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNsa5IACgkQ+H93GTRK tOs9Ww/8C/OkPtEkkjYLGX62zUElYRatX30s2bwgKP6PvgmnnlLuZywuGku9lpcR ymUn9Sa41OsWdhNt26256Px2VFyIUKha0f2vWwEEucxkeOxMY0Ue4eORMnxgzN9k zrLK6wlvWPwpzgTzsP618wALHKR+G9s4n6j2KvEAGA4xSikE60lDM4bS1moAt5Hw YuiOOqehq6Y+8oOIDdfhMIE1CDqJMKDyXVLvOYWtqPnVl3wvSga/7OjPCz4bfO2n DvyWnkZaA1nsbi0FbN+1jyNa2y9NWSxyzxUhz2rkTby1zRgVJxaW7uMmK9ctpGo1 bwz21Y1CA/fHD2ashm6iRfzVl2AtYlMMBbt0RzudEhRJ1wPD0XomZijqGAKRjztt hAG8EFGJ7bKFFWv15JeVg/0t1By4mLtOemToQxMO0buuoab0Yi9fg0ZNyHmjyh13 kMZUvUETnifcEd57cSgle1hBkn6SmkPxICzC6rw2U88CGAlzhVQj8Wc8OOsDg8R2 Mfhdmd+jqSLS5/UrC0cdY9rtaZicJMlexujZBaq5gsAqJXs7h1Ty0wo6caUY/l9k 3wNCIE/msrS2Wtm+7Xce65TIyO3Fzb6ktlB0U8/VMLWc9nAc1vRIDBI7QwmxOKSg +7JMO4EMUKLTBu5HUOyXEZIe27NO13TgF7/Qp6wpcWM5Ai/ttJk= =RrOm -----END PGP SIGNATURE-----