public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* master - dlm_controld: handle cman config update notifications
@ 2008-10-31 10:43 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2008-10-31 10:43 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ab82a56843e0f043f07d9cd005725d36719f6aa4
Commit:        ab82a56843e0f043f07d9cd005725d36719f6aa4
Parent:        c06c5e8bb2c69879d9aaa5422bbceffa2c830287
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Oct 27 10:51:19 2008 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Oct 31 11:13:14 2008 +0100

dlm_controld: handle cman config update notifications

allow at least logging to be reconfigured runtime

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/dlm_controld/member_cman.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/group/dlm_controld/member_cman.c b/group/dlm_controld/member_cman.c
index 8ecc5af..28b9a5a 100644
--- a/group/dlm_controld/member_cman.c
+++ b/group/dlm_controld/member_cman.c
@@ -147,6 +147,9 @@ static void cman_callback(cman_handle_t h, void *private, int reason, int arg)
 	case CMAN_REASON_STATECHANGE:
 		statechange();
 		break;
+	case CMAN_REASON_CONFIG_UPDATE:
+		setup_logging();
+		break;
 	}
 }
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-31 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-31 10:43 master - dlm_controld: handle cman config update notifications Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).