Gfs Directory Attribute; Data Journaling - Red Hat GLOBAL FILE SYSTEM 5.1 Manual

Hide thumbs Also See for GLOBAL FILE SYSTEM 5.1:
Table of Contents

Advertisement

gfs_tool setflag directio /gfs1/datafile

7.3. GFS Directory Attribute

The
command can be used to assign (set) a direct I/O attribute flag,
gfs_tool
, to a GFS directory. Enabling the
inherit_directio
causes all newly created regular files in that directory to automatically inherit the
Also, the
inherit_directio
The
inherit_directio
Usage
Setting the
inherit_directio
gfs_tool setflag inherit_directio Directory
Clearing the
inherit_directio
gfs_tool clearflag inherit_directio Directory
Directory
Specifies the directory where the
Example
In this example, the command sets the
.
/gfs1/data/
gfs_tool setflag inherit_directio /gfs1/data/

8. Data Journaling

Ordinarily, GFS writes only metadata to its journal. File contents are subsequently written to disk
by the kernel's periodic sync that flushes file-system buffers. An
the file's data to be written to disk immediately. The call returns when the disk reports that all
data is safely written.
Data journaling can result in a reduced
data is written to the journal in addition to the metadata. An
flag is inherited by any new subdirectories created in the directory.
flag can also be cleared.
flag
flag
inherit_directio
inherit_directio
fsync()
inherit_directio
flag is set.
flag on the directory named
fsync()
time, especially for small files, because the file
returns as soon as the
fsync()
GFS Directory Attribute
flag on a directory
flag.
directio
call on a file causes
33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GLOBAL FILE SYSTEM 5.1 and is the answer not in the manual?

Questions and answers

Table of Contents