]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1 fix infinite loop on IO BAD_STATEID error
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 30 Mar 2017 17:49:03 +0000 (13:49 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 31 Mar 2017 17:30:21 +0000 (13:30 -0400)
commit161f99c48dbaa36e9e4077c3e8b15bf26724bc8e
treed10cf2a0cc9032cbeb4aae28e01a61fbfa4f2f21
parentfcb2dc07542de7ec1e56634dc1e9f6cd3e888105
NFSv4.1 fix infinite loop on IO BAD_STATEID error

Commit 0d4612dcd1cb "NFSv4.1: Don't recheck delegations that
have already been checked" introduced a regression where when a
client received BAD_STATEID error it would not send any TEST_STATEID
and instead go into an infinite loop of resending the IO that caused
the BAD_STATEID.

Fixes: 0d4612dcd1cb ("NFSv4.1: Don't recheck delegations that have already been checked")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Cc: stable@vger.kernel.org # 4.9+
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c