commit | 365722bb917b08b7323b5a4a0a3386cc7d00397d | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Sat Oct 03 15:21:27 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Sat Oct 03 15:21:27 2009 +0200 |
tree | e882cb339a7055169596ca4b267087bbf1672709 | |
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>