aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index 65b563f0903a..50856e9c1e5f 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -19,11 +19,6 @@
19#include <linux/kref.h> 19#include <linux/kref.h>
20 20
21/* 21/*
22 * Valid flags for the radix tree
23 */
24#define NFS_PAGE_TAG_COMMIT 1
25
26/*
27 * Valid flags for a dirty buffer 22 * Valid flags for a dirty buffer
28 */ 23 */
29enum { 24enum {
@@ -32,16 +27,12 @@ enum {
32 PG_CLEAN, 27 PG_CLEAN,
33 PG_NEED_COMMIT, 28 PG_NEED_COMMIT,
34 PG_NEED_RESCHED, 29 PG_NEED_RESCHED,
35 PG_PNFS_COMMIT,
36 PG_PARTIAL_READ_FAILED, 30 PG_PARTIAL_READ_FAILED,
37}; 31};
38 32
39struct nfs_inode; 33struct nfs_inode;
40struct nfs_page { 34struct nfs_page {
41 union { 35 struct list_head wb_list; /* Defines state of page: */
42 struct list_head wb_list; /* Defines state of page: */
43 struct pnfs_layout_segment *wb_commit_lseg; /* Used when PG_PNFS_COMMIT set */
44 };
45 struct page *wb_page; /* page to read in/write out */ 36 struct page *wb_page; /* page to read in/write out */
46 struct nfs_open_context *wb_context; /* File state context info */ 37 struct nfs_open_context *wb_context; /* File state context info */
47 struct nfs_lock_context *wb_lock_context; /* lock context info */ 38 struct nfs_lock_context *wb_lock_context; /* lock context info */
@@ -89,8 +80,6 @@ extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
89extern void nfs_release_request(struct nfs_page *req); 80extern void nfs_release_request(struct nfs_page *req);
90 81
91 82
92extern int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *dst,
93 pgoff_t idx_start, unsigned int npages, int tag);
94extern void nfs_pageio_init(struct nfs_pageio_descriptor *desc, 83extern void nfs_pageio_init(struct nfs_pageio_descriptor *desc,
95 struct inode *inode, 84 struct inode *inode,
96 const struct nfs_pageio_ops *pg_ops, 85 const struct nfs_pageio_ops *pg_ops,