Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for odirectEnabled (0.06 sec)

  1. cmd/xl-storage.go

    	parentFilePath := pathutil.Dir(filePath)
    	if err = mkdirAll(parentFilePath, 0o777, skipParent); err != nil {
    		return osErrToFileErr(err)
    	}
    
    	odirectEnabled := globalAPIConfig.odirectEnabled() && s.oDirect && fileSize > 0
    
    	var w *os.File
    	if odirectEnabled {
    		w, err = OpenFileDirectIO(filePath, flags, 0o666)
    	} else {
    		w, err = OpenFile(filePath, flags, 0o666)
    	}
    	if err != nil {
    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