Page MenuHomeFreeBSD

Avoid completing non-dump I/O requests after a panic.
AbandonedPublic

Authored by markj on May 27 2018, 9:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 8:56 PM
Unknown Object (File)
Mon, Sep 21, 11:33 PM
Unknown Object (File)
Sat, Sep 19, 3:00 PM
Unknown Object (File)
Sun, Sep 13, 3:16 PM
Unknown Object (File)
Aug 26 2026, 4:28 PM
Unknown Object (File)
Aug 24 2026, 4:12 AM
Unknown Object (File)
Aug 22 2026, 1:55 PM
Unknown Object (File)
Aug 21 2026, 3:03 PM
Subscribers
None

Details

Reviewers
None
Summary

Currently we might call into filesystem or pager code when completing a
non-dump CCB, which typically results in assertion failures or
deadlocks when dumping. D4647 attempted to handle this with a dedicated
CAM doneq, but as was pointed out in the review, that solution may cause
us to fail to unfreeze the device after an error. Try to handle the
problem a different way: filter non-dump CCBs in xpt_done_process(), and
attempt to unfreeze the devq after an error if we're running after a
panic. Stash non-dump CCBs on a list so that they can be inspected
during a debugging session.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16870
Build 16747: arc lint + arc unit