Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for O_DIRECT (0.1 sec)

  1. 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,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 15 01:07:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. cmd/storage-errors.go

    // errInconsistentDisk - inconsistent disk found.
    var errInconsistentDisk = StorageErr("inconsistent drive found")
    
    // errUnsupporteDisk - when disk does not support O_DIRECT flag.
    var errUnsupportedDisk = StorageErr("drive does not support O_DIRECT")
    
    // errDiskFull - cannot create volume or files when disk is full.
    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. 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
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. internal/config/errors.go

       $ minio server /data-{1...4}/minio # Single Node Multi Drive`,
    	)
    
    	ErrUnsupportedBackend = newErrFn(
    		"Unable to write to the backend",
    		"Please ensure your drive supports O_DIRECT",
    		"",
    	)
    
    	ErrUnableToWriteInBackend = newErrFn(
    		"Unable to write to the backend",
    		"Please ensure MinIO binary has write permissions for the backend",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 18 22:25:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    		var hint string
    		if endpoint.URL != nil {
    			hint = fmt.Sprintf("Drive '%s' does not support O_DIRECT flags, MinIO erasure coding requires filesystems with O_DIRECT support", endpoint.Path)
    		} else {
    			hint = "Drives do not support O_DIRECT flags, MinIO erasure coding requires filesystems with O_DIRECT support"
    		}
    		logger.Fatal(config.ErrUnsupportedBackend(err).Hint(hint), "Unable to initialize backend")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (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.**
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	OTPSELECT                        = 0x80044d0d
    	O_APPEND                         = 0x400
    	O_ASYNC                          = 0x2000
    	O_CLOEXEC                        = 0x80000
    	O_CREAT                          = 0x40
    	O_DIRECT                         = 0x4000
    	O_DIRECTORY                      = 0x10000
    	O_DSYNC                          = 0x1000
    	O_EXCL                           = 0x80
    	O_FSYNC                          = 0x101000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

    	OTPSELECT                        = 0x80044d0d
    	O_APPEND                         = 0x400
    	O_ASYNC                          = 0x2000
    	O_CLOEXEC                        = 0x80000
    	O_CREAT                          = 0x40
    	O_DIRECT                         = 0x10000
    	O_DIRECTORY                      = 0x4000
    	O_DSYNC                          = 0x1000
    	O_EXCL                           = 0x80
    	O_FSYNC                          = 0x101000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go

    	OTPSELECT                        = 0x80044d0d
    	O_APPEND                         = 0x400
    	O_ASYNC                          = 0x2000
    	O_CLOEXEC                        = 0x80000
    	O_CREAT                          = 0x40
    	O_DIRECT                         = 0x4000
    	O_DIRECTORY                      = 0x10000
    	O_DSYNC                          = 0x1000
    	O_EXCL                           = 0x80
    	O_FSYNC                          = 0x101000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top