aboutsummaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorCorrado Zoccolo <czoccolo@gmail.com>2009-10-08 08:43:32 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-08 08:43:32 +0200
commit355b659c87432a4e76160640625c47fcf9174e8d (patch)
tree1121f7c4ae13643a30abaf6091312f5b116a52bc /mm/backing-dev.c
parentcfq-iosched: apply bool value where we return 0/1 (diff)
downloadlinux-dev-355b659c87432a4e76160640625c47fcf9174e8d.tar.xz
linux-dev-355b659c87432a4e76160640625c47fcf9174e8d.zip
cfq-iosched: avoid probable slice overrun when idling
If the average think time is larger than the remaining time slice for any given queue, don't allow it to idle. A succesful idle also means that we need to dispatch and complete a request, so if we don't even have time left for the idle process, we would overrun the slice in any case. Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions