enable UNMAP when LUN is thin provisioned
- support Block Limits VPD page (0xB0) - add UNMAP to REPORT SUPPORTED OPERATION CODES - READ CAPACITY(16): set LBPME when Thin provisioning is enabled - move Thinprovisioning and BlockShift to config - add Unmap to BackingStore
This commit is contained in:
@@ -101,9 +101,11 @@ var (
|
||||
)
|
||||
|
||||
type BackendStorage struct {
|
||||
DeviceID uint64 `json:"deviceID"`
|
||||
Path string `json:"path"`
|
||||
Online bool `json:"online"`
|
||||
DeviceID uint64 `json:"deviceID"`
|
||||
Path string `json:"path"`
|
||||
Online bool `json:"online"`
|
||||
Thinprovisioning bool `json:"thinprovisioning"`
|
||||
BlockShift uint `json:"blockShift"`
|
||||
}
|
||||
|
||||
type ISCSIPortalInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user