]> git.neil.brown.name Git - history.git/commit
[PATCH] RPC over UDP congestion control updates [7/8]
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 16 Jul 2002 08:54:53 +0000 (01:54 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 16 Jul 2002 08:54:53 +0000 (01:54 -0700)
commit0b51abc855eeb74e80bae1965b9a7a90e6d33426
tree6eabf7ca556a6b429a1e7161ecb1ac2cbeee6d47
parent4edf05550450554c33f25405c31fa0d90942bd69
[PATCH] RPC over UDP congestion control updates [7/8]

  - Divorce the allocation of free request slots and the congestion
    control. Make the congestion control apply only to when we
    actually send data over the wire. This means that we *do* apply
    congestion control to resent requests: if a timeout has occured,
    and there are too many requests on the wire, delay resending until
    the congestion algorithm allows it.

  - Improve spinlocking by putting the congestion avoidance algoritm
    under xprt->sock_lock. This lock has to be taken *anyway* in
    (almost) all cases where we are updating the congestion control
    data.
net/sunrpc/xprt.c