[pnfs] CVS: nfsv4

William A. (Andy) Adamson andros at citi.umich.edu
Mon Jan 29 13:08:34 EST 2007


hi rahul

i re-ran a kernel without the "null pointer fix" and i can't reproduce the
problem.

so, i can remove the check for the null session in
nfs41_proc_sequence_done() and the null clp in nfs4_sequence_done()

-->Andy

On 1/29/07, Iyer, Rahul <Rahul.Iyer at netapp.com> wrote:
>
> So, the reason I used nfs4_get_renew_cred() was that I didn't want to
> send sequence always. If there are no open files, then that's fine... We
> do not send a sequence and let the clientid (and the associated session)
> expire. We can set the session up as and when needed again. AFAICS this
> approach sure beats littering the network with needless traffic.
>
> About the null pointer, what was NULL? Nfs41_proc_sequence() takes 3
> arguments - a session pointer, a nfs41_sequence_res pointer and a status
> int. Which was NULL again and what was the test case?
> Regards
> Rahul
> P.S: I have some uncommitted code... We have all pNFS ops except for
> LAYOUTCOMMIT and LAYOUTRETURN working... We should be able to finish
> that off on Monday and I'll commit it in one go.
>
>
> > -----Original Message-----
> > From: William Andros Adamson [mailto:andros at citi.umich.edu]
> > Sent: Saturday, January 27, 2007 2:48 PM
> > To: pnfs at linux-nfs.org
> > Subject: [pnfs] CVS: nfsv4
> >
> > CVSROOT:      /cvs
> > Module name:  nfsv4
> > Changes by:   andros at citi.umich.edu   2007/01/27 17:48:03
> >
> > Modified files:
> >       cvs/pnfs/fs/nfs: nfs4proc.c nfs4renewd.c
> >
> > Log message:
> > nfs4_get_renew_cred() searches the list of stateowners for a
> > given nfs4_client and returns the first credential it finds.
> > this works for OP_RENEW which is only needed when state has
> > been established.
> >
> > sessions changes the renew strategy: OP_SEQUENCE is sent with
> > every RPC, and a OP_RENEW call must be sent caveat lease_time
> > even when no OPEN state has been established.
> >
> > if nfs4_get_renew_cred() fails to find a credential, create on with
> > rpcauth_lookupcred() for the renew call under sessions.
> >
> > nfs41_proc_sequence_done() can have a NULL data - at least i
> > hit it in my debugging....
> >
> > _______________________________________________
> > 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/20070129/8052bd8a/attachment.htm 


More information about the pNFS mailing list