[pnfs] [PATCH 02/23] 2.6-latest pnfs client nfs4_async_handle_error for data server
William A. (Andy) Adamson
andros at citi.umich.edu
Thu Dec 27 16:13:27 EST 2007
On 12/23/07, Benny Halevy <bhalevy at panasas.com> wrote:
>
> On Dec. 13, 2007, 22:51 +0200, andros at umich.edu wrote:
> <snip>
>
> > @@ -3495,12 +3493,20 @@ nfs4_async_handle_error(struct rpc_task *task,
> const struct nfs_server *server)
> > case -NFS4ERR_RETRY_UNCACHED_REP:
> > case -NFS4ERR_TOO_MANY_OPS:
> > case -NFS4ERR_OP_NOT_IN_SESSION:
> > + {
> > + struct nfs4_session *session = server->session;
> > +
> > +#ifdef CONFIG_PNFS
> > + if (clp->cl_ds_session)
> > + session = clp->cl_ds_session;
> > +#endif /* CONFIG_PNFS */
> > //ret = nfs41_recover_session_async(task, server);
> > //if (ret)
> > // return ret;
> > nfs41_set_session_expired(server->session);
> ^^^^^^^^^^^^^^^
> isn't that supposed to be "session" now?
>
> > task->tk_status = 0;
> > return -EAGAIN;
> > + }
> > #endif
> > case -NFS4ERR_DELAY:
> > nfs_inc_server_stats((struct nfs_server *) server,
>
> Also, Andy, I'm going to split this hunk into a pnfs only patch since the
> rest
> is going as a nfs41 (sessions) patch.
ok.
_______________________________________________
> 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/20071227/3073f4b2/attachment.html
More information about the pNFS
mailing list