[PATCH 3/3] XFS: Don't wake xfsbufd when idle

Christoph Hellwig hch at infradead.org
Mon Jan 11 15:51:48 CST 2010


On Mon, Jan 11, 2010 at 10:49:59PM +1100, Dave Chinner wrote:
> The xfsbufd wakes every xfsbufd_centisecs (once per second by
> default) for each filesystem even when the filesystem is idle.
> If the xfsbufd has nothing to do, put it into a long term sleep
> and only wake it up when there is work pending (i.e. dirty
> buffers to flush soon). This will make laptop power misers happy.
> 
> Signed-off-by: Dave Chinner <david at fromorbit.com>

Looks good,


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list