• Chris Mason's avatar
    Btrfs: Transaction commit: don't use filemap_fdatawait · 777e6bd7
    Chris Mason authored
    After writing out all the remaining btree blocks in the transaction,
    the commit code would use filemap_fdatawait to make sure it was all
    on disk.  This means it would wait for blocks written by other procs
    as well.
    
    The new code walks the list of blocks for this transaction again
    and waits only for those required by this transaction.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    777e6bd7
disk-io.c 48.5 KB