> On Mar 5, 2019, at 10:17 AM, Trond Myklebust <trondmy@xxxxxxxxx> wrote: > > Most tasks should not have to deal with disconnected or unbound > socket states, so let's move them out of the common state machine > path. Seems like a sensible idea. Were you able to measure any latency improvement? > Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > --- > net/sunrpc/clnt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c > index c154684a35d4..b9251fd696ee 100644 > --- a/net/sunrpc/clnt.c > +++ b/net/sunrpc/clnt.c > @@ -1806,7 +1806,7 @@ call_encode(struct rpc_task *task) > xprt_request_enqueue_receive(task); > xprt_request_enqueue_transmit(task); > out: > - task->tk_action = call_bind; > + task->tk_action = call_transmit; > } > > /* > -- > 2.20.1 > -- Chuck Lever