blk-mq: pass a tagset to blk_mq_wait_quiesce_done
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2022 15:00:48 +0000 (16:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Nov 2022 14:35:34 +0000 (08:35 -0600)
commit483239c75ba768e0e2c0e0c503e5fc13c3d5773a
tree04023eeabbd7b474cb479fa335dcb5729d762e54
parent80bd4a7aab4c9ce59bf5e35fdf52aa23d8a3c9f5
blk-mq: pass a tagset to blk_mq_wait_quiesce_done

Nothing in blk_mq_wait_quiesce_done needs the request_queue now, so just
pass the tagset, and move the non-mq check into the only caller that
needs it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chao Leng <lengchao@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20221101150050.3510-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
drivers/nvme/host/core.c
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h