diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-04-07 20:58:56 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-04-25 21:18:13 +0300 |
commit | da953063bdce465d941751d981e8d3ac5e92906c (patch) | |
tree | 9c9be44c34ae5f3b32daf60430a9b4e0c9fe9963 /net/sunrpc/clnt.c | |
parent | e4ec48d3cc6139f4c1a934ff25d440cd4d50279f (diff) | |
download | linux-da953063bdce465d941751d981e8d3ac5e92906c.tar.xz |
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