Re: [PATCH 3/3] writeback: Do not congestion sleep when there are no congested BDIs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Thursday, August 26, 2010 - 11:17 am

On Thu, Aug 26, 2010 at 06:42:45PM +0100, Mel Gorman wrote:

On every retired io request the congestion state on the bdi is checked
and the congestion waitqueue woken up.

So without congestion, we still only wait until the next write
retires, but without any IO, we sleep the full timeout.

Check __freed_requests() in block/blk-core.c.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] writeback: Do not congestion sleep when th ..., Johannes Weiner, (Thu Aug 26, 11:17 am)