Cluster Project branch, RHEL47, updated. gfs-kernel_2_6_9_76-81-g634f4f5
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, RHEL47 has been updated
via 634f4f53b00c2c1ee49e02773e44d3352043f1c3 (commit)
from a174220359c48ad23e7474f71e40bfc5fedd3906 (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 634f4f53b00c2c1ee49e02773e44d3352043f1c3
Author: Jonathan Brassow <[email protected]> Date: Wed Jun 18 10:08:06 2008 -0500
dm-cmirror.ok: Fix for bug 450939
Must reset in_sync variable upon resume.
-----------------------------------------------------------------------
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