blk-mq: export blk_mq_map_queues
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2016 14:12:47 +0000 (08:12 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:30:00 +0000 (17:30 -0500)
commit9e5a7e22951bc12ee45cb617919d57b5efce56b5
tree87dffd410bc4974fec641da229105cac08c163a0
parent69d72ac8369a503926b5c494182dd209484de67e
blk-mq: export blk_mq_map_queues

This will allow SCSI to have a single blk_mq_ops structure that either
lets the LLDD map the queues to PCIe MSIx vectors or use the default.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/blk-mq-cpumap.c
block/blk-mq.h
include/linux/blk-mq.h