From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1520 invoked by alias); 28 Jul 2005 22:53:51 -0000 Mailing-List: contact cluster-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sources.redhat.com Received: (qmail 1263 invoked by uid 9478); 28 Jul 2005 22:53:32 -0000 Date: Thu, 28 Jul 2005 22:53:00 -0000 Message-ID: <20050728225332.1252.qmail@sourceware.org> From: jbrassow@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/cmirror-kernel/src dm-cmirror-client.c ... X-SW-Source: 2005-q3/txt/msg00124.txt.bz2 List-Id: 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