block: add blk-mq support to blk_insert_cloned_request()
authorKeith Busch <keith.busch@intel.com>
Fri, 17 Oct 2014 23:46:38 +0000 (17:46 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 28 Jan 2015 16:44:13 +0000 (09:44 -0700)
commit7fb4898e0cd6e7eba7419790921391e53848a35d
treef4f866edf02620a83f30d5340c336914a6918339
parentfebf71588c2a750e04dc2a8b0824ce120c48bd9e
block: add blk-mq support to blk_insert_cloned_request()

If the request passed to blk_insert_cloned_request() was allocated by
a blk-mq device it must be submitted using blk_mq_insert_request().

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c