[Cluster-devel] cluster/gfs-kernel/src/gfs ioctl.c

rohara at sourceware.org rohara at sourceware.org
Mon Nov 13 22:48:07 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	rohara at sourceware.org	2006-11-13 22:48:07

Modified files:
	gfs-kernel/src/gfs: ioctl.c 

Log message:
	Include sd_freeze_count in counters output.
	This will allow users to see the freeze count via gfs_tool counters.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ioctl.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.7.6.1.2.1&r2=1.7.6.1.2.2

--- cluster/gfs-kernel/src/gfs/ioctl.c	2005/10/24 15:53:27	1.7.6.1.2.1
+++ cluster/gfs-kernel/src/gfs/ioctl.c	2006/11/13 22:48:06	1.7.6.1.2.2
@@ -345,6 +345,8 @@
 		   atomic_read(&sdp->sd_glock_count));
 	gfs_printf("sd_glock_held_count:locks held::%d\n",
 		   atomic_read(&sdp->sd_glock_held_count));
+	gfs_printf("sd_freeze_count:freeze count::%d\n",
+		   sdp->sd_freeze_count);
 	gfs_printf("sd_inode_count:incore inodes::%d\n",
 		   atomic_read(&sdp->sd_inode_count));
 	gfs_printf("sd_bufdata_count:metadata buffers::%d\n",




More information about the Cluster-devel mailing list