From 66f44e77af1a302caf7cb3fc50bc263b4210a8ea Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Mon, 20 Nov 2017 18:27:38 +0900 Subject: [PATCH] mcstop+release.sh: Allow ihkmond to flush kmsg buffer --- arch/x86_64/tools/mcstop+release-smp-x86.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86_64/tools/mcstop+release-smp-x86.sh.in b/arch/x86_64/tools/mcstop+release-smp-x86.sh.in index 6df5ad16..09fd55c9 100644 --- a/arch/x86_64/tools/mcstop+release-smp-x86.sh.in +++ b/arch/x86_64/tools/mcstop+release-smp-x86.sh.in @@ -48,6 +48,9 @@ if ls /dev/mcos* 1>/dev/null 2>&1; then done fi +# Allow ihkmond to flush kmsg buffer +sleep 2.0 + # Query IHK-SMP resources and release them if ! ${SBINDIR}/ihkconfig 0 query cpu > /dev/null; then echo "error: querying cpus" >&2