CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2007-11-07 21:15:13
Modified files: gfs2/man : gfs2_tool.8 Log message: Resolves: bz 336561: gfs2_tool accepts jdata flag; man page says no Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/gfs2_tool.8.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.3.2.2&r2=1.3.2.3 --- cluster/gfs2/man/gfs2_tool.8 2007/10/30 14:08:33 1.3.2.2 +++ cluster/gfs2/man/gfs2_tool.8 2007/11/07 21:15:13 1.3.2.3 @@ -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