Fix documentation of extract_handle

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Add -rdynamic linker option which helps shared libraries to find in-core
symbols on FreeBSD platform.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>

Conflicts:

	src/CMakeLists.txt
Change dlopen() flags to be [RTLD_NOW|RTLD_LOCAL] on FreeBSD platform.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Fix the declaration for getmntent() call in FreeBSD platform code.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Further tweaking of struct dqblk definition so that related code builds
correctly on FreeBSD versions >= 7.2

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Fix declarations of couple xattr calls.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Add at-syscall layer for FreeBSD-7.2 platform code.

Note that FreeBSD-7.2 kernel does not implement at-syscalls (They were first
introduced in FreeBSD-8). Panasas FreeBSD-7.2 kernel includes the backported
at-syscall implementation. This commit enbales Ganesha to be able to run on
Panasas version of FreeBSD-7.2 kernel.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Fix segv on uninitialized request timer

timer was initialized after dup processing which, by the way,
tried to do a timer stop...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Resolve extended_types.h conflicts

Rework of Sachin's original.  Leaves extended_types.h where everybody
expects it.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add os specific handle management functions.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rearrage common macros location

Pthread wrapper macros should sit in common utils and not in fsal related file
Rearrange include order to reduce dependencies

Moved lookup3.h include to files that use it instead of HashTable.h
Removed dependency of HashTable.h in fsal.h
Removed dependency of HashTable.h in libtirpc
Clean duplicate functions in HashTable

There were two HashTable delete function (HashTable_Del and HashTable_Get_And_Del).
They had the same functionality but different parameter order.
I removed the second one since it was called only once.
Link 'gos' library (platform dependent code) while creating libfsalvfs.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Reindent Ceph FSAL as per Boaz's suggestion

Nobody else is hacking on it, there isn't anything to foreport from
1.5, and it will make our future work on it less of a hassle.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Change readlink method in FSAL API

As discussed in the conference call of 10 January 2013, change the
FSAL readlink method to allocate the link buffer.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Acked-by: Jim Lieb <jlieb@panasas.com>
Reviewed-by: Boaz Harrosh <bharrosh@panasas.com>
Change FSAL VFS symlink refresh

As discussed with Boaz, remove the use of a stack buffer and
associated redundant copy.

TODO: These FSALs currently use a 1K stack buffer in readlink and
      should receive a fix similar to this one:

      FSAL_POSIX
      FSAL_LUSTRE
      FSAL_ZFS

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Reviewed-by: Boaz Harrosh <bharrosh@panasas.com>
Fix doxygen file comment in nfs_admin_thread.c

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix reversed test in nfs4_op_readlink

This comes from switching the consequent and alternative without
changing the predicate.  I am ashamed.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
LRU queue lanes have partitions (lexical change only).

The LRU queue isn't subject to fragmentation, and the "fragments"
{X lanes} partition the queue, so call these partitions.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>