• Darrick J. Wong's avatar
    xfs: support in-memory btrees · a095686a
    Darrick J. Wong authored
    Adapt the generic btree cursor code to be able to create a btree whose
    buffers come from a (presumably in-memory) buftarg with a header block
    that's specific to in-memory btrees.  We'll connect this to other parts
    of online scrub in the next patches.
    
    Note that in-memory btrees always have a block size matching the system
    memory page size for efficiency reasons.  There are also a few things we
    need to do to finalize a btree update; that's covered in the next patch.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    a095686a
xfs_btree.h 21.2 KB