From owner-freebsd-fs@FreeBSD.ORG Fri Apr 2 11:27:22 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7BC106566B for ; Fri, 2 Apr 2010 11:27:22 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 4842E8FC08 for ; Fri, 2 Apr 2010 11:27:21 +0000 (UTC) Received: by bwz28 with SMTP id 28so1489809bwz.14 for ; Fri, 02 Apr 2010 04:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=2psnmeXG43IsncOduq3ZNK2fCF4S5yhnM24xjynfeBc=; b=e62YgvID6LEPNWGpMFlRL53ZC1nZCB3SxSX6a+Hq7M3+gAZ8IzkYOZf9PeAT01p7jJ w4lkk0Ry7Ckp6uOAeklCmPmcHvo7FLDY6hlWP9T6CmUP98YL3P3qJ+IBnIcrzY1frcj/ eVwj9FaI4EtuK6PZcu6C+hj2et4gv5nu8KaAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=UEy293OzH2Qi8a3gaPlW7Cz30EXWzthIBFtpF5BeFt6MlIEe8L3RYKvraItFweAlxe WlenmtLFToyn2EdehZbe2U95ihCn1E4v9npzCWUO8+pdgwQz0OKkpaD9TSdHWLvPwHnl W9MK4UcB4LdcIaK4vZ9H328HPfD7A/RVqRJpI= Received: by 10.204.15.14 with SMTP id i14mr2892625bka.123.1270207640980; Fri, 02 Apr 2010 04:27:20 -0700 (PDT) Received: from localhost (ua1.etadirect.net [91.198.140.16]) by mx.google.com with ESMTPS id 14sm4506198bwz.2.2010.04.02.04.27.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Apr 2010 04:27:20 -0700 (PDT) From: Mikolaj Golub To: Kostik Belousov Organization: TOA Ukraine References: <86sk7e1gad.fsf@zhuzha.ua1> <20100402090401.GG2415@deviant.kiev.zoral.com.ua> Date: Fri, 02 Apr 2010 14:27:18 +0300 In-Reply-To: <20100402090401.GG2415@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Fri, 2 Apr 2010 12:04:01 +0300") Message-ID: <86wrwqnlgp.fsf@zhuzha.ua1> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org, Eugene Grosbein Subject: Re: Lock leakage on rename if vop->vop_rename is NULL (kern/107439) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 11:27:22 -0000 On Fri, 2 Apr 2010 12:04:01 +0300 Kostik Belousov wrote: KB> Please test the patch below. If it works for you, I will combine KB> deadfs_rename() and vop_norename(). Tested on today's 8.0-STABLE i386. Trying to move from/to/inside ntfs: no locking issues or problems with unmounting fs (and any other strange things) have been detected. -- Mikolaj Golub