[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: Reduce severity level of trace "Export entry is not cached"

2017-08-15 Thread GerritHub
>From :

madhu.punj...@in.ibm.com has uploaded this change for review. ( 
https://review.gerrithub.io/374380


Change subject: Reduce severity level of trace "Export entry is not cached"
..

Reduce severity level of trace "Export entry is not cached"

Reduced severity level of trace
"MOUNT: Performance warning: Export entry is not cached"
from EVENT to INFO.

Change-Id: I9f8260b48a8d6829e8b88f7bed89245b0f2f7b9c
Signed-off-by: Madhu Thorat 
---
M src/Protocols/NFS/mnt_Mnt.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/80/374380/1
-- 
To view, visit https://review.gerrithub.io/374380
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f8260b48a8d6829e8b88f7bed89245b0f2f7b9c
Gerrit-Change-Number: 374380
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: vfs: Add pNFS support and MDCACHE.

2017-08-15 Thread GerritHub
>From :

o.freyerm...@googlemail.com has uploaded this change for review. ( 
https://review.gerrithub.io/374370


Change subject: vfs: Add pNFS support and MDCACHE.
..

vfs: Add pNFS support and MDCACHE.

Change-Id: I1aa4b04cb252558179106dc063dd04ffded4e9eb
Signed-off-by: Oliver Freyermuth 
---
M src/FSAL/FSAL_VFS/vfs/CMakeLists.txt
A src/FSAL/FSAL_VFS/vfs/ds.c
A src/FSAL/FSAL_VFS/vfs/internal.h
M src/FSAL/FSAL_VFS/vfs/main.c
A src/FSAL/FSAL_VFS/vfs/mds.c
M src/FSAL/FSAL_VFS/vfs_methods.h
6 files changed, 871 insertions(+), 0 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/70/374370/1
-- 
To view, visit https://review.gerrithub.io/374370
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1aa4b04cb252558179106dc063dd04ffded4e9eb
Gerrit-Change-Number: 374370
Gerrit-PatchSet: 1
Gerrit-Owner: o.freyerm...@googlemail.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: Remove libzfswrap

2017-08-15 Thread GerritHub
>From Frank Filz :

Frank Filz has uploaded this change for review. ( 
https://review.gerrithub.io/374354


Change subject: Remove libzfswrap
..

Remove libzfswrap

Change-Id: Icb67b2df86a6060c68a8b2c16389d9b44c8aafe5
Signed-off-by: Frank S. Filz 
---
D contrib/libzfswrap/.gitignore
D contrib/libzfswrap/AUTHORS
D contrib/libzfswrap/COPYING
D contrib/libzfswrap/ChangeLog
D contrib/libzfswrap/LICENSE
D contrib/libzfswrap/Makefile.am
D contrib/libzfswrap/NEWS
D contrib/libzfswrap/README
D contrib/libzfswrap/README.zfs-fuse
D contrib/libzfswrap/cmd/.gitignore
D contrib/libzfswrap/cmd/Makefile.am
D contrib/libzfswrap/cmd/lzw_zfs.c
D contrib/libzfswrap/cmd/lzw_zpool.c
D contrib/libzfswrap/configure.ac
D contrib/libzfswrap/debian/changelog
D contrib/libzfswrap/debian/compat
D contrib/libzfswrap/debian/control
D contrib/libzfswrap/debian/copyright
D contrib/libzfswrap/debian/docs
D contrib/libzfswrap/debian/libzfswrap-dev.dirs
D contrib/libzfswrap/debian/libzfswrap-dev.install
D contrib/libzfswrap/debian/libzfswrap1-utils.dirs
D contrib/libzfswrap/debian/libzfswrap1-utils.install
D contrib/libzfswrap/debian/libzfswrap1.dirs
D contrib/libzfswrap/debian/libzfswrap1.install
D contrib/libzfswrap/debian/rules
D contrib/libzfswrap/lib/Makefile.am
D contrib/libzfswrap/lib/libatomic/Makefile.am
D contrib/libzfswrap/lib/libatomic/amd64/atomic.S
D contrib/libzfswrap/lib/libatomic/generic/atomic.c
D contrib/libzfswrap/lib/libatomic/i386/atomic.S
D contrib/libzfswrap/lib/libatomic/include/amd64/sys/asm_linkage.h
D contrib/libzfswrap/lib/libatomic/include/i386/sys/asm_linkage.h
D contrib/libzfswrap/lib/libatomic/include/ia32/sys/asm_linkage.h
D contrib/libzfswrap/lib/libatomic/include/sparc64/sys/asm_linkage.h
D contrib/libzfswrap/lib/libatomic/sparc64/atomic.S
D contrib/libzfswrap/lib/libavl/Makefile.am
D contrib/libzfswrap/lib/libavl/avl.c
D contrib/libzfswrap/lib/libavl/include/sys/avl.h
D contrib/libzfswrap/lib/libavl/include/sys/avl_impl.h
D contrib/libzfswrap/lib/libnvpair/Makefile.am
D contrib/libzfswrap/lib/libnvpair/include/libnvpair.h
D contrib/libzfswrap/lib/libnvpair/include/sys/nvpair.h
D contrib/libzfswrap/lib/libnvpair/include/sys/nvpair_impl.h
D contrib/libzfswrap/lib/libnvpair/include1/sys/kmem.h
D contrib/libzfswrap/lib/libnvpair/libnvpair.c
D contrib/libzfswrap/lib/libnvpair/nvpair.c
D contrib/libzfswrap/lib/libnvpair/nvpair_alloc_fixed.c
D contrib/libzfswrap/lib/libnvpair/nvpair_alloc_system.c
D contrib/libzfswrap/lib/libsolcompat/Makefile.am
D contrib/libzfswrap/lib/libsolcompat/gen_synonyms.h
D contrib/libzfswrap/lib/libsolcompat/getmntany.c
D contrib/libzfswrap/lib/libsolcompat/include/aclutils.h
D contrib/libzfswrap/lib/libsolcompat/include/atomic.h
D contrib/libzfswrap/lib/libsolcompat/include/devid.h
D contrib/libzfswrap/lib/libsolcompat/include/libc.h
D contrib/libzfswrap/lib/libsolcompat/include/libdevinfo.h
D contrib/libzfswrap/lib/libsolcompat/include/libdiskmgt.h
D contrib/libzfswrap/lib/libsolcompat/include/libgen.h
D contrib/libzfswrap/lib/libsolcompat/include/libshare.h
D contrib/libzfswrap/lib/libsolcompat/include/mtlib.h
D contrib/libzfswrap/lib/libsolcompat/include/priv.h
D contrib/libzfswrap/lib/libsolcompat/include/rpc/xdr.h
D contrib/libzfswrap/lib/libsolcompat/include/stdarg.h
D contrib/libzfswrap/lib/libsolcompat/include/stdio_ext.h
D contrib/libzfswrap/lib/libsolcompat/include/string.h
D contrib/libzfswrap/lib/libsolcompat/include/strings.h
D contrib/libzfswrap/lib/libsolcompat/include/synch.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/acl.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/acl_impl.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/bitmap.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/byteorder.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/callb.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/cmn_err.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/cred.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/ddi.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/debug.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/dkio.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/dklabel.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/efi_partition.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/feature_tests.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/file.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/fm/protocol.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/fm/util.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/idmap.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/int_limits.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/int_types.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/inttypes.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/ioctl.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/isa_defs.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/kmem.h
D contrib/libzfswrap/lib/libsolcompat/include/sys/kstat.h
D contrib/libzfsw

[Nfs-ganesha-devel] Announce Push of V2.6-dev.4a

2017-08-15 Thread Frank Filz
Branch next

Tag:V2.6-dev-4a

Release Highlights

* Fix rpmbuild failure if GANESHA_EXTRA_VERSION has a hyphen!

Signed-off-by: Frank S. Filz 

Contents:

acafde3 Frank S. Filz V2.6-dev.4a
449a652 Malahal Naineni Fix rpmbuild failure if GANESHA_EXTRA_VERSION has a
hyphen!


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


Re: [Nfs-ganesha-devel] crash in makefd_xprt()

2017-08-15 Thread Matt Benjamin
Hi,

On Tue, Aug 15, 2017 at 8:42 AM, William Allen Simpson
 wrote:
> On 8/14/17 4:32 PM, Malahal Naineni wrote:
>>
>> Hi Matt and Bill, we were able to reproduce this crash very easily with a
>> sleep after closing "fd" . After my fix, things worked fine. The changes are
>> a lot but mostly trivial. Appreciate any high level review.
>>
> If a hackish band-aid is what you want, that's no skin off my nose.

Malahal's change is sensible and consistent with the intent of the
code.  It actually fixes the UDP nsm behavior.

>
>
>> ganesha changes (last but one commit at
>> https://github.com/ganltc/nfs-ganesha/commits/ibm2.3).
>>
>> Corresponding ntirpc commit (last commit)
>> https://github.com/ganltc/ntirpc/commits/ibm2.3
>>
>> On Mon, Aug 14, 2017 at 5:02 PM, Malahal Naineni > > wrote:
>>
>> Unfortunately, I need a fix for this issue against ganesha2.3.
>>
>> Regards, Malahal.
>>
>> On Mon, Aug 14, 2017 at 4:18 PM, William Allen Simpson
>> mailto:william.allen.simp...@gmail.com>>
>> wrote:
>>
>> I'm looking at the short-term fix I've mentioned earlier, that we
>> should
>> try TCP before UDP, but given our current code base doesn't even
>> compile,
>> I've given up until next week.
>>
> Well, my investigation should fix all versions.  After all, when the code
> already explicitly says it wants TCP:
>
> nsm_clnt = gsh_clnt_create("localhost", SM_PROG, SM_VERS, "tcp");
>
> #15 0x71d311 in nsm_connect
> /export/nfs-ganesha/src/Protocols/NLM/nsm.c:55:13
> #16 0x722ae9 in nsm_unmonitor_all
> /export/nfs-ganesha/src/Protocols/NLM/nsm.c:252:7
>
> But ntirpc executes UDP instead:
>
> #7 0x758e11c2 in clnt_dg_ncreate
> /export/nfs-ganesha/src/libntirpc/ntirpc/rpc/clnt.h:505:10
> #8 0x758e0e64 in clnt_tli_ncreate
> /export/nfs-ganesha/src/libntirpc/src/clnt_generic.c:383:8
>
> That surely looks like a serious bug to me!

Not respecting the caller's choice of transports is a bug.

Matt

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: config: add config_url and RADOS url provider

2017-08-15 Thread GerritHub
>From Matt Benjamin :

Matt Benjamin has uploaded this change for review. ( 
https://review.gerrithub.io/374341


Change subject: config: add config_url and RADOS url provider
..

config: add config_url and RADOS url provider

Provides a mechanism to to load nfs-ganesha config sections (e.g.,
export blocks) from a generic URL.  Includes a URL provider
which maps URLs to Ceph RADOS objects.

Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
Signed-off-by: Matt Benjamin 
---
M src/CMakeLists.txt
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_main.c
M src/config_parsing/CMakeLists.txt
M src/config_parsing/conf_lex.l
A src/config_parsing/conf_url.c
A src/config_parsing/conf_url_rados.c
A src/config_parsing/conf_url_rados.h
M src/config_samples/README
A src/include/conf_url.h
M src/include/config-h.in.cmake
M src/include/sal_functions.h
M src/test/CMakeLists.txt
A src/test/test_url_regex.c
14 files changed, 866 insertions(+), 12 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/41/374341/1
-- 
To view, visit https://review.gerrithub.io/374341
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
Gerrit-Change-Number: 374341
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Benjamin 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: Fix rpmbuild failure if GANESHA_EXTRA_VERSION has a hyphen!

2017-08-15 Thread GerritHub
>From Malahal :

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/374326


Change subject: Fix rpmbuild failure if GANESHA_EXTRA_VERSION has a hyphen!
..

Fix rpmbuild failure if GANESHA_EXTRA_VERSION has a hyphen!

Commit 5e6fddbf1ae610a2041523ac8a3df8c62ab42ac8 removed only the first
hypen in the Release (aka GANESHA_EXTRA_VERSION).  If there are any
remaining hyphens in Release name, rpmbuild doesn't like it! Maybe we
should change how we name GANESHA_EXTRA_VERSION but for now, let us
remove first hyphen and then substitute remaining hyphens with with DOT.

Change-Id: I2cb3ac04a20df74f9aa23d8a2a627db8ee62d375
Signed-off-by: Malahal Naineni 
---
M src/nfs-ganesha.spec-in.cmake
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/26/374326/1
-- 
To view, visit https://review.gerrithub.io/374326
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cb3ac04a20df74f9aa23d8a2a627db8ee62d375
Gerrit-Change-Number: 374326
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] v2.6-dev-4 leaves 271 threads hanging around

2017-08-15 Thread William Allen Simpson

Rather than spam the entire list, if anybody wants the gdb bt.  I can
send the ganesha.log, too, but it's bigger.

To test, rm the log, setup the libraries, gdb, run -F -- and on another
connection pkill ganesha.  Nothing else.  That's always my first test.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


Re: [Nfs-ganesha-devel] crash in makefd_xprt()

2017-08-15 Thread William Allen Simpson

On 8/14/17 4:32 PM, Malahal Naineni wrote:

Hi Matt and Bill, we were able to reproduce this crash very easily with a sleep after 
closing "fd" . After my fix, things worked fine. The changes are a lot but 
mostly trivial. Appreciate any high level review.


If a hackish band-aid is what you want, that's no skin off my nose.



ganesha changes (last but one commit at 
https://github.com/ganltc/nfs-ganesha/commits/ibm2.3).

Corresponding ntirpc commit (last commit)
https://github.com/ganltc/ntirpc/commits/ibm2.3

On Mon, Aug 14, 2017 at 5:02 PM, Malahal Naineni mailto:mala...@gmail.com>> wrote:

Unfortunately, I need a fix for this issue against ganesha2.3.

Regards, Malahal.

On Mon, Aug 14, 2017 at 4:18 PM, William Allen Simpson 
mailto:william.allen.simp...@gmail.com>> 
wrote:

I'm looking at the short-term fix I've mentioned earlier, that we should
try TCP before UDP, but given our current code base doesn't even 
compile,
I've given up until next week.


Well, my investigation should fix all versions.  After all, when the code
already explicitly says it wants TCP:

nsm_clnt = gsh_clnt_create("localhost", SM_PROG, SM_VERS, "tcp");

#15 0x71d311 in nsm_connect 
/export/nfs-ganesha/src/Protocols/NLM/nsm.c:55:13
#16 0x722ae9 in nsm_unmonitor_all 
/export/nfs-ganesha/src/Protocols/NLM/nsm.c:252:7

But ntirpc executes UDP instead:

#7 0x758e11c2 in clnt_dg_ncreate 
/export/nfs-ganesha/src/libntirpc/ntirpc/rpc/clnt.h:505:10
#8 0x758e0e64 in clnt_tli_ncreate 
/export/nfs-ganesha/src/libntirpc/src/clnt_generic.c:383:8

That surely looks like a serious bug to me!

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


Re: [Nfs-ganesha-devel] exporting cephfs as nfs share on RDMA transport

2017-08-15 Thread William Allen Simpson

On 8/14/17 1:31 PM, Raju  Rangoju wrote:

So, I was wondering maybe there is something else that needs to be configured 
for RDMA transport? Or Am I missing something? Can someone please provide some 
pointers on this.


RDMA was never completed.  It required a significant re-write of both
ntirpc and NFS-Ganesha.  That is still on-going.

Sadly, such things take a very long time around here.  For example, the
initial RDMA integration was done circa Feb 2015, but didn't make it into
the tree until Sep 2015.  That only worked for NFSv3 and only for short
setup and teardown.  To handle NFSv4 and large reads and writes required
much more work.

Re-organization that was done in Mar/Apr 2015 made it into the tree by
Feb/Mar this year.  Code that was written in May/Jun 2015 was integrated
last week.  And there's more to come

Our update to the RPC over RDMA specification was just published: RFC-8166.

Eventually the NFS RPC parsing will be re-written to provide a flag or
callback for NFS READ operations (that is, RDMA Write).

Plus all of the code-base must be re-written for async and zero-copy (the
whole purpose of RDMA).  That requires FSAL changes.

So we're a long way away.  The update to the interface requirements was
just handed off to the IESG LC:

 Forwarded Message 
Subject: I-D Action: draft-ietf-nfsv4-rfc5667bis-13.txt
Date: Thu, 10 Aug 2017 07:50:58 -0700
From: internet-dra...@ietf.org
Reply-To: internet-dra...@ietf.org
To: i-d-annou...@ietf.org
CC: nf...@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 WG of the IETF.

Title   : Network File System (NFS) Upper Layer Binding To 
RPC-Over-RDMA Version 1
Author  : Charles Lever
Filename: draft-ietf-nfsv4-rfc5667bis-13.txt
Pages   : 19
Date: 2017-08-10

Abstract:
   This document specifies Upper Layer Bindings of Network File System
   (NFS) protocol versions to RPC-over-RDMA version 1, enabling the use
   of Direct Data Placement.  This document obsoletes RFC 5667.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-nfsv4-rfc5667bis-13
https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis-13

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-nfsv4-rfc5667bis-13


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

___
I-D-Announce mailing list
i-d-annou...@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel