Skip to content
Commit 9b0d3ace authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 7b78c170
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment