Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for O_DIRECT (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/disk/directio_unsupported.go

    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = false
    
    // OpenBSD, Windows, and illumos do not support O_DIRECT.
    // On Windows there is no documentation on disabling O_DIRECT.
    // For these systems we do not attempt to build the 'directio' dependency since
    // the O_DIRECT symbol may not be exposed resulting in a failed build.
    //
    //
    // On illumos an explicit O_DIRECT flag is not necessary for two primary
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  2. docs/config/README.md

    delete_cleanup_interval         (duration)  set to change intervals when deleted objects are permanently deleted from ".trash" folder (default: '5m')
    odirect                         (boolean)   set to enable or disable O_DIRECT for writes under special conditions. NOTE: do not disable O_DIRECT without prior testing (default: 'on')
    root_access                     (boolean)   turn 'off' root credential access for all API calls including s3, admin operations (default: 'on')
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  3. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiODirect,
    			Description: "set to enable or disable O_DIRECT for writes under special conditions. NOTE: do not disable O_DIRECT without prior testing" + defaultHelpPostfix(apiODirect),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. cmd/xl-storage-errors.go

    	"errors"
    	"os"
    	"runtime"
    	"syscall"
    )
    
    // No space left on device error
    func isSysErrNoSpace(err error) bool {
    	return errors.Is(err, syscall.ENOSPC)
    }
    
    // Invalid argument, unsupported flags such as O_DIRECT
    func isSysErrInvalidArg(err error) bool {
    	return errors.Is(err, syscall.EINVAL)
    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    	return errors.Is(err, syscall.EIO)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Click Count (0)
  5. cmd/xl-storage.go

    }
    
    // checkODirectDiskSupport asks the disk to write some data
    // with O_DIRECT support, return an error if any and return
    // errUnsupportedDisk if there is no O_DIRECT support
    func (s *xlStorage) checkODirectDiskSupport(fsType string) error {
    	if !disk.ODirectPlatform {
    		return errUnsupportedDisk
    	}
    
    	// We know XFS already supports O_DIRECT no need to check.
    	if fsType == "XFS" {
    		return nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  6. internal/ioutil/ioutil.go

    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    		buf := alignedBuf
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. docs/distributed/README.md

    **In our tests we also found ext4 does not honor POSIX O_DIRECT/Fdatasync semantics, ext4 trades performance for consistency guarantees. Please avoid ext4 in your setup.**
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const O_CREAT = 512
    pkg syscall (netbsd-arm64-cgo), const OCRNL = 16
    pkg syscall (netbsd-arm64-cgo), const OCRNL ideal-int
    pkg syscall (netbsd-arm64-cgo), const O_DIRECT = 524288
    pkg syscall (netbsd-arm64-cgo), const O_DIRECT ideal-int
    pkg syscall (netbsd-arm64-cgo), const O_DIRECTORY = 2097152
    pkg syscall (netbsd-arm64-cgo), const O_DIRECTORY ideal-int
    pkg syscall (netbsd-arm64-cgo), const O_DSYNC = 65536
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const O_ASYNC = 64
    pkg syscall (freebsd-arm64), const O_CLOEXEC = 1048576
    pkg syscall (freebsd-arm64), const O_CREAT = 512
    pkg syscall (freebsd-arm64), const O_DIRECT = 65536
    pkg syscall (freebsd-arm64), const O_DIRECT ideal-int
    pkg syscall (freebsd-arm64), const O_DIRECTORY = 131072
    pkg syscall (freebsd-arm64), const O_DIRECTORY ideal-int
    pkg syscall (freebsd-arm64), const O_EXCL = 2048
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Click Count (0)
  10. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const ONOEOT ideal-int
    pkg syscall (freebsd-386-cgo), const OPOST ideal-int
    pkg syscall (freebsd-386-cgo), const O_ACCMODE ideal-int
    pkg syscall (freebsd-386-cgo), const O_DIRECT ideal-int
    pkg syscall (freebsd-386-cgo), const O_DIRECTORY ideal-int
    pkg syscall (freebsd-386-cgo), const O_EXEC ideal-int
    pkg syscall (freebsd-386-cgo), const O_EXLOCK ideal-int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
Back to Top