]> www.infradead.org Git - users/jedix/linux-maple.git/commit
blk-mq: Shared tag enhancements
authorKeith Busch <keith.busch@intel.com>
Mon, 1 Jun 2015 15:29:53 +0000 (09:29 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Jul 2016 07:09:48 +0000 (00:09 -0700)
commit0d933ffdbe4eb9683bc642ab43d082d5cf921713
tree84c83cbc060b62b96cae145d1b0d7f349c231b90
parentdb80e0167c6ab9d070c48bbb174d5ab81d0f8c04
blk-mq: Shared tag enhancements

Orabug: 23521058

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>
(cherry picked from commit f26cdc8536ad50fb802a0445f836b4f94ca09ae7)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
include/linux/blk-mq.h