Documentation
¶
Index ¶
Constants ¶
View Source
const (
O_DIRECT = syscall.O_DIRECT
)
Variables ¶
View Source
var ErrFSNoDIOSupport = errors.New("filesystem does not expose Direct I/O alignment")
View Source
var ErrNotSetDirectIO = errors.New("O_DIRECT flag is absent")
Functions ¶
func DIOMemAlign ¶
Types ¶
type DirectIO ¶
type DirectIO struct {
// contains filtered or unexported fields
}
DirectIO bypasses page cache.
func (*DirectIO) Buffered ¶
Buffered returns the number of bytes that have been written into the current buffer.
Click to show internal directories.
Click to hide internal directories.