summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_bit.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-23 10:32:06 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-14 13:11:56 -0700
commitb30824d98993239c1e1bd4124e458ad1fcbe1f14 (patch)
tree87f7982a5ae9c1251fe14bc2aeadba03ebf10b8d /fs/xfs/libxfs/xfs_bit.h
parentb0e4563697bc585f272d002ae1c0b3a7b62d1d10 (diff)
xfs: compute absolute maximum nlevels for each btree type
Add code for all five btree types so that we can compute the absolute maximum possible btree height for each btree type. This is a setup for the next patch, which makes every btree type have its own cursor cache. The functions are exported so that we can have xfs_db report the absolute maximum btree heights for each btree type, rather than making everyone run their own ad-hoc computations. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bit.h')
0 files changed, 0 insertions, 0 deletions