This is the mail archive of the
cluster-cvs@sources.redhat.com
mailing list for the cluster.
cluster/cmirror/src dm-cmirror-client.c dm-cmi ...
- From: jbrassow at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 28 Jul 2005 23:02:33 -0000
- Subject: cluster/cmirror/src dm-cmirror-client.c dm-cmi ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: jbrassow@sourceware.org 2005-07-28 23:02:33
Modified files:
cmirror/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/src/dm-cmirror-client.c.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cmirror/src/dm-cmirror-common.h.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cmirror/src/dm-cmirror-server.c.diff?cvsroot=cluster&r1=1.7&r2=1.8