From owner-freebsd-fs@freebsd.org Wed Dec 16 14:13:41 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ED78A488C2 for ; Wed, 16 Dec 2015 14:13:41 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 507E0122B for ; Wed, 16 Dec 2015 14:13:41 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: by mail-qg0-x231.google.com with SMTP id 103so34514191qgi.3 for ; Wed, 16 Dec 2015 06:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kraus-haus-org.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=yRU/+ZorCc9ecwsS3Eoxnxx8s78yeJkz7jkjPijiyEM=; b=mE048lz75bqaEZgZzPaEVoqZjTnzhgHPwxfn+UG9RSl9HjZf/SIzUppgUPSzTwK2cZ tqC4U5E9Xk6YYy1RZfLEqebKHag0bkt9ECbCeocCcM50ad4Z/4Vh2ELFX2ieXYzMy3Tw n86PuAQPaPudGvrXpJayqyeiuDzQuoZylKX2yzK0M2jl5imzmhZUivB4xnFqHrnioVxn xInCBGxL97kRyGI9zQQcKDtJqwziKKEuqo3oPmeBXOFESDMdCQM5Le8P2UzNpQCzyhB7 SdRdGK2gyyoGIJpxKsNyX1/JwctxJeS4yp6/XMkBoa8N7fpre5fQKKhUKuFrxOliLE05 hB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=yRU/+ZorCc9ecwsS3Eoxnxx8s78yeJkz7jkjPijiyEM=; b=AvA5sS4n0sHqFFdyfUfPSzhSk7xNOp2MdHeF82YABQfckuQIhtnOrx8Hn61vMCb0UT 3ZA4/HRUVxiwCTm5IkebuiUsnbZnoMBy56UaNzH7A7gXR6Xh/NfbXbrWvWqtTTDBe58n T/dUODaz7v2Z3ERsM7yPOuaTY5HQjN6eI31mu9fOmJM92Mss0HwuEpldv5M/ko5lfsz1 jqu475EY+9PmzNqCx6ZVyDF0MOAtKBRH+YA0q3+0j1FZPjIKfmfsbutBs05ox7c/iS05 BX4JDzePrx9n3BzBEMSpvyuqT0yqh/a3OF0Kwabry6XlBPejU5vA05ujgARWl49pq4HG +P+g== X-Gm-Message-State: ALoCoQkIBp2iVypkaWdPoxSgQIuu8HfiwHQeB0vl19q+umNHfwl9Vr9UuvgixFm9O5DZDP6zt2k/hgHUvpCsRP1yl6O8p8FUeQ== X-Received: by 10.140.160.69 with SMTP id g66mr49620084qhg.86.1450275220196; Wed, 16 Dec 2015 06:13:40 -0800 (PST) Received: from mbp-1.thecreativeadvantage.com (mail.thecreativeadvantage.com. [96.236.20.34]) by smtp.gmail.com with ESMTPSA id q14sm2662160qkh.4.2015.12.16.06.13.38 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Dec 2015 06:13:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ZFS hang in zfs_freebsd_rename From: Paul Kraus In-Reply-To: <56714344.1070908@FreeBSD.org> Date: Wed, 16 Dec 2015 09:13:36 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <567022FB.1010508@multiplay.co.uk> <56714344.1070908@FreeBSD.org> To: freebsd-fs@FreeBSD.org X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 14:13:41 -0000 On Dec 16, 2015, at 5:56, Andriy Gapon wrote: > On 15/12/2015 16:52, Bengt Ahlgren wrote: >> So this is likely fixed then in 10.x? >=20 > No and neither in head / current. We haven't had any fixes in = ZFS<->VFS code > for quite a long while. > And this is a FreeBSD-specific problem. zfs_rename() does not behave = as > VOP_RENAME should do with respect to the vnode locking. I assume that a zpool export followed by an import using the UUID and = giving the pool a different name is a suitable workaround ? This also = assumes downtime. -- Paul Kraus paul@kraus-haus.org