summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKai Mäkisara <Kai.Makisara@kolumbus.fi>2025-03-10 17:55:56 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-11 16:19:27 -0400
commit34252036774b19f66eb9241e4b0b5a07f3461dbe (patch)
treeed91b6ec208040ab6de7eef0f6ec1b8fc77f44c6 /tools/perf/scripts/python/export-to-postgresql.py
parent5b0cb8c984bf68dc98aa02ab534e7ddb47157693 (diff)
scsi: scsi_debug: Use scsi_device->type instead os sdebug_ptype where possible
Devices of several types can be created for a single host. The module device type should be used only when the devices are created. Scsi_scan sets the device type initially to 0xff and sets the correct type based in Inquiry results. This means that Inquiry must report sdebug_ptype as long as scsi_device->type is not set (the limit 32 comes from the 5-bit length of the Peripheral Device Type in Inquiry). Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Link: https://lore.kernel.org/r/20250310155557.2872-5-Kai.Makisara@kolumbus.fi Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions