Page MenuHomeFreeBSD

Mitigate the as-yet-unknown race in device departure.
AbandonedPublic

Authored by imp on Jan 18 2018, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 11:53 PM
Unknown Object (File)
Thu, Nov 20, 11:50 PM
Unknown Object (File)
Thu, Nov 20, 11:44 PM
Unknown Object (File)
Wed, Nov 12, 2:03 PM
Unknown Object (File)
Thu, Nov 6, 11:28 PM
Unknown Object (File)
Oct 24 2025, 9:10 PM
Unknown Object (File)
Oct 23 2025, 7:55 PM
Unknown Object (File)
Oct 15 2025, 4:30 AM
Subscribers
None

Details

Reviewers
scottl
rpokala
markj
Group Reviewers
cam
Summary

When devices are invalidated, there's some cases where ccbs for that
device still wind up in xpt_done after the path has been
invalidated. Since we don't always need sim or devq, add some guard
rails to only fail if we have to use them.

Sponsored by: Netflix

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14467
Build 14612: arc lint + arc unit

Event Timeline

sys/cam/cam_xpt.c
5448

This is actually a non-user request, so this likely won't work so well...