Update DBus and ganeshactl README.

Refer users to the wiki for admin help.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
CID#18075 Unchecked return value from library in nfs_rpc_cb_init_ccache

mkdir may fail for various reasons (most obvious would be if target
directory already exists). Here we simply add a log message.
Call clean_credentials after rpc_execute is done.

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Ported from 1.5: 701057dd

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Convert root/<hostname> and host/<hostname> to root along with
nfs/<hostname>

Signed-off-by: suhrud <supatank@in.ibm.com>

Ported from 1.5: 70f98bf36af6499af4d3bbde9ddb4c7d2ca39cb1

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Fixed typo for return value of memcmp.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Group is not changed when both owner and group are changed in single setattr.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>

Ported from 1.5: 87a2bb8d4d614f29cab414e420bd80cf11df4708

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Fix project versioning in configuration

Also add extra versioning for dev/rc tracking

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Cache_inode_read_conf: remove dead code

remove Symlink Expiration Time and Directory Expiration Time
and associated variables which aren't used

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: Change op lookup array indexation to get function from code directly

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: fill pconn->fids[*attrfid] only when we're sure we're going to keep it

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Throw out sessions when clientid is expired.

Also use cid_mutex to protect list of sessions.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
TEMP FIX of PYNFS 4.1 SEQ9f

Ganesha currently always caches response so we always provide it even
if client asks not to cache response.

This really should be properly implemented to save us grief.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Improve debug of replayed cache in NFS v4.1

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

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

Start of lock for LOCKT was not initialized from request.

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

If attrlist is empty and attrmask is not empty, we must return NFS4ERR_BADXDR

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Fix SATT15 - try our best to make change attr change

Fast changes in succession may not change change attr.
Since we don't have a real change attr from most FSALs, we
just detect no change after a SETATTR and change it anyway.

SATT15 actually causes change attr to oscillate betweemn two values
proving this solution isn't actually perfect, but hopefully it's good
enough.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Do minimum implementation for RECLAIM_COMPLETE

We do not shorten grace period, nor do we handle RECLAIM_COMPLETE for
individual file system, but we now pass all existing pynfs 4.1
reclaim_complete tests.

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

Also make nfs_read_version4_conf just warn about invalid config options
and continue to process the config block.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Fix NFS v4.1 current_stateid

Current stateid follows CurrentFH. Any time CurrentFH is changed,
current stateid must either be changed, or be made invalid.

SAVEFH also saves the current stateid and RESTOREFH restores the
current stateid if the saved stateid was valid.

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