Linux NFS development
 help / color / mirror / Atom feed
* delayed delegation return handling fix
@ 2026-01-28  4:46 Christoph Hellwig
  2026-01-28  4:46 ` [PATCH 1/7] NFS: return void from nfs4_inode_make_writeable Christoph Hellwig
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Christoph Hellwig @ 2026-01-28  4:46 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker; +Cc: Chris Mason, linux-nfs

Hi all,

Chris Mason reported issues with the handling of delayed delegation
returns in the resent "add a LRU for delegations" series.

This series fixes that by not only doing the proper unlock, but also
by adding a new list dedicated to the delayed returned delegations.

Note that I could not trigger the delayed delegation handling naturally
and had to add crude error injection to force it.

Diffstat:
 fs/nfs/client.c           |    1 
 fs/nfs/delegation.c       |   94 ++++++++++++++++++----------------------------
 fs/nfs/delegation.h       |    5 --
 fs/nfs/nfs3proc.c         |    3 -
 fs/nfs/nfs4trace.h        |    3 -
 fs/nfs/proc.c             |    3 -
 include/linux/nfs_fs_sb.h |    2 
 include/linux/nfs_xdr.h   |    2 
 8 files changed, 45 insertions(+), 68 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-28 19:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28  4:46 delayed delegation return handling fix Christoph Hellwig
2026-01-28  4:46 ` [PATCH 1/7] NFS: return void from nfs4_inode_make_writeable Christoph Hellwig
2026-01-28  4:46 ` [PATCH 2/7] NFS: return void from ->return_delegation Christoph Hellwig
2026-01-28  4:46 ` [PATCH 3/7] NFS: use bool for the issync argument to nfs_end_delegation_return Christoph Hellwig
2026-01-28  4:46 ` [PATCH 4/7] NFS: remove the delegation == NULL check in nfs_end_delegation_return Christoph Hellwig
2026-01-28  4:46 ` [PATCH 5/7] NFS: fold nfs_abort_delegation_return into nfs_end_delegation_return Christoph Hellwig
2026-01-28  4:46 ` [PATCH 6/7] NFS: simplify error handling in nfs_end_delegation_return Christoph Hellwig
2026-01-28  4:46 ` [PATCH 7/7] NFS: fix delayed delegation return handling Christoph Hellwig
2026-01-28 19:15 ` delayed delegation return handling fix Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox