diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2016-07-28 20:41:10 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-28 20:49:08 +0200 |
commit | 944171cbf499d3445c749f7c13c46de0a564a905 (patch) | |
tree | fb4d338b9f580419e59da2bc59ad2f9733ed02d3 /fs/nfs/client.c | |
parent | NFSv4: Clean up lookup of SECINFO_NO_NAME (diff) | |
download | linux-944171cbf499d3445c749f7c13c46de0a564a905.tar.xz linux-944171cbf499d3445c749f7c13c46de0a564a905.zip |
pNFS: Actively set attributes as invalid if LAYOUTCOMMIT is outstanding
A LAYOUTCOMMIT then subsequent GETATTR may both return the same attributes,
and in that case NFS_INO_INVALID_ATTR is never set on the second pass
through nfs_update_inode(). The existing check to skip the clearing of
NFS_INO_INVALID_ATTR if a LAYOUTCOMMIT is outstanding does not help in this
case (see commit 10b7e9ad4488: "pNFS: Don't mark the inode as revalidated
if a LAYOUTCOMMIT is outstanding"). We know that if a LAYOUTCOMMIT is
outstanding then attributes will need upating, so always set
NFS_INO_INVALID_ATTR.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions