[lustre-devel] [PATCH 463/622] lustre: ptlrpc: remove scp_nthrs_stopping field.

James Simmons jsimmons at infradead.org
Thu Feb 27 13:15:31 PST 2020


From: Mr NeilBrown <neilb at suse.com>

This field is unused, so remove it.
If "shrinking threads" is ever needed, any extra fields
required can be added then.

WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: 7233248e565f ("LU-6142 ptlrpc: remove scp_nthrs_stopping field.")
Signed-off-by: Mr NeilBrown <neilb at suse.com>
Reviewed-on: https://review.whamcloud.com/35882
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Shaun Tancheff <stancheff at cray.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
 fs/lustre/include/lustre_net.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/lustre/include/lustre_net.h b/fs/lustre/include/lustre_net.h
index 68db603..aaf5cb8 100644
--- a/fs/lustre/include/lustre_net.h
+++ b/fs/lustre/include/lustre_net.h
@@ -1557,8 +1557,6 @@ struct ptlrpc_service_part {
 	int				scp_thr_nextid;
 	/** # of starting threads */
 	int				scp_nthrs_starting;
-	/** # of stopping threads, reserved for shrinking threads */
-	int				scp_nthrs_stopping;
 	/** # running threads */
 	int				scp_nthrs_running;
 	/** service threads list */
-- 
1.8.3.1



More information about the lustre-devel mailing list