Skip to contentSkip to conversation

LVM2/daemons Makefile.in cmirrord/Makefile.in ...

PATCH [email protected] 1 participant 1 message Sep 2, 2009

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2009-09-02 17:36:46

Modified files:
daemons : Makefile.in
Added files:
daemons/cmirrord: Makefile.in clogd.c cluster.c cluster.h
common.h functions.c functions.h link_mon.c link_mon.h local.c local.h logging.c logging.h
Removed files:
daemons/clogd : Makefile.in clogd.c cluster.c cluster.h
common.h functions.c functions.h link_mon.c link_mon.h local.c local.h logging.c logging.h

Log message:
rename clogd dir to cmirrord

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/Makefile.in.diff?cvsroot=lvm2&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/Makefile.in.diff?cvsroot=lvm2&r1=1.2&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/clogd.c.diff?cvsroot=lvm2&r1=1.5&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/cluster.c.diff?cvsroot=lvm2&r1=1.8&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/cluster.h.diff?cvsroot=lvm2&r1=1.5&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/common.h.diff?cvsroot=lvm2&r1=1.3&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/functions.c.diff?cvsroot=lvm2&r1=1.9&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/functions.h.diff?cvsroot=lvm2&r1=1.5&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/link_mon.c.diff?cvsroot=lvm2&r1=1.2&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/link_mon.h.diff?cvsroot=lvm2&r1=1.2&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/local.c.diff?cvsroot=lvm2&r1=1.4&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/local.h.diff?cvsroot=lvm2&r1=1.3&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/logging.c.diff?cvsroot=lvm2&r1=1.3&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clogd/logging.h.diff?cvsroot=lvm2&r1=1.4&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/Makefile.in.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/clogd.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/cluster.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/cluster.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/common.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/functions.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/functions.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/link_mon.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/link_mon.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/local.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/local.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/logging.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/logging.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1

daemons/Makefile.in +2 -2
@@ -15,14 +15,14 @@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
 
-.PHONY: dmeventd clvmd
+.PHONY: dmeventd clvmd cmirrord
 
 ifneq ("@CLVMD@", "none")
   SUBDIRS = clvmd
 endif
 
 ifeq ("@BUILD_CMIRRORD@", "yes")
-  SUBDIRS += clogd
+  SUBDIRS += cmirrord
 endif
 
 ifeq ("@BUILD_DMEVENTD@", "yes")

/cvs/lvm2/LVM2/daemons/cmirrord/Makefile.in,v --> standard output revision 1.1

- renamed from daemons/cmirrord/Makefile.in +33 -0
@@ -0,0 +1,33 @@
+#
+# Copyright (C) 2009 Red Hat, Inc. All rights reserved.
+#
+# This file is part of LVM2.
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU General Public License v.2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
+SOURCES = clogd.c cluster.c functions.c link_mon.c local.c logging.c
+
+TARGETS = cmirrord
+
+include $(top_srcdir)/make.tmpl
+
+LDFLAGS += -L$(usrlibdir)/openais
+LIBS += -lcpg -lSaCkpt -ldevmapper
+
+cmirrord: $(OBJECTS) $(top_srcdir)/lib/liblvm-internal.a
+	$(CC) -o cmirrord $(OBJECTS) $(CFLAGS) $(LDFLAGS) \
+		$(LVMLIBS) $(LMLIBS) $(LIBS)
+
+install: $(TARGETS)
+	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) cmirrord \
+		$(usrsbindir)/cmirrord

/cvs/lvm2/LVM2/daemons/cmirrord/clogd.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/clogd.c +276 -0

276 lines not on this page · raw message

/cvs/lvm2/LVM2/daemons/cmirrord/cluster.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/cluster.c +1661 -0

1,661 lines not on this page · raw message

/cvs/lvm2/LVM2/daemons/cmirrord/cluster.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/cluster.h +57 -0

57 lines not on this page · raw message

/cvs/lvm2/LVM2/daemons/cmirrord/common.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/common.h +33 -0
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License v.2.1.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+#ifndef __CLUSTER_LOG_COMMON_DOT_H__
+#define __CLUSTER_LOG_COMMON_DOT_H__
+
+/*
+#define EXIT_SUCCESS 0
+#define EXIT_FAILURE 1
+*/
+
+#define EXIT_LOCKFILE              2
+
+#define EXIT_KERNEL_SOCKET         3 /* Failed netlink socket create */
+#define EXIT_KERNEL_BIND           4
+#define EXIT_KERNEL_SETSOCKOPT     5
+
+#define EXIT_CLUSTER_CKPT_INIT     6 /* Failed to init checkpoint */
+
+#define EXIT_QUEUE_NOMEM           7
+
+
+#define DM_ULOG_REQUEST_SIZE 1024
+
+#endif /* __CLUSTER_LOG_COMMON_DOT_H__ */

/cvs/lvm2/LVM2/daemons/cmirrord/functions.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/functions.c +1863 -0

924 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/functions.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/functions.h +34 -0

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/link_mon.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/link_mon.c +149 -0

149 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/link_mon.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/link_mon.h +20 -0

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/local.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/local.c +420 -0

420 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/local.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/local.h +20 -0

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/logging.c,v --> standard output revision 1.1

- renamed from daemons/cmirrord/logging.c +58 -0

58 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

/cvs/lvm2/LVM2/daemons/cmirrord/logging.h,v --> standard output revision 1.1

- renamed from daemons/cmirrord/logging.h +72 -0

72 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.