Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for diskErrToDriveState (0.15 sec)

  1. cmd/erasure.go

    	return dataCount
    }
    
    // defaultRQuorum read quorum based on setDriveCount and defaultParityCount
    func (er erasureObjects) defaultRQuorum() int {
    	return er.setDriveCount - er.defaultParityCount
    }
    
    func diskErrToDriveState(err error) (state string) {
    	switch {
    	case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded):
    		state = madmin.DriveStateOffline
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top