Skip to contentSkip to conversation

glusterfs: upgrade to 3.11.1

PATCH In review Yi Zhao 3 participants 6 messages Jul 26, 2017

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

v2 cover glusterfs: upgrade to 3.11.1

Upgrade glusterfs from 3.4.2 to 3.11.1
Add libiverbs and librdmacm recipes which is needed by glusterfs.

Changes from V1:
Update commit log for libibverbs as Mark's suggestion.

Yi Zhao (3):
libibverbs: add new recpie
librdmacm: add new recipe
glusterfs: uprev to 3.11.1

 ...nt.glusterfs-not-accepting-version-argume.patch |  33 -----
 ...c-allow-PYTHON-values-to-be-passed-via-en.patch |  67 ++++++++++
 .../dependence-on-correct-header-file-path.patch   |  32 +++++
 .../files/glusterd-change-port-range.patch         |  39 ++++++
 .../files/{glusterd-ovp => glusterd.init}          |   6 +-
 recipes-extended/glusterfs/files/glusterd.service  |  12 ++
 ...fs-api-remove-unnecessary-library-options.patch |  31 +++++
 .../glusterfs-change-default-nfs-port-number.patch |  49 +++++++
 ...onfigure-automake-with-subdir-objects-for.patch |  37 ++++++
 ...glusterfs-disable-default-startup-scripts.patch |  24 +++-
 .../libglusterfs-Don-t-link-against-libfl.patch    |  46 +++++++
 ...python-work-around-host-and-target-python.patch |  81 ++++++++++++
 .../files/xlator-host-contamination-3.4.patch      |  34 +++--
 recipes-extended/glusterfs/glusterfs.inc           | 142 ++++++++++++++++-----
 recipes-extended/glusterfs/glusterfs_3.11.1.bb     |   6 +
 recipes-extended/glusterfs/glusterfs_3.4.2.bb      |  12 --
 recipes-extended/libibverbs/libibverbs_1.1.7.bb    |  27 ++++
 .../librdmacm/files/librdmacm-needs-libdl.patch    |  21 +++
 recipes-extended/librdmacm/librdmacm_1.0.17.bb     |  41 ++++++
 19 files changed, 639 insertions(+), 101 deletions(-)
 delete mode 100644 recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch
 create mode 100644 recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
 create mode 100644 recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterd-change-port-range.patch
 rename recipes-extended/glusterfs/files/{glusterd-ovp => glusterd.init} (92%)
 create mode 100644 recipes-extended/glusterfs/files/glusterd.service
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch
 create mode 100644 recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch
 create mode 100644 recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch
 create mode 100644 recipes-extended/glusterfs/glusterfs_3.11.1.bb
 delete mode 100644 recipes-extended/glusterfs/glusterfs_3.4.2.bb
 create mode 100644 recipes-extended/libibverbs/libibverbs_1.1.7.bb
 create mode 100644 recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch
 create mode 100644 recipes-extended/librdmacm/librdmacm_1.0.17.bb
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH v2 1/3 libibverbs: add new recpie

Libibverbs is a library that allows userspace processes to use InfiniBand/RDMA 'verbs' directly.

libibverbs is now part of rdma-core and the standalone libibverbs project has been deprecated. Rough testing shows that we can move to use rdma-core however we have yet to perform extensive testing with this change. We therefor will continue to use the standalone libibverbs at this point in time. This is also inline with the upstream glusterfs project that still lists libibverbs as a dependency.

---
 recipes-extended/libibverbs/libibverbs_1.1.7.bb | 27 +++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-extended/libibverbs/libibverbs_1.1.7.bb
recipes-extended/libibverbs/libibverbs_1.1.7.bb new file +27 -0
new file mode 100644
index 0000000..e75f90d
@@ -0,0 +1,27 @@
+SUMMARY = "Support InfiniBand verbs"
+DESCRIPTION = "Libibverbs is a library that allows userspace processes to use InfiniBand/RDMA 'verbs' directly."
+HOMEPAGE = "http://www.openfabrics.org/downloads/verbs/"
+SECTION = "libs/devel"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7c557f27dd795ba77cc419dddc656b51"
+
+# Official repo is at git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git
+SRC_URI = "http://www.openfabrics.org/downloads/verbs/${BPN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "5aea59e4766ae4548419010ac84032ff"
+SRC_URI[sha256sum] = "31b4114bf32d41c9fc81a862ec5febed1e982975f21fa177ea9c7516c9064690"
+
+inherit autotools
+
+PACKAGES += "${PN}-utils"
+FILES_${PN} = "${sysconfdir} ${libdir}/*.so.*"
+FILES_${PN}-utils = "${bindir}"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind,"
+
+do_install_append() {
+        mkdir -p ${D}${sysconfdir}/libibverbs.d
+        rm -f ${D}${libdir}/libibverbs.la
+}
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH v2 2/3 librdmacm: add new recipe

In reply to Yi Zhao

User space RDMA 'socket' protocol and libraries for establising RDMA communication. Includes both Infiniband specific and general RDMA communication management libraries for unreliable datagram, reliable connected, and multicast data transfers.

---
 .../librdmacm/files/librdmacm-needs-libdl.patch    | 21 +++++++++++
 recipes-extended/librdmacm/librdmacm_1.0.17.bb     | 41 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch
 create mode 100644 recipes-extended/librdmacm/librdmacm_1.0.17.bb
recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch new file +21 -0
new file mode 100644
index 0000000..bf15bea
@@ -0,0 +1,21 @@
+Librdmacm links against libibverbs, and the current version of libibverbs
+uses dlopen(), so librdmacm must also link against libdl.
+
+Upstream-Status: Pending
+
+Signed-off-by: Donn Seeley <[email protected]>
+---
+ configure.in |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/configure.in
++++ b/configure.in
+@@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long)
+ dnl Checks for libraries
+ AC_CHECK_LIB(pthread, pthread_mutex_init, [],
+     AC_MSG_ERROR([pthread_mutex_init() not found.  librdmacm requires libpthread.]))
++AC_CHECK_LIB(dl, dlsym, [],
++    AC_MSG_ERROR([dlsym() not found.  librdmacm requires libdl.]))
+ if test "$disable_libcheck" != "yes"; then
+ AC_CHECK_LIB(ibverbs, ibv_get_device_list, [],
+     AC_MSG_ERROR([ibv_get_device_list() not found.  librdmacm requires libibverbs.]))
recipes-extended/librdmacm/librdmacm_1.0.17.bb new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.7.4
author
#3 lore raw

PATCH v2 3/3 glusterfs: uprev to 3.11.1

In reply to Yi Zhao

* Add systemd support

* Drop the following patch which already fixed in upstream:
0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch

---
 ...nt.glusterfs-not-accepting-version-argume.patch |  33 -----
 ...c-allow-PYTHON-values-to-be-passed-via-en.patch |  67 ++++++++++
 .../dependence-on-correct-header-file-path.patch   |  32 +++++
 .../files/glusterd-change-port-range.patch         |  39 ++++++
 .../files/{glusterd-ovp => glusterd.init}          |   6 +-
 recipes-extended/glusterfs/files/glusterd.service  |  12 ++
 ...fs-api-remove-unnecessary-library-options.patch |  31 +++++
 .../glusterfs-change-default-nfs-port-number.patch |  49 +++++++
 ...onfigure-automake-with-subdir-objects-for.patch |  37 ++++++
 ...glusterfs-disable-default-startup-scripts.patch |  24 +++-
 .../libglusterfs-Don-t-link-against-libfl.patch    |  46 +++++++
 ...python-work-around-host-and-target-python.patch |  81 ++++++++++++
 .../files/xlator-host-contamination-3.4.patch      |  34 +++--
 recipes-extended/glusterfs/glusterfs.inc           | 142 ++++++++++++++++-----
 recipes-extended/glusterfs/glusterfs_3.11.1.bb     |   6 +
 recipes-extended/glusterfs/glusterfs_3.4.2.bb      |  12 --
 16 files changed, 550 insertions(+), 101 deletions(-)
 delete mode 100644 recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch
 create mode 100644 recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
 create mode 100644 recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterd-change-port-range.patch
 rename recipes-extended/glusterfs/files/{glusterd-ovp => glusterd.init} (92%)
 create mode 100644 recipes-extended/glusterfs/files/glusterd.service
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
 create mode 100644 recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch
 create mode 100644 recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch
 create mode 100644 recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch
 create mode 100644 recipes-extended/glusterfs/glusterfs_3.11.1.bb
 delete mode 100644 recipes-extended/glusterfs/glusterfs_3.4.2.bb
recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch deleted +0 -33
deleted file mode 100644
index d89fde9..0000000
@@ -1,33 +0,0 @@
-From 960a101ab795fed1b7505ed9db61769cbdb9450e Mon Sep 17 00:00:00 2001
-From: Sebastian Lenartowicz <[email protected]>
-Date: Wed, 4 Dec 2013 15:16:02 -0500
-Subject: [PATCH 1/1] Fix for mount.glusterfs not accepting --version argument
-
-The mount.glusterfs shell script serves as a convenient "gatekeeper"
-for the glusterfs program itself, and performs a few setup tasks,
-depending on the options it's given. However, an overzealous check
-for the number of arguments (any number of arguments less than 2)
-was preventing the --version and --help arguments from being usable
-on their own. This patch solves that by dropping the check (the
-glusterfs software itself can throw out commands with too few
-arguments, which makes the check redundant in any event).
----
- xlators/mount/fuse/utils/mount.glusterfs.in |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
-index 2a8183c..ea18efb 100755
---- a/xlators/mount/fuse/utils/mount.glusterfs.in
-+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
-@@ -395,7 +395,7 @@ main ()
-             pos_args=$((pos_args+1))
-         fi
-     done
--    if [ $in_opt = "yes" -o $pos_args -lt 2 ]; then
-+    if [ $in_opt = "yes" ]; then
-         usage
-         exit 1
-     fi
--- 
-1.7.9.7
-
recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch new file +67 -0

67 lines not on this page · raw message

recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch new file +32 -0
new file mode 100644
index 0000000..ff885f1
@@ -0,0 +1,32 @@
+From f5bb2a133292b37cd45e3c393e4d43364fe9a11a Mon Sep 17 00:00:00 2001
+From: Xulin Sun <[email protected]>
+Date: Tue, 22 Mar 2016 16:05:32 +0800
+Subject: [PATCH] dependence on correct header file path
+
+To avoid the below building error, use the correct header file path.
+xlators/features/glupy/src/glupy.c:13:20: fatal error: Python.h:
+No such file or directory
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Xulin Sun <[email protected]>
+---
+ xlators/features/glupy/src/glupy.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c
+index 7bb88c0..648b966 100644
+--- a/xlators/features/glupy/src/glupy.c
++++ b/xlators/features/glupy/src/glupy.c
+@@ -10,7 +10,7 @@
+ 
+ #include <ctype.h>
+ #include <sys/uio.h>
+-#include <Python.h>
++#include <python2.7/Python.h>
+ 
+ #ifndef _CONFIG_H
+ #define _CONFIG_H
+-- 
+1.9.1
+
recipes-extended/glusterfs/files/glusterd-change-port-range.patch new file +39 -0
new file mode 100644
index 0000000..0468460
@@ -0,0 +1,39 @@
+glusterd: change port range
+
+glusterfsd chooses tcp ports within the dynamic
+range [49152-65535] to provide its service.  When
+libvirt performs migration it indicates qemu
+to use tcp port within dynamic range [49152-49216]
+as well.
+
+When both glusterfsd and qemu/libvirt use the same
+port (e.g. 49152) then libvirtd crashes and
+causes migration failed.
+
+Modify the base-port for glusterfsd starting from
+59152 to avoid port conflict with qemu/libvirt
+
+Upstream-Status: Pending
+
+Signed-off-by: Vu Tran <[email protected]>
+Signed-off-by: Xulin Sun <[email protected]>
+[Yi: minor adjust to apply the patch on 3.11.1]
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ extras/glusterd.vol | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/extras/glusterd.vol b/extras/glusterd.vol
+index d882007..c8dfe91 100644
+--- a/extras/glusterd.vol
++++ b/extras/glusterd.vol
+@@ -8,5 +8,5 @@ volume management
+     option ping-timeout 0
+     option event-threads 1
+ #   option transport.address-family inet6
+-#   option base-port 49152
++#   option base-port 59152
+ end-volume
+-- 
+1.9.1
+
recipes-extended/glusterfs/files/glusterd.init renamed from recipes-extended/glusterfs/files/glusterd-ovp +3 -3
similarity index 92%
rename from recipes-extended/glusterfs/files/glusterd-ovp
rename to recipes-extended/glusterfs/files/glusterd.init
index c020928..7851a50 100644
@@ -58,13 +58,13 @@ stop()
        #pidof -c -o %PPID -x $GLUSTERFS &> /dev/null
        #[ $? -eq 0 ] && start-stop-daemon --stop --quiet --name $GLUSTERFS
 
-    if [ -f /etc/glusterd/nfs/run/nfs.pid ] ;then
-        pid=`cat /etc/glusterd/nfs/run/nfs.pid`;
+    if [ -f /var/lib/glusterd/nfs/run/nfs.pid ] ;then
+        pid=`cat /var/lib/glusterd/nfs/run/nfs.pid`;
         cmd=`ps -p $pid -o comm=`
 
         if [ $cmd == "glusterfs" ]; then
 	    start-stop-daemon --stop --quiet \
-	      --pidfile /etc/glusterd/nfs/run/nfs.pid
+	      --pidfile /var/lib/glusterd/nfs/run/nfs.pid
         fi
     fi
 }
recipes-extended/glusterfs/files/glusterd.service new file +12 -0
new file mode 100644
index 0000000..4835c82
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gluster File System service for volume management
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=@localstatedir@/run/glusterd.pid
+ExecStartPre=@base_bindir@/mkdir -p @localstatedir@/log/glusterfs
+ExecStart=@SBINDIR@/glusterd -p @localstatedir@/run/glusterd.pid
+
+[Install]
+WantedBy=multi-user.target
recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch new file +31 -0
new file mode 100644
index 0000000..96d7352
@@ -0,0 +1,31 @@
+From a7e6549389f7358cad6a04544b2c1e4d2d5615d0 Mon Sep 17 00:00:00 2001
+From: Jim Somerville <[email protected]>
+Date: Wed, 12 Feb 2014 15:41:50 +0000
+Subject: [PATCH] glusterfs-api remove unnecessary library options
+
+These cause QA errors when users of the api such
+as qemu generate their packages.  The reported
+error is unnecessary or redundant RPATH specified.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Jim Somerville <[email protected]>
+Signed-off-by: Xulin Sun <[email protected]>
+---
+ glusterfs-api.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in
+index 5d23454..8a602f6 100644
+--- a/glusterfs-api.pc.in
++++ b/glusterfs-api.pc.in
+@@ -8,5 +8,5 @@ Description: GlusterFS API
+ /* This is the API version, NOT package version */
+ Version: @GFAPI_VERSION@
+ Requires: @PKGCONFIG_UUID@
+-Libs: -L${libdir} @GFAPI_LIBS@ -lgfapi -lglusterfs -lgfrpc -lgfxdr
++Libs: -lgfapi -lglusterfs -lgfrpc -lgfxdr
+ Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@
+-- 
+1.9.1
+
recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch new file +49 -0

49 lines not on this page · raw message

recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch new file +37 -0
new file mode 100644
index 0000000..f385578
@@ -0,0 +1,37 @@
+From 32dffb85c81480d53e639ef84242ccfca26461f9 Mon Sep 17 00:00:00 2001
+From: Xulin Sun <[email protected]>
+Date: Mon, 21 Mar 2016 17:32:50 +0800
+Subject: [PATCH] glusterfs: configure: automake with subdir-objects & foreign
+ parameters
+
+With subdir-objects & foreign for AM_INIT_AUTOMAKE to avoid
+autoconf execution failed when using automake 1.14 around version.
+
+Upstream-Status: Pending
+
+Signed-off-by: Xulin Sun <[email protected]>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ff746ff..983572e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,11 +13,11 @@ AC_INIT([glusterfs],
+ AC_SUBST([PACKAGE_RELEASE],
+          [m4_esyscmd([build-aux/pkg-version --release])])
+ 
+-AM_INIT_AUTOMAKE(tar-pax)
++#AM_INIT_AUTOMAKE(tar-pax)
+ 
+ # Removes warnings when using automake 1.14 around (...but option 'subdir-objects' is disabled )
+ #but libglusterfs fails to build with contrib (Then are not set up that way?)
+-#AM_INIT_AUTOMAKE([subdir-objects])
++AM_INIT_AUTOMAKE([subdir-objects foreign])
+ 
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
+ 
+-- 
+1.9.1
+
recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch +17 -7
index 4e0379b..cbff10e 100644
@@ -2,24 +2,34 @@ The glusterfs code for installing start-up scripts checks for systemd
 directories on the build host, and if it finds them, it chooses systemd
 style scripts, otherwise init.d style scripts.  This behavior might
 conceivably be suitable for self-hosted builds, but it's grossly broken
-for cross-build environments.  Since we want to install custom WR scripts
+for cross-build environments.  Since we want to install custom scripts
 regardless of which script style we support, we patch glusterfs so that
 it doesn't install any of its default start-up scripts.
 
-Upstream-Status: Inappropriate [WR-specific change]
+Upstream-Status: Inappropriate [embedded specific]
+
 Signed-off-by: Donn Seeley <[email protected]>
+[Xulin: minor adjust to apply the patch]
+Signed-off-by: Xulin Sun <[email protected]>
+[Yi: minor adjust to apply the patch on 3.11.1]
+Signed-off-by: Yi Zhao <[email protected]>
 ---
- extras/Makefile.am |    2 +-
+ extras/Makefile.am | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
+diff --git a/extras/Makefile.am b/extras/Makefile.am
+index 3af1103..8978dde 100644
 --- a/extras/Makefile.am
 +++ b/extras/Makefile.am
-@@ -2,7 +2,7 @@
+@@ -4,7 +4,7 @@ addonexec_SCRIPTS = peer_add_secret_pub
  EditorModedir = $(docdir)
  EditorMode_DATA = glusterfs-mode.el glusterfs.vim
  
--SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM
-+SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM
+-SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \
++SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \
+           $(GEOREP_EXTRAS_SUBDIR) snap_scheduler firewalld cliutils
  
  confdir = $(sysconfdir)/glusterfs
- conf_DATA = glusterfs-logrotate
+-- 
+1.9.1
+
recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch new file +46 -0

46 lines not on this page · raw message

recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch new file +81 -0

81 lines not on this page · raw message

recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch +23 -11
index 16cc47e..7d26ecf 100644
@@ -4,36 +4,45 @@ the host's $(xlatordir) directory, resulting in contamination that gets
 flagged by Yocto's QA rules.
 
 Upstream-Status: Pending
+
 Signed-off-by: Donn Seeley <[email protected]>
+[Xulin: minor adjust to apply the patch]
+Signed-off-by: Xuin Sun <[email protected]>
 ---
- xlators/mgmt/glusterd/src/Makefile.am    |    2 --
- xlators/nfs/server/src/Makefile.am       |    2 --
- xlators/system/posix-acl/src/Makefile.am |    2 --
- 3 files changed, 6 deletions(-)
+ xlators/mgmt/glusterd/src/Makefile.am    | 2 +-
+ xlators/nfs/server/src/Makefile.am       | 2 --
+ xlators/system/posix-acl/src/Makefile.am | 2 --
+ 3 files changed, 1 insertion(+), 5 deletions(-)
 
+diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am
+index a8f27fb..8243bf0 100644
 --- a/xlators/mgmt/glusterd/src/Makefile.am
 +++ b/xlators/mgmt/glusterd/src/Makefile.am
-@@ -33,8 +33,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_src
+@@ -54,7 +54,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
  
- AM_CFLAGS = -Wall $(GF_CFLAGS)
+ AM_CFLAGS = -Wall $(GF_CFLAGS) $(URCU_CFLAGS) $(URCU_CDS_CFLAGS)
+ 
+-AM_LDFLAGS = -L$(xlatordir) $(URCU_LIBS) $(URCU_CDS_LIBS)
++AM_LDFLAGS = -L$(URCU_LIBS) $(URCU_CDS_LIBS)
  
--AM_LDFLAGS = -L$(xlatordir)
--
  CLEANFILES =
  
- install-data-hook:
+diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am
+index f91bbcf..b16bb9b 100644
 --- a/xlators/nfs/server/src/Makefile.am
 +++ b/xlators/nfs/server/src/Makefile.am
-@@ -19,6 +19,4 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
+@@ -22,6 +22,4 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
  
  AM_CFLAGS = -Wall $(GF_CFLAGS)
  
 -AM_LDFLAGS = -L$(xlatordir)
 -
  CLEANFILES =
+diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am
+index bc5fbc2..0b9fabe 100644
 --- a/xlators/system/posix-acl/src/Makefile.am
 +++ b/xlators/system/posix-acl/src/Makefile.am
-@@ -10,8 +10,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_src
+@@ -10,8 +10,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src
  
  AM_CFLAGS = -Wall $(GF_CFLAGS)
  
@@ -42,3 +51,6 @@ Signed-off-by: Donn Seeley <[email protected]>
  CLEANFILES =
  
  access-control-compat:
+-- 
+1.9.1
+
recipes-extended/glusterfs/glusterfs.inc +107 -35

217 lines not on this page · raw message

recipes-extended/glusterfs/glusterfs_3.11.1.bb new file +6 -0
new file mode 100644
index 0000000..bbaaaf4
@@ -0,0 +1,6 @@
+SRC_URI = "http://download.gluster.org/pub/gluster/glusterfs/3.11/${PV}/${BPN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "46d56837b8b5c785f2f1e5317d5f6da8"
+SRC_URI[sha256sum] = "c7e0502631c9bc9da05795b666b74ef40a30a0344f5a2e205e65bd2faefe1442"
+
+require glusterfs.inc
recipes-extended/glusterfs/glusterfs_3.4.2.bb deleted +0 -12
deleted file mode 100644
index b6ae856..0000000
@@ -1,12 +0,0 @@
-#
-# Copyright (C) 2013 Wind River Systems, Inc.
-#
-
-PR = "r0"
-
-SRC_URI = "http://download.gluster.org/pub/gluster/glusterfs/3.4/${PV}/${BPN}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "7c05304a9aca3c85ff27458461783623"
-SRC_URI[sha256sum] = "4fcd42b13b60a67587de98e60ff679803433bbb0c11aa2b40c4135e2358cedef"
-
-require glusterfs.inc
Signature · 1 line
2.7.4
#4 lore raw
In reply to Yi Zhao
Quoted 10 lines · EDT Yi Zhao

Upgrade glusterfs from 3.4.2 to 3.11.1
Add libiverbs and librdmacm recipes which is needed by glusterfs.

Changes from V1:
Update commit log for libibverbs as Mark's suggestion.

Yi Zhao (3):
libibverbs: add new recpie
librdmacm: add new recipe
glusterfs: uprev to 3.11.1

This looks good to me now. Thanks for the update.

Mark

Quoted 48 lines
 ...nt.glusterfs-not-accepting-version-argume.patch |  33 -----
 ...c-allow-PYTHON-values-to-be-passed-via-en.patch |  67 ++++++++++
 .../dependence-on-correct-header-file-path.patch   |  32 +++++
 .../files/glusterd-change-port-range.patch         |  39 ++++++
 .../files/{glusterd-ovp => glusterd.init}          |   6 +-
 recipes-extended/glusterfs/files/glusterd.service  |  12 ++
 ...fs-api-remove-unnecessary-library-options.patch |  31 +++++
 .../glusterfs-change-default-nfs-port-number.patch |  49 +++++++
 ...onfigure-automake-with-subdir-objects-for.patch |  37 ++++++
 ...glusterfs-disable-default-startup-scripts.patch |  24 +++-
 .../libglusterfs-Don-t-link-against-libfl.patch    |  46 +++++++
 ...python-work-around-host-and-target-python.patch |  81 ++++++++++++
 .../files/xlator-host-contamination-3.4.patch      |  34 +++--
 recipes-extended/glusterfs/glusterfs.inc           | 142
++++++++++++++++----- recipes-extended/glusterfs/glusterfs_3.11.1.bb     | 
 6 +
 recipes-extended/glusterfs/glusterfs_3.4.2.bb      |  12 --
 recipes-extended/libibverbs/libibverbs_1.1.7.bb    |  27 ++++
 .../librdmacm/files/librdmacm-needs-libdl.patch    |  21 +++
 recipes-extended/librdmacm/librdmacm_1.0.17.bb     |  41 ++++++
 19 files changed, 639 insertions(+), 101 deletions(-)
 delete mode 100644

recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting -version-argume.patch create mode 100644 recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-pas sed-via-en.patch create mode 100644 recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.pat ch create mode 100644 recipes-extended/glusterfs/files/glusterd-change-port-range.patch rename recipes-extended/glusterfs/files/{glusterd-ovp => glusterd.init} (92%) create mode 100644 recipes-extended/glusterfs/files/glusterd.service create mode 100644 recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-o ptions.patch create mode 100644 recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.p atch create mode 100644 recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-o bjects-for.patch create mode 100644 recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patc h create mode 100644 recipes-extended/glusterfs/files/python-work-around-host-and-target-python. patch create mode 100644 recipes-extended/glusterfs/glusterfs_3.11.1.bb delete mode 100644 recipes-extended/glusterfs/glusterfs_3.4.2.bb

 create mode 100644 recipes-extended/libibverbs/libibverbs_1.1.7.bb
 create mode 100644

recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch create mode 100644 recipes-extended/librdmacm/librdmacm_1.0.17.bb

#5 lore raw
In reply to Yi Zhao
Quoted 5 lines · Yi Zhao

Upgrade glusterfs from 3.4.2 to 3.11.1
Add libiverbs and librdmacm recipes which is needed by glusterfs.

Changes from V1:
Update commit log for libibverbs as Mark's suggestion.

merged

Bruce

Quoted 43 lines

Yi Zhao (3):
libibverbs: add new recpie
librdmacm: add new recipe
glusterfs: uprev to 3.11.1

  ...nt.glusterfs-not-accepting-version-argume.patch |  33 -----
  ...c-allow-PYTHON-values-to-be-passed-via-en.patch |  67 ++++++++++
  .../dependence-on-correct-header-file-path.patch   |  32 +++++
  .../files/glusterd-change-port-range.patch         |  39 ++++++
  .../files/{glusterd-ovp => glusterd.init}          |   6 +-
  recipes-extended/glusterfs/files/glusterd.service  |  12 ++
  ...fs-api-remove-unnecessary-library-options.patch |  31 +++++
  .../glusterfs-change-default-nfs-port-number.patch |  49 +++++++
  ...onfigure-automake-with-subdir-objects-for.patch |  37 ++++++
  ...glusterfs-disable-default-startup-scripts.patch |  24 +++-
  .../libglusterfs-Don-t-link-against-libfl.patch    |  46 +++++++
  ...python-work-around-host-and-target-python.patch |  81 ++++++++++++
  .../files/xlator-host-contamination-3.4.patch      |  34 +++--
  recipes-extended/glusterfs/glusterfs.inc           | 142 ++++++++++++++++-----
  recipes-extended/glusterfs/glusterfs_3.11.1.bb     |   6 +
  recipes-extended/glusterfs/glusterfs_3.4.2.bb      |  12 --
  recipes-extended/libibverbs/libibverbs_1.1.7.bb    |  27 ++++
  .../librdmacm/files/librdmacm-needs-libdl.patch    |  21 +++
  recipes-extended/librdmacm/librdmacm_1.0.17.bb     |  41 ++++++
  19 files changed, 639 insertions(+), 101 deletions(-)

delete mode 100644 recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch create mode 100644 recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch create mode 100644 recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch create mode 100644 recipes-extended/glusterfs/files/glusterd-change-port-range.patch
rename recipes-extended/glusterfs/files/{glusterd-ovp => glusterd.init} (92%)
create mode 100644 recipes-extended/glusterfs/files/glusterd.service
create mode 100644 recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch create mode 100644 recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch create mode 100644 recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch create mode 100644 recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch create mode 100644 recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch create mode 100644 recipes-extended/glusterfs/glusterfs_3.11.1.bb
delete mode 100644 recipes-extended/glusterfs/glusterfs_3.4.2.bb
create mode 100644 recipes-extended/libibverbs/libibverbs_1.1.7.bb
create mode 100644 recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch
create mode 100644 recipes-extended/librdmacm/librdmacm_1.0.17.bb