cmake/config: Removes useless entry in   include/config-h.in.cmake

Change-Id: Idfa42015ff570763a8a00546e548ccb26baa7ed2
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: replaces bad usage of gethostbyname() by call to getaddrinfo()

Change-Id: If2ac4188c188ec59db6b224c37d978463914a788
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Config: adds 9p as a supported protocol in CORE_OPTIONS*

Change-Id: I367e78ad0388e07e2431df61c18b5ab88eeb19ee
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Config/Start: do not start 9p dispatcher thread is 9p is not a supported protocols in Core Options

Change-Id: Icb4f9df034554330faee48e8649d70aebea8fdbb
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
rpm: build optionally with jemalloc support

Add an option to build with jemalloc. jemalloc is available in Fedora
and EPEL. To build with jemalloc, do one of the following:

    $ cmake -DALLOCATOR=jemalloc $path_to_src
    $ make rpm

or

    $ mock --with=jemalloc rebuild $path_to_srpm

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Acked-by: Thomas Favre-Bulle <thomas.favre-bulle@bull.net>
Acked-by: Daniel Gryniewicz <dang@cohortfs.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Config/Startup: do not register RQUOTA if no NFSv3 or NFSv4 is required (just like NLMv4 and MOUNTDv3)

Change-Id: Ia3a728491e6f85dc9983fb20992b5f85f07091c2
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Config: defines "Protocols" as an alias to "NFS_Protocols" in core parameters.

Change-Id: I3043166d26720a4b75c5f6360c4b2fdd936b9d32
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Config Parsing: making "nfs3" and "nfs4" synoyms of "3" and "4" in Protocols stanza.

Change-Id: I39c0f70eac3094f3365b5467e1abdd216f30b498
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Add fs_location support to Ganesha.

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Manage pNFS Data Servers

* Parallels export manager.
* Moved DS handle creation to pDS ops vector (and *ds.c files).
* Added FSAL op for creation of subsequent pDS ops vectors.
* Added pDS op for creation of subsequent DS handle ops vectors.
* Added pDS op for updating permissions (regardless of export).

+ FSAL_CEPH with minimal support, requires DS {} configuration.
+ FSAL_GPFS manages DS {} at same time as EXPORT {}.
+ FSAL_LUSTRE manages DS {} at same time as EXPORT {}.
-- include circular dependency exposed!

- Merged static one-time-use functions in FSAL/commonlib.c
- Provided default pDS creation/destruction in FSAL/default_methods.c
  (unlike exports).
- Increase refcount size to 64 bits for DS handles, matching others.
- Related minor field/function renaming.

Bug fix: in PutFH, put before get, then comparing old id, could cause
use of dereferenced data.  Always get (inc) new before put (dec) old.

Bug fix: in PutFH, fh_desc.addr should have pointer to data
(match DS side with export side).

Bug fix: missing glist_init() in fsal_pnfs_ds_init()

Bug fix: wrong macro list element in shutdown_pnfs_ds() --
motivating field rename.

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>

Fix FSAL_LUSTRE to compile.
-- brute force move of internal.h structures to methods.h
-- (should probably be split between them)

Make sure fsal_pnfs_ds object is saved/restored with SAVEFH/RESTOREFH with
proper refcounting.

If DS is associated with an export (DS "number" equals export_id), do all the
export permissions checking in PUTFH. Introduce a new field pds_type to
distinguish between "standard" DS that is independent of EXPORT and those that
are associated with an EXPORT. Use an enum for expandibility to support other
types of DS in the future should some other architecture require a different
mechanism.

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

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
VFS sub-FSALs and FSAL_PANFS

This adds some infrastructure for sub-FSALs in FSAL_VFS, and adds a
FSAL_PANFS sub-FSAL.

FSAL_VFS already has one sub-FSAL: FSAL_XFS.  It shares most code with
FSAL_VFS, but in a sort of ad-hoc way.  Currently, PNFS in FSAL_VFS is
implemented by PanFS, with code that only works with the PanFS drivers
installed.

This adds some infrastructure to FSAL_VFS (in the form of subfsal.h)
that each sub-FSAL must implement.  It then moves the VFS-specific code
to a sub-FSAL for VFS, and the PanFS-specific code to a sub-FSAL for
PanFS.

FSAL_VFS and FSAL_PANFS have been tested; FSAL_XFS has been built.

Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Acked-by: Frank Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'marc/fs_locations' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'origin/ds-only-was-ff' into next

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

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

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