From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796340019; b=B0ik2662jX3GZJnKsBXsWLMTgtz8+PbfTdJlVNSb/KviZbE7dQK5Gp84t/Rqkr5oiX/M Omrq0s64ly+oPqwenHwVnq0d8DBhhO6qztNNnHBl03cnUBdJsjQPjIOe2i1YTQxrSOPUs ilJWeAAjW4zdl3AUwzQUMY3VPiiOJilQwOvGX+QEURePMJiKO6BsLOtpQ/5THlMv3AAoz IuP6obi6l1v5U+oUJzRtRC6mYGETONgDKeE7Q+3UyzvpH3fjYPRBGbmp/fIhulRr/UHei 1q10rvPn+6EuJzNnBVRAnIbqaQtF2sZAZDtNRhY/j/h94R19yrbOvObUHCUi4q4Jrvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796340019; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=vEJlyONQlHnab46VfCVj/qRYoHco2aOy8oshpEtYxRw=; b=dffb5mJh8yKSlPrnfkGdZy8P8C5F9XZVYfnPk54wr1D028Smq9W0UVUa29DxIr/+TNbZ n2H6BkymnQT5HmHuI9hLvHrXGOVgz2hg6ZF0acZtti+Bm72wCpWfS6bj9VfNT5BttD7Ae MkKvwTEV5YrGipvMobSZx93v1OWFN739K0SOAbHPYq7fwGnHY5jPZlsoOhxuLbXdizYXZ 1UEgd5ZzAn6uwQJKMjzWPvQhbajfmQWQ1APZimdi1IDrwDCoEFLEJpLCyUsFnd5JeyYdU F438IbxBnOWTZYGXTUqoJeACmDz+VzNKfjmr1dalng45GEv/qxsVVANZocqoKOzv0Vw== 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=JZezDsRe; 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 4AEBF606A33F; Thu, 3 Dec 2026 23:20:19 +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=JZezDsRe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 255E51F000C2; Thu, 3 Dec 2026 23:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340019; bh=vEJlyONQlHnab46VfCVj/qRYoHco2aOy8oshpEtYxRw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=JZezDsRe+f8bLFzBsbor4y4b9mWMNq3LNSdmMDtIBl67oVuOA2HXSRcSiLz3yI0nN UfBOB1HneABAKy4XCUp51O5X/tPgjEpZAITL5lVBQ7+BshFPx3uD6ZCYaXlzZbUIDf zVVw5pWiQbFOYC6nQS2X+VQgGHOwEL+V07kkqLCi43cVID+/08r9fWg3qa7g7u/aBE 0Ep+AeRh+VvHyn/rzIhp7XtSdY35cWlD7vW6ya0P480Vaf5fT7mqPoYo/crQiCH4rV ST3hXd1/lP9Qw0oq7z/kHpKRBz5uRfSAplNz+oX7RzBCnrN0MIIBdscXBXp/6eukk3 Ftr7tQmNwyMZQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1C9D9391B141; Thu, 3 Dec 2026 23:20:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery From: patchwork-bot+f2fs@kernel.org Message-Id: <179634001764.710291.15289984427002844285.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:17 +0000 References: <20261125073956.2927907-1-zhanxusheng1024@gmail.com> In-Reply-To: <20261125073956.2927907-1-zhanxusheng1024@gmail.com> To: Zhan Xusheng Cc: jaegeuk@kernel.org, chao@kernel.org, yangguikun19@qq.com, zhanxusheng@xiaomi.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 25 Nov 2026 15:39:56 +0800 you wrote: > From: Zhan Xusheng > > do_recover_data() asserts that the ino in the NAT entry of the node it > recovers into matches the ino in the footer of the fsynced node block. > Both are read from disk and nothing checks one against the other > before, so mounting an image with a wrong ino in that NAT entry hits > the f2fs_bug_on(): a kernel BUG with CONFIG_F2FS_CHECK_FS, and without > it a warning, after which the NAT ino is written into the footer of the > recovered node. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery https://git.kernel.org/jaegeuk/f2fs/c/0e1c368a033f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37916606A322 for ; Thu, 3 Dec 2026 23:20:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=hKa4d6oq; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=VfOJ0DuA; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=EgA0OvXV; dkim=neutral header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JZezDsRe DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:In-Reply-To:References:Date:Message-Id: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=f8q4w/eA60dzbTRNUx+zfl4uIeslCFSuVus9HwsuEaE=; b=hKa4d6oqr7aRhn bz3+i+Sh2pg4r3E2zyvvifQdxQDjNwZOFYyY5kZM35DS6H/z2XZXTqaZPiTE6D3Yd7+MGc95cdzoG nyai0FCPMlQ77wJnE1fN5PfQn3kIt0qlq+UIfWvQ5MTDefl9bONtB0vWxdhDEgu1avKRIDQiBuP2M v20=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZG6b-000000002Sy-3yL0; Thu, 03 Dec 2026 23:20:49 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZG6K-000000002QR-39AX for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vEJlyONQlHnab46VfCVj/qRYoHco2aOy8oshpEtYxRw=; b=VfOJ0DuAV63WtF3DR04TEKmQFN iTYsEfHrq70B7oHrrXtCAm4Ry5DllklEm0Vej2npM4XbH0GXOrPsLKG0MkYUptic/0L0LjZRKXEHj g61nAEoV/mEJbWXKBthFThr2fHUQB+oM9J6+GZpo56lP4y6GLWyNr9bo6Ld/mUoK+ZT4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vEJlyONQlHnab46VfCVj/qRYoHco2aOy8oshpEtYxRw=; b=EgA0OvXVgJUe2/ZQt1mjzUW/v0 djnHfDK5bfCYlt+YycgTu3i9U/I8iE9RjxhFWrJC51i/0BFPWtMK0h94BExY71rX0xOpruxtn0TGI eivY4UGeaF98qsmPRaVQxMewwrhUyBoqURnv95JPelHm5tV8H7K1FTOMvDiDjzSNsF9o=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZG6C-000000005Nw-2Oks for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:26 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 452A54414D; Thu, 3 Dec 2026 23:20:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 255E51F000C2; Thu, 3 Dec 2026 23:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340019; bh=vEJlyONQlHnab46VfCVj/qRYoHco2aOy8oshpEtYxRw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=JZezDsRe+f8bLFzBsbor4y4b9mWMNq3LNSdmMDtIBl67oVuOA2HXSRcSiLz3yI0nN UfBOB1HneABAKy4XCUp51O5X/tPgjEpZAITL5lVBQ7+BshFPx3uD6ZCYaXlzZbUIDf zVVw5pWiQbFOYC6nQS2X+VQgGHOwEL+V07kkqLCi43cVID+/08r9fWg3qa7g7u/aBE 0Ep+AeRh+VvHyn/rzIhp7XtSdY35cWlD7vW6ya0P480Vaf5fT7mqPoYo/crQiCH4rV ST3hXd1/lP9Qw0oq7z/kHpKRBz5uRfSAplNz+oX7RzBCnrN0MIIBdscXBXp/6eukk3 Ftr7tQmNwyMZQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1C9D9391B141; Thu, 3 Dec 2026 23:20:19 +0000 (UTC) X-Archived-By: MIME-Version: 1.0 Message-Id: <179634001764.710291.15289984427002844285.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:17 +0000 References: <20261125073956.2927907-1-zhanxusheng1024@gmail.com> In-Reply-To: <20261125073956.2927907-1-zhanxusheng1024@gmail.com> To: Zhan Xusheng X-Spam-Score: 0.8 (/) X-Headers-End: 1xZG6C-000000005Nw-2Oks Subject: Re: [f2fs-dev] [PATCH] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , From: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: zhanxusheng@xiaomi.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, yangguikun19@qq.com, jaegeuk@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 25 Nov 2026 15:39:56 +0800 you wrote: > From: Zhan Xusheng > > do_recover_data() asserts that the ino in the NAT entry of the node it > recovers into matches the ino in the footer of the fsynced node block. > Both are read from disk and nothing checks one against the other > before, so mounting an image with a wrong ino in that NAT entry hits > the f2fs_bug_on(): a kernel BUG with CONFIG_F2FS_CHECK_FS, and without > it a warning, after which the NAT ino is written into the footer of the > recovered node. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery https://git.kernel.org/jaegeuk/f2fs/c/0e1c368a033f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel