Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for distributionAlgo (0.17 sec)

  1. cmd/format-erasure.go

    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    }
    
    // formatErasureV3 struct is same as formatErasureV2 struct except that formatErasureV3.Erasure.Version is "3" indicating
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    		setCount:           setCount,
    		setDriveCount:      setDriveCount,
    		defaultParityCount: defaultParityCount,
    		format:             format,
    		setReconnectEvent:  make(chan int),
    		distributionAlgo:   format.Erasure.DistributionAlgo,
    		deploymentID:       uuid.MustParse(format.ID),
    		poolIndex:          poolIdx,
    	}
    
    	mutex := newNSLock(globalIsDistErasure)
    
    	for i := 0; i < setCount; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  3. cmd/erasure-server-pool.go

    		}
    		break
    	}
    
    	return z, nil
    }
    
    func (z *erasureServerPools) NewNSLock(bucket string, objects ...string) RWLocker {
    	poolID := hashKey(z.distributionAlgo, "", len(z.serverPools), z.deploymentID)
    	if len(objects) >= 1 {
    		poolID = hashKey(z.distributionAlgo, objects[0], len(z.serverPools), z.deploymentID)
    	}
    	return z.serverPools[poolID].NewNSLock(bucket, objects...)
    }
    
    // GetDisksID will return disks by their ID.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    		s.formatLastCheck = time.Now()
    		s.formatLegacy = format.Erasure.DistributionAlgo == formatErasureVersionV2DistributionAlgoV1
    	}
    
    	// Return an error if ODirect is not supported. Single disk will have
    	// oDirect off.
    	if globalIsErasureSD || !disk.ODirectPlatform {
    		s.oDirect = false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top