virtio_blk: implement mq_ops->commit_rqs() hook
authorJens Axboe <axboe@kernel.dk>
Mon, 26 Nov 2018 18:00:12 +0000 (11:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Nov 2018 17:12:22 +0000 (10:12 -0700)
commit944e7c87967c820a0f34a935b1f2799944099750
treee98652bcd78a3f5c64bb015a64768caf1ce71632
parent04f3eafda6e05adc56afed4d3ae6e24aaa429058
virtio_blk: implement mq_ops->commit_rqs() hook

We need this for blk-mq to kick things into gear, if we told it that
we had more IO coming, but then failed to deliver on that promise.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/virtio_blk.c