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>
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>
Merge remote-tracking branch 'phdeniel/pull_request' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Properly test stable flag in VFS vfs_write op

The arg can be passed as NULL, test both NULL and true

Signed-off-by: Sandeep Joshi <sanjos100@gmail.com>
Signed-off-by: Jim Lieb <jlieb@panasas.com>
V2.1-dev_8

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