]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35058eeb2424a046dd2373ee6920fd532f098df1
tree20e2423a0fd60f005c7035e9d05460e041fae0c4
parentd7a736e66f646e7ab3f78ea6c8645d9b95bce8a9
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