[pnfs] [PATCH 01/10] pnfsd: initialize layoutget return_on_close
William A. (Andy) Adamson
andros at citi.umich.edu
Thu May 8 17:53:32 EDT 2008
Hi Marc
I tested these patches added to the pnfs-2.6.25-2008-05-05 tree, and they
worked passing all cthon tests with I/O to spnfs DS. I just built a system,
and I'll check it out...
-->Andy
On Thu, May 8, 2008 at 4:25 PM, Marc Eshel <eshel at almaden.ibm.com> wrote:
> Hi Andy,
> A quick test of these set of 10 patches shows that all traffic goes to the
> MDS. A session is created with each DS but that is the only thing that the
> DS gets from the client, all read/write activities goes to the MDS. I will
> try to look at it some more later.
> Marc.
>
> pnfs-bounces at linux-nfs.org wrote on 05/07/2008 01:53:36 PM:
>
> > andros at netapp.com
> > Sent by: pnfs-bounces at linux-nfs.org
> >
> > 05/07/2008 01:53 PM
> >
> > To
> >
> > pnfs at linux-nfs.org
> >
> > cc
> >
> > Andy Adamson <andros at netapp.com>, Andy Adamson <andros at umich.edu>
> >
> > Subject
> >
> > [pnfs] [PATCH 01/10] pnfsd: initialize layoutget return_on_close
> >
> > From: Andy Adamson <andros at umich.edu>
> >
> > Signed-off-by: Andy Adamson<andros at netapp.com>
> > ---
> > fs/nfsd/nfs4xdr.c | 4 +++-
> > 1 files changed, 3 insertions(+), 1 deletions(-)
> >
> > diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
> > index 40c25b8..b6b8ac8 100644
> > --- a/fs/nfsd/nfs4xdr.c
> > +++ b/fs/nfsd/nfs4xdr.c
> > @@ -3469,7 +3469,9 @@ nfsd4_encode_layoutget(struct nfsd4_compoundres
> *resp,
> > int maxcount, leadcount;
> > struct super_block *sb;
> > unsigned int *p_start = resp->p;
> > - struct pnfs_layoutget_arg args;
> > + struct pnfs_layoutget_arg args = {
> > + .return_on_close = 0,
> > + };
> > ENCODE_HEAD;
> >
> > dprintk("%s: err %d\n", __func__, nfserr);
> > --
> > 1.5.4.1
> >
> > _______________________________________________
> > pNFS mailing list
> > pNFS at linux-nfs.org
> > http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20080508/f36ee4fa/attachment.htm
More information about the pNFS
mailing list