summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust2019-04-07 19:58:56 +0200
committerAnna Schumaker2019-04-25 20:18:13 +0200
commitda953063bdce465d941751d981e8d3ac5e92906c (patch)
tree9c9be44c34ae5f3b32daf60430a9b4e0c9fe9963 /net/sunrpc/clnt.c
parentSUNRPC: Make "no retrans timeout" soft tasks behave like softconn for timeouts (diff)
downloadkernel-qcow2-linux-da953063bdce465d941751d981e8d3ac5e92906c.tar.gz
kernel-qcow2-linux-da953063bdce465d941751d981e8d3ac5e92906c.tar.xz
kernel-qcow2-linux-da953063bdce465d941751d981e8d3ac5e92906c.zip
SUNRPC: Start the first major timeout calculation at task creation
When calculating the major timeout for a new task, when we know that the connection has been broken, use the task->tk_start to ensure that we also take into account the time spent waiting for a slot or session slot. This ensures that we fail over soft requests relatively quickly once the connection has actually been broken, and the first requests have started to fail. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions