]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add nfs_set_page_dirty()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Dec 2006 05:35:40 +0000 (00:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:38 +0000 (10:46 -0500)
commit17b8244a24d9a65b4682839edf8b8c2a14f49b70
treea09db8af7974f13baa8d906149b77bf7db58bf1f
parent0fd2277c14ac46b4c7b9deef21c01bfe8a78305f
NFS: Add nfs_set_page_dirty()

We will want to allow nfs_writepage() to distinguish between pages that
have been marked as dirty by the VM, and those that have been marked as
dirty by nfs_updatepage().
In the former case, the entire page will want to be written out, and so any
requests that were pending need to be flushed out first.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h
include/linux/nfs_page.h