From owner-freebsd-current@FreeBSD.ORG Mon Apr 27 02:52:32 2009 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 40840106566B for ; Mon, 27 Apr 2009 02:52:32 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id F41BC8FC0A for ; Mon, 27 Apr 2009 02:52:31 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so1328236ana.13 for ; Sun, 26 Apr 2009 19:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=RRheWQtMktypcUgnE06gDBiZM44Nssds4nIOa9zM4AE=; b=TvIWUnD6Oa5y2ktRubzMBOf5x+clXfI8PLXW4t7o4k89uNJzigcolCUeK7C6l8SnZT vT8ITXKoJBhg88kbBxqzosCv/9ye9slQu3OQFhsDIqPnjEpXkHFnwBuwGHp9paET6Qmm A86YcyMWf9nw/jQDhKa2+Wa+MDbaz6cmrGdug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PEYLq3g2vHwtot8qO42RuapUF+8e2pOCvHOhnvmMLQ0sAHBd5qZ0Zava0im3lSx8K5 LXL+3VHgKgXgZ1/JGGTY8JIiWp57TJ4e6dvSKeJU5d8wxcgaNRTG2MadHhnX6eF9THvA xB9AbpU9FqHPU3hI8zFVLIttMj6TCdFpAA5nk= MIME-Version: 1.0 Received: by 10.100.166.10 with SMTP id o10mr7746181ane.95.1240799236249; Sun, 26 Apr 2009 19:27:16 -0700 (PDT) Date: Sun, 26 Apr 2009 22:27:16 -0400 Message-ID: <8cb6106e0904261927t42b97436y3de41556ca1e83e@mail.gmail.com> From: Josh Carroll To: current-list freebsd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: zfs/syncer LOR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2009 02:52:32 -0000 All, I didn't see this LOR reported here: http://sources.zabbadoz.net/freebsd/lor.html Or with a quick perusal of the current@ archives, so apologies if it's a known one. I unfortunately don't recall what I was doing when this one popped up, but if I can reproduce it, I'll certainly post some additional info. Anyway, here it is: lock order reversal: 1st 0xffffff000b219ba8 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1193 2nd 0xffffff000ba46270 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2206 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7ca __lockmgr_args() at __lockmgr_args+0xc2b vop_stdlock() at vop_stdlock+0x39 VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b _vn_lock() at _vn_lock+0x50 vrele() at vrele+0x121 dounmount() at dounmount+0x26a unmount() at unmount+0x248 syscall() at syscall+0x1c1 Xfast_syscall() at Xfast_syscall+0xd0 --- syscall (22, FreeBSD ELF64, unmount), rip = 0x800695ecc, rsp = 0x7fffffffe298, rbp = 0x1 --- Thanks, Josh