Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commit9b0d3ac

Browse files
committed
Btrfs: don't return congestion in write_cache_pages as often
On fast devices that go from congested to uncongested very quickly, pdflushis waiting too often in congestion_wait, and the FS is backing off toeasily in write_cache_pages.For now, fix this on the btrfs side by only checking congestion aftersome bios have already gone down. Longer term a real fix is neededfor pdflush, but that is a larger project.Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent7b78c17 commit9b0d3ac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎fs/btrfs/extent_io.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,11 +2377,6 @@ static int extent_write_cache_pages(struct extent_io_tree *tree,
23772377
intscanned=0;
23782378
intrange_whole=0;
23792379

2380-
if (wbc->nonblocking&&bdi_write_congested(bdi)) {
2381-
wbc->encountered_congestion=1;
2382-
return0;
2383-
}
2384-
23852380
pagevec_init(&pvec,0);
23862381
if (wbc->range_cyclic) {
23872382
index=mapping->writeback_index;/* Start from prev offset */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp