xfs: encode the max btree height in the cursor
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Sep 2021 19:26:56 +0000 (12:26 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 19 Oct 2021 18:45:15 +0000 (11:45 -0700)
commitc0643f6fdd6d3c448142ed1492a9a6b6505f9afb
treeec9f193ce040806f38b138c6fcc2c11c0dd82b6f
parent56370ea6e5fe3e3d6e1ca2da58f95fb0d5e1779f
xfs: encode the max btree height in the cursor

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@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_btree_staging.c