Avoid recursing from LRU on reclaims.

The LRU reclaim path should be optimized for speed, not aggressive
reclaims, at least by default.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix dumb typo in export to pseudofs processing.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Make ganeshactl tables more readable by setting text font to black

Signed-off-by: Jim Lieb <jlieb@panasas.com>
nfs4_op_open seqid replay failed to update currentFH
and current_entry in compound data structure.
Switch credentials for ops in VFS fsal.

Switch creds to client user for ops that morph the directory.
This is done to manage creds and in the case of rename deal with
races.

Left off are makenode which needs the "make safe" for block, char etc.
Since these don't add anything other than an inode, work around.  You
need caps privs in order to create these things anyway (and owned by root).
The other makenode types are ephemeral anyway so why bother.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'sachin/next' into merge_next
RPM/mock: adding missing dependencies RPM/MOCK: rmp changelog was too long.
Port to EL6 (with cmake 2.6) : adding package for locating Bison and Flex (they do exist in 2.8 not on 2.6)
Port to EL6 : rpmbuild has %if based statement to deal with nfsidmap/nfs-utils-lib in-between Fedora and RHEL

(cherry picked from commit 71456ba392018b27e336d24aa0caaffd7c63ee09)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
9P: fixes a regression observed after 9P passed under control of the export manager.
The bug was this : export was "put" each time a fid is clunked. But many fid are generated and clunked
in the life of a 9P server. The only fid that need to have the related export put as it is clunked is the fid obtained by
a call to TATTACH or TAUTH. A flag was added to _9p_fid_t to detect this special fid.

(cherry picked from commit 6af128f224c2831a56b219aac906bee9cdf78955)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
9p/stats: this commits complete implementation of D-BUS stats for 9P

(cherry picked from commit 99e3322818eca67798d4cdb1a57e9b7b741e3ad6)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Xattr : fix pad size management in xattr (false assumption was made that content was a string)

(cherry picked from commit 6ce9c1d2a340eefec25c41cffdbc667e795d48b8)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Strict compile fixes to xaddr code

These functions are not needed anymore and cause gcc "unused function"
warning/error.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Move Dbus files from src/Protocols to src/dbus

Dbus has a protocol but it is really a local management interface,
not a service protocol.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix trace format.
CID#23147 Resource leak
nfs4 op read/write: trivial fix - use the correct value for max read/write size

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
HPSS FSAL build, set rpath and link ganesha.nfsd against hpss (it won't setup properly otherwise)
Also, remove no longer needed files

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9p/stats: this commit hads support for 9p related statistics per export
libzfswrap: libzfswrap has been ported to F18
FSAL_SHOOK: adding missing dependance to liblustreapi