diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-05-05 21:07:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-06 18:59:43 -0700 |
commit | d933777b1b1b15c61bb464f715afdc249606ac00 (patch) | |
tree | f9cd5d7fe547072bbb4c712a498203a1cedfb4ed /fs/coda/cache.c | |
parent | 196553666dced915c535ee6fb6cacd98ad80cdff (diff) | |
download | linux-stable-d933777b1b1b15c61bb464f715afdc249606ac00.tar.gz linux-stable-d933777b1b1b15c61bb464f715afdc249606ac00.tar.bz2 linux-stable-d933777b1b1b15c61bb464f715afdc249606ac00.zip |
ipmi/watchdog: fix watchdog timeout set on reboot
commit 860f01e96981a68553f3ca49f574ff14fe955e72 upstream.
systemd by default starts watchdog on reboot and sets the timer to
ShutdownWatchdogSec=10min. Reboot handler in ipmi_watchdog than reduces
the timer to 120s which is not enough time to boot a Xen machine with
a lot of RAM. As a result the machine is rebooted the second time
during the long run of (XEN) Scrubbing Free RAM.....
Fix this by setting the timer to 120s only if it was previously
set to a low value.
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/coda/cache.c')
0 files changed, 0 insertions, 0 deletions