commit | c0ef00d1e835bfd24399aaa069b2b608dd60b485 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Thu Sep 23 10:32:06 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Thu Sep 23 18:20:31 2021 -0700 |
tree | 74ff1eab8a9c47a1db95799eea6d6024c28c4171 | |
parent | 02f8e763f1da078cc23d5f7cc4310f015c939645 [diff] |
xfs: check 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, and then check that none of them exceed XFS_BTREE_CUR_ZONE_MAXLEVELS. The code to do the actual checking is a little excessive, but it sets us up for per-type cursor zones in the next patch. Signed-off-by: Darrick J. Wong <djwong@kernel.org>