Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Sep 2017 20:54:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222007] Deadlock at shutdown time between zfs and usb when using usb stick as cache device
Message-ID:  <bug-222007-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: bsdpr@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222007-8>