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

Cleanups for the socket locking mechanism.

Improve RPC request ordering by ensuring that RPC tasks that are
already queued on xprt->sending get sent before tasks that happen to
get scheduled just when there is a free slot.

In case the socket send buffer is full, queue the tasks on
xprt->pending rather than xprt->sending in order to eliminate the risk
of accidental wakeups from xprt_release_write() and xprt_write_space().
net/sunrpc/xprt.c