]> git.itanic.dy.fi Git - linux-stable/commit
pNFS/flexfiles: Don't time out requests on hard mounts
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 23 Aug 2019 12:37:50 +0000 (08:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:18:35 +0000 (07:18 +0200)
commitfa38f165c78a0b73627e0f2fa6e89a3df14e284c
tree92873077dbd18859e899cab669f7c68ba421eb6b
parent7999b21e22246b58a800655ee5cc63ea819b34d5
pNFS/flexfiles: Don't time out requests on hard mounts

[ Upstream commit 7af46292dadcf8870946916f79fdddf79bd7267f ]

If the mount is hard, we should ignore the 'io_maxretrans' module
parameter so that we always keep retrying.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/flexfilelayout/flexfilelayout.c