Re: [PATCH] writeback: avoid possible balance_dirty_pages() lockup on a light-load bdi

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fengguang Wu <wfg@...>
Cc: Chuck Ebbert <cebbert@...>, Greg KH <gregkh@...>, Chakri n <chakriin5@...>, Peter Zijlstra <a.p.zijlstra@...>, Krzysztof Oledzki <olel@...>, linux-pm <linux-pm@...>, lkml <linux-kernel@...>, richard kennedy <richard@...>
Date: Monday, October 1, 2007 - 10:14 pm

On Tue, 2 Oct 2007 10:00:40 +0800 Fengguang Wu <wfg@mail.ustc.edu.cn> wrote:


Please quantify loooong.
 

I'm still not sure that we fully understand this yet.

If the sdb writer is stuck in balance_dirty_pages() then all sda writers
will be in balance_dirty_pages() too, madly writing stuff out to sda.  And
pdflush will be writing out sda as well.  All this writeout to sda should
release the sdb writer.

Why isn't this happening?



Well that has a nice safetly net.  Perhaps it could fail a bit later on,
but that depends on why it's failing.

How well tested was this?

If we merge this for 2.6.23 then I expect that we'll immediately unmerge it
for 2.6.24 because Peter's stuff fixes this problem by other means.

Do we all agree with the above sentence?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] writeback: avoid possible balance_dirty_pages() ..., Andrew Morton, (Mon Oct 1, 10:14 pm)
KDB?, Daniel Phillips, (Fri Sep 28, 9:51 pm)
[PATCH] lockstat: documentation, Peter Zijlstra, (Wed Oct 3, 5:28 am)
Re: [PATCH] lockstat: documentation, Ingo Molnar, (Wed Oct 3, 5:35 am)