NFSv4.2: llseek(SEEK_HOLE) and llseek(SEEK_DATA) don't require data sync
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 25 Jun 2016 21:57:39 +0000 (17:57 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 5 Jul 2016 23:11:08 +0000 (19:11 -0400)
commite95fc4a06983c14273a39d26aad9cc5a8a09ff64
treeb5a1fa10278be617175f2c8cb99ddf0cad3b85e8
parent837bb1d752d92ea4d870877ffbd6ec5cf76624b3
NFSv4.2: llseek(SEEK_HOLE) and llseek(SEEK_DATA) don't require data sync

We want to ensure that we write the cached data to the server, but
don't require it be synced to disk. If the server reboots, we will
get a stateid error, which will cause us to retry anyway.

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