• Josef Bacik's avatar
    Btrfs: re-work delalloc flushing · 0019f10d
    Josef Bacik authored
    Currently we try and flush delalloc, but we only do that in a sort of weak way,
    which works fine in most cases but if we're under heavy pressure we need to be
    able to wait for flushing to happen.  Also instead of checking the bytes
    reserved in the block_rsv, check the space info since it is more accurate.  The
    sync option will be used in a future patch.
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    0019f10d
inode.c 188 KB