Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toHealingDisk (0.08 sec)

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

    	b, err := json.MarshalIndent(h, "", "  ")
    	if err != nil {
    		writer.Write([]byte(err.Error()))
    		return
    	}
    	writer.Write(b)
    }
    
    // toHealingDisk converts the information to madmin.HealingDisk
    func (h *healingTracker) toHealingDisk() madmin.HealingDisk {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return madmin.HealingDisk{
    		ID:                h.ID,
    		HealID:            h.HealID,
    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/erasure.go

    			di.Scanning = info.Scanning
    			di.State = diskErrToDriveState(err)
    			di.FreeInodes = info.FreeInodes
    			di.UsedInodes = info.UsedInodes
    			if hi := disks[index].Healing(); hi != nil {
    				hd := hi.toHealingDisk()
    				di.HealInfo = &hd
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	ahs.RLock()
    	defer ahs.RUnlock()
    	dst := make(map[string]madmin.HealingDisk, len(ahs.healStatus))
    	for _, v := range ahs.healStatus {
    		dst[v.Endpoint] = v.toHealingDisk()
    	}
    
    	return dst
    }
    
    // getHealLocalDiskEndpoints() returns the list of disks that need
    // to be healed but there is no healing routine in progress on them.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top