]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: Write the entire file if a server reboot occurs during fsync()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 11 Sep 2012 20:19:38 +0000 (16:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Sep 2012 22:16:18 +0000 (18:16 -0400)
commit16e40d38710e0651099659cc94de73a19e6a407c
treed3feae4cae102fa4c532bbf19a2325abb7987e5e
parent713252cfab6fdf51e5b9ec32c86327de678f8ea1
NFS: Write the entire file if a server reboot occurs during fsync()

This is to ensure that we don't clear the NFS_CONTEXT_RESEND_WRITES
flag while there are still writes that haven't been resent.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c
fs/nfs/nfs4file.c