aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2015-06-08 15:06:51 -0400
committerJ. Bruce Fields <bfields@redhat.com>2015-08-10 16:05:42 -0400
commitb9e13cdfac70e38ade17b53810a36968c5842339 (patch)
treeec666a325348130a4d1118d2d58373af21881532 /include/linux/sunrpc/svc.h
parent758f62fff9ad630f05866a1dd6ae9453a7730c2e (diff)
nfsd/sunrpc: turn enqueueing a svc_xprt into a svc_serv operation
For now, all services use svc_xprt_do_enqueue, but once we add workqueue-based service support, we'll need to do something different. Signed-off-by: Shirley Ma <shirley.ma@oracle.com> Acked-by: Jeff Layton <jlayton@primarydata.com> Tested-by: Shirley Ma <shirley.ma@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svc.h')
-rw-r--r--include/linux/sunrpc/svc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 0150003d584b..97609d0f68f6 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -58,6 +58,9 @@ struct svc_serv_ops {
58 /* function for service threads to run */ 58 /* function for service threads to run */
59 int (*svo_function)(void *); 59 int (*svo_function)(void *);
60 60
61 /* queue up a transport for servicing */
62 void (*svo_enqueue_xprt)(struct svc_xprt *);
63
61 /* optional module to count when adding threads (pooled svcs only) */ 64 /* optional module to count when adding threads (pooled svcs only) */
62 struct module *svo_module; 65 struct module *svo_module;
63}; 66};