commit | ca0daa277acac1029f74d9fea838c9e507398226 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Jun 08 17:08:28 2016 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Jun 22 09:59:42 2016 -0400 |
tree | 1efc578e5b1c814940cb6393d541a7919e9a94bc | |
parent | 57b691819ee2b095da505b34abdcd3193d0af75c [diff] |
NFS: Cache aggressively when file is open for writing Unless the user is using file locking, we must assume close-to-open cache consistency when the file is open for writing. Adjust the caching algorithm so that it does not clear the cache on out-of-order writes and/or attribute revalidations. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>