All of lore.kernel.org
 help / color / mirror / Atom feed
From: jbrassow@sourceware.org <jbrassow@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/mirror mirrored.c
Date: 21 Jul 2010 15:21:25 -0000	[thread overview]
Message-ID: <20100721152125.8173.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	jbrassow at sourceware.org	2010-07-21 15:21:25

Modified files:
	lib/mirror     : mirrored.c 

Log message:
	Building without the '--enable-cmirrord' option means that
	CMIRRORD_PIDFILE is not defined.  This makes the build fail.
	Therefore, we need to conditionalize the check for cmirrord
	based on if CMIRRORD_PIDFILE is defined.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/mirror/mirrored.c.diff?cvsroot=lvm2&r1=1.73&r2=1.74

--- LVM2/lib/mirror/mirrored.c	2010/07/21 13:40:22	1.73
+++ LVM2/lib/mirror/mirrored.c	2010/07/21 15:21:24	1.74
@@ -528,10 +528,15 @@
                          * otherwise, the kernel module will fail to make
                          * contact.
                          */
+#ifdef CMIRRORD_PIDFILE
                         if (!dm_daemon_is_running(CMIRRORD_PIDFILE)) {
                                 log_verbose("Cluster mirror log daemon is not running");
                                 _mirror_attributes &= ~MIRROR_LOG_CLUSTERED;
                         }
+#else
+			log_verbose("Cluster mirror log daemon not included in build");
+			_mirror_attributes &= ~MIRROR_LOG_CLUSTERED;
+#endif
 		}
 		*attributes = _mirror_attributes;
 	}



             reply	other threads:[~2010-07-21 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 15:21 jbrassow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-01-05 12:27 LVM2/lib/mirror mirrored.c zkabelac
2010-08-04 15:55 mornfall
2008-04-10 18:53 agk
2007-01-17 15:00 agk
2007-01-16 23:05 agk

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=20100721152125.8173.qmail@sourceware.org \
    --to=jbrassow@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.