commit | 536e43d12b9517bbbf6114cd1a12be27857a4d7a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 17 22:04:26 2012 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 31 19:28:07 2012 -0500 |
tree | a40424a430fd651fe7b35232717f2201c608059a | |
parent | 48c22eb21071a3524f8b6e587371be35b5e86969 [diff] |
NFS: Optimise away unnecessary setattrs for open(O_TRUNC); Currently, we will correctly optimise away a truncate that doesn't change the file size. However, in the case of open(O_TRUNC), we also want to optimise away the time changes. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>