• Chris Mason's avatar
    Btrfs: Index extent buffers in an rbtree · 6af118ce
    Chris Mason authored
    Before, extent buffers were a temporary object, meant to map a number of pages
    at once and collect operations on them.
    
    But, a few extra fields have crept in, and they are also the best place to
    store a per-tree block lock field as well.  This commit puts the extent
    buffers into an rbtree, and ensures a single extent buffer for each
    tree block.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    6af118ce
extent_io.h 9.26 KB