diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-04-06 14:25:14 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-06 14:25:14 +0200 |
commit | 31373d09da5b7fe21fe6f781e92bd534a3495f00 (patch) | |
tree | 38cd9896cfc6ce106a03431658a9b98a09129034 /block/cfq-iosched.c | |
parent | blkio: Increment the blkio cgroup stats for real now (diff) | |
download | linux-31373d09da5b7fe21fe6f781e92bd534a3495f00.tar.xz linux-31373d09da5b7fe21fe6f781e92bd534a3495f00.zip |
laptop-mode: Make flushes per-device
One of the features of laptop-mode is that it forces a writeout of dirty
pages if something else triggers a physical read or write from a device.
The current implementation flushes pages on all devices, rather than only
the one that triggered the flush. This patch alters the behaviour so that
only the recently accessed block device is flushed, preventing other
disks being spun up for no terribly good reason.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions