diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-02-18 16:50:30 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-03-17 16:51:52 -0400 |
commit | 47acca884f714f41d95dc654f802845544554784 (patch) | |
tree | 0fa836b46c9671b52840dd56e1306ce0def720c2 /scripts/lib/kdoc/kdoc_output.py | |
parent | 4701f33a10702d5fc577c32434eb62adde0a1ae1 (diff) |
NFSv4: Don't trigger uneccessary scans for return-on-close delegations
The amount of looping through the list of delegations is occasionally
leading to soft lockups. Avoid at least some loops by not requiring the
NFSv4 state manager to scan for delegations that are marked for
return-on-close. Instead, either mark them for immediate return (if
possible) or else leave it up to nfs4_inode_return_delegation_on_close()
to return them once the file is closed by the application.
Fixes: b757144fd77c ("NFSv4: Be less aggressive about returning delegations for open files")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions