From 6d1062cdffcaefda0e8e469d69259c83bcaf835f Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Thu, 22 Aug 2019 15:22:20 +1000 Subject: [PATCH] LU-6142 ptlrpc: remove srv_threads from struct ptlrpc_service 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 Change-Id: I46875f77bb017bec47f901eca8dc946f11488cbe Reviewed-on: https://review.whamcloud.com/35881 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Arshad Hussain Reviewed-by: Shaun Tancheff --- lustre/include/lustre_net.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index ddf7191..68f6c8e 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -1499,7 +1499,7 @@ enum { */ struct ptlrpc_thread { /** - * List of active threads in svc->srv_threads + * List of active threads in svcpt->scp_threads */ 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; - /** 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 */ -- 1.8.3.1