cfq-iosched: Do not idle if slice_idle=0
authorVivek Goyal <vgoyal@redhat.com>
Mon, 23 Aug 2010 10:23:33 +0000 (12:23 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 23 Aug 2010 10:23:33 +0000 (12:23 +0200)
commitb6508c1618e7aab085f191efb41b7b019a94ea38
tree9568819705ebbdc3f4bca2d3d0290fe1a0773085
parent75230ff2751e88d594a13a70eae2c146f45e323b
cfq-iosched: Do not idle if slice_idle=0

Do not idle either on cfq queue or service tree if slice_idle=0. User does
not want any queue or service tree idling. Currently even if slice_idle=0,
we were waiting for request to finish before expiring the queue and that
can lead to lower queue depths.

Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c