diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-12-04 13:12:06 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-04 13:12:06 +0100 |
commit | 3c764b7a654668dd04905841d6024f7b6aa843a5 (patch) | |
tree | 68b7c611f5e98bab3c781ecc775a0ecf46c43b61 /block/cfq-iosched.h | |
parent | 237e5bc4e51813e9d8ba9da0f63e7acc608882d7 (diff) | |
download | linux-3c764b7a654668dd04905841d6024f7b6aa843a5.tar.gz linux-3c764b7a654668dd04905841d6024f7b6aa843a5.tar.bz2 linux-3c764b7a654668dd04905841d6024f7b6aa843a5.zip |
cfq-iosched: make nonrot check logic consistent
cfq_arm_slice_timer() has logic to disable idle window for SSD device. The same
thing should be done at cfq_select_queue() too, otherwise we will still see
idle window. This makes the nonrot check logic consistent in cfq.
Tests in a intel SSD with low_latency knob close, below patch can triple disk
thoughput for muti-thread sequential read.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/cfq-iosched.h')
0 files changed, 0 insertions, 0 deletions