summaryrefslogtreecommitdiff
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-05 08:35:40 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 18:46:38 +0300
commit1a54533ec8d92a5edae97ec6ae10023ee71c4b46 (patch)
treea09db8af7974f13baa8d906149b77bf7db58bf1f /include/linux/nfs_page.h
parent200baa2112012dd8a13db9da3ee6885403f9c013 (diff)
downloadlinux-1a54533ec8d92a5edae97ec6ae10023ee71c4b46.tar.xz
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>
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index 38aa15fea638..d111be639140 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -30,6 +30,7 @@
#define PG_BUSY 0
#define PG_NEED_COMMIT 1
#define PG_NEED_RESCHED 2
+#define PG_NEED_FLUSH 3
struct nfs_inode;
struct nfs_page {