FSAL_LUSTRE: getattr: do not rely on open file remaining open without locks; use lstat anyway

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Set the circumstance more reliably

If the RPC call failed, don't even look at the response. It is often
initialized to zero, but we shouldn't count on that.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Call the DS read/write/commit before FH check

This fixes the failed assertions Marc Eshel was running into in testing
pNFS Files.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Documentation fix

Since there is no Ganesha unsafe buffer any more, remove a @todo comment
that referenced supporting it.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Allocate the right amount of memory for ds_ops

Thanks to Sandeep Joshi <sanjos100@gmail.com> for catching this.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove obsolete type pruning README

No longer relevant.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove README.reindent

We did the reindent.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove TODO file

Since a TODO list that just says 'To be completed soon' isn't very
useful.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
FSAL_LUSTRE: remove "#include <linux/quota.h>" in exports.c
This header breaks compilation on Lustre 2.4 and 2.5 . It is not needed for compiling 2.1
The important point to remember is that Lustre has its own quota logic which differs from the Linux one : blcoks are larger.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Prevents ganesha from segfaulting if config item FSAL=<fsalname> is duplicated in configuration file

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
This patch adds option to the mount.9P helper:

It adds option "cache=" to make it possible to pass "-o cache=mmap" to 9p mount.
This mount option is a requirement for fixed 9p's mmap bug.
The cache=mmap mount option for 9p comes for kernel 3.14

It adds option "context=<some selinux context>" to make it possible to set the default selinux content for a 9p mount point.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
nfs_init_svc: properly init memory (svc_params)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
lower_my_caps: properly init memory (caphdr)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
fsal_types.h: remove unused FSAL_DIGEST_SIZE_HDLV[234] constants

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CMake: s/ERROR/FATAL_ERROR/ on gssapi not found

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
cmake/gitdesc_from_path: posixify script

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
nfs_init: s/ifdef LINUX/ifdef USE_CAPS/ to include libcap headers

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9p_dispatcher (tcp): fix uninitialized lock for pconn

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
New stats.py to dump NFS activity counters.
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>