Whamcloud - gitweb
LU-6142 ptlrpc: remove srv_threads from struct ptlrpc_service 81/35881/3
authorMr NeilBrown <neilb@suse.com>
Thu, 22 Aug 2019 05:22:20 +0000 (15:22 +1000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:01:43 +0000 (23:01 +0000)
The threads are not stored here - nothing is.
Threads are stored in svcpt->scp_threads.
So remove the field and update the comment.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: I46875f77bb017bec47f901eca8dc946f11488cbe
Reviewed-on: https://review.whamcloud.com/35881
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
lustre/include/lustre_net.h

index ddf7191..68f6c8e 100644 (file)
@@ -1499,7 +1499,7 @@ enum {
  */
 struct ptlrpc_thread {
        /**
  */
 struct ptlrpc_thread {
        /**
-        * List of active threads in svc->srv_threads
+        * List of active threads in svcpt->scp_threads
         */
        struct list_head t_link;
        /**
         */
        struct list_head t_link;
        /**
@@ -1669,8 +1669,6 @@ struct ptlrpc_service {
         char                           *srv_name;
         /** only statically allocated strings here; we don't clean them */
         char                           *srv_thread_name;
         char                           *srv_name;
         /** only statically allocated strings here; we don't clean them */
         char                           *srv_thread_name;
-        /** service thread list */
-       struct list_head                srv_threads;
        /** threads # should be created for each partition on initializing */
        int                             srv_nthrs_cpt_init;
        /** limit of threads number for each partition */
        /** threads # should be created for each partition on initializing */
        int                             srv_nthrs_cpt_init;
        /** limit of threads number for each partition */