commit | 9fa47bdcd33b117599e9ee3f2e315cb47939ac2d | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Thu Sep 23 12:21:37 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Oct 19 11:45:16 2021 -0700 |
tree | 4791e63154cebc89fb73fa4ec2218eb0cc3cd85e | |
parent | 0ed5f7356daee74244b02e100b3cc043e886e686 [diff] |
xfs: use separate btree cursor cache for each btree type Now that we have the infrastructure to track the max possible height of each btree type, we can create a separate slab cache for cursors of each type of btree. For smaller indices like the free space btrees, this means that we can pack more cursors into a slab page, improving slab utilization. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>