From: Andreas Dilger Date: Fri, 22 Apr 2022 03:05:13 +0000 (-0600) Subject: LU-14627 utils: quiet spurious lustre_rmmod message X-Git-Tag: 2.15.51~237 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F47116%2F3;p=fs%2Flustre-release.git 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 --- 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