diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-20 16:20:16 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-12-23 13:06:02 -0800 |
commit | 7708951ae52132d3c4e05aee2e57d35f0d89bd49 (patch) | |
tree | 8a6bf0b5eb3c60a6486af85fc50745f0b12dd10e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c914081775e2e39e4afa9b4bb9e5c98202110f51 (diff) |
xfs: hoist the node iroot update code out of xfs_btree_new_iroot
In preparation for allowing records in an inode btree root, hoist the
code that copies keyptrs from an existing node root into a child block
to a separate function. Note that the new function explicitly computes
the keys of the new child block and stores that in the root block; while
the bmap btree could rely on leaving the key alone, realtime rmap needs
to set the new high key.
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