From nobody Mon Sep 11 06:52:31 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rkcpl4Jcwz4t3gG for ; Mon, 11 Sep 2023 06:52:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rkcpl24pcz4P5v for ; Mon, 11 Sep 2023 06:52:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694415151; a=rsa-sha256; cv=none; b=QvkjOLApSJLPHE4vwfj45L7uKhsyMbVFK9SizWQd2OyARVGnkyyIMPak0t3THPDe5bbZoV mnteTfQdjxhwkrEC/tK0e/TRsm4WrF3e4QGdhNKfinzKUmTtNYSpAJf9ReYabGxWeJ1ID4 owhwjNocFbZXsVNu42qPrNPbyUkdP6YNkrKHpNIhfSYcrIVtR/RBenqMcXhrtxPRVvSjly 59U68HbCIIQnq5CwiZ/VTSuYm84zq1E+nQFSoJcFgfqLmywDP1gIDBfwi+WQjCTYoSEO3Y 2V1iCak2SsY+HYmnFDqRRACIL5Wj7UeB0Xf6WY6CGdFd5skKFjfXp2TUbMJPwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694415151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ax+BjYTai3wXYstrUYo8W0zMW7vSrs0SGCR9m7AxB/4=; b=TkyZzR+qsIcdesgzWtUjUQ8jNEZPBYtq8jodWrnKuUnCAdIMREe/z4FDXMTdmrexgKIuIa xSnF26QR17eGAyhOJinGsgfUWBvloHOPJhyhcWstWDfT5/AAxD3IR1qc8roz46yqEYB01B QOkIbCehPdxssANCR1s5M/wc9XeCBB73iL6d9p+B1QwbKqjbpyHTjvCYtsg/A95imJFZS1 vkVCAAoS14S94pIMdGLOCHLc8dDflMQN0joB3o6GQckLI4Lh7lxNbHGfKnSPnF/Rsy3LbK KjyJQmVw1nx+x+d9RhIkjqaWB2dUkwmVlTryFPB7LW50steUX++v+Hw4HgjDFA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rkcpl18dlzg4w for ; Mon, 11 Sep 2023 06:52:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38B6qVAh091573 for ; Mon, 11 Sep 2023 06:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38B6qVa5091572 for bugs@FreeBSD.org; Mon, 11 Sep 2023 06:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 201735] zpool export fails after process accesses .zfs/snapshot directory Date: Mon, 11 Sep 2023 06:52:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201735 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Many People |Affects Some People Assignee|bugs@FreeBSD.org |fs@FreeBSD.org Status|New |Open --- Comment #1 from Graham Perrin --- Not reproducible for me with OpenZFS in CURRENT.=20 Below:=20 * a first attempt to export was made very soon after changing directory * the second attempt, a few seconds later, succeeded. root@mowa219-gjp4-8570p-freebsd:~ # mount | grep Transcend Transcend on /media/t1000 (zfs, local, nfsv4acls) Transcend/VirtualBox on /media/t1000/VirtualBox (zfs, local, nfsv4acls) root@mowa219-gjp4-8570p-freebsd:~ # cd /media/t1000/.zfs/snapshot root@mowa219-gjp4-8570p-freebsd:/media/t1000/.zfs/snapshot # cd root@mowa219-gjp4-8570p-freebsd:~ # time zpool export Transcend cannot unmount '/media/t1000/VirtualBox': pool or dataset is busy 0.006u 0.006s 0:00.02 0.0% 0+0k 3+0io 3pf+0w root@mowa219-gjp4-8570p-freebsd:~ # date ; time ; zpool export Transcend Mon Sep 11 07:49:41 BST 2023 0.394u 1.228s 17:29:44.80 0.0% 389+199k 1304+0io 953pf+0w root@mowa219-gjp4-8570p-freebsd:~ #=20 ---- % zfs version zfs-2.2.99-FreeBSD_g804414aad zfs-kmod-2.2.99-FreeBSD_g804414aad % zpool version zfs-2.2.99-FreeBSD_g804414aad zfs-kmod-2.2.99-FreeBSD_g804414aad % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #11 main-n265135-07bc20e4740d-dirty: Sat Sep 2 19:40:08 BST 2023= =20=20=20=20 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GE= NERIC-NODEBUG amd64 1500000 1500000 % --=20 You are receiving this mail because: You are the assignee for the bug.=