Searched hist:b757144fd77cf5512f5b60179ba5ca8dcc5184b4 (Results 1 – 2 of 2) sorted by relevance
/linux/fs/nfs/ |
H A D | delegation.h | diff b757144fd77cf5512f5b60179ba5ca8dcc5184b4 Wed Apr 03 20:33:49 CEST 2013 Trond Myklebust <Trond.Myklebust@netapp.com> 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>
|
H A D | delegation.c | diff b757144fd77cf5512f5b60179ba5ca8dcc5184b4 Wed Apr 03 20:33:49 CEST 2013 Trond Myklebust <Trond.Myklebust@netapp.com> 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>
|