• D
    xfs: dynamically allocate cursors based on maxlevels · c940a0c5
    Darrick J. Wong 提交于
    To support future btree code, we need to be able to size btree cursors
    dynamically for very large btrees.  Switch the maxlevels computation to
    use the precomputed values in the superblock, and create cursors that
    can handle a certain height.  For now, we retain the btree cursor cache
    that can handle up to 9-level btrees, though a subsequent patch
    introduces separate caches for each btree type, where each cache's
    objects will be exactly tall enough to handle the specific btree type.
    Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: NDave Chinner <dchinner@redhat.com>
    c940a0c5
xfs_super.c 58.6 KB