Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. cmd/xl-storage_test.go

    		return nil, "", err
    	}
    
    	disk := newXLStorageDiskIDCheck(storage, false)
    	disk.SetDiskID("da017d62-70e3-45f1-8a1a-587707e69ad1")
    	return disk, diskPath, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top