virtio_blk: use blk_mq_complete_request
authorChristoph Hellwig <hch@infradead.org>
Wed, 25 Jun 2014 18:48:49 +0000 (12:48 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:44 +0000 (12:54 -0600)
commit805c93964973513853b8f0ebcbcd89db1987bbfb
tree1ed3860393a75f8cd099a399fac20c8a9dd54efd
parente4b34197f69e645ca8ac0c83af73c8a18bd650f3
virtio_blk: use blk_mq_complete_request

Make sure to complete requests on the submitting CPU.  Previously this
was done in blk_mq_end_io, but the responsibility shifted to the drivers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/virtio_blk.c