diff options
author | Martin K. Petersen <[email protected]> | 2022-03-02 00:35:48 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-05-02 16:59:11 -0400 |
commit | d657700ccac71da19a4d1a591fafcd598ce0dd6e (patch) | |
tree | ac3f1a1ec2a1c600f1394c9819cc136eab9eeeb9 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e60ac0b9e445822e60230c00e68d8cdb7748701b (diff) |
scsi: core: Do not truncate INQUIRY data on modern devices
Low-level device drivers have had the ability to limit the size of an
INQUIRY for many years. This made sense for a wide variety of legacy
devices. However, we are unnecessarily truncating the INQUIRY response for
many modern devices. This prevents us from consulting fields beyond the
first 36 bytes.
If a device reports that it supports a larger INQUIRY response, and the
device also reports that it implements SPC-4 or newer, allow the larger
INQUIRY to proceed.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions