[Bug 217267] mkdir and rename triggering a deadlock in ZFS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 21 10:19:46 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217267
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 at FreeBSD.org
Reporter: xavi.garcia at 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+0x3a
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+0xfb
12472 101019 mv - mi_switch+0xe1 sleepq_wait+0x3a
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
12486 102454 mkdir - mi_switch+0xe1 sleepq_wait+0x3a
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
This server has several jails running Poudriere inside and delegated volume
(jailed=on) 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 involved
together with the normal filesystem activity when packages are being compiled.
We had to reboot the server to recover from the deadlock.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list