blk-mq: move the srcu_struct used for quiescing to the tagset
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2022 15:00:47 +0000 (16:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Nov 2022 14:35:34 +0000 (08:35 -0600)
commit80bd4a7aab4c9ce59bf5e35fdf52aa23d8a3c9f5
tree21d1dd0e8d5caf7c99cdeaccf55ac0cd866de799
parent8537380bb9882c201db60a1eb201aac6e74083e8
blk-mq: move the srcu_struct used for quiescing to the tagset

All I/O submissions have fairly similar latencies, and a tagset-wide
quiesce is a fairly common operation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chao Leng <lengchao@huawei.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20221101150050.3510-12-hch@lst.de
[axboe: fix whitespace]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk-mq.h
block/blk-sysfs.c
block/blk.h
block/genhd.c
include/linux/blk-mq.h
include/linux/blkdev.h