[pnfs] [PATCH 04/10] nfs41: NFSv4.1 callback support
Benny Halevy
bhalevy at panasas.com
Thu Jan 3 08:24:48 EST 2008
> 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