]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4: Avoid unnecessary scans of filesystems for delayed delegations
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 18 Feb 2025 23:37:51 +0000 (18:37 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 17 Mar 2025 20:51:53 +0000 (16:51 -0400)
commite767b59e29b8327d25edde65efc743f479f30d0a
treef320c9ebe537611fed5f7f9ef4a0dae1ed53bc8c
parentf163aa81a799e2d46d7f8f0b42a0e7770eaa0d06
NFSv4: Avoid unnecessary scans of filesystems for delayed delegations

The amount of looping through the list of delegations is occasionally
leading to soft lockups. If the state manager was asked to manage the
delayed return of delegations, then only scan those filesystems
containing delegations that were marked as being delayed.

Fixes: be20037725d1 ("NFSv4: Fix delegation return in cases where we have to retry")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c
include/linux/nfs_fs_sb.h