Summary: | Deadlock at shutdown time between zfs and usb when using usb stick as cache device | ||
---|---|---|---|
Product: | Base System | Reporter: | Bertrand Petit <bsdpr> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | bsdpr, hselasky, usb |
Priority: | --- | ||
Version: | 10.3-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Bertrand Petit
2017-09-02 20:54:58 UTC
USB will try to detach all USB devices before shutdown. --HPS ZFS winds down via shutdown_post_sync event hook. I'm not cognizant of the zfs internals, I did a quick search of the zfs sources from which I came to the conclusion that the SPA part is managing the raw devices, am I right? Then I activated that subsystem's debug messages (vfs.zfs.debug set to 32). I expected to see messages when the devices are released but none were printed, not even for the SATA drives. Where should I search next? I'm closing this old bug report which is now useless, the reported behavior is no longer exhibited. |