]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hyperv/storvsc: Claim SPC-3 conformance, thus enable UNMAP support
authorSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 4 Aug 2016 05:05:35 +0000 (05:05 +0000)
committerSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 4 Aug 2016 05:05:35 +0000 (05:05 +0000)
commit8d17f17043609dfc3da7b328bddc8dfe0667fa37
tree935e84bd4b892a781a655a9b190bd83b9130a1d0
parent864ce9933d37c1dd3a8be5175e6a0742974af0e2
hyperv/storvsc: Claim SPC-3 conformance, thus enable UNMAP support

The Hyper-V on pre-win10 systems will only report SPC-2 conformance,
but it actually conforms to SPC-3.  The INQUIRY response is adjusted
to propagate the SPC-3 version information to CAM.

Submitted by: Hongjiang Zhang <honzhan microsoft com>
MFC after: 3 days
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7405
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c