• Chris Mason's avatar
    Btrfs: two stage dirty block group writeout · c9dc4c65
    Chris Mason authored
    Block group cache writeout is currently waiting on the pages for each
    block group cache before moving on to writing the next one.  This commit
    switches things around to send down all the caches and then wait on them
    in batches.
    
    The end result is much faster, since we're keeping the disk pipeline
    full.
    Signed-off-by: default avatarChris Mason <clm@fb.com>
    c9dc4c65
ctree.h 135 KB