From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohara@sourceware.org Date: 13 Nov 2006 19:28:37 -0000 Subject: [Cluster-devel] cluster/gfs-kernel/src/gfs ioctl.c Message-ID: <20061113192837.4540.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: rohara at sourceware.org 2006-11-13 19:28:36 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=RHEL5&r1=1.13&r2=1.13.2.1 --- cluster/gfs-kernel/src/gfs/ioctl.c 2006/10/17 19:02:35 1.13 +++ cluster/gfs-kernel/src/gfs/ioctl.c 2006/11/13 19:28:36 1.13.2.1 @@ -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",