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)
Fri, Aug 14, 6:11 PM
Unknown Object (File)
Fri, Aug 14, 6:11 PM
Unknown Object (File)
Fri, Aug 14, 6:11 PM
Unknown Object (File)
Wed, Aug 12, 7:56 PM
Unknown Object (File)
Wed, Aug 12, 7:56 PM
Unknown Object (File)
Wed, Aug 12, 7:55 PM
Unknown Object (File)
Tue, Aug 11, 9:27 AM
Unknown Object (File)
Sun, Aug 9, 12:52 PM
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...