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:17 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-12-23 13:06:02 -0800
commit505248719fcbf2c76594fe2ef293680d97fe426c (patch)
treeec81d5a035ae8ee37b5e5049bddf6ca5902eebb0 /tools/perf/scripts/python/export-to-postgresql.py
parent7708951ae52132d3c4e05aee2e57d35f0d89bd49 (diff)
xfs: hoist the node iroot update code out of xfs_btree_kill_iroot
In preparation for allowing records in an inode btree root, hoist the code that copies keyptrs from an existing node child into the root block to a separate function. Remove some unnecessary conditionals and clean up a few function calls in the new function. Note that this change reorders the ->free_block call with respect to the change in bc_nlevels to make it easier to support inode root leaf blocks in the next patch. 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