]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkfront: convert to blk-mq APIs
authorBob Liu <bob.liu@oracle.com>
Mon, 13 Jul 2015 09:55:24 +0000 (17:55 +0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:15 +0000 (12:24 +0100)
commita5806152d9d80e1c5632dcbe8fbdc8e676831a09
tree47a33a9da12112d8d0669d14a918a21aa8f16840
parentd52a2d73c64ee42d24df4751bff06697f0498adc
xen-blkfront: convert to blk-mq APIs

Note: This patch is based on original work of Arianna's internship for
GNOME's Outreach Program for Women.

Only one hardware queue is used now, so there is no significant
performance change

The legacy non-mq code is deleted completely which is the same as other
drivers like virtio, mtip, and nvme.

Also dropped one unnecessary holding of info->io_lock when calling
blk_mq_stop_hw_queues().

Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@fb.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/block/xen-blkfront.c