lkml.org 
[lkml]   [2011]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-03-28 17:19    [W:0.038 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site