Miscellaneous one-liner initializations needed to compile in Fedora's
Koji build system. Fedora and EPEL RPM builds add -Wuninitialized
-Werror to the compiler options, resulting in build failures without
these changes

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Update Ceph FSAL configuration to match others.

* better error returns and diagnostics
* add some configuration stubs
* cosmetic: reformatting, comments

There are some ceph functions here that are not present in any release
version of ceph.  This marks them "if 0" for future work.  This isn't
useful without pnfs / ds, which this code doesn't (yet) support.

Revise the configuration logic to better match the pattern used
in all the other fsals.  No more silly cases in fs_supports()!

Also: create files, symlinks, and directories with the permissions
actually requested, and support "fs_umask" to reduce those permissions
like the other fsals do.

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Signed-off-by: Marcus Watts <mdw@cohortfs.com>
added a COMPONENT_NFS_MSK log component
all in a commit rebase of rdma-2 branch
call msk_destroy_trans even if the code doesn't reach...
add trans_attr.debug
fix compilation warnings
v41: refuse to create backchannel for RDMA

Conflicts:
	src/CMakeLists.txt
	src/MainNFSD/nfs_init.c
	src/include/config-h.in.cmake
	src/log/log_functions.c

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>

Reformatted based on maintainer's checkpatch complaints,
without compiling or testing the result, so that original
author is blamed/credited for actual contributed code.

Reviewed-by: William Allen Simpson <bill@cohortfs.com>

make Mooshika checkpatch prettier

* replace rcs version delimiters
* move extern temporarily into libntirpc rpc/svc.h
* update libntirpc duplex-11 commit pointer

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Make MOOSHIKA and ibverbs prefixes unconditional.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
CID 75367 free the state.

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Merge remote-tracking branch 'kaleb/pull17' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
rpm: include the systemd units on RHEL7

In addition to the systemd unit, add the needed %post scripts so that
systemd gets informed about the new unit.

The parameters for ganesha.nfsd can be configured in
/etc/sysconfig/ganesha. This file already gets installed by the RPM, and
the SysV init-script uses it. The systemd unit has been updated to use
/etc/sysconfig/ganesha too.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
rpm: include the nfs-ganesha-lock systemd unit

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Acked-by: Philippe DENIEL <philippe.deniel@cea.fr>
Acked-by: Daniel Gryniewicz <dang@cohortfs.com>
FSAL_GLUSTER: Updated README and added sample gluster.conf file.

Cleaned up FSAL_GLUSTER README file and added
gluster.conf with minimum set of parameters required to 'src/config_samples'.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Acked-by: Niels de Vos <ndevos@redhat.com>
Fix log message and its level.

getpwnam_r() failure is reported as LogInfo while
getgrnam_r() failure is rported as LogMajor, reduced
its level to LogInfo. Also fixed the error message
to match the failed call, getgrnam_r()

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Reviewed-by:Niels de Vos <ndevos@redhat.com>
Acked-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>
cache_inode_lookup should not trust cache when icreate is active.

This is exposed with a very slow FSAL create, just after file object
created but before the entry is added to cache. Client's retry create
will fail with EXIST and then lookup will fail due to parent's not
yet invalidated.

A refcnt is added to cache entry and inc before any create happens
and dec after it's added to dentry cache. trust_negative_cache should
evaluate this counter.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
spec - Revert CMake dep for now

Signed-off-by: Daniel Gryniewicz <dang@cohortfs.com>
Merge remote-tracking branch 'linuxbox2/ceph_fsal_supports' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'marc/cid-free' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'nixpanic/rpm/systemd-for-rhel7' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'skoduri/readme_new' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'ganltc/for-dev18' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'dang/spec-file' into next

Conflicts:
	src/nfs-ganesha.spec-in.cmake

Fixed a simple merge conflict.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'linuxbox2/rdma-was-rebase' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>