Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ssParity (0.23 sec)

  1. internal/config/storageclass/storage-class.go

    func ValidateParity(ssParity, setDriveCount int) error {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    	status.SCParity[storageclass.RRS] = backendInfo.RRSCParity
    
    	return status, true
    }
    
    type healEntryResult struct {
    	bytes     uint64
    	success   bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		ok = ok && set.Legacy()
    	}
    	return ok
    }
    
    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    	scParity := globalStorageClass.GetParityForSC(storageclass.STANDARD)
    	if scParity < 0 {
    		scParity = z.serverPools[0].defaultParityCount
    	}
    	rrSCParity := globalStorageClass.GetParityForSC(storageclass.RRS)
    
    	// Data blocks can vary per pool, but parity is same.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top