Cluster Project branch, RHEL4, updated. gfs-kernel_2_6_9_76-86-ga0e6a6d
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, RHEL4 has been updated
via a0e6a6d02a4a55b98078dc874204c5555dbf74a4 (commit)
from 89ec6eacf4619e0b72f72115ce7d93e83257fa7b (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit a0e6a6d02a4a55b98078dc874204c5555dbf74a4
Author: Jonathan Brassow <[email protected]> Date: Fri Jun 20 13:17:44 2008 -0500
dm-cmirror.ko: Fix for bug 450939
- must reset 'in_sync' var upon resume
-- Clean-up of some compile warnings
-- Additional debugging statements
-----------------------------------------------------------------------
Summary of changes:
cmirror-kernel/src/dm-cmirror-client.c | 3 +- cmirror-kernel/src/dm-cmirror-server.c | 46 +++++++++++++++++++------------ 2 files changed, 30 insertions(+), 19 deletions(-)
cmirror-kernel/src/dm-cmirror-client.c +2 -1
@@ -849,6 +849,7 @@ static int cluster_resume(struct dirty_log *log){DMDEBUG ("cluster_resume: Setting recovery_halted = 0" ); lc->recovery_halted =0 ;atomic_set (&lc->suspended,0 ); +atomic_set (&lc->in_sync,0 );return 0 ; }
@@ -1186,7 +1187,7 @@ static region_t cluster_get_sync_count(struct dirty_log *log)struct log_c *lc = (struct log_c *) log->context;if (atomic_read (&lc->suspended)) { -return (atomic_read (&lc->in_sync)) ? lc->region_count :0 ; +return (atomic_read (&lc->in_sync) ==1 ) ? lc->region_count :0 ; }/* Try to get sync count up to five times */
cmirror-kernel/src/dm-cmirror-server.c +28 -18
107 lines not on this page · raw message
hooks/post-receive
--
Cluster Project