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

Submitted by Konstantin Khorenko on July 22, 2016, 11:36 a.m.

Details

Message ID 201607221136.u6MBaTXl030887@finist_cl7.x64_64.work.ct
State New
Series "Revert "fs: make overlayfs disabled in CT by default""
Headers show

Commit Message

Konstantin Khorenko July 22, 2016, 11:36 a.m.
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@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@virtuozzo.com>
---
 kernel/fence-watchdog.c | 7 -------
 1 file changed, 7 deletions(-)

Patch hide | download patch | download mbox

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;