linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* per-bdi-throttling: synchronous writepage doesn't work correctly
@ 2007-11-01 16:49 Miklos Szeredi
  2007-11-01 16:51 ` Peter Zijlstra
  0 siblings, 1 reply; 10+ messages in thread
From: Miklos Szeredi @ 2007-11-01 16:49 UTC (permalink / raw)
  To: a.p.zijlstra; +Cc: jdike, linux-mm, linux-kernel

Hi,

It looks like bdi_thresh will always be zero if filesystem does
synchronous writepage, resulting in very poor write performance.

Hostfs (UML) is one such example, but there might be others.

The only solution I can think of is to add a set_page_writeback();
end_page_writeback() pair (or some reduced variant, that only does
the proportions magic).  But that means auditing quite a few
filesystems...

Miklos

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-01 19:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-01 16:49 per-bdi-throttling: synchronous writepage doesn't work correctly Miklos Szeredi
2007-11-01 16:51 ` Peter Zijlstra
2007-11-01 17:00   ` Miklos Szeredi
2007-11-01 17:09     ` Peter Zijlstra
2007-11-01 17:16       ` Peter Zijlstra
2007-11-01 18:35         ` Peter Zijlstra
2007-11-01 19:19           ` Miklos Szeredi
2007-11-01 19:55             ` Peter Zijlstra
2007-11-01 17:28       ` Miklos Szeredi
2007-11-01 17:39         ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox