[Bug 222007] Deadlock at shutdown time between zfs and usb when using usb stick as cache device

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 2 20:54:58 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222007

            Bug ID: 222007
           Summary: Deadlock at shutdown time between zfs and usb when
                    using usb stick as cache device
           Product: Base System
           Version: 10.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bsdpr at phoe.frmug.org

Situation: system is booting from a zfs pool configured with two usb sticks as
L2 cache devices.

Observation: at shutdown time, after hard-disks are stoped and uptime duration
is printed, usual usb shutdown messages are not printed and the system never
powers itself off. When the same sticks are pluged in the same host but are not
part of the root pool, the system goes to power off as usual.

I suppose there is a deadlock between zfs and usb: zfs keeps references to
those two devices and usb waits for the devices to be liberated before winding
down.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list