From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW daemons/clvmd/clvmd-openais.c
Date: 11 Jul 2007 12:07:40 -0000 [thread overview]
Message-ID: <20070711120740.12673.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: pcaulfield at sourceware.org 2007-07-11 12:07:39
Modified files:
. : WHATS_NEW
daemons/clvmd : clvmd-openais.c
Log message:
Tidy bits of clvmd-openais and improve an error report.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.651&r2=1.652
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/clvmd-openais.c.diff?cvsroot=lvm2&r1=1.2&r2=1.3
--- LVM2/WHATS_NEW 2007/07/10 18:50:02 1.651
+++ LVM2/WHATS_NEW 2007/07/11 12:07:39 1.652
@@ -1,5 +1,6 @@
Version 2.02.27 -
================================
+ Tidy clvmd-openais of redundant bits, and improve an error report.
Cope with find_seg_by_le() failure in check_lv_segments().
Call dev_iter_destroy() if _process_all_devs() is interrupted by sigint.
Add vg_mda_count and pv_mda_count columns to reports.
--- LVM2/daemons/clvmd/clvmd-openais.c 2007/06/25 09:02:37 1.2
+++ LVM2/daemons/clvmd/clvmd-openais.c 2007/07/11 12:07:39 1.3
@@ -37,7 +37,6 @@
#include <openais/saAis.h>
#include <openais/saLck.h>
-#include <openais/saClm.h>
#include <openais/cpg.h>
#include "list.h"
@@ -346,7 +345,6 @@
SaAisErrorT err;
SaVersionT ver = { 'B', 1, 1 };
int select_fd;
- SaClmClusterNodeT cluster_node;
node_hash = dm_hash_create(100);
lock_hash = dm_hash_create(10);
@@ -379,19 +377,18 @@
cpg_finalize(cpg_handle);
saLckFinalize(lck_handle);
syslog(LOG_ERR, "Cannot join clvmd process group");
- DEBUGLOG("Cannot join clvmd process group\n");
+ DEBUGLOG("Cannot join clvmd process group: %d\n", err);
return ais_to_errno(err);
}
err = cpg_local_get(cpg_handle,
- &cluster_node);
+ &our_nodeid);
if (err != SA_AIS_OK) {
cpg_finalize(cpg_handle);
saLckFinalize(lck_handle);
syslog(LOG_ERR, "Cannot get local node id\n");
return ais_to_errno(err);
}
- our_nodeid = cluster_node.nodeId;
DEBUGLOG("Our local node id is %d\n", our_nodeid);
saLckSelectionObjectGet(lck_handle, (SaSelectionObjectT *)&select_fd);
next reply other threads:[~2007-07-11 12:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 12:07 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-23 9:53 LVM2 ./WHATS_NEW daemons/clvmd/clvmd-openais.c ccaulfield
2008-04-28 8:57 ccaulfield
2008-04-29 8:55 ccaulfield
2008-06-20 12:46 ccaulfield
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=20070711120740.12673.qmail@sourceware.org \
--to=pcaulfield@sourceware.org \
--cc=lvm-devel@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.