Disable spl_debug_panic_on_bug by default.
While I may prefer to have the system panic on an SBUG and to get crash dump for analysis. I suspect most peoples systems are not configured from crash dump and the best thing to so is to simply halt the thread and print an error to the console. This way they have a good chance of actually saving the stack trace and debug log.
This commit is contained in:
parent
e0dcb22e4e
commit
3626ae6a70
|
@ -71,7 +71,7 @@ EXPORT_SYMBOL(spl_debug_binary);
|
|||
unsigned int spl_debug_catastrophe;
|
||||
EXPORT_SYMBOL(spl_debug_catastrophe);
|
||||
|
||||
unsigned int spl_debug_panic_on_bug = 1;
|
||||
unsigned int spl_debug_panic_on_bug = 0;
|
||||
EXPORT_SYMBOL(spl_debug_panic_on_bug);
|
||||
module_param(spl_debug_panic_on_bug, int, 0644);
|
||||
MODULE_PARM_DESC(spl_debug_panic_on_bug, "Panic on BUG");
|
||||
|
|
Loading…
Reference in New Issue