HomeFreeBSD

spl: make 'spl_panic_halt' working for all cases

Description

spl: make 'spl_panic_halt' working for all cases

The default behavior where the serious ZFS errors cause FS thread to
stuck is very bad for some production scenario.

In some production scenarios (Linux), it is recommended to make real
kernel PANIC, where system can be rebooted by watchdog or kernel itself.
This patch enables coherent handling of spl_panic_halt parameter.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Authored-by: Wojciech Nizinski <w.nizinski@grinn-global.com>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12120
Closes #13109

Details

Provenance
Damian Szuberski <szuberskidamian@gmail.com>Authored on Feb 18 2022, 7:43 PM
GitHub <noreply@github.com>Committed on Feb 18 2022, 7:43 PM
Parents
rG15b982492a1f: cstyle: forbid ARGSUSED
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGa014378dd010: spl: make 'spl_panic_halt' working for all cases (authored by Damian Szuberski <szuberskidamian@gmail.com>).Feb 18 2022, 7:43 PM