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)
Thu, Jan 30, 12:49 AM
Unknown Object (File)
Fri, Jan 24, 5:37 PM
Unknown Object (File)
Sat, Jan 18, 9:18 PM
Unknown Object (File)
Dec 7 2024, 11:15 PM
Unknown Object (File)
Dec 3 2024, 4:34 AM
Unknown Object (File)
Nov 28 2024, 9:25 PM
Unknown Object (File)
Nov 23 2024, 11:00 AM
Unknown Object (File)
Nov 22 2024, 10:03 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