]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ensure that mmapped pages remain stable during writeback
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Jan 2012 03:04:26 +0000 (22:04 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:08 +0000 (19:28 -0500)
commit2c6c4fa707981f807758741c7710e5543f8d6863
tree7ee6fddcb6006adfb40c90d5be00f5029ee0c1eb
parent5ae10a33be233c1e1adc9210fa1f4e1444902f92
NFS: Ensure that mmapped pages remain stable during writeback

Ensure that nfs_vm_page_mkwrite() waits for the page writeback to
complete before the application is allowed to modify page
contents.
The main reason for wanting to do this in NFS is to ensure that the
server doesn't get confused if we have to resend the RPC request
due to a dropped/missed reply.

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