Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for storageLogIf (0.36 sec)

  1. cmd/xl-storage-meta-inline.go

    		return buf
    	}
    	// Skip header
    	_, metaBuf, err = msgp.ReadBytesZC(metaBuf)
    	if err != nil {
    		storageLogIf(GlobalContext, err)
    		return buf
    	}
    	// Skip CRC
    	if maj > 1 || min >= 2 {
    		_, metaBuf, err = msgp.ReadUint32Bytes(metaBuf)
    		storageLogIf(GlobalContext, err)
    	}
    	//   =  input - current pos
    	ends := len(buf) - len(metaBuf)
    	if ends > len(buf) {
    		return buf
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/storage-errors.go

    		return errTooManyOpenFiles
    	}
    	if isSysErrHandleInvalid(err) {
    		return errFileNotFound
    	}
    	if isSysErrIO(err) {
    		return errFaultyDisk
    	}
    	if isSysErrInvalidArg(err) {
    		storageLogIf(context.Background(), err)
    		// For some odd calls with O_DIRECT reads
    		// filesystems can return EINVAL, handle
    		// these as FileNotFound instead.
    		return errFileNotFound
    	}
    	if isSysErrNoSpace(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/logging.go

    	logger.LogOnceIf(ctx, "ilm", err, id, errKind...)
    }
    
    func encLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "encryption", err, errKind...)
    }
    
    func storageLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "storage", err, errKind...)
    }
    
    func storageLogAlwaysIf(ctx context.Context, err error, errKind ...interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top