Skip to contentSkip to conversation

Cluster Project branch, RHEL5, updated. cmirror_1_1_15-127-g6c8d740

Cluster-devel [email protected] 1 participant 1 message Jul 15, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=6c8d7408095782bb00b5361a7df5973f3dcda183

The branch, RHEL5 has been updated

       via  6c8d7408095782bb00b5361a7df5973f3dcda183 (commit)
      from  b7dcdfe59e6943b58d281d8aa5db1e8e614d2af1 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 6c8d7408095782bb00b5361a7df5973f3dcda183

Author: Jonathan Brassow <[email protected]>
Date:   Tue Jul 15 11:58:26 2008 -0500

clogd: Fix for bug 455453: small mirror creation fails

Was setting the checkpoint attribute 'attr.maxSectionSize' with the size of the bitmap. However, when mirrors are really small (<= 30M) other sections may have a larger size and need to considered.

-----------------------------------------------------------------------

Summary of changes:

 cmirror-kernel/src/dm-clog-tfr.c |    5 +++-
 cmirror/src/cluster.c            |   45 ++++++++++++++++++++++++++++++++-----
 2 files changed, 43 insertions(+), 7 deletions(-)
cmirror-kernel/src/dm-clog-tfr.c +4 -1
index 7abd554..95d4bd2 100644
@@ -98,8 +98,11 @@ static int fill_pkg(struct cn_msg *msg, struct clog_tfr *tfr)
 			pkg->error = -msg->ack;
 			*(pkg->data_size) = 0;
 		} else if (tfr->data_size > *(pkg->data_size)) {
-			DMERR("Insufficient space to receive package [%s]",
+			DMERR("Insufficient space to receive package [%s]::",
 			      RQ_TYPE(tfr->request_type));
+			DMERR("  tfr->data_size    = %u", tfr->data_size);
+			DMERR("  *(pkg->data_size) = %u", *(pkg->data_size));
+
 			*(pkg->data_size) = 0;
 			pkg->error = -ENOSPC;
 		} else {
cmirror/src/cluster.c +39 -6

81 lines not on this page · raw message

hooks/post-receive
--
Cluster Project