diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-06-10 13:30:23 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-12 13:40:28 -0400 |
commit | e885de1a5bc9f46ef8f934c5a7602c89d2d51e8d (patch) | |
tree | fec97da658ce241c055f5fc8bb7e2e84ee1cc259 /fs/nfs/internal.h | |
parent | d8007d4dd6ff8749cc8a4063c3ec87442db76d82 (diff) |
NFSv4.1: Fall back to ordinary i/o through the mds if we have no layout segment
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index fc017eadfe08..31e8b50011af 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -296,7 +296,13 @@ extern int nfs_initiate_read(struct nfs_read_data *data, struct rpc_clnt *clnt, | |||
296 | const struct rpc_call_ops *call_ops); | 296 | const struct rpc_call_ops *call_ops); |
297 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); | 297 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); |
298 | 298 | ||
299 | struct nfs_pageio_descriptor; | ||
300 | extern void nfs_pageio_init_read_mds(struct nfs_pageio_descriptor *pgio, | ||
301 | struct inode *inode); | ||
302 | |||
299 | /* write.c */ | 303 | /* write.c */ |
304 | extern void nfs_pageio_init_write_mds(struct nfs_pageio_descriptor *pgio, | ||
305 | struct inode *inode, int ioflags); | ||
300 | extern void nfs_commit_free(struct nfs_write_data *p); | 306 | extern void nfs_commit_free(struct nfs_write_data *p); |
301 | extern int nfs_initiate_write(struct nfs_write_data *data, | 307 | extern int nfs_initiate_write(struct nfs_write_data *data, |
302 | struct rpc_clnt *clnt, | 308 | struct rpc_clnt *clnt, |