Merge remote-tracking branch 'linuxbox2/next' into merge_next
Fix Marc Eshel's change to match the rest of fsal_up_top.c

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove a few more Ganeshell scripts

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Pull out effectively empty CMakeLists.txt from debian directory

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Add doc target to cmake

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Clean up a few doxygen errors

Specifically, doxygen will accept todo but not TODO.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Clean up preserved remnants of autoconf

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix documentation of fsal_api.h

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove current volatile filehandle implementation

The current volatile filehandle implementation does not work well.  It
expires all filehandles on server reboot, which is of dubious value.
There's also facility to let the FSAL set an expire type that isn't
used for anything.

If we do decide we want volatile filehandle support, we could get it
later by letting the FSAL return an EXPIRED error that is propagated
to the user and exposing an expire type as a per-filesystem attribute.
(An upcall to let it blow out an expired handle might be nice, too.)

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

Referrals do not actually work (there's no code to actually give the
fs_locations attribute to a client).  Even if they did work they
wouldn't work very well, since they have to all be set up at config
time and can only exist within the pseudoFS, and marking a handle as a
referral commits something as always present or always absent.

New referral code will be implemented in 2.1, so we can get the old
stuff out of the way here.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix shutdown of delayed executor

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove unused PNFS and DELEG per-export options

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Finish removal of Ganesha managed write buffer

The commit code to push data out of the write buffer and into the FSAL
had already been removed, so if anyone had actually turned this on,
seriously bad things would have happened.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Make lock/mutex logging more useful

Only output one line of output per lock operation.  Include line and
token.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Incorporate ntirpc intrinsic checksums.

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

Take netconfig parsing fixes.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Safely put back any cache entry that will not be used.

Attempts to address the root cause of a crash fault found and debugged
by "MARTINET Dominique" <dominique.martinet@cea.fr>.

The underlying issue appears to be that cache_inode_lru_unref is not
sufficient to return a new entry.  First, entry's refcnt is sentinel+1,
so the entry would remain queued.  Next, under appropriate conditions
the entry would eventually be seen by lru_reap_impl, which would attempt
to clean it, provoking the fault (since the entry was never set up).

Fix all these problems by simply creating a new cache_inode_lru_putback
function which recycles just such entries, and is assured not to race
with lru_reap_impl.
Initialize DRC hiwat.

Without this, all requests immediately retire.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix value of DRC_FLAG_RELEASE

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix idle connection timeout.

Update ntirpc submodule with RPC-layer idle_timeout fixes.  Add
new Ganesha parameter core_parm.rpc.idle_timeout_s and use it
when initializing ntirpc idle_timeout.

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