[PATCH 07/47] xfs: add function pointers for get/update keys to the btree
Christoph Hellwig
hch at infradead.org
Mon Aug 1 01:39:02 CDT 2016
On Wed, Jul 20, 2016 at 09:56:46PM -0700, Darrick J. Wong wrote:
> Add some function pointers to bc_ops to get the btree keys for
> leaf and node blocks, and to update parent keys of a block.
> Convert the _btree_updkey calls to use our new pointer, and
> modify the tree shape changing code to call the appropriate
> get_*_keys pointer instead of _btree_copy_keys because the
> overlapping btree has to calculate high key values.
I don't really like to add ops for something that isn't really
per-btree type. Can you just add an overlapping flag and act based on
that?
More information about the xfs
mailing list