aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:22:26 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:46:49 -0400
commitdef6ed7ef45ed19c3d6ca765f3bfdff1fe4c6bba (patch)
tree98e072aa00e6c284dac719c6c7f97abd7c930d90 /fs/nfs/internal.h
parentf11c88af26453aee2823a1fd9120d0cd8dae7b9a (diff)
nfs41 write sequence setup done support
Separate write calls from nfs41: sequence setup/done support Implement the write rpc_call_prepare method for asynchronuos nfs rpcs, call nfs41_setup_sequence from respective rpc_call_validate_args methods. Call nfs4_sequence_done from respective rpc_call_done methods. Note that we need to pass a pointer to the nfs_server in calls data for passing on to nfs4_sequence_done. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [pnfs: client data server write validate and release] Signed-off-by: Andy Adamson <andros@umich.edu> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [move the nfs4_sequence_free_slot call in nfs_readpage_retry from] [nfs41: separate free slot from sequence done Signed-off-by: Andy Adamson <andros@umich.edu> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: Support sessions with O_DIRECT.] Signed-off-by: Dean Hildebrand <dhildeb@us.ibm.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: nfs4_sequence_free_slot use nfs_client for data server] Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 988c8b9aa78b..f62bc5226155 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -209,6 +209,9 @@ extern int nfs4_path_walk(struct nfs_server *server,
209/* read.c */ 209/* read.c */
210extern void nfs_read_prepare(struct rpc_task *task, void *calldata); 210extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
211 211
212/* write.c */
213extern void nfs_write_prepare(struct rpc_task *task, void *calldata);
214
212/* nfs4proc.c */ 215/* nfs4proc.c */
213extern int _nfs4_call_sync(struct nfs_server *server, 216extern int _nfs4_call_sync(struct nfs_server *server,
214 struct rpc_message *msg, 217 struct rpc_message *msg,