[PATCH] RPC: add a release_rqst callout to the RPC transport switch
authorChuck Lever <cel@netapp.com>
Thu, 25 Aug 2005 23:25:53 +0000 (16:25 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:45 +0000 (12:38 -0400)
commita58dd398f5db4f73d5c581069fd70a4304cc4f0a
tree09e290d351c043392e7a2f8e0bc77aba90ff88ad
parent1570c1e41eabf6b7031f3e4322a2cf1cbe319fee
[PATCH] RPC: add a release_rqst callout to the RPC transport switch

 The final place where congestion control state is adjusted is in
 xprt_release, where each request is finally released.  Add a callout
 there to allow transports to perform additional processing when a
 request is about to be released.

 Test-plan:
 Use WAN simulation to cause sporadic bursty packet loss.  Look for significant
 regression in performance or client stability.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c