Skip to contentSkip to conversation

cluster/gnbd bin/Makefile tools/gnbd_export/Ma ...

Cluster-devel [email protected] 1 participant 1 message Jun 23, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: bmarzins at sourceware.org 2006-06-23 20:32:43

Modified files:
gnbd/bin : Makefile
gnbd/tools/gnbd_export: Makefile gnbd_export.c gnbd/tools/gnbd_import: gnbd_import.c
Added files:
gnbd/tools/gnbd_export: gnbd_get_uid

Log message:
gnbd can now multipath exported partitions, instead of just whole devices. Also, multipathd will now automagically monitor the gnbd devices correctly, and multipath will now automagically create multipath devices on top of the appropriate gnbds when they are imported, just like it does with other block devices when they are loaded.
Fixes bug 196084, and a bunch of other ones which never got bugzillas.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/bin/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_get_uid.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.4&r2=1.1.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_export.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.2.3&r2=1.5.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_import/gnbd_import.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.11.2.4&r2=1.11.2.5

gnbd/bin/Makefile +2 -1
@@ -22,7 +22,8 @@
 	gnbd_recvd \
 	gnbd_serv \
 	gnbd_monitor \
-	gnbd_clusterd
+	gnbd_clusterd \
+	gnbd_get_uid
 
 include ${top_srcdir}/make/defines.mk
 
gnbd/tools/gnbd_export/Makefile +2 -1
@@ -33,8 +33,9 @@
 gnbd_export: ${SOURCE}
 	${CC} ${CFLAGS} ${LDFLAGS} ${SOURCE} ${LOADLIBES} ${LDLIBS} -o $@
 
-copytobin: all
+copytobin: all gnbd_get_uid
 	cp ${TARGET} ${top_srcdir}/bin
+	cp gnbd_get_uid ${top_srcdir}/bin
 
 clean:
 	rm -f *.o ${TARGET}
gnbd/tools/gnbd_export/gnbd_export.c +87 -39

177 lines not on this page · raw message

gnbd/tools/gnbd_import/gnbd_import.c +68 -12

160 lines not on this page · raw message