Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for O_DIRECT (0.64 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.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: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	O_ACCMODE                       = 0x03
    	O_APPEND                        = 0x08
    	O_ASYNCSIG                      = 0x0200
    	O_CREAT                         = 0x80
    	O_DIRECT                        = 0x00002000
    	O_NOFOLLOW                      = 0x00004000
    	O_DIRECTORY                     = 0x00008000
    	O_PATH                          = 0x00080000
    	O_CLOEXEC                       = 0x00001000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top