[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/cmirror-kernel/src dm-cmirror-server.c

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	jbrassow sourceware org	2006-06-27 20:24:59

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

Log message:
	- I was incorrectly decrementing the sync count when a mirror region
	went out of sync.  We need to properly log the reset in the bits,
	but still allow nodes to detect the failure of the device and be
	able to switch the primary device.


--- cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/06/21 21:09:49
+++ cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/06/27 20:24:59
@@ -586,7 +586,7 @@
 	} else if (log_test_bit(lc->sync_bits, lr->u.lr_region)) {
 		DMERR("complete_resync_work region going out-of-sync: disk failure");
-		lc->sync_count--;
+		/* gone for now: lc->sync_count--; */
 		log_clear_bit(lc, lc->sync_bits, lr->u.lr_region);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]