diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-03-03 10:13:43 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:44 -0500 |
commit | 5053aa568d4017aeb1fa35247d4ad96be262920f (patch) | |
tree | a15850e0465c555310a41880c7e9454109a1f952 /include/linux | |
parent | b029bc9b0880cbaf999f580c0ea8f06dd274fc77 (diff) |
NFSv4.1: Send lseg down into nfs_write_rpcsetup
We grab the lseg sent in from the doio function and attach it to
each struct nfs_write_data created. This is how the lseg will be
sent to the layout driver.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 21cd41ddbca6..09d96812d6d0 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1038,6 +1038,7 @@ struct nfs_write_data { | |||
1038 | unsigned int npages; /* Max length of pagevec */ | 1038 | unsigned int npages; /* Max length of pagevec */ |
1039 | struct nfs_writeargs args; /* argument struct */ | 1039 | struct nfs_writeargs args; /* argument struct */ |
1040 | struct nfs_writeres res; /* result struct */ | 1040 | struct nfs_writeres res; /* result struct */ |
1041 | struct pnfs_layout_segment *lseg; | ||
1041 | int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); | 1042 | int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); |
1042 | #ifdef CONFIG_NFS_V4 | 1043 | #ifdef CONFIG_NFS_V4 |
1043 | unsigned long timestamp; /* For lease renewal */ | 1044 | unsigned long timestamp; /* For lease renewal */ |