[pnfs] [PATCH 04/10] nfs41: NFSv4.1 callback support
Ricardo Labiaga
ricardo.labiaga at netapp.com
Thu Jan 10 18:07:35 EST 2008
Agreed.
- ricardo
On Thu, 2008-01-03 at 15:24 +0200, Benny Halevy wrote:
> > diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
> > index 8531a70..18d4f0b 100644
> > --- a/include/linux/sunrpc/svc.h
> > +++ b/include/linux/sunrpc/svc.h
> > @@ -81,6 +81,16 @@ struct svc_serv {
> > * adding threads */
> > svc_thread_fn sv_function; /* main function for threads */
> > int sv_kill_signal; /* signal to kill threads */
> > +#if defined(CONFIG_NFS_V4_1)
> > + struct list_head sv_cb_list; /* queue for callback requests
> > + * that arrive over the same
> > + * connection
> > + */
> > + spinlock_t sv_cb_lock; /* protects the svc_cb_list */
> > + wait_queue_head_t sv_cb_waitq; /* sleep here if there are no
> > + * entries in the svc_cb_list
> > + */
> > +#endif
>
> <pesty>pls add "/* CONFIG_NFS_V4_1 */" following #endif</pesty>
>
> Thanks
> - Benny
>
> > };
> >
> > /*
More information about the pNFS
mailing list