[pnfs] callback problem

William A. (Andy) Adamson andros at citi.umich.edu
Wed May 23 16:41:39 EDT 2007


On 5/23/07, Marc Eshel <eshel at almaden.ibm.com> wrote:
>
> Some more observation I will continue to debug.
>
> On the client side I got the following messages after mount and 2 of them
> where incorrect. The first one "Couldn't mount...." but mount did complete
> and I was able to use it. The seconds one "started cb service!" is wrong
> callback failed since the IP address was 0.0.0.0 on the server side.
>
> [root at fin30 ~]# mount -t nfs4 fin18:/ /mnt
> Message from syslogd at fin30 at Wed May 23 11:34:03 2007 ...
> fin30 kernel: started cb service!
> Message from syslogd at fin30 at Wed May 23 11:34:05 2007 ...
> fin30 kernel: Couldn't mount using minorversion 1
> Message from syslogd at fin30 at Wed May 23 11:34:05 2007 ...
> fin30 kernel: started cb service!
>
>
>
> On the server side I had to comment list_move_tail line since it was
> crashing with a null pointer.
>
> static inline void
> renew_client(struct nfs4_client *clp)
> {
>         /*
>         * Move client to the end to the LRU list.
>         */
>         dprintk("renewing client (clientid %08x/%08x)\n",
>                         clp->cl_clientid.cl_boot,
>                         clp->cl_clientid.cl_id);
> //???   list_move_tail(&clp->cl_lru, &client_lru);
>         clp->cl_time = get_seconds();
> }


i think there is a race on the server regarding the nfs_client -  i've
failed in

1) find_confirmed_client_by_str called by nfsd4_exchange_id
2) succeeded in calling renew_client, and failed in nfsd4_sequence.

-->Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20070523/3fa18354/attachment.htm 


More information about the pNFS mailing list