diff options
author | Kurt Garloff <[email protected]> | 2009-06-24 14:32:11 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-25 22:06:11 +0200 |
commit | 5211a242d0cbdded372aee59da18f80552b0a80a (patch) | |
tree | 5d2a853e538b8478648a57efe94ef049e76e13e6 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 9c26f52b900f7207135bafc8789e1a4f5d43e096 (diff) |
x86: Add sysctl to allow panic on IOCK NMI error
This patch introduces a new sysctl:
/proc/sys/kernel/panic_on_io_nmi
which defaults to 0 (off).
When enabled, the kernel panics when the kernel receives an NMI
caused by an IO error.
The IO error triggered NMI indicates a serious system
condition, which could result in IO data corruption. Rather
than contiuing, panicing and dumping might be a better choice,
so one can figure out what's causing the IO error.
This could be especially important to companies running IO
intensive applications where corruption must be avoided, e.g. a
bank's databases.
[ SuSE has been shipping it for a while, it was done at the
request of a large database vendor, for their users. ]
Signed-off-by: Kurt Garloff <[email protected]>
Signed-off-by: Roberto Angelino <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions