Commit a20f3065 authored by Trond Myklebust's avatar Trond Myklebust Committed by sanglipeng
Browse files

Revert "SUNRPC dont update timeout value on connection reset"

stable inclusion
from stable-v5.10.198
commit acc7fc82d0addac5ae0998bb447401e44babbb92
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I987V5

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=acc7fc82d0addac5ae0998bb447401e44babbb92



--------------------------------

commit a275ab62 upstream.

This reverts commit 88428cc4.

The problem this commit is intended to fix was comprehensively fixed
in commit 7de62bc0 ("SUNRPC dont update timeout value on connection
reset").
Since then, this commit has been preventing the correct timeout of soft
mounted requests.

Cc: stable@vger.kernel.org # 5.9.x: 09252177: SUNRPC: Handle major timeout in xprt_adjust_timeout()
Cc: stable@vger.kernel.org # 5.9.x: 7de62bc0: SUNRPC dont update timeout value on connection reset
Cc: stable@vger.kernel.org # 5.9.x
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 8c7d0b0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment