aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-11 06:49:59 -0500
committerAlex Elder <aelder@sgi.com>2010-01-15 16:32:54 -0500
commitc9c129714e71c890bed1bd5b61697a896c3c2d54 (patch)
tree8eff8e5ba534feb20dae7b143ea42bf0b0c24725 /fs/xfs/linux-2.6/xfs_sync.c
parent453eac8a9aa417878a38bdfbccafd5f7ce4e8e4e (diff)
xfs: Don't wake xfsbufd when idle
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@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.c')
0 files changed, 0 insertions, 0 deletions