]> git.baikalelectronics.ru Git - kernel.git/commit
include/uapi/linux/virtio_blk.h: introduce feature of VIRTIO_BLK_F_MQ
authorMing Lei <ming.lei@canonical.com>
Thu, 26 Jun 2014 09:41:47 +0000 (17:41 +0800)
committerJens Axboe <axboe@fb.com>
Tue, 1 Jul 2014 16:51:01 +0000 (10:51 -0600)
commit84f9b960553eda5f0314a153e49d8d61eafd60ff
tree535928c09532f94a15e68035745059e374a4150f
parent468e0a26f8b88bf52162523665e62704359481ce
include/uapi/linux/virtio_blk.h: introduce feature of VIRTIO_BLK_F_MQ

Current virtio-blk spec only supports one virtual queue for transfering
data between VM and host, and inside VM all kinds of operations on
the virtual queue needs to hold one lock, so cause below problems:

- bad scalability
- bad throughput

This patch requests to introduce feature of VIRTIO_BLK_F_MQ
so that more than one virtual queues can be used to virtio-blk
device, then above problems can be solved or eased.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/uapi/linux/virtio_blk.h