diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-20 16:20:42 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-12-23 13:06:09 -0800 |
commit | 6a849bd81b69ccbda5b766cc700f0be86194e4d1 (patch) | |
tree | 1e3f61a7626351d96401b190a7e47e35e840b25c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c6904f6788b79e8d2275a55cbb71b4992be29d92 (diff) |
xfs: online repair of the realtime rmap btree
Repair the realtime rmap btree while mounted. Similar to the regular
rmap btree repair code, we walk the data fork mappings of every realtime
file in the filesystem to collect reverse-mapping records in an xfarray.
Then we sort the xfarray, and use the btree bulk loader to create a new
rtrmap btree ondisk. Finally, we swap the btree roots, and reap the old
blocks in the usual way.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions