summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-20 16:20:42 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-12-23 13:06:09 -0800
commit6a849bd81b69ccbda5b766cc700f0be86194e4d1 (patch)
tree1e3f61a7626351d96401b190a7e47e35e840b25c /tools/perf/scripts/python/export-to-postgresql.py
parentc6904f6788b79e8d2275a55cbb71b4992be29d92 (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