cluster/cmirror-kernel/src dm-cmirror-server.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: jbrassow at 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.
cmirror-kernel/src/Attic/dm-cmirror-server.c +1 -1
@@ -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); }