diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-03 14:33:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-05 17:03:55 -0400 |
commit | b757144fd77cf5512f5b60179ba5ca8dcc5184b4 (patch) | |
tree | 8c83188cb1aa8e4ff5e8d25b48a3cf811d31772d /drivers/power/test_power.c | |
parent | db4f2e637f6d5dff6d07112e62605275be6050b3 (diff) |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/power/test_power.c')
0 files changed, 0 insertions, 0 deletions