summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_trans_space.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:15:52 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:55 -0700
commitb23073c8965c9a39c9ee68278d9a1c0121865963 (patch)
tree8b8ff3cf5a15cff1558d6f331677fdd304f4ba9b /fs/xfs/libxfs/xfs_trans_space.h
parentff2a0b3f1c5a805ef0b980298507a3fa6b3594be (diff)
xfs: compute actual maximum btree height for critical reservation calculation
Compute the actual maximum btree height when deciding if 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: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_trans_space.h')
0 files changed, 0 insertions, 0 deletions