New dbus stats method GetNFSIO

Adds a bulk method to retrieve I/O stats of all exports and all protocol versions.

Signed-off-by: Haubrich <haubrich@de.ibm.com>
Acked-by: Malahal Naineni <malahal@us.ibm.com>
Fix chkconfig pid file to use the same file passed to ganesha

Signed-off-by: Allison Henderson <achender@vnet.linux.ibm.com>
Spec file cleanups

- Merge in some dependencies from the Fedora/RedHat spec file
- Set the extraversion, if it exists, on the RPMs

Signed-off-by: Daniel Gryniewicz <dang@cohortfs.com>
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>
Initialize sub_nodes glist in the root config node.

An empty config file will result in NULL sub_nodes list rather an an
empty sub_nodes list resulting in a segfault later.

Also added a check to make sure we don't add a NULL entry to sub_nodes
list when all blocks are empty.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'haubrich/stats-work-04' into next

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

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

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Don't use args from stack when calling async op.

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Add option to delegate grace recovery to the FSAL.

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Fix user_date_fmt and time_date_fmt resulting in null time strings bug.

Fix bug: Log using user_time_fmt resulted in null time strings.  This is
because user_date_fmt_ and time_date_fmt are passed as fields to a
structure, and not as global statics.  Use the structure fields, and get
rid of the statics which should no longer be used.

Config file fragment for testing purposes.
	LOG {
	 Format {
	  date_format = none;
	  time_format = user_defined;
	  user_time_format = "%s";
	 }
	}

Signed-off-by: Marcus Watts <mdw@linuxbox.com>
Merge remote-tracking branch 'linuxbox2/config_user_date_fmt_fix' into next

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
V2.2-dev-17

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.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>