On Tue, Oct 12, 2021 at 04:33:17PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Encode the maximum btree height in the cursor, since we're soon going to > allow smaller cursors for AG btrees and larger cursors for file btrees. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_bmap.c | 2 +- > fs/xfs/libxfs/xfs_btree.c | 4 ++-- > fs/xfs/libxfs/xfs_btree.h | 2 ++ > fs/xfs/libxfs/xfs_btree_staging.c | 10 +++++----- > 4 files changed, 10 insertions(+), 8 deletions(-) Looks ok, and fills part of the hole in the btree cursor structure so doesn't grow it again. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx