[pnfs] CVS: nfsv4

Marc Eshel IBM eshel at citi.umich.edu
Sat Feb 24 17:04:39 EST 2007


CVSROOT:	/cvs
Module name:	nfsv4
Changes by:	eshel at citi.umich.edu	2007/02/24 17:04:39

Modified files:
	cvs/pnfs/include/linux: nfs_xdr.h 
	cvs/pnfs/include/linux/nfsd: pnfsd.h 

Log message:
First step for adding  exchange id for pNFS client. For now it looks like a
regular client until we add the pNFS flag to the protocol.
The DS will have to avoid expiring the client since it doesn't renew its state.

Index: nfs_xdr.h
===================================================================
RCS file: /cvs/nfsv4/cvs/pnfs/include/linux/nfs_xdr.h,v
retrieving revision 1.19
diff -u -r1.19 nfs_xdr.h
--- nfs_xdr.h	30 Jan 2007 00:23:42 -0000	1.19
+++ nfs_xdr.h	24 Feb 2007 21:49:42 -0000
@@ -1018,6 +1018,8 @@
int     (*pnfs_layoutreturn)(struct nfs4_pnfs_layoutreturn* layout);
int     (*pagein_one) (struct list_head *head, struct inode *inode);
int     (*flush_one) (struct inode *, struct list_head *, int, int);
+        struct nfs4_client *(*get_client) (struct in_addr *addr);
+        void    (*put_client) (struct nfs4_client *);
};

/*
Index: nfsd/pnfsd.h
===================================================================
RCS file: /cvs/nfsv4/cvs/pnfs/include/linux/nfsd/pnfsd.h,v
retrieving revision 1.7
diff -u -r1.7 pnfsd.h
--- nfsd/pnfsd.h	22 Feb 2007 07:40:44 -0000	1.7
+++ nfsd/pnfsd.h	24 Feb 2007 21:49:42 -0000
@@ -85,5 +85,4 @@
struct nfsd4_pnfs_layoutget *);
int nfs4_pnfs_return_layout(struct super_block *, struct svc_fh *,
struct nfsd4_pnfs_layoutreturn *);
-void gen_ds_sessionid(clientid_t *, sessionid_t *);



More information about the pNFS mailing list