Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796089596; b=LNhlS2qbiZUsUyeAM0VzGPLPieGkmN78qfYx4yC7nFl2VkOpkxEIlEIZSALCIVsd8BJ7 SRAPHnBRuqyvvitnTOj2puMGMKREFwLdhVRYnNtjkrfzRo4iHQjtm6p2KRste1irWSYRA RQeGGcirm6Rgy7+zHYFU4R06oggK0Wr+RzrYZguU/vRdvIQinMK4JNxOK7yhOSPvSRpEQ snjqiR9957HKfxc1Okc5iZDCm2h15fmX40tMvHr1FFHd5Y3nZqHyGKhPk7OUNEuMY2mVe QOEYWulJEjp6GD09I0hPJbV25179aqTqr1hdpmghAGwImlLX0QISfrqmG1VwVwp8KyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796089596; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=/bmUNcAugLfoyBt54B5rCsw8fcDLckLYBeRq3B+rJfs=; b=VE267WYZaH+F0tCcZOvEAxyNl+lGGb7vASzMwDTHeyTb5p55G6BN1CioE01nKT/IAK81 mKHgN4swUs0yZ6wbqANpj8WQn3lKlcFI7bgmIlHgQkmE6OIC4a8xAEktQ2lipawUd93Cg 4yviNkYhYZoIxWJRZRGucvydBFkaItK1MqemT6fZKZtwp6zJL2HBsaq8ETpH/CEGOhE/3 G3EWJeXtHrMa0AwUR01NGN8zglfVXVETtxGOQQ/+y3BZ9nFreNp2nKvsq/zsqlu7TdEhl B5aO4fLXy2h0z65zVYQr8la7wuFiVi8Pz1wxp0DEu3lqaQl3NyoN/RwU3GpK2c8iwwg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IBd1Czhn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B975606A31A for ; Tue, 1 Dec 2026 01:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IBd1Czhn Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EA691F000C1; Tue, 1 Dec 2026 01:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796089596; bh=/bmUNcAugLfoyBt54B5rCsw8fcDLckLYBeRq3B+rJfs=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=IBd1CzhnUoxXvsVosd2iaMKyj1KvqjdWdmJl2aqw60Too1xfN1HSuhw0dwBIj3yXP WxTvy+0i0TukYWwFE4zRUzC9MrENQDbqKCtQ8DSUXmVWWclotuJu/hPSl5lb5MtEh/ Zd0BnQT8kcI1wZRs4XDzdwRxIg0OnD8CRvc9R1YBWyPtn6x811iOkglNY2sgVo6+3W pCqcTe28peOBGggUXwUQt0hF+uHOfxbKBXWur4f9WEuUr2ccYSk7g3j6zrJGQvCk+N G+Lc7Y8iPYcyS2TLPAncpUvfMlmCxg6xEKorawLrUz9DjZagOjhdglzakfEDUN3DYO 4pYA95eibZA6A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] gfs2: fix withdraw after SDF_JOURNAL_LIVE clearing Reply-To: sashiko-reviews@lists.linux.dev To: "Andreas Gruenbacher" , gfs2@lists.linux.dev In-Reply-To: <20261201012531.1996842-1-agruenba@redhat.com> References: <20261201012531.1996842-1-agruenba@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 01:46:35 +0000 X-Mailing-List: gfs2@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] gfs2: missing Fixes trailer for commit 83348905e413 in do_withdraw() -- commit e8478a0e2bf9bcae7296c6bc3fd323129678af6e Author: Andreas Gruenbacher > gfs2: fix withdraw after SDF_JOURNAL_LIVE clearing > > Right now, we can end up with the following sequence of events: the log > is non-empty when __gfs2_log_flush() clears the SDF_JOURNAL_LIVE flag, > the filesystem is withdrawn, do_withdraw() doesn't wait for the log to > clear because it sees that the SDF_JOURNAL_LIVE flag isn't set, the > filesystem is unmounted, gfs2_put_super() doesn't wait for the log to > clear because it sees that the filesystem is already marked read-only, > and it destroys the filesystem caches while objects in those caches are > still active. > > Fix that by waiting for the log to clear even when the SDF_JOURNAL_LIVE > flag is no longer set in do_withdraw(). > > Signed-off-by: Andreas Gruenbacher [Severity: Low] Since this fixes the early return on !test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags) in do_withdraw(), should it include: Fixes: 83348905e413 ("gfs2: Clean up SDF_JOURNAL_LIVE flag handling") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201012531.1996= 842-1-agruenba@redhat.com?part=3D1