Commit f163aa81 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: 7f156ef0 ("NFSv4: Clean up nfs_delegation_reap_expired()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 35a566a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment