summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_log_recover.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-16 22:27:34 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-10-19 21:45:15 +0300
commitb74e15d720d0764345934ebb599a99a077c52533 (patch)
treec57f72b02abd7757e6dd30d7a33095d06ec4c2c1 /fs/xfs/libxfs/xfs_log_recover.h
parent7cb3efb4cfdd4f3eb1f36b0ce39254b848ff2371 (diff)
downloadlinux-b74e15d720d0764345934ebb599a99a077c52533.tar.xz
xfs: compute maximum AG btree height for critical reservation calculation
Compute the actual maximum AG btree height for deciding if a per-AG block reservation is critically low. This only affects the sanity check condition, since we /generally/ will trigger on the 10% threshold. This is a long-winded way of saying that we're removing one more usage of XFS_BTREE_MAXLEVELS. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_log_recover.h')
0 files changed, 0 insertions, 0 deletions