diff options
| author | Darrick J. Wong <[email protected]> | 2021-09-16 19:24:04 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-10-19 18:45:14 +0000 |
| commit | 6ca444cfd663545e9e1c19ad2695836ffafad0a6 (patch) | |
| tree | d1733bff03cc4558998ddbf161ce0958b220b46e /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: dynamically allocate btree scrub context structure (diff) | |
| download | kernel-6ca444cfd663545e9e1c19ad2695836ffafad0a6.tar.gz kernel-6ca444cfd663545e9e1c19ad2695836ffafad0a6.zip | |
xfs: prepare xfs_btree_cur for dynamic cursor heights
Split out the btree level information into a separate struct and put it
at the end of the cursor structure as a VLA. Files with huge data forks
(and in the future, the realtime rmap btree) will require the ability to
support many more levels than a per-AG btree cursor, which means that
we're going to create per-btree type cursor caches to conserve memory
for the more common case.
Note that a subsequent patch actually introduces dynamic cursor heights.
This one merely rearranges the structure to prepare for that.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Chandan Babu R <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
