[PATCH v2 0/2] Do not read the IO hints VPD page from USB storage devices

Bart Van Assche
2024-06-12T20:37:44Z

Hi Martin,

Recently it was reported that reading the IO hints VPD page makes at least two
USB storage devices crash. Hence this patch series that disables reading the IO
hints VPD page from USB storage devices. Please consider this patch series for
your scsi-fixes branch.

Thanks,

Bart.

Changes compared to v1:
- Also set the BLIST_SKIP_IO_HINTS for USB Attached SCSI devices.

Bart Van Assche (2):
scsi: core: Introduce the BLIST_SKIP_IO_HINTS flag
scsi: core: Do not query IO hints for USB devices

drivers/scsi/sd.c | 4 ++++
drivers/usb/storage/scsiglue.c | 6 ++++++
drivers/usb/storage/uas.c | 7 +++++++
include/scsi/scsi_devinfo.h | 4 +++-
4 files changed, 20 insertions(+), 1 deletion(-)