[Cluster-devel] cluster/gfs-kernel/src/gfs glock.c
wcheng at sourceware.org
wcheng at sourceware.org
Tue Jun 26 18:30:02 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: wcheng at sourceware.org 2007-06-26 18:30:01
Modified files:
gfs-kernel/src/gfs: glock.c
Log message:
Bugzilla 239729:
Hit the mouse too soon before commit ... Hopefully this time it is all
correct.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/glock.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.29.2.3&r2=1.29.2.4
--- cluster/gfs-kernel/src/gfs/glock.c 2007/06/26 17:38:07 1.29.2.3
+++ cluster/gfs-kernel/src/gfs/glock.c 2007/06/26 18:30:01 1.29.2.4
@@ -2653,8 +2653,7 @@
if (!sdp->sd_tune.gt_glock_purge)
purge_nr = 0;
else
- purge_nr = (atomic_read(&sdp->sd_glock_count) -
- atomic_read(&sdp->sd_glock_count)) *
+ purge_nr = atomic_read(&sdp->sd_glock_count) *
sdp->sd_tune.gt_glock_purge / 100;
for (x = 0; x < GFS_GL_HASH_SIZE; x++) {
More information about the Cluster-devel
mailing list