diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-10-26 17:40:45 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-10-29 15:25:36 (GMT) |
commit | bf9022e06af553553bc8f4e21ce36147ca6eae68 (patch) | |
tree | e33d9a25fc5ec8e03c1f0d5a4775c865e0520811 /fs/cifs/file.c | |
parent | e5bc2458293b2af6c0b94435965c68cc70974b56 (diff) | |
download | linux-bf9022e06af553553bc8f4e21ce36147ca6eae68.tar.xz |
Btrfs: use the flusher threads for delalloc throttling
We have a fairly complex set of loops around walking our list of
delalloc inodes when we find metadata delalloc space running low.
It doesn't work very well, can use large amounts of CPU and doesn't
do very efficient writeback.
This switches us to kick the bdi flusher threads instead. All dirty
data in btrfs is accounted as delalloc data, so this is very similar
in terms of what it writes, but we're able to just kick off the IO
and wait for progress.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/cifs/file.c')
0 files changed, 0 insertions, 0 deletions