Skip to content

scsi: Add Hyper-V logical block provisioning quirks

Sitsofe Wheeler linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "Drivers: add blist flags"drivers/scsi/storvsc_drv.c+0 -100 replies
2/3scsi: add try_rc16 blacklist flagdrivers/scsi/scsi_scan.c drivers/scsi/sd.c include/scsi/scsi_device.h +1 more+8 -04 replies
3/3scsi: Use try_rc16 and try_vpd_pages quirks on Hyper-V virtual disksdrivers/scsi/scsi_devinfo.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

Microsoft Hyper-V virtual disks currently only claim SPC-2 compliance even though they implement post SPC-2 features (such as thin provisioning) which means the Linux kernel does not go on to test for those features even though they are advertised.

A previous patch attempted to add a quirk to workaround this but the quirk was only enabled after the features had been scanned for, wouldn't work for "small" disks and would quirk on all Hyper-V SCSI devices (e.g. passthrough disks).

The new patches partially revert the previous effort, add the quirk in a more traditional manner to only Hyper-V virtual disks and work on small virtual disks.

Sitsofe Wheeler (3):
Revert "Drivers: add blist flags"
scsi: add try_rc16 blacklist flag
scsi: Use try_rc16 and try_vpd_pages quirks on Hyper-V virtual disks

 drivers/scsi/scsi_devinfo.c |  1 +
 drivers/scsi/scsi_scan.c    |  3 +++
 drivers/scsi/sd.c           |  3 +++
 drivers/scsi/storvsc_drv.c  | 10 ----------
 include/scsi/scsi_device.h  |  1 +
 include/scsi/scsi_devinfo.h |  1 +
 6 files changed, 9 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.3