Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OpenFileDirectIO (0.08 sec)

  1. cmd/xl-storage.go

    		return 0, errFileCorrupt
    	}
    
    	return int64(len(buffer)), nil
    }
    
    func (s *xlStorage) openFileDirect(path string, mode int) (f *os.File, err error) {
    	w, err := OpenFileDirectIO(path, mode, 0o666)
    	if err != nil {
    		switch {
    		case isSysErrInvalidArg(err):
    			return nil, errUnsupportedDisk
    		case osIsPermission(err):
    			return nil, errDiskAccessDenied
    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