Page MenuHomeFreeBSD

Always send STANDBY IMMEDIATE when shutting down
ClosedPublic

Authored by imp on Oct 26 2017, 6:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 10:56 AM
Unknown Object (File)
Sun, Nov 23, 7:50 AM
Unknown Object (File)
Fri, Nov 21, 5:38 AM
Unknown Object (File)
Fri, Nov 21, 5:38 AM
Unknown Object (File)
Fri, Nov 21, 5:36 AM
Unknown Object (File)
Fri, Nov 21, 5:34 AM
Unknown Object (File)
Tue, Nov 18, 2:27 PM
Unknown Object (File)
Oct 29 2025, 12:52 AM
Subscribers
None

Details

Summary

To save SMART data and for a drive to understand that it's been nicely
shutdown, we need to send a STANDBY IMMEDIATE. Modify adaspindown to
use a local CCB on the stack. When we're panicing, used
xpt_polled_action rather than cam_periph_runccb so that we can SEND
IMMEDIATE after we've shutdown the scheduler.

Sponsored by: Netflix

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12246
Build 12537: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Oct 26 2017, 6:52 PM
sys/cam/ata/ata_da.c
3519

This should be adaerror()

imp marked an inline comment as done.Oct 26 2017, 7:49 PM

Will fix the cosmetics before push.

This revision was automatically updated to reflect the committed changes.