commit | b74e15d720d0764345934ebb599a99a077c52533 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Thu Sep 16 12:27:34 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Oct 19 11:45:15 2021 -0700 |
tree | c57f72b02abd7757e6dd30d7a33095d06ec4c2c1 | |
parent | 7cb3efb4cfdd4f3eb1f36b0ce39254b848ff2371 [diff] |
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>