summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorAaron Carroll <aaronc@gelato.unsw.edu.au>2008-08-26 17:52:36 +0400
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 10:56:09 +0400
commit45333d5a31296d0af886d94f1d08f128231cab8e (patch)
treeea5b1afb70fb17935128bac6df588e6b5ae764b4 /include/linux/blkdev.h
parent605401618ce4409045bc4db86e88d4b38f2ad585 (diff)
downloadlinux-45333d5a31296d0af886d94f1d08f128231cab8e.tar.xz
cfq-iosched: fix queue depth detection
CFQ's detection of queueing devices assumes a non-queuing device and detects if the queue depth reaches a certain threshold. Under some workloads (e.g. synchronous reads), CFQ effectively forces a unit queue depth, thus defeating the detection logic. This leads to poor performance on queuing hardware, since the idle window remains enabled. This patch inverts the sense of the logic: assume a queuing-capable device, and detect if the depth does not exceed the threshold. Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions