summaryrefslogtreecommitdiff
tag namerepair-rmap-btree_2022-10-14 (4d70f72ce344a72efba868567de5918aa2d686b1)
tag date2022-10-14 14:18:50 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 647bfade0c...
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+H93GTRKtOsFAmNJ0joACgkQ+H93GTRK tOs3NRAAht9zQTeTLxhN/lZzvWY+FqBQ1YLZSHSmVXJKplPPb7KgTpAPA7L5eSZg 9uW+BJseHJeE0c3XmrGVQVAHJppeBYeJ+jcG6okQt460r0pvS+BA/sLBHusQ2V+4 KhaEj4JNCBip+yyrgDiqFXMi7XFQkhflBIQXegvSio6DxaoP0H2x7dozP8SPSeWT 2J4xLM55hEaE4dr/FhOIOImq/TB05G5Wf9TH/oz3i7ZEbv+njS0UsyFOAWdBznjO k5MEYMZNLzPrYmTWSHlXwHQcXXYcJXFjY8BsJYd3Vd+kxylQii4AivtqPljaKvgM aRffJcjU1X5TI+cxX8O1eQDeyAVC5LLgmg3Aeyc/hgeo2L5NBKN5A0wrtzATC9d2 r1O1lzkxc52TIGjTkJPZQsACJEczIbW0HA86cEGhEM9TOTFCEYkx0UpqtqI7HlVq m8gKpA50OM/tCMf2Kpbd2SIH99NY7PCPHFe+gT1Bs+v+3QqS9e0PFSvUq6Dly9P/ KYrOaPIt8UIx/4PA89+h+c2WDZSdK2CoXZXkWfPJ+poASetgYXzKLQLs/zqWGE/N UMGYUB66DypcWEmnJiQhl2EXntc9C6KCaboEaj3tGL1mNGGrfobGZZF/ENu1H4M1 CNnyQsSGgEez3NcjjQri4QHZws5NHebZar5Ity5FYdpCCDFZ7fQ= =ptaY -----END PGP SIGNATURE-----