diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2009-10-03 09:21:27 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 09:21:27 -0400 |
commit | 365722bb917b08b7323b5a4a0a3386cc7d00397d (patch) | |
tree | e882cb339a7055169596ca4b267087bbf1672709 /block/blk-iopoll.c | |
parent | 1d2235152dc745c6d94bedb550fea84cffdbf768 (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-iopoll.c')
0 files changed, 0 insertions, 0 deletions