diff options
author | Josef Bacik <josef@redhat.com> | 2009-10-07 20:44:34 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-10-08 15:21:23 -0400 |
commit | e3ccfa989752c083ceb23c823a84f7ce3a081e61 (patch) | |
tree | 197558cbee7b773b8270cd861f882a37beacd2ed /lib/checksum.c | |
parent | 32c00aff718bb54a214b39146bdd9ac01511cd25 (diff) |
Btrfs: async delalloc flushing under space pressure
This patch moves the delalloc flushing that occurs when we are under space
pressure off to a async thread pool. This helps since we only free up
metadata space when we actually insert the extent item, which means it takes
quite a while for space to be free'ed up if we wait on all ordered extents.
However, if space is freed up due to inline extents being inserted, we can
wake people who are waiting up early, and they can finish their work.
Signed-off-by: Josef Bacik <jbacik@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions