Skip to content

Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2217659

commit 5b4a82a0724af1dfd1320826e0266117b6a57fbd
Author: Benjamin Coddington bcodding@redhat.com
Date: Tue Jun 27 14:31:49 2023 -0400

Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"

Olga Kornievskaia reports that this patch breaks NFSv4.0 state recovery.
It also introduces additional complexity in the error paths for cases not
related to the original problem.  Let's revert it for now, and address the
original problem in another manner.

This reverts commit f5ea16137a3fa2858620dc9084466491c128535f.

Fixes: f5ea16137a3f ("NFSv4: Retry LOCK on OLD_STATEID during delegation return")
Reported-by: Kornievskaia, Olga <Olga.Kornievskaia@netapp.com>
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>

Signed-off-by: Benjamin Coddington bcodding@redhat.com

Merge request reports