From owner-cvs-src@FreeBSD.ORG Mon Jan 22 12:17:21 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6EAF16A404; Mon, 22 Jan 2007 12:17:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id A1A5B13C47E; Mon, 22 Jan 2007 12:17:19 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id A3A411FFDD8; Mon, 22 Jan 2007 12:55:11 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 486441FFDE6; Mon, 22 Jan 2007 12:55:06 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id A91ED444B76; Mon, 22 Jan 2007 11:53:50 +0000 (UTC) Date: Mon, 22 Jan 2007 11:53:50 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Konstantin Belousov In-Reply-To: <200701221125.l0MBPMS4041567@repoman.freebsd.org> Message-ID: <20070122115230.J82671@maildrop.int.zabbadoz.net> References: <200701221125.l0MBPMS4041567@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/deadfs dead_vnops.c src/sys/kern vfs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 12:17:22 -0000 On Mon, 22 Jan 2007, Konstantin Belousov wrote: > kib 2007-01-22 11:25:22 UTC > > FreeBSD src repository > > Modified files: > sys/fs/deadfs dead_vnops.c > sys/kern vfs_lookup.c > Log: > Below is slightly edited description of the LOR by Tor Egge: > > -------------------------- > [Deadlock] is caused by a lock order reversal in vfs_lookup(), where > [some] process is trying to lock a directory vnode, that is the parent > directory of covered vnode) while holding an exclusive vnode lock on > covering vnode. > .... > To fix the LOR, ups@ noted that when crossing the mount point, ni_dvp > is actually not used by the callers of namei. Thus, placeholder deadfs > vnode vp_crossmp is introduced that is filled into ni_dvp. which of the LOR #s on "The LOR page" can be marked "patched" with this commit? http://sources.zabbadoz.net/freebsd/lor.html -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT