]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Don't decrease the value of seq_nr_highest_sent
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 13:16:04 +0000 (09:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:18:21 +0000 (11:18 +0200)
commit4cc7b90fc43b418146688e37ee936ac942837404
tree09d9dc1f8deaebe68ce6b2b24c2de71d55ae26b6
parent56c0f78ade9c8daf18fae213b92a19cb30604ea4
NFSv4.1: Don't decrease the value of seq_nr_highest_sent

commit 8875401c50febe47635373e224aca6f199feef0c upstream.

When we're trying to figure out what the server may or may not have seen
in terms of request numbers, do not assume that requests with a larger
number were missed, just because we saw a reply to a request with a
smaller number.

Fixes: 9f02f6180987 ("NFSv4.1: Avoid false retries when RPC calls are interrupted")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c