This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster/group/gfs_controld cpg.c lock_dlm.h ma ...


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland@sourceware.org	2007-11-28 20:49:08

Modified files:
	group/gfs_controld: cpg.c lock_dlm.h main.c plock.c recover.c 

Log message:
	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&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/lock_dlm.h.diff?cvsroot=cluster&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/main.c.diff?cvsroot=cluster&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&r1=1.33&r2=1.34
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/recover.c.diff?cvsroot=cluster&r1=1.33&r2=1.34


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]