pNFS: Ensure we commit the layout if it has been invalidated
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 29 Apr 2017 14:10:17 +0000 (10:10 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 29 Apr 2017 15:29:30 +0000 (11:29 -0400)
commit1f18b82c3437a398562e748c22fcd2f71c2e230c
tree97e948dd43a509e011585414fb5f600462ba9093
parent722f0b891198ab1f5f7b020e32c989a517ed0577
pNFS: Ensure we commit the layout if it has been invalidated

If the layout is being invalidated on the server, then we must
invoke nfs_commit_inode() to ensure any commits to the DS get
cleared out.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs42proc.c
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c