rbd: convert to blk-mq
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Jan 2015 16:20:04 +0000 (17:20 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 11:27:42 +0000 (14:27 +0300)
commit7ad18afad02f9802f1eeade91cf880b97e7a9902
tree20e2423a0fd60f005c7035e9d05460e041fae0c4
parent4d41cef279f72f3965140fffa6b48f2a7d51408c
rbd: convert to blk-mq

This converts the rbd driver to use the blk-mq infrastructure.  Except
for switching to a per-request work item this is almost mechanical.

This was tested by Alexandre DERUMIER in November, and found to give
him 120000 iops, although the only comparism available was an old
3.10 kernel which gave 80000iops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <elder@linaro.org>
[idryomov@gmail.com: context, blk_mq_init_queue() EH]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c