This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/group/gfs_controld cpg.c lock_dlm.h ma ...
- From: teigland at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 5 Dec 2007 22:11:32 -0000
- Subject: cluster/group/gfs_controld cpg.c lock_dlm.h ma ...
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: teigland@sourceware.org 2007-12-05 22:11:32
Modified files:
group/gfs_controld: cpg.c lock_dlm.h main.c plock.c recover.c
Log message:
bz 359271
A performance optimization for plocks. This speeds up locks that are
repeatedly accessed by processes on a single node. Plocks used by
processes on multiple nodes work the same way as before. The
optimization is disabled by default, and can be enabled by setting
<gfs_controld plock_ownership="1"/>
in cluster.conf, or by starting gfs_controld with "-o1". It is disabled
by default because enabling it breaks compatibility with previous
versions of gfs_controld. If all nodes in the cluster are running this
version, then plock_ownership can be enabled.
The plock_ownership mode needs extensive testing. This also introduces
some minor changes when plock_ownership is disabled, so new testing is
also required in that mode. Abhi and I worked on this together.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/cpg.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.9.2.3&r2=1.9.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/lock_dlm.h.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.21.2.9&r2=1.21.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.18.2.13&r2=1.18.2.14
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.25.2.7&r2=1.25.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/recover.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.23.2.10&r2=1.23.2.11