NFS: Do not aggressively cache file attributes in the case of O_DIRECT
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 25 Jun 2016 21:24:46 +0000 (17:24 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 5 Jul 2016 23:11:06 +0000 (19:11 -0400)
commit651b0e702981304f77091b82870a01480705f4fe
tree27c5134920cb995716b419e9b6a4635e03b639c9
parentbe527494e02b89e03485955b30de6c1e976a07eb
NFS: Do not aggressively cache file attributes in the case of O_DIRECT

A file that is open for O_DIRECT is by definition not obeying
close-to-open cache consistency semantics, so let's not cache
the attributes too aggressively either.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/inode.c
fs/nfs/internal.h