[utopic 1/2] Revert "UBUNTU: SAUCE: scsi: hyper-v storsvc switch up to SPC-3"
Andy Whitcroft
apw at canonical.com
Mon Jan 12 12:14:26 UTC 2015
This reverts commit 0b439507c3ce457e339e6c29518f8d56ebc3c976.
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
drivers/scsi/storvsc_drv.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 64f4a50..a11e5e9 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1459,14 +1459,6 @@ static int storvsc_device_configure(struct scsi_device *sdevice)
*/
sdevice->sdev_bflags |= msft_blist_flags;
- /*
- * hyper-v lies about its capabilities indicating it is only SPC-2
- * compliant, but actually implements the core SPC-3 features.
- * If we pretend to be SPC-3, we send RC16 which activates trim and
- * will query the appropriate VPD pages to enable trim.
- */
- sdevice->scsi_level = SCSI_SPC_3;
-
return 0;
}
--
2.1.4
More information about the kernel-team
mailing list