]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f6673cb734ab0104a43b92d632b7f91965b7ca6
treeb713bc1f4e0bd37ef74f05f131feac0a1f0f2845
parentdd14c29f54aa3ac5219967d3d3273c6eb4fa7b28
NFSv4/pnfs: Ensure we don't miss a file extension

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