- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for localDrives (0.06 sec)
-
cmd/peer-rest-server.go
func waitingDrivesNode() map[string]madmin.DiskMetrics { globalLocalDrivesMu.RLock() localDrives := cloneDrives(globalLocalDrivesMap) globalLocalDrivesMu.RUnlock() errs := make([]error, len(localDrives)) infos := make([]DiskInfo, len(localDrives)) for i, drive := range localDrives { infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{}) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cmd/erasure-server-pool.go
for _, storageDisk := range storageDisks[i] { if storageDisk != nil && storageDisk.IsLocal() { localDrives = append(localDrives, storageDisk) } } } if !globalIsDistErasure { globalLocalDrivesMu.Lock() globalLocalDrivesMap = make(map[string]StorageAPI, len(localDrives)) for _, drive := range localDrives { globalLocalDrivesMap[drive.Endpoint().String()] = drive } globalLocalDrivesMu.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0)