public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: ccaulfield@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW daemons/clvmd/clvmd-openais.c Date: Fri, 20 Jun 2008 12:46:00 -0000 [thread overview] Message-ID: <20080620124622.27287.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: ccaulfield@sourceware.org 2008-06-20 12:46:22 Modified files: . : WHATS_NEW daemons/clvmd : clvmd-openais.c Log message: Make clvmd return immediately if other nodes are down in an openais cluster. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.907&r2=1.908 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/clvmd-openais.c.diff?cvsroot=lvm2&r1=1.6&r2=1.7 --- LVM2/WHATS_NEW 2008/06/20 10:58:27 1.907 +++ LVM2/WHATS_NEW 2008/06/20 12:46:21 1.908 @@ -1,5 +1,6 @@ Version 2.02.39 - ================================ + Make clvmd return immediately if other nodes are down in an openais cluster. Make clvmd return immediately if other nodes are down in a gulm cluster. Improve/Fix read ahead 'auto' calculation for stripe_size Fix lvchange output for -r auto setting if auto is already set --- LVM2/daemons/clvmd/clvmd-openais.c 2008/04/29 08:55:20 1.6 +++ LVM2/daemons/clvmd/clvmd-openais.c 2008/06/20 12:46:21 1.7 @@ -452,6 +452,7 @@ { struct dm_hash_node *hn; struct node_info *ninfo; + int somedown = 0; dm_hash_iterate(hn, node_hash) { @@ -465,8 +466,10 @@ if (ninfo->state != NODE_DOWN) callback(master_client, csid, ninfo->state == NODE_CLVMD); + if (ninfo->state != NODE_CLVMD) + somedown = -1; } - return 0; + return somedown; } /* Real locking */
next reply other threads:[~2008-06-20 12:46 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-06-20 12:46 ccaulfield [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-04-29 8:55 ccaulfield 2008-04-28 8:57 ccaulfield 2008-04-23 9:53 ccaulfield 2007-07-11 12:07 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=20080620124622.27287.qmail@sourceware.org \ --to=ccaulfield@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).