diff options
author | John Garry <john.garry@huawei.com> | 2020-08-19 23:20:33 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-06 08:33:44 -0600 |
commit | f7c4cdc712ab803f7cdd3d47025081831f457ecc (patch) | |
tree | 6743cc4a2cbfb080b33c2463d4c9dff7ecd1afad /drivers/block/loop.h | |
parent | 8d98416a55ebfecbe57fd26981decf6fcdf37b11 (diff) |
scsi: scsi_debug: Support host tagset
When host_max_queue is set (> 0), set the Scsi_Host.host_tagset such that
blk-mq will use a hostwide tagset over all SCSI host submission queues.
This means that we may expose all submission queues and always use the hwq
chosen by blk-mq.
And since if sdebug_host_max_queue is set, sdebug_max_queue is fixed to the
same value, we can simplify how sdebug_driver_template.can_queue is set.
Signed-off-by: John Garry <john.garry@huawei.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.h')
0 files changed, 0 insertions, 0 deletions