commit | 6b09175fb9b83ebffe49001aa590f07599dcb30c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Thu Sep 02 14:44:50 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Sat Oct 16 11:11:54 2021 -0700 |
tree | 2d005637d88e0b666e1c35d9eb266b5e4cc6f9c4 | |
parent | d2ee7aefe63fa5387f8c4f5ab96bdbf849b68b4b [diff] |
xfs: widen btree maxlevels computation to handle 64-bit record counts Rework xfs_btree_compute_maxlevels to handle larger record counts, since we're about to add support for very large indices for the realtime rmap btree. We also need this to compute the theoretical maximum number of inodes that can be stored in a 1TB AG with 256 byte inodes. Signed-off-by: Darrick J. Wong <djwong@kernel.org>