]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC: Start the first major timeout calculation at task creation
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:58:56 +0000 (13:58 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:13 +0000 (14:18 -0400)
commitda953063bdce465d941751d981e8d3ac5e92906c
tree9c9be44c34ae5f3b32daf60430a9b4e0c9fe9963
parente4ec48d3cc6139f4c1a934ff25d440cd4d50279f
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>
net/sunrpc/xprt.c