NFSv4.1: Don't trust attributes if a pNFS LAYOUTCOMMIT is outstanding
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 13 Jan 2014 17:08:11 +0000 (12:08 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 13 Jan 2014 17:08:11 +0000 (12:08 -0500)
If a LAYOUTCOMMIT is outstanding, then chances are that the metadata
server may still be returning incorrect values for the change attribute,
ctime, mtime and/or size.
Just ignore those attributes for now, and wait for the LAYOUTCOMMIT
rpc call to finish.

Reported-by: shaobingqing <shaobingqing@bwstor.com.cn>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/pnfs.h

diff --cc fs/nfs/inode.c
Simple merge
Simple merge
diff --cc fs/nfs/pnfs.h
Simple merge