[pnfs] [Fwd: [PATCH 06/13] pnfs: cb_layoutrecall protocol level data structures]

Benny Halevy bhalevy at panasas.com
Wed Jan 23 05:47:00 EST 2008


Resending since previous message didn't get to the mailing list.

On Jan. 22, 2008, 21:33 +0200, Benny Halevy <bhalevy at panasas.com> wrote:

Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 fs/nfs/callback.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h
index b1b18a3..b6be4ad 100644
--- a/fs/nfs/callback.h
+++ b/fs/nfs/callback.h
@@ -71,6 +71,18 @@ struct cb_recallargs {
 
 #if defined(CONFIG_NFS_V4_1)
 
+#if defined(CONFIG_PNFS)
+struct cb_pnfs_layoutrecallargs {
+	struct sockaddr_in	*cbl_addr;
+	struct nfs_fh		cbl_fh;
+	struct nfs4_pnfs_layout_segment cbl_seg;
+	struct nfs_fsid		cbl_fsid;
+	uint32_t		cbl_recall_type;
+	uint32_t		cbl_layout_type;
+	uint32_t		cbl_layoutchanged;
+};
+#endif /* CONFIG_PNFS */
+
 struct referring_call {
 	uint32_t			rc_sequenceid;
 	uint32_t			rc_slotid;
-- 
1.5.3.3


-- 
Benny Halevy
Software Architect
Tel/Fax: +972-3-647-8340
Mobile: +972-54-802-8340
US:      +1-412-203-3187
bhalevy at panasas.com
 
Panasas, Inc.
The Leader in Parallel Storage
www.panasas.com


More information about the pNFS mailing list