blk-mq: split out tag initialization, support shared tags
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 19:25:31 +0000 (13:25 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:45 +0000 (12:54 -0600)
commit586565a016e11d7521a0746b95271c7b2cee5eb8
tree4bd911e02d11034fc92c20c001430eb00c50ecd7
parentad68f138548d30a46a626132f50cf59775753a7d
blk-mq: split out tag initialization, support shared tags

Add a new blk_mq_tag_set structure that gets set up before we initialize
the queue.  A single blk_mq_tag_set structure can be shared by multiple
queues.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Modular export of blk_mq_{alloc,free}_tagset added by me.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-cpumap.c
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
block/blk-mq.h
drivers/block/null_blk.c
drivers/block/virtio_blk.c
include/linux/blk-mq.h