Sun Sep 8 03:38:52 2013 UTC ()
Update glusterfs to 3.4.0. Here are the changes since 3.3.x

* Improvements for Virtual Machine Image Storage
A number of improvements have been performed to let Gluster volumes provide
storage for Virtual Machine Images. Some of them include:
  - qemu / libgfapi integration.
  - Causal ordering in write-behind translator.
  - Tunables for a gluster volume in group-virt.example.

The above results in significant improvements in performance for VM image
hosting.

* Synchronous Replication Improvements
GlusterFS 3.4 features significant improvements in performance for
the replication (AFR) translator. This is in addition to bug fixes
for volumes that used replica 3.

* Open Cluster Framework compliant Resource Agents
Resource Agents (RA) plug glusterd into Open Cluster Framework
(OCF) compliant cluster resource managers, like Pacemaker.

The glusterd RA manages the glusterd daemon like any upstart or
systemd job would, except that Pacemaker can do it in a cluster-aware
fashion.

The volume RA starts a volume and monitors individual brick?s
daemons in a cluster aware fashion, recovering bricks when their
processes fail.

* POSIX ACL support over NFSv3
setfacl and getfacl commands now can be used on a nfs mount that
exports a gluster volume to set or read posix ACLs.

* 3.3.x compatibility
The new op-version infrastructure provides compatibility with 3.3.x
release of GlusterFS. 3.3.x clients can talk to 3.4.x servers and
the vice-versa is also possible.

If a volume option that corresponds to 3.4 is enabled, then 3.3
clients cannot mount the volume.

* Packaging changes
New RPMs for libgfapi and OCF RA are present with 3.4.0.

* Experimental Features
  - RDMA-connection manager (RDMA-CM)
  - New Block Device translator
  - Support for NUFA

As experimental features, we don?t expect them to work perfectly
for this release, but you can expect them to improve dramatically
as we make successive 3.4.x releases.

* Minor Improvements:
  - The Ext4 file system change which affected readdir workloads for
    Gluster volumes has been addressed.
  - More options for selecting read-child with afr available now.
  - Custom layouts possible with distribute translator.
  - No 32-aux-gid limit
  - SSL support for socket connections.
  - Known issues with replica count greater than 2 addressed.
  - quick-read and md-cache translators have been refactored.
  - open-behind translator introduced.
  - Ability to avoid glusterfs bind to reserved ports.
  - statedumps are now created in /var/run/gluster instead of /tmp by default.


(manu)
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/MESSAGE.ssl
diff -r1.34 -r1.35 pkgsrc/filesystems/glusterfs/Makefile
diff -r1.14 -r1.15 pkgsrc/filesystems/glusterfs/PLIST
diff -r1.27 -r1.28 pkgsrc/filesystems/glusterfs/distinfo
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-argp-standalone_argp-fmtstream.c
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-argp-standalone_argp-fmtstream.h
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-da
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-db
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-libglusterfs_src_rbthash.c
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-rpc_rpc-lib_src_rpc-clnt.c
diff -r1.1 -r0 pkgsrc/filesystems/glusterfs/patches/patch-rpc_rpc-lib_src_rpcsvc.c
diff -r0 -r1.1 pkgsrc/filesystems/glusterfs/patches/patch-libglusterfs_src_glusterfs.h

File Deleted: pkgsrc/filesystems/glusterfs/Attic/MESSAGE.ssl

cvs diff -r1.34 -r1.35 pkgsrc/filesystems/glusterfs/Makefile (expand / switch to unified diff)

--- pkgsrc/filesystems/glusterfs/Makefile 2013/02/26 10:27:09 1.34
+++ pkgsrc/filesystems/glusterfs/Makefile 2013/09/08 03:38:52 1.35
@@ -1,29 +1,31 @@ @@ -1,29 +1,31 @@
1# $NetBSD: Makefile,v 1.34 2013/02/26 10:27:09 joerg Exp $ 1# $NetBSD: Makefile,v 1.35 2013/09/08 03:38:52 manu Exp $
2# 2#
3 3
4DISTNAME= glusterfs-3.3.1 4DISTNAME= glusterfs-3.4.0
 5#PKGREVISION= 1
5CATEGORIES= filesystems 6CATEGORIES= filesystems
6MASTER_SITES= http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/ 7MASTER_SITES= http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.0/
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.gluster.org/ 10HOMEPAGE= http://www.gluster.org/
10COMMENT= Cluster filesystem 11COMMENT= Cluster filesystem
11LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
12 13
13GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
14USE_LIBTOOL= yes 15USE_LIBTOOL= yes
15USE_TOOLS+= flex bison 16USE_TOOLS+= flex bison
16 17
 18CONFIGURE_ARGS+= --disable-fusermount
17CONFIGURE_ARGS+= --localstatedir=${VARBASE} 19CONFIGURE_ARGS+= --localstatedir=${VARBASE}
18CONFIGURE_ARGS+= CFLAGS=${CFLAGS:M*:Q}\ -DDEBUG 20CONFIGURE_ARGS+= CFLAGS=${CFLAGS:M*:Q}\ -DDEBUG
19 21
20# Make sure we do not attept to link with -lfl 22# Make sure we do not attept to link with -lfl
21# Only libfl.a is available, and libtool wants libfl.so 23# Only libfl.a is available, and libtool wants libfl.so
22MAKE_FLAGS+= LEXLIB="" 24MAKE_FLAGS+= LEXLIB=""
23MAKE_FLAGS+= libglusterfs_la_LIBADD="" 25MAKE_FLAGS+= libglusterfs_la_LIBADD=""
24MAKE_ENV+= AM_MAKEFLAGS=${MAKE_FLAGS:Q} 26MAKE_ENV+= AM_MAKEFLAGS=${MAKE_FLAGS:Q}
25 27
26SUBST_CLASSES+= py 28SUBST_CLASSES+= py
27SUBST_STAGE.py= post-build 29SUBST_STAGE.py= post-build
28SUBST_FILES.py= extras/volgen/glusterfs-volgen 30SUBST_FILES.py= extras/volgen/glusterfs-volgen
29SUBST_SED.py= -e "s,/usr/bin/python,${PYTHONBIN},g" 31SUBST_SED.py= -e "s,/usr/bin/python,${PYTHONBIN},g"
@@ -62,27 +64,26 @@ REPLACE_PYTHON+= ${WRKSRC}/extras/volgen @@ -62,27 +64,26 @@ REPLACE_PYTHON+= ${WRKSRC}/extras/volgen
62 64
63EGDIR= ${PREFIX}/etc/glusterfs 65EGDIR= ${PREFIX}/etc/glusterfs
64CONF_FILES+= ${EGDIR}/glusterd.vol.sample ${EGDIR}/glusterd.vol 66CONF_FILES+= ${EGDIR}/glusterd.vol.sample ${EGDIR}/glusterd.vol
65OWN_DIRS+= ${VARBASE}/log/glusterfs 67OWN_DIRS+= ${VARBASE}/log/glusterfs
66BUILD_DEFS+= VARBASE 68BUILD_DEFS+= VARBASE
67 69
68RCD_SCRIPTS= glusterfsd glusterd 70RCD_SCRIPTS= glusterfsd glusterd
69 71
70PLIST_SRC= ${PLIST_SRC_DFLT} 72PLIST_SRC= ${PLIST_SRC_DFLT}
71PLIST_SUBST+= VARBASE=${VARBASE} 73PLIST_SUBST+= VARBASE=${VARBASE}
72PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} 74PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
73MESSAGE_SRC= ${PKGDIR}/MESSAGE.${OPSYS} 75MESSAGE_SRC= ${PKGDIR}/MESSAGE.${OPSYS}
74 76
75CPPFLAGS.NetBSD+= -D_KMEMUSER 
76 77
77post-build: 78post-build:
78 cp ${WRKSRC}/doc/glusterd.vol ${WRKSRC}/doc/glusterd.vol.sample 79 cp ${WRKSRC}/doc/glusterd.vol ${WRKSRC}/doc/glusterd.vol.sample
79 80
80post-install: 81post-install:
81 ${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount.glusterfs \ 82 ${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount.glusterfs \
82 ${DESTDIR}/${PREFIX}/sbin/mount.glusterfs 83 ${DESTDIR}/${PREFIX}/sbin/mount.glusterfs
83 84
84# Debug 85# Debug
85CFLAGS+= -g 86CFLAGS+= -g
86INSTALL_UNSTRIPPED= yes 87INSTALL_UNSTRIPPED= yes
87 88
88.include "options.mk" 89.include "options.mk"

cvs diff -r1.14 -r1.15 pkgsrc/filesystems/glusterfs/Attic/PLIST (expand / switch to unified diff)

--- pkgsrc/filesystems/glusterfs/Attic/PLIST 2013/04/06 04:03:36 1.14
+++ pkgsrc/filesystems/glusterfs/Attic/PLIST 2013/09/08 03:38:52 1.15
@@ -1,61 +1,80 @@ @@ -1,61 +1,80 @@
1@comment $NetBSD: PLIST,v 1.14 2013/04/06 04:03:36 rodent Exp $ 1@comment $NetBSD: PLIST,v 1.15 2013/09/08 03:38:52 manu Exp $
2etc/glusterfs/glusterd.vol.sample 2etc/glusterfs/glusterd.vol.sample
3lib/libglusterfs.la 3etc/glusterfs/glusterfs-logrotate
 4include/glusterfs/api/glfs.h
 5lib/glusterfs/3.4.0/auth/addr.la
 6lib/glusterfs/3.4.0/auth/login.la
 7lib/glusterfs/3.4.0/rpc-transport/socket.la
 8lib/glusterfs/3.4.0/xlator/cluster/afr.la
 9lib/glusterfs/3.4.0/xlator/cluster/dht.la
 10lib/glusterfs/3.4.0/xlator/cluster/distribute.so
 11lib/glusterfs/3.4.0/xlator/cluster/nufa.la
 12lib/glusterfs/3.4.0/xlator/cluster/pump.la
 13lib/glusterfs/3.4.0/xlator/cluster/replicate.so
 14lib/glusterfs/3.4.0/xlator/cluster/stripe.la
 15lib/glusterfs/3.4.0/xlator/cluster/switch.la
 16lib/glusterfs/3.4.0/xlator/debug/error-gen.la
 17lib/glusterfs/3.4.0/xlator/debug/io-stats.la
 18lib/glusterfs/3.4.0/xlator/debug/trace.la
 19lib/glusterfs/3.4.0/xlator/encryption/rot-13.la
 20lib/glusterfs/3.4.0/xlator/features/access-control.so
 21lib/glusterfs/3.4.0/xlator/features/index.la
 22lib/glusterfs/3.4.0/xlator/features/locks.la
 23lib/glusterfs/3.4.0/xlator/features/mac-compat.la
 24lib/glusterfs/3.4.0/xlator/features/marker.la
 25lib/glusterfs/3.4.0/xlator/features/posix-locks.so
 26lib/glusterfs/3.4.0/xlator/features/quiesce.la
 27lib/glusterfs/3.4.0/xlator/features/quota.la
 28lib/glusterfs/3.4.0/xlator/features/read-only.la
 29lib/glusterfs/3.4.0/xlator/features/worm.la
 30lib/glusterfs/3.4.0/xlator/mgmt/glusterd.la
 31lib/glusterfs/3.4.0/xlator/mount/api.a
 32lib/glusterfs/3.4.0/xlator/mount/api.la
 33lib/glusterfs/3.4.0/xlator/mount/fuse.la
 34lib/glusterfs/3.4.0/xlator/nfs/server.la
 35lib/glusterfs/3.4.0/xlator/performance/io-cache.la
 36lib/glusterfs/3.4.0/xlator/performance/io-threads.la
 37lib/glusterfs/3.4.0/xlator/performance/md-cache.la
 38lib/glusterfs/3.4.0/xlator/performance/open-behind.a
 39lib/glusterfs/3.4.0/xlator/performance/open-behind.la
 40lib/glusterfs/3.4.0/xlator/performance/open-behind.so
 41lib/glusterfs/3.4.0/xlator/performance/quick-read.la
 42lib/glusterfs/3.4.0/xlator/performance/read-ahead.la
 43lib/glusterfs/3.4.0/xlator/performance/stat-prefetch.so
 44lib/glusterfs/3.4.0/xlator/performance/write-behind.la
 45lib/glusterfs/3.4.0/xlator/protocol/client.la
 46lib/glusterfs/3.4.0/xlator/protocol/server.la
 47lib/glusterfs/3.4.0/xlator/storage/posix.la
 48lib/glusterfs/3.4.0/xlator/system/posix-acl.la
 49lib/glusterfs/3.4.0/xlator/testing/performance/symlink-cache.la
 50lib/libgfapi.a
 51lib/libgfapi.la
 52lib/libgfapi.so
 53lib/libgfapi.so.0
 54lib/libgfapi.so.0.0.0
4lib/libgfrpc.la 55lib/libgfrpc.la
5lib/libgfxdr.la 56lib/libgfxdr.la
6lib/glusterfs/3.3.1/auth/addr.la 57lib/libglusterfs.la
7lib/glusterfs/3.3.1/auth/login.la 58lib/ocf/resource.d/glusterfs/glusterd
8lib/glusterfs/3.3.1/rpc-transport/socket.la 59lib/ocf/resource.d/glusterfs/volume
9lib/glusterfs/3.3.1/xlator/cluster/afr.la 60lib/pkgconfig/glusterfs-api.pc
10lib/glusterfs/3.3.1/xlator/cluster/dht.la 
11lib/glusterfs/3.3.1/xlator/cluster/distribute.so 
12lib/glusterfs/3.3.1/xlator/cluster/nufa.la 
13lib/glusterfs/3.3.1/xlator/cluster/pump.la 
14lib/glusterfs/3.3.1/xlator/cluster/replicate.so 
15lib/glusterfs/3.3.1/xlator/cluster/stripe.la 
16lib/glusterfs/3.3.1/xlator/cluster/switch.la 
17lib/glusterfs/3.3.1/xlator/debug/error-gen.la 
18lib/glusterfs/3.3.1/xlator/debug/io-stats.la 
19lib/glusterfs/3.3.1/xlator/debug/trace.la 
20lib/glusterfs/3.3.1/xlator/encryption/rot-13.la 
21lib/glusterfs/3.3.1/xlator/features/access-control.so 
22lib/glusterfs/3.3.1/xlator/features/index.la 
23lib/glusterfs/3.3.1/xlator/features/locks.la 
24lib/glusterfs/3.3.1/xlator/features/mac-compat.la 
25lib/glusterfs/3.3.1/xlator/features/marker.la 
26lib/glusterfs/3.3.1/xlator/features/posix-locks.so 
27lib/glusterfs/3.3.1/xlator/features/quiesce.la 
28lib/glusterfs/3.3.1/xlator/features/quota.la 
29lib/glusterfs/3.3.1/xlator/features/read-only.la 
30lib/glusterfs/3.3.1/xlator/features/worm.la 
31lib/glusterfs/3.3.1/xlator/mgmt/glusterd.la 
32lib/glusterfs/3.3.1/xlator/mount/fuse.la 
33lib/glusterfs/3.3.1/xlator/nfs/server.la 
34lib/glusterfs/3.3.1/xlator/performance/io-cache.la 
35lib/glusterfs/3.3.1/xlator/performance/io-threads.la 
36lib/glusterfs/3.3.1/xlator/performance/md-cache.la 
37lib/glusterfs/3.3.1/xlator/performance/quick-read.la 
38lib/glusterfs/3.3.1/xlator/performance/read-ahead.la 
39lib/glusterfs/3.3.1/xlator/performance/stat-prefetch.so 
40lib/glusterfs/3.3.1/xlator/performance/write-behind.la 
41lib/glusterfs/3.3.1/xlator/protocol/client.la 
42lib/glusterfs/3.3.1/xlator/protocol/server.la 
43lib/glusterfs/3.3.1/xlator/storage/posix.la 
44lib/glusterfs/3.3.1/xlator/system/posix-acl.la 
45lib/glusterfs/3.3.1/xlator/testing/performance/symlink-cache.la 
46man/man8/gluster.8 61man/man8/gluster.8
 62man/man8/glusterd.8
 63man/man8/glusterfs.8
 64man/man8/glusterfsd.8
 65man/man8/mount.glusterfs.8
 66sbin/gluster
47sbin/glusterd 67sbin/glusterd
48sbin/glusterfs 68sbin/glusterfs
49sbin/glusterfsd 69sbin/glusterfsd
50sbin/gluster 
51sbin/mount.glusterfs 70sbin/mount.glusterfs
52share/doc/glusterfs/benchmarking/rdd.c 
53share/doc/glusterfs/benchmarking/glfs-bm.c 
54share/doc/glusterfs/benchmarking/README 71share/doc/glusterfs/benchmarking/README
 72share/doc/glusterfs/benchmarking/glfs-bm.c
55share/doc/glusterfs/benchmarking/launch-script.sh 73share/doc/glusterfs/benchmarking/launch-script.sh
56share/doc/glusterfs/benchmarking/local-script.sh 74share/doc/glusterfs/benchmarking/local-script.sh
 75share/doc/glusterfs/benchmarking/rdd.c
57share/doc/glusterfs/glusterfs-mode.el 76share/doc/glusterfs/glusterfs-mode.el
58share/doc/glusterfs/glusterfs.vim 77share/doc/glusterfs/glusterfs.vim
59share/examples/rc.d/glusterfsd 
60share/examples/rc.d/glusterd 78share/examples/rc.d/glusterd
 79share/examples/rc.d/glusterfsd
61@exec test -d ${PKG_SYSCONFDIR}/glusterd -a ! -d ${VARBASE}/lib/glusterd && ${MKDIR} -p ${VARBASE}/lib/ && mv ${PKG_SYSCONFDIR}/glusterd ${VARBASE}/lib/glusterd && ${LN} -s ${VARBASE}/lib/glusterd ${PKG_SYSCONFDIR}/glusterd 80@exec test -d ${PKG_SYSCONFDIR}/glusterd -a ! -d ${VARBASE}/lib/glusterd && ${MKDIR} -p ${VARBASE}/lib/ && mv ${PKG_SYSCONFDIR}/glusterd ${VARBASE}/lib/glusterd && ${LN} -s ${VARBASE}/lib/glusterd ${PKG_SYSCONFDIR}/glusterd

cvs diff -r1.27 -r1.28 pkgsrc/filesystems/glusterfs/distinfo (expand / switch to unified diff)

--- pkgsrc/filesystems/glusterfs/distinfo 2012/12/20 21:53:20 1.27
+++ pkgsrc/filesystems/glusterfs/distinfo 2013/09/08 03:38:52 1.28
@@ -1,12 +1,6 @@ @@ -1,12 +1,6 @@
1$NetBSD: distinfo,v 1.27 2012/12/20 21:53:20 joerg Exp $ 1$NetBSD: distinfo,v 1.28 2013/09/08 03:38:52 manu Exp $
2 2
3SHA1 (glusterfs-3.3.1.tar.gz) = c29632e4938533069c4c0206fb1c32de8443168d 3SHA1 (glusterfs-3.4.0.tar.gz) = 8795bcb309730c173a226c8cb1e08587e56ea692
4RMD160 (glusterfs-3.3.1.tar.gz) = 667bac9362aab01ab04f9119e399b8d955e01135 4RMD160 (glusterfs-3.4.0.tar.gz) = 15a290ad890541ec365134eb998e5f0ec48d3bbc
5Size (glusterfs-3.3.1.tar.gz) = 2636698 bytes 5Size (glusterfs-3.4.0.tar.gz) = 3774842 bytes
6SHA1 (patch-argp-standalone_argp-fmtstream.c) = 1a302c39cb8f09a56fc4b8d12589bbb69f92a0f3 6SHA1 (patch-libglusterfs_src_glusterfs.h) = 59a0523652628ed24641d63a926f5e33b33bc802
7SHA1 (patch-argp-standalone_argp-fmtstream.h) = 896bee64bcf8966dede5e92ca9097db4c69e6aa4 
8SHA1 (patch-da) = 312a8c73c1a22058dc43cf5f957380c42a5a23e4 
9SHA1 (patch-db) = a97ac1bea9be2a9d7162eb495cb9b3c741d70e34 
10SHA1 (patch-libglusterfs_src_rbthash.c) = 2e50cf8712e30cef5a4b30510fac65a6474b58b6 
11SHA1 (patch-rpc_rpc-lib_src_rpc-clnt.c) = ad93375f38fce36437abae3ee499caa6b55e89e6 
12SHA1 (patch-rpc_rpc-lib_src_rpcsvc.c) = 28b509411e421a1cd0e979a282786c28c59141e7 

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-argp-standalone_argp-fmtstream.c

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-argp-standalone_argp-fmtstream.h

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-da

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-db

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-libglusterfs_src_rbthash.c

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-rpc_rpc-lib_src_rpc-clnt.c

File Deleted: pkgsrc/filesystems/glusterfs/patches/Attic/patch-rpc_rpc-lib_src_rpcsvc.c

File Added: pkgsrc/filesystems/glusterfs/patches/Attic/patch-libglusterfs_src_glusterfs.h
$NetBSD: patch-libglusterfs_src_glusterfs.h,v 1.1 2013/09/08 03:38:52 manu Exp $
--- libglusterfs/src/glusterfs.h.orig	2013-07-18 04:31:33.000000000 +0200
+++ libglusterfs/src/glusterfs.h	2013-07-18 04:32:59.000000000 +0200
@@ -31,8 +31,9 @@
 #include <fcntl.h>
 #include <arpa/inet.h>
 #include <sys/poll.h>
 #include <pthread.h>
+#include <limits.h> /* For PATH_MAX */
 
 #include "list.h"
 #include "logging.h"
 #include "lkowner.h"