Merge pull request #86 from datomia/max-unmap-descs

set max unmap block descriptor count to a feasible value
This commit is contained in:
Lei Xue
2019-07-04 15:14:20 +08:00
committed by GitHub

View File

@@ -198,7 +198,7 @@ func InquiryPage0xB0(host int, cmd *api.SCSICommand) (*bytes.Buffer, uint16) {
if cmd.Device.Attrs.ThinProvisioning {
maxUnmapLbaCount = 0xFFFFFFFF
maxUnmapBlockDescriptorCount = 0xFFFFFFFF
maxUnmapBlockDescriptorCount = 16
}
//byte 0