Skip to content
Snippets Groups Projects
Commit 0019f10d authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: re-work delalloc flushing


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>
parent 6d48755d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment