[Devel] [PATCH RHEL7 COMMIT] fence-watchdog: don't log state of mind

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jul 22 04:36:29 PDT 2016


The commit is pushed to "branch-rh7-3.10.0-327.18.2.vz7.15.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.18.2.vz7.15.1
------>
commit e0359a93fa02396f8dafab836f518d1f1fbb27fc
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Fri Jul 22 14:54:37 2016 +0400

    fence-watchdog: don't log state of mind
    
    Fense watchdog tries to be polite and write a message before fencing a node,
    so later logs might sched some light what happened to the node.
    
    In order to print a message we burst spinlocks.
    Unfortunately some video card drivers seems to have issues
    when calling unblank_screen() from interrupt handlers and lead to crash.
    
    => let's temporary remove the message printing.
    
    https://jira.sw.ru/browse/PSBM-49998
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 kernel/fence-watchdog.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/kernel/fence-watchdog.c b/kernel/fence-watchdog.c
index 95c6aeb..622cd53 100644
--- a/kernel/fence-watchdog.c
+++ b/kernel/fence-watchdog.c
@@ -55,13 +55,6 @@ void fence_wdog_do_fence(void)
 {
 	char *killer = NULL;
 
-	if (fence_wdog_action != FENCE_WDOG_POWEROFF) {
-		bust_spinlocks(1);
-		printk(KERN_EMERG"fence-watchdog: %s\n",
-			action_names[fence_wdog_action]);
-		bust_spinlocks(0);
-	}
-
 	switch (fence_wdog_action) {
 	case FENCE_WDOG_CRASH:
 		panic_on_oops = 1;


More information about the Devel mailing list