Track xprt xp_lock change.

Track the duplex-7 change to use a pthread_mutex xp_lock to
protect xprt handle members.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Cond stall, unstall fixes.

Fix returns from nfs_rpc_cond_stall_xprt.  And then rearm
events as required on unstall.  Log at debug in this case.

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

Dont break it.

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

Conflicts:
	src/MainNFSD/nfs_rpc_dispatcher_thread.c

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Return guard ref on stall.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
s/sp/mtx/ 1.5.x.

Replace request queue and waitq spinlocks with pthread mutexes.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC version.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
nfs_req_queue balance, req_cnt trace prints.

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

Stop decoding early if the number of queued requests has exceeded
the configured upper bound (regardless of decoder state).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Stallq claims xprt ref.

The stallq requires a ref on any stalled xprt, don't drop
it on in stall cases (since it will be dropped later).

Found by Jeremy Bongio <jbongio@us.ibm.com>.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Track duplex-7 SVCXPRT refcounting change.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Restore missing clear DECODING flag in gsh_xprt_unref.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Get rid of seemingly bogus VFS comparison

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove aup_time comparison to fix CLID_INUSE failures in newest Linux kernel

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
(cherry picked from commit 227e0959dc252941687a5c96b1643814a2b0ac34)

Conflicts:
	src/include/nfs_exports.h
	src/support/nfs_export_list.c

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Bump TI-RPC Version.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.

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

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Release xprt->xp_lock before re-arming.

At present svc_rqst_rearm_events doesn't take xprt->xp_lock, but
it does take sr_rec->mtx, which in the current order should be
taken first.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.

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