diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-09-11 11:00:02 -0400 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-09-24 15:29:05 -0400 |
| commit | 25dde935988bc0cc2991cedbea90a2ce65066d54 (patch) | |
| tree | 71c056e8c0359e5244185a28dd27534d862c983c /scripts/Makefile.thinlto | |
| parent | 93f51579e7df248780214094418f205253383cc5 (diff) | |
| download | linux-25dde935988bc0cc2991cedbea90a2ce65066d54.tar.gz linux-25dde935988bc0cc2991cedbea90a2ce65066d54.zip | |
NFSv4: Fix a regression in the handling of CB_RECALL_ANY
When the flag NFS_DELEGATION_RETURN was replaced by the
server->delegations_return list, the test in
nfs_mark_return_if_closed_delegation() was replaced by one that stops
all further marking of delegations for return when closed as soon as the
server->delegations_return list is non-empty, breaking CB_RECALL_ANY
behaviour.
While the intention at the time was probably to check if
delegation->entry was non-empty in order to emulate the effect of the
NFS_DELEGATION_RETURN test, that is no longer an option, since
delegation->entry is also used for the LRU list.
By just removing the offending check altogether, the patch can end up
moving delegations from the server->delegations_delayed list
prematurely, triggering an early retry. However that should be mostly
harmless behaviour.
Fixes: 0ebe655bd033 ("NFS: add a separate delegation return list")
Cc: stable@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
