From df6cf859bbb29392064e6ddb701f3357e01b3a13 Mon Sep 17 00:00:00 2001 From: Doug Oucharek Date: Fri, 30 Oct 2015 14:40:59 -0700 Subject: [PATCH] LU-7362 lnet: Remove LASSERTS from router checker In lnet_router_checker(), there are two LASSERTS. Neither protects us from anything and one of them triggered for a customer crashing the system unecessarily. This patch removes them. Signed-off-by: Doug Oucharek Change-Id: If2732632e47103fb8fa63a263c4c5ef4a44142a3 Reviewed-on: http://review.whamcloud.com/17003 Tested-by: Jenkins Reviewed-by: James Simmons Reviewed-by: Chris Horn Reviewed-by: Matt Ezell Tested-by: Maloo Reviewed-by: Oleg Drokin --- lnet/lnet/router.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lnet/lnet/router.c b/lnet/lnet/router.c index 9c945e9..072adcc 100644 --- a/lnet/lnet/router.c +++ b/lnet/lnet/router.c @@ -1234,8 +1234,6 @@ lnet_router_checker(void *arg) cfs_block_allsigs(); - LASSERT (the_lnet.ln_rc_state == LNET_RC_STATE_RUNNING); - while (the_lnet.ln_rc_state == LNET_RC_STATE_RUNNING) { __u64 version; int cpt; @@ -1289,8 +1287,6 @@ rescan: cfs_time_seconds(1)); } - LASSERT(the_lnet.ln_rc_state == LNET_RC_STATE_STOPPING); - lnet_prune_rc_data(1); /* wait for UNLINK */ the_lnet.ln_rc_state = LNET_RC_STATE_SHUTDOWN; -- 1.8.3.1