- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for calcCommonWritesDeletes (0.08 seconds)
-
cmd/metacache-set.go
return 1 case "reduced": return 2 case "optimal": return (driveCount + 1) / 2 case "auto": return -1 } // defaults to 'strict' return driveCount } func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) { deletes := make([]uint64, len(infos)) writes := make([]uint64, len(infos)) for index, di := range infos {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
cmd/erasure-sets.go
} if disk := storageDisks[index]; disk != nil { if disk.IsLocal() { xldisk, ok := disk.(*xlStorageDiskIDCheck) if ok { _, commonDeletes := calcCommonWritesDeletes(currentDisksInfo[m], (s.setDriveCount+1)/2) xldisk.totalDeletes.Store(commonDeletes) xldisk.storage.setDeleteAttribute(commonDeletes) if globalDriveMonitoring {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1)