blk-mq: register device instead of disk
authorMatias Bjørling <m@bjorling.me>
Fri, 16 Sep 2016 12:25:06 +0000 (14:25 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 21 Sep 2016 13:56:16 +0000 (07:56 -0600)
commitb21d5b301794ae332eaa6e177d71fe8b77d3664c
tree338c8338e49341229936f0a38c1d58841f664ff6
parent9ae2d0aa5046c67dd37cf4b70998ad296e718835
blk-mq: register device instead of disk

Enable devices without a gendisk instance to register itself with blk-mq
and expose the associated multi-queue sysfs entries.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sysfs.c
block/blk-sysfs.c
drivers/md/dm-rq.c
include/linux/blk-mq.h