diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-13 15:59:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-15 09:12:22 -0400 |
commit | dce81290eed64d24493989bb7a08f9e20495e184 (patch) | |
tree | eb25c828d3343196fe31d95da2d7d743692fa71e /fs/nfs/internal.h | |
parent | 493292ddc78d18ee2ad2d5c24c2b7dd6a24641d2 (diff) |
NFS: Move the pnfs write code into pnfs.c
...and ensure that we recoalese to take into account differences in
differences in block sizes when falling back to write through the MDS.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index d74d7dea9173..09e20de31901 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -305,8 +305,12 @@ extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio); | |||
305 | extern void nfs_readdata_release(struct nfs_read_data *rdata); | 305 | extern void nfs_readdata_release(struct nfs_read_data *rdata); |
306 | 306 | ||
307 | /* write.c */ | 307 | /* write.c */ |
308 | extern int nfs_generic_flush(struct nfs_pageio_descriptor *desc, | ||
309 | struct list_head *head); | ||
308 | extern void nfs_pageio_init_write_mds(struct nfs_pageio_descriptor *pgio, | 310 | extern void nfs_pageio_init_write_mds(struct nfs_pageio_descriptor *pgio, |
309 | struct inode *inode, int ioflags); | 311 | struct inode *inode, int ioflags); |
312 | extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); | ||
313 | extern void nfs_writedata_release(struct nfs_write_data *wdata); | ||
310 | extern void nfs_commit_free(struct nfs_write_data *p); | 314 | extern void nfs_commit_free(struct nfs_write_data *p); |
311 | extern int nfs_initiate_write(struct nfs_write_data *data, | 315 | extern int nfs_initiate_write(struct nfs_write_data *data, |
312 | struct rpc_clnt *clnt, | 316 | struct rpc_clnt *clnt, |