Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mikor (0.05 sec)

  1. cmd/xl-storage-format-v2.go

    			}
    			if minor >= 2 {
    				if crc, nbuf, err := msgp.ReadUint32Bytes(buf); err == nil {
    					// Read metadata CRC (added in v2)
    					buf = nbuf
    					if got := uint32(xxhash.Sum64(v)); got != crc {
    						return fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got)
    					}
    				} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. cmd/xl-storage.go

    	if err != nil {
    		s.drivePath = ep.Path
    		return s, err
    	}
    
    	info, rootDrive, err := getDiskInfo(s.drivePath)
    	if err != nil {
    		return s, err
    	}
    
    	s.major = info.Major
    	s.minor = info.Minor
    	s.fsType = info.FSType
    
    	if rootDrive {
    		return s, errDriveIsRoot
    	}
    
    	// Sanitize before setting it
    	if info.NRRequests > 0 {
    		s.nrRequests = info.NRRequests
    	}
    
    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