From 581d1afd00fe7d82d3a2be5497f0fcf4fde24a4a Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 21 Apr 2022 21:05:13 -0600 Subject: [PATCH] LU-14627 utils: quiet spurious lustre_rmmod message Quiet unnecessary "LNET ready to unload" message from lustre_rmmod. Lustre-change: https://review.whamcloud.com/47116 Lustre-commit: TBD (from ee7aba2beabbf983ccffe8e4881e792943a15b09) Fixes: 32304d863ae98 ("LU-14627 tests: Create unload_modules_local") Test-Parameters: trivial Signed-off-by: Andreas Dilger Change-Id: I02efa36bbc1a3f4ab63767176ef53956dcafa589 Reviewed-on: https://review.whamcloud.com/47116 Tested-by: jenkins Reviewed-by: Cyril Bordage Tested-by: Maloo Reviewed-by: Chris Horn Reviewed-by: Oleg Drokin --- lustre/scripts/lustre_rmmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/scripts/lustre_rmmod b/lustre/scripts/lustre_rmmod index b31c34e..d8be9d3 100755 --- a/lustre/scripts/lustre_rmmod +++ b/lustre/scripts/lustre_rmmod @@ -125,7 +125,7 @@ if $unload_all; then if [ -n "$(which lnetctl 2>/dev/null)" ]; then lnetctl lnet unconfigure 2>/dev/null elif [ -n "$(which lctl 2>/dev/null)" ]; then - lctl net down 2>/dev/null + lctl net down 2>/dev/null | grep -v "LNET ready to unload" fi fi -- 1.8.3.1