Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setQuotaOnDir (0.16 sec)

  1. pkg/volume/util/fsquota/common/quota_common_linux.go

    	// this directory
    	GetQuotaOnDir(path string) (QuotaID, error)
    
    	// SetQuotaOnDir applies the specified quota ID to a directory.
    	// Negative value for bytes means that a non-enforcing quota
    	// should be applied (perhaps by setting a quota too large to
    	// be hit)
    	SetQuotaOnDir(path string, id QuotaID, bytes int64) error
    
    	// QuotaIDIsInUse determines whether the quota ID is in use.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    	if err != nil {
    		return BadQuotaID, fmt.Errorf("unable to parse project ID from %s (%v)", match[1], err)
    	}
    	return QuotaID(projid), nil
    }
    
    // SetQuotaOnDir applies a quota to the specified directory under the specified mountpoint.
    func (v linuxVolumeQuotaApplier) SetQuotaOnDir(path string, id QuotaID, bytes int64) error {
    	if bytes < 0 || bytes > v.maxQuota {
    		bytes = v.maxQuota
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top