diff options
author | Scott Mayhew <smayhew@redhat.com> | 2019-10-09 22:11:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-09 12:19:03 +0300 |
commit | 58f7525f62ef576ab769bfd3a8e3d733ba75ca9b (patch) | |
tree | 2f026faa1c81269b4b4e624c80b321e2a1e0a18f /fs/xfs/xfs_trans_ail.c | |
parent | ac57e1605822ec7dd23e3ad5a3a2719168b32c69 (diff) | |
download | linux-58f7525f62ef576ab769bfd3a8e3d733ba75ca9b.tar.xz |
nfsd4: fix up replay_matches_cache()
commit 6e73e92b155c868ff7fce9d108839668caf1d9be upstream.
When running an nfs stress test, I see quite a few cached replies that
don't match up with the actual request. The first comment in
replay_matches_cache() makes sense, but the code doesn't seem to
match... fix it.
This isn't exactly a bugfix, as the server isn't required to catch every
case of a false retry. So, we may as well do this, but if this is
fixing a problem then that suggests there's a client bug.
Fixes: 53da6a53e1d4 ("nfsd4: catch some false session retries")
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
0 files changed, 0 insertions, 0 deletions