Gfs File Attribute; Gfs Directory Attribute - Red Hat GFS 5.2.1 Administrator's Manual

Table of Contents

Advertisement

Chapter 9. Managing GFS
9.7.1.
O_DIRECT
If an application uses the
file.
To cause the
O_DIRECT
beginning of a source file before any includes, or define it on the cc line when compiling.
Note
Linux kernels from some distributions do not support use of the

9.7.2. GFS File Attribute

The
command can be used to assign a direct I/O attribute flag,
gfs_tool
GFS file. The
directio
9.7.2.1. Usage
Set Direct I/O Attribute Flag
gfs_tool setflag
Clear Direct I/O Attribute Flag
gfs_tool clearflag
File
Specifies the file where the
9.7.2.2. Example
In this example, the command sets the
.
/gfs1/
gfs_tool setflag directio /gfs1/datafile

9.7.3. GFS Directory Attribute

The
command can be used to assign a direct I/O attribute flag,
gfs_tool
GFS directory. Enabling the
files in that directory to automatically inherit the
is inherited by any new subdirectories created in the directory. The
be cleared.
flag on an
O_DIRECT
flag to be defined with recent glibc libraries, define
flag can also be cleared.
File
directio
File
directio
directio
inherit_directio
system call, direct I/O is used for the opened
open()
flag is assigned.
flag on the file named
directio
flag on a directory causes all newly created regular
flag. Also, the
directio
_GNU_SOURCE
flag.
O_DIRECT
directio
datafile
inherit_directio
inherit_directio
inherit_directio
97
at the
, to a regular
in directory
, to a
flag
flag can also

Advertisement

Table of Contents
loading

Table of Contents