Page MenuHomeFreeBSD

mpr: Fix deadlock when handling panic
AcceptedPublic

Authored by manu on Apr 16 2018, 2:33 PM.

Details

Reviewers
smh
slm
Summary

During shutdown mps waits for its SSU requests to complete however when
performing a reboot after handling a panic the scheduler is stopped so
getmicrotime which is used can be non-functional.

Switch to using the same method as shutdown_panic to ensure we actually
complete.

In addition reduce the timeout when RB_NOSYNC is set in howto as we expect
this to fail.

This is r330951 adapted for mpr(4)

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 16166
Build 16119: arc lint + arc unit

Event Timeline

manu created this revision.Apr 16 2018, 2:33 PM
smh accepted this revision.Apr 16 2018, 3:57 PM
This revision is now accepted and ready to land.Apr 16 2018, 3:57 PM