Page MenuHomeFreeBSD

Don't hang on crashes with dumps to ada devices.
ClosedPublic

Authored by imp on Jan 10 2018, 11:05 PM.
Tags
None
Referenced Files
F103225186: D13845.diff
Fri, Nov 22, 10:03 AM
Unknown Object (File)
Tue, Nov 19, 7:52 PM
Unknown Object (File)
Tue, Nov 19, 2:08 AM
Unknown Object (File)
Mon, Nov 18, 8:07 PM
Unknown Object (File)
Mon, Nov 18, 7:21 PM
Unknown Object (File)
Mon, Nov 18, 4:56 PM
Unknown Object (File)
Sep 18 2024, 4:44 AM
Unknown Object (File)
Sep 8 2024, 9:14 PM
Subscribers

Details

Reviewers
markj
scottl
cem
Summary

When we crash, we'll stop the scheduler before we call the
shutdown_post_sync event. For adashutdown, this causes problems
because we need to poll for completion of the commands, but we're not
yet officially dumping yet, so the code from r326964 assumed we could
use the interrupt-driven commands rather than the polled ones. This
lead to a hang. Prevent this by also checking to see if the scheduler
is stopped to do the polling.

Reported by: markj@
Sponsored by: Netflix

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14277
Build 14437: arc lint + arc unit