From: jbrassow@sourceware.org <jbrassow@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cmirror/src cluster.c local.c rbtree.c
Date: 9 Nov 2007 05:47:07 -0000 [thread overview]
Message-ID: <20071109054707.26231.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: jbrassow at sourceware.org 2007-11-09 05:47:05
Modified files:
cmirror/src : cluster.c local.c rbtree.c
Log message:
- omission of stdint.h means failure to compile
- other additions to debugging output
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror/src/cluster.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.5&r2=1.1.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror/src/local.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.4&r2=1.1.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror/src/rbtree.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.1&r2=1.1.2.2
--- cluster/cmirror/src/Attic/cluster.c 2007/11/08 22:16:53 1.1.2.5
+++ cluster/cmirror/src/Attic/cluster.c 2007/11/09 05:47:05 1.1.2.6
@@ -617,11 +617,13 @@
LOG_ERROR("Badly sized message recieved from cluster.");
if (tfr->request_type & DM_CLOG_RESPONSE)
- LOG_DBG("Response from cluster recieved %s",
- RQ_TYPE(tfr->request_type & ~DM_CLOG_RESPONSE));
+ LOG_DBG("Response to %u from %u recieved [%s/%llu]",
+ tfr->originator, nodeid,
+ RQ_TYPE(tfr->request_type & ~DM_CLOG_RESPONSE),
+ tfr->seq);
else
- LOG_DBG("Request from cluster recieved %s",
- RQ_TYPE(tfr->request_type));
+ LOG_DBG("Request from %u recieved [%s/%llu]",
+ nodeid, RQ_TYPE(tfr->request_type), tfr->seq);
if (my_cluster_id == 0xDEAD) {
LOG_DBG("Message before init... ignoring.\n");
--- cluster/cmirror/src/Attic/local.c 2007/11/08 22:16:53 1.1.2.4
+++ cluster/cmirror/src/Attic/local.c 2007/11/09 05:47:05 1.1.2.5
@@ -151,8 +151,8 @@
if (r)
return r;
- LOG_DBG("Request from kernel recieved [%s]",
- RQ_TYPE(tfr->request_type));
+ LOG_DBG("Request from kernel recieved [%s/%llu]",
+ RQ_TYPE(tfr->request_type), tfr->seq);
switch (tfr->request_type) {
case DM_CLOG_CTR:
case DM_CLOG_DTR:
--- cluster/cmirror/src/Attic/rbtree.c 2007/11/08 22:16:53 1.1.2.1
+++ cluster/cmirror/src/Attic/rbtree.c 2007/11/09 05:47:05 1.1.2.2
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <errno.h>
#include <string.h>
#include "logging.h"
@@ -295,7 +296,7 @@
{
struct rb_node *x, *y;
- LOG_DBG("TREE: remove %llu", *((uint64_t *)KEY(new)));
+ LOG_DBG("TREE: remove %llu", *((uint64_t *)KEY(del)));
if ((LEFT(del) == NIL(t)) || (RIGHT(del) == NIL(t)))
y = del;
else
reply other threads:[~2007-11-09 5:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071109054707.26231.qmail@sourceware.org \
--to=jbrassow@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).