diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-05-05 21:07:33 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-05-08 14:01:42 -0500 |
commit | 860f01e96981a68553f3ca49f574ff14fe955e72 (patch) | |
tree | b25c9368ca24695bbcd8e4ccaf8d4fcff3e969de /block/blk-settings.c | |
parent | cf9806f32ef63b745f2486e0dbb2ac21f4ca44f0 (diff) |
ipmi/watchdog: fix watchdog timeout set on reboot
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>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions