diff options
author | Keith Busch <keith.busch@intel.com> | 2015-06-01 09:29:53 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-06-01 14:35:56 -0600 |
commit | f26cdc8536ad50fb802a0445f836b4f94ca09ae7 (patch) | |
tree | 8863e8e297fd10241d7ff1e24cdef4ab0b7c625e /block/blk-mq-tag.h | |
parent | e548ca4ee4595f65b262661d166310ad8a149bec (diff) | |
download | linux-stable-f26cdc8536ad50fb802a0445f836b4f94ca09ae7.tar.gz linux-stable-f26cdc8536ad50fb802a0445f836b4f94ca09ae7.tar.bz2 linux-stable-f26cdc8536ad50fb802a0445f836b4f94ca09ae7.zip |
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>
Diffstat (limited to 'block/blk-mq-tag.h')
-rw-r--r-- | block/blk-mq-tag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-tag.h b/block/blk-mq-tag.h index 90767b370308..75893a34237d 100644 --- a/block/blk-mq-tag.h +++ b/block/blk-mq-tag.h @@ -44,6 +44,7 @@ struct blk_mq_tags { struct list_head page_list; int alloc_policy; + cpumask_var_t cpumask; }; |