cluster/gfs2/man gfs2_tool.8
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-11-07 21:14:50
Modified files:
gfs2/man : gfs2_tool.8
Log message:
Resolves: bz 336561: gfs2_tool accepts jdata flag; man page says no
gfs2/man/gfs2_tool.8 +8 -6
@@ -103,11 +103,17 @@ Print out the superblock. .TP \fBsetflag\fP \fIFlag\fR \fIFile1\fR \fIFile2\fR \fI...\fR -Set an attribute flag on a file. There are five currently -supported flags. They are directio, immutable, appendonly, +Set an attribute flag on a file. There are six currently +supported flags. They are jdata, directio, immutable, appendonly, noatime, and sync. In most cases, the chattr command may be used rather than gfs2_tool to set attributes. +The \fIjdata\fR flag causes all the data written to a file +to be journaled. If the \fIjdata\fR flag is set for a directory, +all files and directories subsequently created within that directory +are also journaled. This behavior replaces the old \fIinherit_jdata\fR +flag from gfs. Same as chattr +j. + The \fIdirectio\fR flag causes all I/O to a regular file to be Direct I/O, even if the O_DIRECT flag isn't used on the open() command.
@@ -123,10 +129,6 @@ The \fIsync\fR flag causes data written to the file to be sync'ed to stable storage immediately. Same as chattr +S. - -Note: Unlike the original gfs_tool, the journaled data (\fIjdata\fR) flag -is set with chattr +j and reset with chattr -j. Likewise, the -\fIinherit_jdata\fR flag is set on a directory with chattr +j. .TP \fBsettune\fP \fIMountPoint\fR \fIparameter\fR \fInewvalue\fR Set the value of tuning parameter. Use \fBgettune\fP for a listing of