nfs-ganesha-1.5.0-1
Forgotton fsal_quota.c in FSAL_SHOOK
Fix configuration files for 1.5.1
FSAL_HPSS: CLAPI stuff removed for copyright reasons. Files were left but emptied to ease use of a git revert in a private CEA's repo.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Chainsaw: use_commit export option

It's old. It's buggy. Philippe says it's deprecated.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Handle return differences in sterror_r on freebsd

strerror_r returns an int and sets tempstr to the error string
on freebsd. On linux, the actual error string is returned.

Signed-off-by: Viji Ganapathi <vganapathi@panasas.com>
cmake changes to link dbus and set cmake policy

The cmake policy specified is used to give CMAKE_MODULE_PATH
preference over build environment paths during compilation/linking

Signed-off-by: Viji Ganapathi <vganapathi@panasas.com>
FSAL_VFS: CID#18514: fix unreachable return in vfs_getextattr_value_by_id

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
FSAL_VFS: CID#18447: remove dead code in vfs_getextattr_id_by_name

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: symlink: put the symlink ref after creation, because the client doesn't actually get a ref (like mkdir)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
FSAL_VFS: fixes in makesymlink and makedir

makedir:
 - Do not try to unlinkat the directory we just created on success
   (it currently works because unlinkat fails with EISDIR)
 - close dir_fd on success, as it currently is done (and as it is
   done in other functions)

makesymlink:
 - fsal_restore_ganesha_credentials was called twice for some reason?
 - close dir_fd on success

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Add options for next version.
Permit cleanup of pinned cache entries.

When an operation fails on a pinned cache entry, the
entry must be made unreachable and queued for immediate
cleanup, just like non-pinned.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Final fix (hopefully) of the VFS handle size

Matt's (or was it Adam) last fix for the VFS handle size has
missed a spot and might have broken FBSD. (Actually FBSD was not
broken by chance)

There was already a vfs_sizeof_handle() that was suppose to
abstract the different systems. But it was never used except in
one place. The new vfs_file_handle_size() was now used elsewhere
but was not taking into consideration the FBSD side.

Unite the two into an OS specific member, Also move VFS_FILE_HANDLE_MIN
to be os specific.

This patch fixes an old standing bug with recalls at VFS pnfs side.
(We had a fix in Panasas based on dev42 for a while, now also fixed
for mainline)

Viji do not apply, this exposes a bad recall bug at Ganesha which
is now ignored because of this bug. The other one is worked on.
In the lab we should only work with the two fixes applied together

(Adam Matt please review and commit through your tree, with sign-off)
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix a replay bug introduced in Fix NFS v4.1 current_stateid

This commit: 9f66ccb84a23d8fc9da4854802e508d11e7f3ad7

When NFS4ERR_REPLAY is returned, we still need to retun
the stateid to the caller.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Adjust fbsd syscall numbers to match Panasas defines
Signed-off-by: Viji Ganapathi <vganapathi@panasas.com>
Fix handling of MaxRead/MaxWrite export options.

If these options aren't provided, the code was already calling the
fs_maxread or fs_maxwrite FSAL ops to set the size, and if that
op returned 0, setting a default size anyway.

This export->MaxRead and export->MaxWrite are always set with a
valid value.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove extra fsync.
Fix Cmake warning in cpack_config

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'ffilz/fix-replay' into merge_next