diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-11-26 03:41:21 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-26 03:46:46 -0500 |
commit | c16632bab1a17e357cec66920ceb3f0630009360 (patch) | |
tree | 6937755404314252f0bf2c46eec374c32c12f8b1 /fs/direct-io.c | |
parent | 2d4dc890b5c8fabd818a8586607e6843c4375e62 (diff) |
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