On Thu, Oct 14, 2021 at 01:18:28PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Now that we have the infrastructure to track the max possible height of > each btree type, we can create a separate slab cache for cursors of each > type of btree. For smaller indices like the free space btrees, this > means that we can pack more cursors into a slab page, improving slab > utilization. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_alloc_btree.c | 23 +++++++++++++++++ > fs/xfs/libxfs/xfs_alloc_btree.h | 3 ++ > fs/xfs/libxfs/xfs_bmap_btree.c | 23 +++++++++++++++++ > fs/xfs/libxfs/xfs_bmap_btree.h | 3 ++ > fs/xfs/libxfs/xfs_btree.c | 48 ++++++++++++++++++++++++++++++++---- > fs/xfs/libxfs/xfs_btree.h | 20 ++++++--------- > fs/xfs/libxfs/xfs_ialloc_btree.c | 23 +++++++++++++++++ > fs/xfs/libxfs/xfs_ialloc_btree.h | 3 ++ > fs/xfs/libxfs/xfs_refcount_btree.c | 23 +++++++++++++++++ > fs/xfs/libxfs/xfs_refcount_btree.h | 3 ++ > fs/xfs/libxfs/xfs_rmap_btree.c | 23 +++++++++++++++++ > fs/xfs/libxfs/xfs_rmap_btree.h | 3 ++ > fs/xfs/xfs_super.c | 13 +++++----- > 13 files changed, 182 insertions(+), 29 deletions(-) Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx