summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2009-10-03 15:21:27 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-03 15:21:27 +0200
commit365722bb917b08b7323b5a4a0a3386cc7d00397d (patch)
treee882cb339a7055169596ca4b267087bbf1672709 /block/blk-core.c
parent1d2235152dc745c6d94bedb550fea84cffdbf768 (diff)
cfq-iosched: delay async IO dispatch, if sync IO was just done
o Do not allow more than max_dispatch requests from an async queue, if some sync request has finished recently. This is in the hope that sync activity is still going on in the system and we might receive a sync request soon. Most likely from a sync queue which finished a request and we did not enable idling on it. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions