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
Unknown Object (File)
Tue, May 21, 3:33 AM
Unknown Object (File)
Dec 22 2023, 2:18 AM
Unknown Object (File)
Dec 20 2023, 5:59 AM
Unknown Object (File)
Aug 13 2023, 6:10 AM
Unknown Object (File)
Aug 5 2023, 2:16 AM
Unknown Object (File)
Aug 5 2023, 2:15 AM
Unknown Object (File)
Aug 5 2023, 1:39 AM
Unknown Object (File)
Aug 2 2023, 10:06 AM
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