diff options
author | 2020-08-19 23:20:31 +0800 | |
---|---|---|
committer | 2020-10-06 08:33:44 -0600 | |
commit | 64f1501bd2a9c8ab1df548e1ed224552f9c7ac71 (patch) | |
tree | 827c66f697bac32de0d5cafb6daf94f36456e821 /scripts/gdb/linux/utils.py | |
parent | scsi: Add host and host template flag 'host_tagset' (diff) | |
download | linux-dev-64f1501bd2a9c8ab1df548e1ed224552f9c7ac71.tar.xz linux-dev-64f1501bd2a9c8ab1df548e1ed224552f9c7ac71.zip |
scsi: core: Show nr_hw_queues in sysfs
So that we don't use a value of 0 for when Scsi_Host.nr_hw_queues is unset,
use the tag_set->nr_hw_queues (which holds 1 for this case).
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions