]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/nfs/pnfs.c
pNFS: Fix atime updates on pNFS clients
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 15 Sep 2016 22:26:05 +0000 (18:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:36 +0000 (14:35 -0400)
commitbfc505ded01e3c57d12c6f939f352200655d8635
tree0f830bf3f57aa443692ea062a5c642c086e410dd
parent77b00bc037e7c58d7a4ef791d1c7eeaf6f7a43e3
pNFS: Fix atime updates on pNFS clients

Fix the code so that we always mark the atime as invalid in nfs4_read_done().
Currently, the expectation appears to be that the pNFS drivers should always
do this, with the result that most of them don't.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/internal.h
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c