From nobody Thu Dec 29 21:26:47 2022 X-Original-To: fs@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 4NjhKh3FWVz1HyTY for ; Thu, 29 Dec 2022 21:26:48 +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 4NjhKg5zpnz3qK7 for ; Thu, 29 Dec 2022 21:26:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672349207; 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=giXrNxxrsi+PA9AezTn/L2rBj4tgSgGLqj19yzlM0ls=; b=wXnJ3RAvZQZARCDK5JL5yDG6AsSG5a9gphFrt8SCMbWRKC8un6I6Pt/dFQNrFBUpru6AB7 r4WqbJnqFLQMlKqE38ckEVxnLD8av5/jq6Pzo9O5lM8QS6EM6vZv21+RZu2GRmiDKZTFXo Us1w7VwKUtoqwNbESWN3xoKiNh5C+0VyLvtfEB+wIdHb3sGWJz5bMqHATG9ixlcscZ4cUd e6kwKsl/PUFA2sIoOETAM+htW7f0lbNSivElbFHl4U46nV2NTVzre5TM6mdPlM1DS8D1Y1 +t1tSx/jABME2riGd8I6X6gtwTat0lFk8PdtU5nWsqFpNX2eQevSV2/085eCgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672349207; a=rsa-sha256; cv=none; b=l4tGjug+sVrZk2LpVVqeyJqcwqCrs9nsYyxcBW5SHCVnsS0qETOnGlc5tFV0hHtN4LZS3o E/rWiAN+lBtuQ8SdvqTQuK6J278WcbWsFrWe9J7/EvHCZZzQUEyg+oDvYmJbx4ktFJDdjm zZwm8rzEKAadw29i0b3ie7/a0++kZ0Uu7r8rLJIUUnmaREnRnnpOOH0DKL2Pe0MbXcL4kr 1xo/1XV92/uFmvbP2pYmDf7hTl6CjNWtqpqMLdcFSQO1irEqnymfoI0CVhCoVc2uMh5aRk bp0XAn2vZdLiKj8NEJD9G2iXpMD1Hkr3HA13Xp7ZEo/uvDwtPqHdd9BYq3nLow== 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 4NjhKg52rtzk2x for ; Thu, 29 Dec 2022 21:26:47 +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 2BTLQlHB050997 for ; Thu, 29 Dec 2022 21:26:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BTLQlHT050996 for fs@FreeBSD.org; Thu, 29 Dec 2022 21:26:47 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: fs@FreeBSD.org Subject: [Bug 106107] UFS: fsck_ffs: left-over fsck_snapshot after unfinished background fsck if filesystem clean Date: Thu, 29 Dec 2022 21:26:47 +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: 6.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mckusick@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D106107 Kirk McKusick changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --- Comment #7 from Kirk McKusick --- This problem was fixed not long after this bug report was filed (though I w= as unaware of the bug report until now so did not close it). The fix is to open the snapshot and then unlink it immediately after it is created. Since the snapshot will have no references it will be removed when fsck closes the fi= le and/or exits. If the system crashes prior to fsck exiting then the next run= of fsck will find the unreferenced snapshot and remove it. --=20 You are receiving this mail because: You are the assignee for the bug.=