summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2016-07-28 20:41:10 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-28 20:49:08 +0200
commit944171cbf499d3445c749f7c13c46de0a564a905 (patch)
treefb4d338b9f580419e59da2bc59ad2f9733ed02d3 /fs/nfs/client.c
parentNFSv4: Clean up lookup of SECINFO_NO_NAME (diff)
downloadlinux-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