Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4e31588 authored by Doug Oucharek's avatar Doug Oucharek Committed by Greg Kroah-Hartman
Browse files

staging: lustre: 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: default avatarDoug Oucharek <doug.s.oucharek@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7362
Reviewed-on: http://review.whamcloud.com/17003


Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarChris Horn <hornc@cray.com>
Reviewed-by: default avatarMatt Ezell <ezellma@ornl.gov>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9f25919
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1228,8 +1228,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;
@@ -1287,8 +1285,6 @@ lnet_router_checker(void *arg)
							 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;