Merge pull request #86 from datomia/max-unmap-descs
set max unmap block descriptor count to a feasible value
This commit is contained in:
@@ -198,7 +198,7 @@ func InquiryPage0xB0(host int, cmd *api.SCSICommand) (*bytes.Buffer, uint16) {
|
|||||||
|
|
||||||
if cmd.Device.Attrs.ThinProvisioning {
|
if cmd.Device.Attrs.ThinProvisioning {
|
||||||
maxUnmapLbaCount = 0xFFFFFFFF
|
maxUnmapLbaCount = 0xFFFFFFFF
|
||||||
maxUnmapBlockDescriptorCount = 0xFFFFFFFF
|
maxUnmapBlockDescriptorCount = 16
|
||||||
}
|
}
|
||||||
|
|
||||||
//byte 0
|
//byte 0
|
||||||
|
|||||||
Reference in New Issue
Block a user