[pnfs] Oops in latest pnfs client

William A. (Andy) Adamson andros at citi.umich.edu
Thu Sep 6 12:14:34 EDT 2007


Hi Mike

Please submit your patch!

-->Andy

On 9/6/07, Sager, Mike <Mike.Sager at netapp.com> wrote:
>
>  Using the latest 2.6.18 pnfs client, I'm hitting an Oops when executing
> basic test #1 of  connectathon -- in particular, when it's trying to remove
> a test directory.
>
> The key is that I'm running 4.1 in a non-pnfs environment, i.e., no data
> servers.  The Oops occurs near the beginning of pnfs_return_layout (as a
> sidenote, should this be getting called if there's no layout?) at:
>
>        arg.layout_type = server->pnfs_curr_ld->id;
>
> It's a null dereference as pnfs_curr_ld is 0.
>
> Prior to recent updates, it didn't get that far due to this check right
> before:
>
>         if (nfsi->current_layout == NULL)
>                 return 0;
>
> I'll submit a patch to restore the check unless there's some objection (I
> verified that cthon basic/general/special pass with it).
>
> Mike
>
>
>
> _______________________________________________
> 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/20070906/7d596ac4/attachment.htm 


More information about the pNFS mailing list