cluster/cmirror-kernel/src dm-cmirror-client.c ...

jbrassow@sourceware.org jbrassow@sourceware.org
Thu Jul 28 22:53:00 GMT 2005


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	jbrassow@sourceware.org	2005-07-28 22:53:24

Modified files:
	cmirror-kernel/src: dm-cmirror-client.c dm-cmirror-common.h 
	                    dm-cmirror-server.c 

Log message:
	- fix cmirror bugs
	
	- Only allow one machine to perform resync work
	There must be a race in there somewhere when allowing multiple
	simultaneous recoveries...  This side-steps that issue.  Besides
	one machine moving the heads is probably better than all.
	
	- when a resync is done, we must mark it in the clean list as well
	as the sync list.  Otherwise, the log will always tell us there
	is recovery to be done - even if there isn't.
	
	- Only suspend the server on cluster events - not dm suspends.  If
	we flush the clients before returning from the suspend, the server
	will do nothing anyway.
	
	- fix typo
	
	- clean up logging
	
	- take the code that connects to cman out of the init function and
	do it on first mirror activation.  This way, you don't have to
	have cman running in order to load the module...  Makes mirror
	activation a bit slower, but speeds up module loading.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-client.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-common.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-server.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2



More information about the Cluster-cvs mailing list