[pnfs] [PATCH 1/7] nfs4_pnfs_layout_segment: define struct

Benny Halevy bhalevy at panasas.com
Thu Aug 30 09:12:26 EDT 2007


Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 include/linux/pnfs_xdr.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/pnfs_xdr.h b/include/linux/pnfs_xdr.h
index 07d402d..748cdd4 100644
--- a/include/linux/pnfs_xdr.h
+++ b/include/linux/pnfs_xdr.h
@@ -22,6 +22,12 @@ struct nfs4_pnfs_layout {
 	void *buf;
 };
 
+struct nfs4_pnfs_layout_segment {
+	u32 iomode;
+	u64 offset;
+	u64 length;
+};
+
 struct nfs4_pnfs_layoutget_arg {
 	__u32 type;
 	__u32 iomode;
-- 
1.5.2.5




More information about the pNFS mailing list