virtio_blk: use blk_mq_complete_request
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Feb 2014 11:24:39 +0000 (03:24 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 10 Feb 2014 16:27:31 +0000 (09:27 -0700)
commit5124c285797aa33d5fdb909fbe808a61bcc5eb9d
treef079a44837b958fe8af479a5602c3f352af0f0ce
parent30a91cb4ef385fe1b260df204ef314d86fff2850
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