set max unmap block descriptor count to a feasible value

This commit is contained in:
chessman
2019-06-28 16:32:26 +03:00
parent d90dab2b1d
commit 5582973077

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