summaryrefslogtreecommitdiffstats
path: root/lib/atomic64_test.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2020-08-19 23:20:33 +0800
committerJens Axboe <axboe@kernel.dk>2020-10-06 08:33:44 -0600
commitf7c4cdc712ab803f7cdd3d47025081831f457ecc (patch)
tree6743cc4a2cbfb080b33c2463d4c9dff7ecd1afad /lib/atomic64_test.c
parent8d98416a55ebfecbe57fd26981decf6fcdf37b11 (diff)
downloadlinux-f7c4cdc712ab803f7cdd3d47025081831f457ecc.tar.bz2
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 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions