per-bdi-throttling: synchronous writepage doesn't work correctly

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <a.p.zijlstra@...>
Cc: <jdike@...>, <linux-mm@...>, <linux-kernel@...>
Date: Thursday, November 1, 2007 - 12:49 pm

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
per-bdi-throttling: synchronous writepage doesn't work corre..., Miklos Szeredi, (Thu Nov 1, 12:49 pm)