commit | 9a51940bf65bf9fdc93027d70bdecdfc403c5b24 | [log] [tgz] |
---|---|---|
author | Anna Schumaker <Anna.Schumaker@netapp.com> | Mon Mar 16 14:06:23 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Apr 23 14:36:28 2015 -0400 |
tree | 2b5a6788cebb2ed1a02d398d929d5a78572bec46 | |
parent | 8c18d76bcba874e872410ca63c7e59b10aafa17d [diff] |
NFS: Don't zap caches on fallocate() This patch adds a GETATTR to the end of ALLOCATE and DEALLOCATE operations so we can set the updated inode size and change attribute directly. DEALLOCATE will still need to release pagecache pages, so nfs42_proc_deallocate() now calls truncate_pagecache_range() before contacting the server. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>