Close file on invalidate up call.
Fix support for SEEK_HOLE SEEK_DATA in NFSv4.2
9P/RDMA: fix unused variables.

Reported-by: Thomas Favre-Bulle <thomas.favre-bulle@bull.net>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Fixed a minor bug in Nfs4 Op Open code path

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Merge remote-tracking branch 'marc/seek-hole' into dev-14-merge
Fix cut-paste bug in clean_credentials (coverity reported)

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Fixed an issue in the 'decode_acl' routine.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
nfs4_create_clid_name failed to get the correct clidstr length
when clientid has opaque char.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Merge remote-tracking branch 'remotes/rongzeng/clidstr_fix_032714' into dev-14-merge
cache_inode_readdir: handle lookup failures on readdir callback

Add an option (retry_readdir) to either:
 - Keep going if a lookup fails, and return what we found (default)
 - Ask the client to retry (JUKEBOX (nfs3), DELAY (nfs4), EAGAIN (9P)) until
we get a clean result.

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Merge remote-tracking branch 'remotes/martinetd/next' into dev-14-merge
Merge remote-tracking branch 'remotes/origin/for-dev-14' into dev-14-merge
Enable delegations.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Check callback state during setclientid_confirm

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Changes related to delegations and delegation recalls.
  Delegate only if callback path is up.
  Do not recall if the path status is down, wait for next renew to tell
  the client about path state.
  Mark the path down if recall callback fails.
  renew will return NFS4ERR_CB_PATH_DOWN if the path state is down.
  callback path is established only during setclientid_confirm.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Added new data structs, prototypes, and delegation functions.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add code to state_lock() to update stats.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Initialize delegation stats when creating new inode entry.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Merge remote-tracking branch 'malahal/pull-request' into dev-14-merge
V2.1-dev_14

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