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>
Adjust fbsd syscall numbers to match Panasas defines
Signed-off-by: Viji Ganapathi <vganapathi@panasas.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
Merge remote-tracking branch 'viji/next' into merge_next

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

Conflicts:
	src/include/nfs_exports.h

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/gpfs-fsync' into merge_next

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

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge branch 'merge_next' into merge_master

Merge of next development on to old master for RC5

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

Conflicts:
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_fgetattr.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_fsetattr.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_mkdir.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_open.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_rddir.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/api_symlink.c
	src/FSAL/FSAL_HPSS/HPSSclapiExt/hpssclapiext.h
	src/FSAL/FSAL_HPSS/fsal_access.c
	src/FSAL/FSAL_HPSS/fsal_attrs.c
	src/FSAL/FSAL_HPSS/fsal_common.c
	src/FSAL/FSAL_HPSS/fsal_common.h
	src/FSAL/FSAL_HPSS/fsal_compat.c
	src/FSAL/FSAL_HPSS/fsal_context.c
	src/FSAL/FSAL_HPSS/fsal_convert.h
	src/FSAL/FSAL_HPSS/fsal_create.c
	src/FSAL/FSAL_HPSS/fsal_dirs.c
	src/FSAL/FSAL_HPSS/fsal_errors.c
	src/FSAL/FSAL_HPSS/fsal_fileop.c
	src/FSAL/FSAL_HPSS/fsal_fsinfo.c
	src/FSAL/FSAL_HPSS/fsal_init.c
	src/FSAL/FSAL_HPSS/fsal_local_op.c
	src/FSAL/FSAL_HPSS/fsal_lock.c
	src/FSAL/FSAL_HPSS/fsal_lookup.c
	src/FSAL/FSAL_HPSS/fsal_objectres.c
	src/FSAL/FSAL_HPSS/fsal_quota.c
	src/FSAL/FSAL_HPSS/fsal_rcp.c
	src/FSAL/FSAL_HPSS/fsal_rename.c
	src/FSAL/FSAL_HPSS/fsal_stats.c
	src/FSAL/FSAL_HPSS/fsal_symlinks.c
	src/FSAL/FSAL_HPSS/fsal_tools.c
	src/FSAL/FSAL_HPSS/fsal_truncate.c
	src/FSAL/FSAL_HPSS/fsal_unlink.c
	src/FSAL/FSAL_HPSS/fsal_xattrs.c
	src/FSAL/FSAL_HPSS/test_fsal.c
	src/FSAL/FSAL_LUSTRE/Makefile.am
	src/config_samples/gpfs.ganesha.main.conf
	src/config_samples/vfs.ganesha.main.conf
	src/configure.ac
	src/include/FSAL/FSAL_HPSS/fsal_types.h