Re: ZFS LORs: syncer vs. zfs and devfs vs. zfs

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Mon, 14 Jun 2010 21:50:32 +0300
On Mon, Jun 14, 2010 at 05:00:00PM +0000, Bruce Cran wrote:
> I got the attached ZFS LORs when building ports on a new install of 
> 9.0-CURRENT-20100610-JPSNAP. I know there have been some ZFS checkins in the 
> last few days so I don't know if they've already been fixed?
The LORs are not specific to ZFS, are caused by VFS layer,
and I my recollection is that they are false positives.

> 
> -- 
> Bruce
> 
> 

> lock order reversal:
>  1st 0xffffff000a846458 zfs (zfs) _at_ /usr/src/sys/kern/vfs_mount.c:1201
>  2nd 0xffffff000a846638 devfs (devfs) _at_ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1250
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> _witness_debugger() at _witness_debugger+0x2e
> witness_checkorder() at witness_checkorder+0x81e
> __lockmgr_args() at __lockmgr_args+0xd11
> vop_stdlock() at vop_stdlock+0x39
> VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
> _vn_lock() at _vn_lock+0x47
> ffs_flushfiles() at ffs_flushfiles+0xb5
> ffs_unmount() at ffs_unmount+0x70
> dounmount() at dounmount+0x2e6
> unmount() at unmount+0x27e
> syscallenter() at syscallenter+0xf0
> syscall() at syscall+0x4c
> Xfast_syscall() at Xfast_syscall+0xe1
> --- syscall (22, FreeBSD ELF64, unmount), rip = 0x8006a23ec, rsp = 0x7fffffffe3c8, rbp = 0x800c09bb0 ---
> 
> lock order reversal:
>  1st 0xffffff000a857bd8 syncer (syncer) _at_ /usr/src/sys/kern/vfs_subr.c:1713
>  2nd 0xffffff0127b389f8 zfs (zfs) _at_ /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:152
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> _witness_debugger() at _witness_debugger+0x2e
> witness_checkorder() at witness_checkorder+0x81e
> __lockmgr_args() at __lockmgr_args+0xd11
> vop_stdlock() at vop_stdlock+0x39
> VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
> _vn_lock() at _vn_lock+0x47
> zfs_znode_cache_constructor() at zfs_znode_cache_constructor+0x57
> zfs_znode_alloc() at zfs_znode_alloc+0x39
> zfs_zget() at zfs_zget+0x2a7
> zfs_get_data() at zfs_get_data+0x4d
> zil_commit() at zil_commit+0x532
> zfs_sync() at zfs_sync+0xa6
> sync_fsync() at sync_fsync+0x13a
> sync_vnode() at sync_vnode+0x157
> sched_sync() at sched_sync+0x1d1
> fork_exit() at fork_exit+0x12a
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip = 0, rsp = 0xffffff8323b0ad30, rbp = 0 ---

> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Received on Mon Jun 14 2010 - 16:50:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC