NFS: Optimise nfs_vm_page_mkwrite()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 Jan 2008 22:13:06 +0000 (17:13 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:23 +0000 (02:05 -0500)
commit8b1f9ee56e21e505a3d5d3e33f823006d1abdbaf
tree4f26bf0ceb4f834040e02cefc6385087a25ad6ba
parent77f111929d024165e736e919187cff017279bebe
NFS: Optimise nfs_vm_page_mkwrite()

The current model locks the page twice for no good reason. Optimise by
inlining the parts of nfs_write_begin()/nfs_write_end() that we care about.

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