]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Make "no retrans timeout" soft tasks behave like softconn for timeouts
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:58:55 +0000 (13:58 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:13 +0000 (14:18 -0400)
commit2d8792838ab7d2d775f55d268861797f6666f76e
tree87a63ea18bab77afa20a7159d1fbf8b8f4ce25ab
parentef6aca0ca6c6aa97c476db7a856554bf56a05b3b
SUNRPC: Make "no retrans timeout" soft tasks behave like softconn for timeouts

If a soft NFSv4 request is sent, then we don't need it to time out unless
the connection breaks. The reason is that as long as the connection is
unbroken, the protocol states that the server is not allowed to drop the
request.  IOW: as long as the connection remains unbroken, the client may
assume that all transmitted RPC requests are being processed by the server,
and that retransmissions and timeouts of those requests are unwarranted.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c