blk-mq: Shared tag enhancements
authorKeith Busch <keith.busch@intel.com>
Mon, 1 Jun 2015 15:29:53 +0000 (09:29 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 1 Jun 2015 20:35:56 +0000 (14:35 -0600)
commitf26cdc8536ad50fb802a0445f836b4f94ca09ae7
tree8863e8e297fd10241d7ff1e24cdef4ab0b7c625e
parente548ca4ee4595f65b262661d166310ad8a149bec
blk-mq: Shared tag enhancements

Storage controllers may expose multiple block devices that share hardware
resources managed by blk-mq. This patch enhances the shared tags so a
low-level driver can access the shared resources not tied to the unshared
h/w contexts. This way the LLD can dynamically add and delete disks and
request queues without having to track all the request_queue hctx's to
iterate outstanding tags.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
include/linux/blk-mq.h