[lustre-devel] [PATCH 458/622] lustre: lustre: remove imp_no_timeout field

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


From: Mr NeilBrown <neilb at suse.com>

This field is never set and never used.  Remove it.

WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: b9dd17681bfa ("LU-6142 lustre: remove imp_no_timeout field")
Signed-off-by: Mr NeilBrown <neilb at suse.com>
Reviewed-on: https://review.whamcloud.com/35877
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Arshad Hussain <arshad.super at gmail.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
 fs/lustre/include/lustre_import.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/lustre/include/lustre_import.h b/fs/lustre/include/lustre_import.h
index ff171d1..c2f98e6 100644
--- a/fs/lustre/include/lustre_import.h
+++ b/fs/lustre/include/lustre_import.h
@@ -273,8 +273,7 @@ struct obd_import {
 	spinlock_t			imp_lock;
 
 	/* flags */
-	unsigned long			imp_no_timeout:1, /* timeouts are disabled */
-					imp_invalid:1,    /* evicted */
+	unsigned long			imp_invalid:1,    /* evicted */
 					/* administratively disabled */
 					imp_deactive:1,
 					/* try to recover the import */
-- 
1.8.3.1



More information about the lustre-devel mailing list