Olga Kornievskaia
16013e03e4
nfsd: nfserr_jukebox in nlm_fopen should lead to a retry
...
commit a082e4b4d08a4a0e656d90c2c05da85f23e6d0c9 upstream.
When v3 NLM request finds a conflicting delegation, it triggers
a delegation recall and nfsd_open fails with EAGAIN. nfsd_open
then translates EAGAIN into nfserr_jukebox. In nlm_fopen, instead
of returning nlm_failed for when there is a conflicting delegation,
drop this NLM request so that the client retries. Once delegation
is recalled and if a local lock is claimed, a retry would lead to
nfsd returning a nlm_lck_blocked error or a successful nlm lock.
Fixes: d343fce148 ("[PATCH] knfsd: Allow lockd to drop replies as appropriate")
Cc: [email protected] # v6.6
Signed-off-by: Olga Kornievskaia <[email protected] >
Signed-off-by: Chuck Lever <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2025-10-29 13:59:54 +01:00
..
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c
NFSD: da_addr_body field missing in some GETDEVICEINFO replies
2023-09-23 10:59:48 +02:00
blocklayoutxdr.h
cache.h
current_stateid.h
export.c
nfsd: make sure exp active before svc_export_show
2024-12-14 19:44:44 +01:00
export.h
fault_inject.c
filecache.c
filecache.h
flexfilelayout.c
flexfilelayoutxdr.c
NFSD: da_addr_body field missing in some GETDEVICEINFO replies
2023-09-23 10:59:48 +02:00
flexfilelayoutxdr.h
idmap.h
Kconfig
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
lockd.c
nfsd: nfserr_jukebox in nlm_fopen should lead to a retry
2025-10-29 13:59:54 +01:00
Makefile
netns.h
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
2025-06-27 11:02:49 +01:00
nfs4acl.c
nfs4callback.c
NFSD: Reset cb_seq_status after NFS4ERR_DELAY
2025-03-13 12:43:01 +01:00
nfs4idmap.c
nfsd: call cache_put if xdr_reserve_space returns NULL
2024-11-08 16:20:32 +01:00
nfs4layouts.c
nfsd: fix race to check ls_layouts
2023-03-11 16:43:49 +01:00
nfs4proc.c
nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request
2025-06-27 11:02:51 +01:00
nfs4recover.c
NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
2024-12-14 19:44:32 +01:00
nfs4state.c
nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
2025-08-28 16:21:34 +02:00
nfs4xdr.c
NFSD: Fix NFSv4's PUTPUBFH operation
2024-11-17 14:58:52 +01:00
nfscache.c
NFSD: Add tracepoints to NFSD's duplicate reply cache
2023-01-18 11:41:31 +01:00
nfsctl.c
treewide: Remove uninitialized_var() usage
2023-06-09 10:29:01 +02:00
nfsd.h
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
nfsfh.c
nfsfh.h
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
nfsproc.c
NFSD: prevent underflow in nfssvc_decode_writeargs()
2022-04-15 14:17:59 +02:00
nfssvc.c
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h
NFSD: Add tracepoints to NFSD's duplicate reply cache
2023-01-18 11:41:31 +01:00
vfs.c
NFSD: Fix ia_size underflow
2025-06-27 11:02:49 +01:00
vfs.h
xdr.h
NFSD: prevent underflow in nfssvc_decode_writeargs()
2022-04-15 14:17:59 +02:00
xdr3.h
xdr4.h
xdr4cb.h