Use long form clientid to persist clientid on storage for V4 recovery.
Since clientid could be 1024 byte long and contains non printable characters,
we devide the long form clientid into segments of 255 characters
to create a directory sturcture to represent the clientid.

For example:
abcdefghijklmn -> abcd/efgh/ijkl/mn

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Revert quota.h changes in LUSTRE

Validated Fedora build once old crud was FULLY removed from /usr/local

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix likely and unlikely macros

These seem to have been busted for a long time but unused due to the
hacked in defs elsewhere...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove redundant likely/unlikely definitions in log.h

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove extraneous likely/unlikely definitions

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

This is old stuff.  Replace these remnants with LogCrit and LogFatal usage.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove LogError and error families tables and defs

LogError was the only thing using error families anymore.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove obsolete FSAL error reporting bits

The last bits are from ther error families...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
FSAL_CEPH: Update for libcephfs API change

The prototype of ceph_ll_readlink is different
in the latest Ceph code (ganesha ceph.sh points
to an old revision)

Signed-off-by: John Spray <john.spray@inktank.com>
Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove README.ceph and ceph.sh

Since our changes are now upstream at Inktank, we no longer need or want
to build against our custom repository.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Nodelist Returns: this commits refurbishes the nodelist implementation:
	- the code was refurbished
	- useless functions (nodelist folding) were removed
	- the nodelist now follows a "map" logic

Now a string like "cluster[10-20,34,36,40-50].c-clustre" won't be extended
into a long, comma separated, list. Each item (let's say "cluster43.c-cluster"
in my examples) will be passed as argument to a callback passed as argument.

Usage : pass to the nodelist_map_condensed() function a callback which add the
nodes into the client list.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: removes dead code

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
NFS: removes deprecated function nfs2_Lookup_Free()

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
FSAL_LUSTRE: (cthon2014) fixes MaxRead/MaxWrite bug in export parsing when FSAL_LUSTRE was used.
This commit also contains fixes for pass checkpatch indent checking.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Crashes the daemon if a required FSAL module could not be loaded.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
9P: TAUTH is not used and not yet implemented for the moment. Make it returns RERROR(ENOTSUPP)

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: removes useless variables for compilation in Maintainer mode.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: remove redundant pfid->export field

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Stats: Add 9P TCP and RDMA client stats

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>