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>
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-9 SVCXPRT refcounting change.

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

Conflicts:
	src/MainNFSD/nfs_rpc_dispatcher_thread.c
	src/MainNFSD/nfs_worker_thread.c
	src/include/ganesha_rpc.h

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

Conflicts:

	src/CMakeLists.txt
	src/MainNFSD/nfs_rpc_dispatcher_thread.c
	src/MainNFSD/nfs_worker_thread.c
	src/tirpc.sh
Restore missing clear DECODING flag in gsh_xprt_unref.

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>
Fix refcnt underrun.

The root cause was a misordering of the SVC_DESTROY and (indirect)
SVC_RELEASE invocations in the decoder thread.

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

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

Conflicts:

	src/CMakeLists.txt
Remove superceded XPRT_PRIVATE_FLAG_DESTROYED and support.

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

Conflicts:

	src/MainNFSD/nfs_rpc_dispatcher_thread.c
Cleanup nfs_rpc_outstanding_reqs_est.

Streamline atomic operations, fix signedness.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix misordered arguments in debug print.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Always assign req_cnt in gsh_xprt_unref.

Only used for trace prints.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Version.
Add new file from libtirpc os_epoll.h to spec file.

Bump TI-RPC Version.
Merge branch 'tp/S1041818-fix-name-len' into ibm_next_tmp
Merge branch 'tp/proxy-fixes-for-1.5.x-S1043431' into ibm_next_tmp
Merge branch 'tp/S1043279_lwr2' into ibm_next_tmp
Merge branch 'tp/ibm_next_S1042770' into ibm_next_tmp
Merge branch 'tp/ibm_next_merged_refcnt' into ibm_next_tmp