Set the circumstance more reliably

If the RPC call failed, don't even look at the response. It is often
initialized to zero, but we shouldn't count on that.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Call the DS read/write/commit before FH check

This fixes the failed assertions Marc Eshel was running into in testing
pNFS Files.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Documentation fix

Since there is no Ganesha unsafe buffer any more, remove a @todo comment
that referenced supporting it.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Allocate the right amount of memory for ds_ops

Thanks to Sandeep Joshi <sanjos100@gmail.com> for catching this.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove obsolete type pruning README

No longer relevant.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove README.reindent

We did the reindent.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove TODO file

Since a TODO list that just says 'To be completed soon' isn't very
useful.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
New stats.py to dump NFS activity counters.
Merge remote-tracking branch 'linuxbox2/next' 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>
Properly test stable flag in VFS vfs_write op

The arg can be passed as NULL, test both NULL and true

Signed-off-by: Sandeep Joshi <sanjos100@gmail.com>
Signed-off-by: Jim Lieb <jlieb@panasas.com>
V2.1-dev_8

Signed-off-by: Jim Lieb <jlieb@panasas.com>
FSAL_LUSTRE: strict compilation : removed unused variable "id"

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/XATTR: better management of system.posix_acl_access. Management of security.selinux

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: Fix cache_inode_lru_ref calls, these aren't initial refs.

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/RDMA: only try to recover buffer in send callback if we're still connected

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P: xattrwalk: use same xattr array length everywhere

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Cache_inode: lru_ref: just ref if entry isn't in a reapable queue

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