diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-11-26 09:41:21 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-26 09:46:46 +0100 |
commit | c16632bab1a17e357cec66920ceb3f0630009360 (patch) | |
tree | 6937755404314252f0bf2c46eec374c32c12f8b1 /fs/direct-io.c | |
parent | block: add helpers to run flush_dcache_page() against a bio and a request's p... (diff) | |
download | linux-c16632bab1a17e357cec66920ceb3f0630009360.tar.xz linux-c16632bab1a17e357cec66920ceb3f0630009360.zip |
cfq-iosched: cleanup unreachable code
cfq_should_idle returns false for no-idle queues that are not the last,
so the control flow will never reach the removed code in a state that
satisfies the if condition.
The unreachable code was added to emulate previous cfq behaviour for
non-NCQ rotational devices. My tests show that even without it, the
performances and fairness are comparable with previous cfq, thanks to
the fact that all seeky queues are grouped together, and that we idle at
the end of the tree.
Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions