public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: pcaulfield@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW daemons/clvmd/clvmd-cman.c Date: Mon, 23 Apr 2007 14:55:00 -0000 [thread overview] Message-ID: <20070423145528.30279.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: pcaulfield@sourceware.org 2007-04-23 15:55:28 Modified files: . : WHATS_NEW daemons/clvmd : clvmd-cman.c Log message: Make clvmd cope with quorum devices in RHEL5 bz#237386 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.597&r2=1.598 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/clvmd-cman.c.diff?cvsroot=lvm2&r1=1.16&r2=1.17 --- LVM2/WHATS_NEW 2007/04/19 22:56:16 1.597 +++ LVM2/WHATS_NEW 2007/04/23 14:55:28 1.598 @@ -1,5 +1,6 @@ Version 2.02.25 - ================================= + Make clvmd cope with quorum devices on RHEL5 Add dev_read_circular. Add pvck command stub. Update lists of attribute characters in man pages. --- LVM2/daemons/clvmd/clvmd-cman.c 2006/10/09 14:11:57 1.16 +++ LVM2/daemons/clvmd/clvmd-cman.c 2007/04/23 14:55:28 1.17 @@ -121,7 +121,7 @@ /* return number of ACTIVE nodes */ for (i=0; i<num_nodes; i++) { - if (nodes[i].cn_member) + if (nodes[i].cn_member && nodes[i].cn_nodeid) nnodes++; } return nnodes; @@ -159,7 +159,7 @@ int somedown = 0; for (i = 0; i < _get_num_nodes(); i++) { - if (nodes[i].cn_member) { + if (nodes[i].cn_member && nodes[i].cn_nodeid) { callback(client, (char *)&nodes[i].cn_nodeid, node_updown[nodes[i].cn_nodeid]); if (!node_updown[nodes[i].cn_nodeid]) somedown = -1; @@ -168,8 +168,7 @@ return somedown; } -/* Process OOB message from the cluster socket, - this currently just means that a node has stopped listening on our port */ +/* Process OOB messages from the cluster socket */ static void event_callback(cman_handle_t handle, void *private, int reason, int arg) { char namebuf[MAX_CLUSTER_MEMBER_NAME_LEN];
next reply other threads:[~2007-04-23 14:55 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-04-23 14:55 pcaulfield [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-05-09 7:20 ccaulfield 2008-04-01 15:01 ccaulfield 2008-03-25 10:42 ccaulfield 2007-05-02 8:23 pcaulfield 2006-10-06 10:06 pcaulfield 2006-08-24 12:45 pcaulfield 2006-03-21 10:31 pcaulfield 2005-01-26 9:30 pcaulfield 2004-09-30 14:18 pcaulfield
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=20070423145528.30279.qmail@sourceware.org \ --to=pcaulfield@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).