From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 17:19:18 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A5D1065672 for ; Mon, 14 Jun 2010 17:19:18 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id CEDE58FC1A for ; Mon, 14 Jun 2010 17:19:17 +0000 (UTC) Received: by muon.cran.org.uk (Postfix, from userid 1002) id 513855D17; Mon, 14 Jun 2010 17:00:00 +0000 (UTC) Date: Mon, 14 Jun 2010 17:00:00 +0000 From: Bruce Cran To: freebsd-current@freebsd.org Message-ID: <20100614170000.GA41366@muon.cran.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: bzeeb+freebsd+lor@zabbadoz.net Subject: ZFS LORs: syncer vs. zfs and devfs vs. zfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 17:19:18 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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? -- Bruce --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename=lor lock order reversal: 1st 0xffffff000a846458 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1201 2nd 0xffffff000a846638 devfs (devfs) @ /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) @ /usr/src/sys/kern/vfs_subr.c:1713 2nd 0xffffff0127b389f8 zfs (zfs) @ /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 --- --ew6BAiZeqk4r7MaW--