blk-mq: Use pointers for blk_mq_tags bitmap tags
authorJohn Garry <john.garry@huawei.com>
Wed, 19 Aug 2020 15:20:23 +0000 (23:20 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Sep 2020 21:20:47 +0000 (15:20 -0600)
commit222a5ae03cdd12e7643f2f64689a39ed547650cb
tree0c9e5f6ae1341138eeddb15f43112e310497f5ae
parent1c0706a70a64eda48477caa880657e07f5196512
blk-mq: Use pointers for blk_mq_tags bitmap tags

Introduce pointers for the blk_mq_tags regular and reserved bitmap tags,
with the goal of later being able to use a common shared tag bitmap across
all HW contexts in a set.

Signed-off-by: John Garry <john.garry@huawei.com>
Tested-by: Don Brace<don.brace@microsemi.com> #SCSI resv cmds patches used
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/blk-mq-debugfs.c
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
block/kyber-iosched.c