commit | 0019f10db6f596f3e14a19f9bd7059a1b85b0853 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Fri Oct 15 15:18:40 2010 -0400 |
committer | Josef Bacik <josef@redhat.com> | Fri Oct 22 15:54:58 2010 -0400 |
tree | 9f295bc2e335a6890ea29bc0830bda43903671d9 | |
parent | 6d48755d02b150de7f47e7b4753202f2fc9f990f [diff] |
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: Josef Bacik <josef@redhat.com>