Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDiskLoc (1.03 sec)

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

    	h.disk = disk
    	h.ID = diskID
    	h.HealID = healID
    	h.Path = disk.String()
    	h.Endpoint = disk.Endpoint().String()
    	h.Started = time.Now().UTC()
    	h.PoolIndex, h.SetIndex, h.DiskIndex = disk.GetDiskLoc()
    	return h
    }
    
    func (h *healingTracker) resetHealing() {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.ItemsHealed = 0
    	h.ItemsFailed = 0
    	h.BytesDone = 0
    	h.BytesFailed = 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    		}
    		if cdisk != nil {
    			// Close previous offline disk.
    			cdisk.Close()
    		}
    
    		wg.Add(1)
    		go func(endpoint Endpoint) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
Back to top