nfs4_read_recov_clids need to handle (skip) malformat.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Merge remote-tracking branch 'rongzeng/clientid_fix_20_031014' into dev_next_bugs

Signed-off-by: Jim Lieb <jlieb@panasas.com>
CMake: get rid off GetGitRevisionDescription Cmake include. Use "git rev-parse HEAD" and "git describe --long" as external programs instead.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/RDMA: Add config options for number of recv/send buffers

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/RDMA: upgrade mooshika version for shared receive queue

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/RDMA: properly refill output buffer queue on disconnect

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
CMake/RPM: fix libmooshika dependency (build requires lib, runtime requires -devel)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: adds missing uid2grp_hold_group_data in TWALK and TXATTRWALK.
This two messages and TATTACH/TAUTH are the only places where fid are created.
Merge remote-tracking branch 'ffilz/for-dev-13' 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>
Add Manage_Gids_Expiration time to config parser

The default is 30 minutes, and can be configured from 0 seconds to
a maximum of 1 week!

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Don't call uid2grp_add_user() with NULL gdata.

If there is a memory allocation failure or network error, we get NULL
gdata. We also get NULL gdata when a given user id/name doesn't exist.
In all cases, don't insert such NULL gdata as uid2grp_add_user() doesn't
expect NULL pointer. We still continue lookup as some other thread might
have succeeded in adding the user.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
remove_user clears the hash entry

Since uid2grp_remove_user() also clears the needed hash entry, there is
no need to clear the entire hash table at the beginning.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Replace exit() by sys.exit()

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Check for return value from sysconf (coverity reported)

Also, alloca doesn't return any failure indication, so removed checks
for NULL return value.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Thomas Favre-Bulle <thomas.favre-bulle@bull.net>
Strict compile fix due to fsal_convert.h reshuffling

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

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove some unused log components plus other log cruft

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move component_log_level out of struct into simple array

This will facilitate later things like per-client logging since
then a thread will just have a reference to the applicable
component_log_level array, and the macros will use the thread
local array instead of a global.

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