]> git.baikalelectronics.ru Git - kernel.git/commit
blk-flush: run the queue when inserting blk-mq flush
authorJens Axboe <axboe@fb.com>
Wed, 7 Dec 2016 22:53:18 +0000 (15:53 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 9 Dec 2016 16:03:02 +0000 (09:03 -0700)
commit2fd083c2fd6c120cae86ff690baef7f6d987fb99
treeddfc1af77b8a22c82e0daab9e0c93b278ca5cc82
parentb141b326eb2ffb3a30cc0b1ff97ab689e15f4a3d
blk-flush: run the queue when inserting blk-mq flush

Currently we pass in to run the queue async, but don't flag the
queue to be run. We don't need to run it async here, but we should
run it. So fixup the parameters.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
block/blk-flush.c