cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: bmarzins@sourceware.org <bmarzins@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gnbd/client gnbd_monitor.c
Date: 26 Jun 2006 22:18:02 -0000	[thread overview]
Message-ID: <20060626221802.32630.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	bmarzins at sourceware.org	2006-06-26 22:18:01

Modified files:
	gnbd/client    : gnbd_monitor.c 

Log message:
	Fix gnbd_monitor so that it will correctly restart multiple devices per
	server.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/client/gnbd_monitor.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.6.2.1.6.2&r2=1.6.2.1.6.3

--- cluster/gnbd/client/gnbd_monitor.c	2006/04/10 16:07:28	1.6.2.1.6.2
+++ cluster/gnbd/client/gnbd_monitor.c	2006/06/26 22:18:01	1.6.2.1.6.3
@@ -366,7 +366,6 @@
     dev = list_entry(item, monitor_t, list);
     if (check_for_node(nodes, dev->server)){
       fail_device(dev);
-      break;
     }
   }
 }
@@ -476,14 +475,13 @@
 
 cluster_member_t *get_failover_server(monitor_t *dev)
 {
-  char host[256];
   cluster_member_t *server;
   list_t *item;
   monitor_t *other_dev;
 
   server = check_for_node(cluster_members, dev->server);
   if (server == NULL){
-    log_err("server %s is not a cluster member, cannot fence.\n", host);
+    log_err("server %s is not a cluster member, cannot fence.\n", dev->server);
     return NULL;
   }
   list_foreach(item, &monitor_list){



             reply	other threads:[~2006-06-26 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 22:18 bmarzins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-26 23:45 [Cluster-devel] cluster/gnbd/client gnbd_monitor.c bmarzins
2006-06-26 23:47 bmarzins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060626221802.32630.qmail@sourceware.org \
    --to=bmarzins@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).