]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: Optimise NFS close()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Mar 2009 19:35:50 +0000 (15:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Mar 2009 19:35:50 +0000 (15:35 -0400)
commit7fe5c398fc2186ed586db11106a6692d871d0d58
tree1133bd775a23fb07ca759e4d6c44132c14576b75
parentb1e4adf4ea41bb8b5a7bfc1a7001f137e65495df
NFS: Optimise NFS close()

Close-to-open cache consistency rules really only require us to flush out
writes on calls to close(), and require us to revalidate attributes on the
very last close of the file.

Currently we appear to be doing a lot of extra attribute revalidation
and cache flushes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
include/linux/nfs_xdr.h