You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two choices when set quota, the default is "Size of cluster", another is "Size of hard threshold"(in OneFS Version: 8.1.0.2 ), the current function SetIsiQuotaHardThreshold didn't define this parameter, so the "Show available space as" on the vm will display the root path quota. but what we need is "Size of hard threshold". I think we can transfer another parameter to solve this problem like this.
There are two choices when set quota, the default is "Size of cluster", another is "Size of hard threshold"(in OneFS Version: 8.1.0.2 ), the current function SetIsiQuotaHardThreshold didn't define this parameter, so the "Show available space as" on the vm will display the root path quota. but what we need is "Size of hard threshold". I think we can transfer another parameter to solve this problem like this.
type IsiQuotaReq struct { Container bool
json:"container"Enforced bool
json:"enforced"IncludeSnapshots bool
json:"include_snapshots"Path string
json:"path"Thresholds isiThresholdsReq
json:"thresholds"ThresholdsIncludeOverhead bool
json:"thresholds_include_overhead"Type string
json:"type"}
`func SetIsiQuotaHardThreshold(
ctx context.Context,
client api.Client,
path string, size int64) (err error) {
}
`
The text was updated successfully, but these errors were encountered: