When a device is hot unplugged (surprise removal) we can wind up in the recovery
path. When we detect the device is gone in the recovery path, short-circuit the
rest of recovery and fail the controller.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 36882 Build 33771: arc lint + arc unit
Event Timeline
Comment Actions
From past experience, I've noticed that HGST/WDC drives set CFS on power loss before being NVME_GONE. In this case, would the state machine recover as it doesn't check NVME_GONE again?
Comment Actions
We check in other places in the driver and should recover.
I've not, however, tested that since I have no real means to do so short of turning off a PHY on a carrier card we us which isn't quite the same thing.