Skip to content
Commit b757144f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Be less aggressive about returning delegations for open files



Currently, if the application that holds the file open isn't doing
I/O, we may end up returning the delegation. This means that we can
no longer cache the file as aggressively, and often also that we
multiply the state that both the server and the client needs to track.

This patch adds a check for open files to the routine that scans
for delegations that are unreferenced.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent db4f2e63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment