diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-04-02 18:48:28 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-01 01:17:05 -0400 |
| commit | 8b09bee3083897e375bd0bf9d60f48daedfab3e0 (patch) | |
| tree | 5122ee611fc46799660db63442107e5677234266 /include | |
| parent | bcb71bba7e64f0442d0ca339d7d3117a7060589f (diff) | |
NFS: Cleanup for nfs_readpages()
Do the coalescing of read requests into block sized requests at start of
I/O as we scan through the pages instead of going through a second pass.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_page.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index 91c7b18c47d8..b8b7bca3bac8 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h | |||
| @@ -82,6 +82,8 @@ extern void nfs_pageio_init(struct nfs_pageio_descriptor *desc, | |||
| 82 | int (*doio)(struct inode *, struct list_head *, size_t, int), | 82 | int (*doio)(struct inode *, struct list_head *, size_t, int), |
| 83 | size_t bsize, | 83 | size_t bsize, |
| 84 | int how); | 84 | int how); |
| 85 | extern int nfs_pageio_add_request(struct nfs_pageio_descriptor *, | ||
| 86 | struct nfs_page *); | ||
| 85 | extern void nfs_pageio_add_list(struct nfs_pageio_descriptor *, | 87 | extern void nfs_pageio_add_list(struct nfs_pageio_descriptor *, |
| 86 | struct list_head *); | 88 | struct list_head *); |
| 87 | extern void nfs_pageio_complete(struct nfs_pageio_descriptor *desc); | 89 | extern void nfs_pageio_complete(struct nfs_pageio_descriptor *desc); |
