blkio: Set must_dispatch only if we decided to not dispatch the request
authorVivek Goyal <vgoyal@redhat.com>
Thu, 3 Dec 2009 17:59:37 +0000 (12:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Dec 2009 18:28:51 +0000 (19:28 +0100)
commitbf7919371025412978268efca4b09dd847acb395
treef6144bf301f00f53f150f4213928f063232faaa1
parent753c89130c52b96e66e5ceff19bd1336de9a5ce8
blkio: Set must_dispatch only if we decided to not dispatch the request

o must_dispatch flag should be set only if we decided not to run the queue
  and dispatch the request.

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