]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:20 +0000 (03:43 -0800)
commit5dd38edb76cdf5bfb319261cc50094b3ecd1e6ee
treebadf1dfffb334f42e3acf8828dd5a061d36833e8
parent5915b6e90627b23db61d47c65827b09f7f3064ba
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>
(cherry picked from commit 907c3eb18e0bd86ca12a9de80befe8e3647bac3e)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 0cf2faa73e15b21d6493bf1a87fe86ad3605f56f)
drivers/block/xen-blkfront.c