Messages in this thread | | | Date | Mon, 28 Mar 2011 16:16:22 +0100 | From | Alan Cox <> | Subject | Re: [RESEND] [PATCH] Softdog enhancement to optionally invoke panic instead of reboot on timer expiry |
| |
On Mon, 28 Mar 2011 20:35:02 +0530 Anithra P Janakiraman <anithra@linux.vnet.ibm.com> wrote:
> Hi, > > The patch is needed for determining the reason for failure when a > softdog timeout occurs. We use softdog to watch for critical > application failures and at the minimum a snapshot of the system would > help to determine the cause. In such a scenario the application could > fail but there isn't a softlockup as such, hence the detect softlockup > feature does not help. The patch below adds a module parameter > soft_panic which when set to 1 causes softdog to invoke panic instead > of reboot when the softdog timer expires. By invoking panic we execute > kdump if it is configured and the vmcore generated by kdump should > provide atleast a minimal idea of the reason for failure.
Looks sensible to me.
Acked-by: Alan Cox <alan@linux.intel.com>
Alan
| |