diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-02-04 09:33:00 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-04 09:33:00 -0500 |
commit | 9b0d3ace33ef225690a86d7130feadb22367f496 (patch) | |
tree | eae45955a38b4d4c2515549112ec749590b56aa9 /fs/direct-io.c | |
parent | 7b78c170dc4f538cc7ee66f47b3aac3f3974a36c (diff) | |
download | talos-obmc-linux-9b0d3ace33ef225690a86d7130feadb22367f496.tar.gz talos-obmc-linux-9b0d3ace33ef225690a86d7130feadb22367f496.zip |
Btrfs: don't return congestion in write_cache_pages as often
On fast devices that go from congested to uncongested very quickly, pdflush
is waiting too often in congestion_wait, and the FS is backing off to
easily in write_cache_pages.
For now, fix this on the btrfs side by only checking congestion after
some bios have already gone down. Longer term a real fix is needed
for pdflush, but that is a larger project.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions