head	1.2;
access;
symbols
	pkgsrc-2015Q1:1.1.0.4
	pkgsrc-2015Q1-base:1.1
	pkgsrc-2014Q4:1.1.0.2
	pkgsrc-2014Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2015.04.09.15.20.48;	author manu;	state dead;
branches;
next	1.1;
commitid	bIZy9bBKVmdqCVgy;

1.1
date	2014.11.18.14.38.15;	author manu;	state Exp;
branches;
next	;
commitid	VkcJZ5LKkZuDXFYx;


desc
@@


1.2
log
@Update glusterfs to 3.6.2

This is a maintenance release, complete Changelog can be found here:
http://blog.gluster.org/2015/01/glusterfs-3-6-2-ga-released/
@
text
@$NetBSD: patch-9045,v 1.1 2014/11/18 14:38:15 manu Exp $
From fb36dbea2f492317a744b828d8ba8bdaab78ae3a Mon Sep 17 00:00:00 2001
From: Emmanuel Dreyfus <manu@@netbsd.org>
Date: Tue, 4 Nov 2014 15:57:59 +0100
Subject: [PATCH] Portability fix: mount.glusterfs

Remove bash-specific syntax from mount.glusterfs

This is a backport of  Iec3a52686f7cee1825ac5a06c11fb8ac4d3e5d65

BUG: 1138897
Change-Id: I3149cd4d94c862a3857709c00cf0ed0377976f40
Signed-off-by: Emmanuel Dreyfus <manu@@netbsd.org>
---
 xlators/mount/fuse/utils/mount_glusterfs.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git xlators/mount/fuse/utils/mount_glusterfs.in xlators/mount/fuse/utils/mount_glusterfs.in
index e0a06ea..dc326b4 100755
--- xlators/mount/fuse/utils/mount_glusterfs.in
+++ xlators/mount/fuse/utils/mount_glusterfs.in
@@@@ -449,7 +449,7 @@@@ without_options()
 parse_options()
 {
     local optarg=${1}
-    for pair in $(echo ${optarg//,/ }); do
+    for pair in $(echo $optarg | sed 's/,/ /g'); do
         key=$(echo "$pair" | cut -f1 -d'=');
         value=$(echo "$pair" | cut -f2- -d'=');
         if [ "$key" = "$value" ]; then
@@@@ -463,7 +463,8 @@@@ parse_options()
 main ()
 {
     ## `mount` on OSX specifies options as first argument
-    if [[ $1 =~ "-o" ]]; then
+    echo $1|grep -q -- "-o"
+    if [ $? -eq 0 ];  then
         volfile_loc=$3
         mount_point=$4
     else
-- 
1.8.2.3

@


1.1
log
@Upgrate to glusterfs 3.6.0

New features:

- Volume Snapshots
Distributed lvm thin-pool based snapshots for backing up volumes
in a Gluster Trusted Storage Pool.  Apart from providing cluster
wide co-ordination to trigger a consistent snapshot, several
improvements have been  performed through the GlusterFS stack to
make translators more crash consistent. Snapshotting of volumes is
tightly coupled with lvm today but one could also enhance the same
framework to integrate with a backend storage technology like btrfs
that can perform snapshots.

- Erasure Coding
Xavier Hernandez from Datalab added support to perform erasure
coding of data in a GlusterFS volume across nodes in a Trusted
Storage Pool. Erasure Coding requires fewer nodes to provide better
redundancy than a n-way replicated volume and can help in reducing
the overall deployment cost. We look forward to build on this
foundation and deliver more enhancememnts in upcoming releases.

- Better SSL support
Multiple improvements to SSL support in GlusterFS. The GlusterFS
driver in OpenStack Manila that provides certificate based access
to tenants relies on these improvements.

- Meta translator
This translator provides a /proc like view for examining internal
state of translators on the client stack of a GlusterFS volume and
certainly looks like an interface that I would be heavily consuming
for introspection of  GlusterFS.

- Automatic File Replication (AFR) v2
A significant re-factor of the synchronous replication translator,
provides granular entry self-healing and reduced resource consumption
with entry self-heals.

- NetBSD, OSX and FreeBSD ports
Lot of fixes on the portability front. The NetBSD port passes most
regression tests as of 3.6.0. At this point, none of these ports
are ready to be deployed in production. However, with dedicated
maintainers for each of these ports, we expect to reach production
readiness on these platforms in a future release.

Complete releases notes are available at
https://github.com/gluster/glusterfs/blob/release-3.6/doc/release-notes/3.6.0.md
@
text
@d1 1
a1 1
$NetBSD$
@

