cluster/gfs2 man/gfs2_tool.8 tool/gfs2_tool.h ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-10-30 14:06:06
Modified files:
gfs2/man : gfs2_tool.8
gfs2/tool : gfs2_tool.h main.c misc.c
Log message:
Resolves: bz 349601: GFS2 requires straightforward way to determine number of journals
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/gfs2_tool.8.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/gfs2_tool.h.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/main.c.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/misc.c.diff?cvsroot=cluster&r1=1.10&r2=1.11
gfs2/man/gfs2_tool.8 +3 -0
@@ -41,6 +41,9 @@ \fBgettune\fP \fIMountPoint\fR Print out the current values of the tuning parameters in a running filesystem. +.TP +\fBjournals\fP \fIMountPoint\fR +Print out information about the journals in a mounted filesystem. .\".TP .\"\fBjindex\fP \fIMountPoint\fR .\"Print out the journal index of a mounted filesystem.
gfs2/tool/gfs2_tool.h +1 -0
@@ -72,6 +72,7 @@void print_sb (int argc,char **argv);void print_args (int argc,char **argv);void print_jindex (int argc,char **argv); +void print_journals (int argc,char **argv);void print_rindex (int argc,char **argv);void print_quota (int argc,char **argv);void print_list (void );
gfs2/tool/main.c +5 -0
@@ -53,6 +53,9 @@"Get tuneable parameters for a filesystem\n" ," gfs2_tool gettune <mountpoint>\n" ,"\n" , +"List the file system's journals:\n" , +" gfs2_tool journals <mountpoint>\n" , +"\n" ,"List filesystems:\n" ," gfs2_tool list\n" , "\n",
@@ -235,6 +238,8 @@print_args (argc, argv); else if (strcmp(action, "gettune") == 0) get_tune(argc, argv); + else if (strcmp(action, "journals") == 0) + print_journals(argc, argv); else if (strcmp(action, "list") == 0) print_list(); else if (strcmp(action, "lockdump") == 0)
gfs2/tool/misc.c +65 -0
71 lines not on this page · raw message