Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for formatErasureV3Check (0.12 sec)

  1. cmd/format-erasure.go

    		}
    		if format.Drives() == maxDrives {
    			format := formats[i].Clone()
    			format.Erasure.This = ""
    			return format, nil
    		}
    	}
    
    	return nil, errErasureReadQuorum
    }
    
    func formatErasureV3Check(reference *formatErasureV3, format *formatErasureV3) error {
    	tmpFormat := format.Clone()
    	this := tmpFormat.Erasure.This
    	tmpFormat.Erasure.This = ""
    	if len(reference.Erasure.Sets) != len(format.Erasure.Sets) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndex(refFormat, format *formatErasureV3) (int, int, error) {
    	if err := formatErasureV3Check(refFormat, format); err != nil {
    		return 0, 0, err
    	}
    
    	if format.Erasure.This == offlineDiskUUID {
    		return -1, -1, fmt.Errorf("DriveID: %s is offline", format.Erasure.This)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
Back to top