Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 10:19:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217267] mkdir and rename triggering a deadlock in ZFS
Message-ID:  <bug-217267-8@https.bugs.freebsd.org/bugzilla/>

Next in thread | Raw E-Mail | Index | Archive | Help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217267

            Bug ID: 217267
           Summary: mkdir and rename triggering a deadlock in ZFS
           Product: Base System
           Version: 10.3-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: xavi.garcia@gmail.com

Similarly to #209158 mkdir and rename triggered a deadlock in ZFS.

procstat -kka | grep zfs

12471 101243 mv               -                mi_switch+0xe1 sleepq_wait+0=
x3a
sleeplk+0x15d __lockmgr_args+0xca0 vop_stdlock+0x3c VOP_LOCK1_APV+0xab
_vn_lock+0x43 vputx+0x21f zfs_rename_unlock+0x3e zfs_freebsd_rename+0xe39
VOP_RENAME_APV+0xab kern_renameat+0x4a6 amd64_syscall+0x40f Xfast_syscall+0=
xfb=20
12472 101019 mv               -                mi_switch+0xe1 sleepq_wait+0=
x3a
sleeplk+0x15d __lockmgr_args+0x91a vop_stdlock+0x3c VOP_LOCK1_APV+0xab
_vn_lock+0x43 zfs_lookup+0x45d zfs_freebsd_lookup+0x6d
VOP_CACHEDLOOKUP_APV+0xa1 vfs_cache_lookup+0xd6 VOP_LOOKUP_APV+0xa1
lookup+0x5a1 namei+0x4d4 kern_statat_vnhook+0xae sys_stat+0x2d
amd64_syscall+0x40f Xfast_syscall+0xfb=20
12486 102454 mkdir            -                mi_switch+0xe1 sleepq_wait+0=
x3a
sleeplk+0x15d __lockmgr_args+0x91a vop_stdlock+0x3c VOP_LOCK1_APV+0xab
_vn_lock+0x43 zfs_lookup+0x45d zfs_freebsd_lookup+0x6d
VOP_CACHEDLOOKUP_APV+0xa1 vfs_cache_lookup+0xd6 VOP_LOOKUP_APV+0xa1
lookup+0x5a1 namei+0x4d4 kern_mkdirat+0xcb amd64_syscall+0x40f
Xfast_syscall+0xfb=20



This server has several jails running Poudriere inside and delegated volume
(jailed=3Don) for the data. These jails are used by our developers to build=
 and
test our software stack and there is a lot of snapshotting and cloning invo=
lved
together with the normal filesystem activity when packages are being compil=
ed.

We had to reboot the server to recover from the deadlock.

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?bug-217267-8>