mbox series

[0/4] Fixes for looping in the NFSv4 manager thread

Message ID cover.1741023037.git.trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Fixes for looping in the NFSv4 manager thread | expand

Message

Trond Myklebust March 3, 2025, 5:35 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

The following set of patches address an issue where the NFSv4 manager
thread can end up doing a lot of looping in order to do asynchronous
returns of old delegations. When the list of cached delegations gets
large enough, this can sometimes lead to soft lockups being declared.

Trond Myklebust (4):
  NFSv4: Don't trigger uneccessary scans for return-on-close delegations
  NFSv4: Avoid unnecessary scans of filesystems for returning
    delegations
  NFSv4: Avoid unnecessary scans of filesystems for expired delegations
  NFSv4: Avoid unnecessary scans of filesystems for delayed delegations

 fs/nfs/delegation.c       | 63 ++++++++++++++++++++++++++-------------
 include/linux/nfs_fs_sb.h |  4 +++
 2 files changed, 46 insertions(+), 21 deletions(-)