OSDN Git Service

SUNRPC: Don't wake queued RPC calls multiple times in xprt_transmit
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 29 Aug 2018 13:30:19 +0000 (09:30 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:14 +0000 (15:35 -0400)
commitec37a58fba289d53f35442ad0ef3b469412efd20
treefea873bf755f2cda229c8aa07d5667db8b701015
parent5ce970393bad41499d50dfaea525ac8f01cdbc30
SUNRPC: Don't wake queued RPC calls multiple times in xprt_transmit

Rather than waking up the entire queue of RPC messages a second time,
just wake up the task that was put to sleep.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprt.c