Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for localDrives (0.11 sec)

  1. cmd/background-newdisks-heal-ops.go

    	go globalMRFState.healRoutine(z)
    }
    
    func getLocalDisksToHeal() (disksToHeal Endpoints) {
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    	for _, disk := range localDrives {
    		_, err := disk.DiskInfo(context.Background(), DiskInfoOptions{})
    		if errors.Is(err, errUnformattedDisk) {
    			disksToHeal = append(disksToHeal, disk.Endpoint())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/bucket-replication.go

    			mw.Flush()
    			w.CloseWithError(err)
    		}()
    		return r
    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    	for _, localDrive := range localDrives {
    		r := newReader()
    		err := localDrive.CreateFile(ctx, "", minioMetaBucket, pathJoin(replicationMRFDir, globalLocalNodeNameHex+".bin"), -1, r)
    		r.Close()
    		if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top