cfq-iosched: add a knob for desktop interactiveness
commit1d2235152dc745c6d94bedb550fea84cffdbf768
authorJens Axboe <jens.axboe@oracle.com>
Fri, 2 Oct 2009 17:27:04 +0000 (2 19:27 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 2 Oct 2009 18:06:02 +0000 (2 20:06 +0200)
treeeb489f01dd6d506c1b785bae03e68e42145a055b
parentb0da3f0dada78832c9da03ad2152ae76bd9a2496
cfq-iosched: add a knob for desktop interactiveness

This is basically identical to what Vivek Goyal posted, but combined
into one and labelled 'desktop' instead of 'fairness'. The goal
is to continue to improve on the latency side of things as it relates
to interactiveness, keeping the questionable bits under this sysfs
tunable so it would be easy for throughput-only people to turn off.

Apart from adding the interactive sysfs knob, it also adds the
behavioural change of allowing slice idling even if the hardware
does tagged command queuing.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c