NFSv4/pnfs: Ensure we don't miss a file extension
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 6 Jul 2015 00:06:38 +0000 (20:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 21:15:53 +0000 (17:15 -0400)
pNFS writes don't return attributes, however that doesn't mean that we
should ignore the fact that they may be extending the file. This patch
ensures that if a write is seen to extend the file, then we always set
an attribute barrier, and update the cached file size.

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

diff --cc fs/nfs/write.c
Simple merge