Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for globalLocalDrivesMu (0.43 sec)

  1. cmd/erasure-server-pool.go

    				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()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		return
    	}
    }
    
    var errUnsupportedSignal = fmt.Errorf("unsupported signal")
    
    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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top