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

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

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