]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4: Avoid unnecessary scans of filesystems for expired delegations
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 19 Feb 2025 00:03:21 +0000 (19:03 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 17 Mar 2025 20:51:53 +0000 (16:51 -0400)
commitf163aa81a799e2d46d7f8f0b42a0e7770eaa0d06
treeb4cfbb9ca5574e7b1ec14418842130e000d2f1c2
parent35a566a24e58f1b5f89737edf60b77de58719ed0
NFSv4: Avoid unnecessary scans of filesystems for expired delegations

The amount of looping through the list of delegations is occasionally
leading to soft lockups.  If the state manager was asked to reap the
expired delegations, it should scan only those filesystems that hold
delegations that need to be reaped.

Fixes: 7f156ef0bf45 ("NFSv4: Clean up nfs_delegation_reap_expired()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c
include/linux/nfs_fs_sb.h