]> 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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 13:53:45 +0000 (09:53 -0400)
commit8875401c50febe47635373e224aca6f199feef0c
tree569f8cb1088ad22cb3a4a7cef9a8616b6948f3e0
parentc3798bdab60b17cba019fee4a9c2ef91ac08d2ea
NFSv4.1: Don't decrease the value of seq_nr_highest_sent

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>
fs/nfs/nfs4proc.c