]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9a244c4747158486bd6f01df00c89b5e04a10fc
treef079a44837b958fe8af479a5602c3f352af0f0ce
parentc055070cd4dc24c3396e05a2f10b36e4d97ac442
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