Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHealingTracker (0.08 sec)

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

    	h.ID = diskID
    	h.mu = &sync.RWMutex{}
    	return &h, nil
    }
    
    // newHealingTracker will create a new healing tracker for the disk.
    func newHealingTracker() *healingTracker {
    	return &healingTracker{
    		mu: &sync.RWMutex{},
    	}
    }
    
    func initHealingTracker(disk StorageAPI, healID string) *healingTracker {
    	h := newHealingTracker()
    	diskID, _ := disk.GetDiskID()
    	h.disk = disk
    	h.ID = diskID
    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/xl-storage.go

    		}
    		return nil
    	}
    	if len(b) == 0 {
    		internalLogIf(GlobalContext, fmt.Errorf("%s is empty", healingFile))
    		// 'healing.bin' might be truncated
    		return nil
    	}
    	h := newHealingTracker()
    	_, err = h.UnmarshalMsg(b)
    	internalLogIf(GlobalContext, err)
    	return h
    }
    
    // checkODirectDiskSupport asks the disk to write some data
    // with O_DIRECT support, return an error if any and return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top