HomeFreeBSD

Avoid completing I/O when dumping core after a panic.

Description

Avoid completing I/O when dumping core after a panic.

Filesystem or pager completion callbacks are generally non-functional
after a panic and may trigger deadlocks if invoked in this context
(e.g., by attempting to destroying a buffer mapping). To avoid this
situation, short-circuit I/O completion in biodone().

Reviewed by: imp
Discussed with: mav
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D15592

Details

Provenance
markjAuthored on
Reviewer
imp
Differential Revision
D15592: Avoid completing non-dump I/O requests after a panic.
Parents
rS334505: Don't export _end on arm64 and riscv.
Branches
Unknown
Tags
Unknown