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 82682606A322 for ; Thu, 3 Dec 2026 22:27:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=N0sFv29t; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=ZCPoTKSe; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=b2WsOQUT; dkim=neutral header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GiNS9B0W 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:In-Reply-To:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=2+3HGgUdB86JIS9Hbd266q3y+uyDEzBh2/XXUr8BPZo=; b=N0sFv29tmLR+xCLEesie7kDBFZ nUidsdgLKbjV0jIexXOtfI10gJxk/+502qZx5EbQHedkkRUmovDWR9on+VwzdS+T4n2Qd+lvyHH3M Qm2GL5d6eF5BeW992fI8KHaxljwdnWNmovrJ7DY8YcwNkIJPG9rrCh9hm6U74bt2vtmo=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZFHH-000000005u8-0F1h; Thu, 03 Dec 2026 22:27:47 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZFH1-000000005tu-0qtc for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 22:27:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: 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=yrsIIClADAVtCyaVlJbdoazg+t9Omu7/y2sQfjio5gY=; b=ZCPoTKSeD/Qmpi0CFzB1zRHimH hCbIrbaZu+qQT7F7SHw7JF2iE+0bHJt6sFS1IVjAWKP1Jpw4Bo51M+7g59YVAuxEqhVF75Oed8SS1 yKaX0PsbCSrs2BJD+r156XAUgjoFlCkNLfrNnnGsz0BRt/RlwpzKLSl57EyHoX1rN54I=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=yrsIIClADAVtCyaVlJbdoazg+t9Omu7/y2sQfjio5gY=; b=b2WsOQUTw2/o4FVuJsC38nOUKQ J5PvNj6UySc1eG8h258D8g/gpq65z4YyP9HDHWeppna26nveSJ7fnx+V+aq8nZOb6CdRrL7U7jB3P G3zGkYVnjiIMKkphKlM9Ws94VpTouutuskhKZq8bYTrT3ckODqBfSk4Q8a70/1gdXKYE=; Received: from tor.source.kernel.org ([172.105.4.254]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZFH0-000000006YP-0np2 for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 22:27:31 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8210960D24; Thu, 3 Dec 2026 22:27:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19BDA1F000C2; Thu, 3 Dec 2026 22:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796336844; bh=yrsIIClADAVtCyaVlJbdoazg+t9Omu7/y2sQfjio5gY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=GiNS9B0WQuP+G+9yFgvkTjCmFrkiHVUN+g2lCC6l9XUASh7L7dQfsi+FiaJERCzB2 Lptnt0A3I3hGRT+TI+L1jx0Rf1XPXV7G5yoioRzqf7r/RREN/HdU+2ugBBH6b0RYfg HEa+ciYwquMU15QNHx4/YYgKIMqAA6Jrz+mzBHQvc3u52TjlsFQJTAUOHPMl9ZdHE5 1Pma11KWea6WV97kh/F2ORaUBkz4rQ5cPc+wfwOanIiZ8lXLrANq88EySyDbSVHKZJ 3iXjEeuyeYVKKnGMBawPwrs03iVoQsCNKll+TxJ/bv7WX24yHns7iLUxX1RyVRQ/gY 0fmxub87840TQ== Date: Thu, 3 Dec 2026 22:27:22 +0000 To: Chao Yu Message-ID: References: <20261104030757.1537720-1-vulab@iscas.ac.cn> <233616a7-798e-4229-97e4-0919cc61fc40@kernel.org> <3baba04b-5db7-4b97-8284-f6fcef69baa2@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3baba04b-5db7-4b97-8284-f6fcef69baa2@kernel.org> X-Spam-Score: -0.2 (/) X-Headers-End: 1xZFH0-000000006YP-0np2 Subject: Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference 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: Jaegeuk Kim via Linux-f2fs-devel Reply-To: Jaegeuk Kim Cc: Wentao Liang , "linux-f2fs-devel@lists.sourceforge.net" 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,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,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 On 12/01, Chao Yu via Linux-f2fs-devel wrote: > Jaegeuk, > > I think we should merge the patch from Wentao as the first one sent the patch. I don't see the original patch. Wentao, can you post the patch to the mailing list again? > > Rather than below two: > > https://lore.kernel.org/linux-f2fs-devel/20261118-f2fs-gc-v1-1-297612253f6c@gmail.com > https://lore.kernel.org/linux-f2fs-devel/20261125103502.30568-2-fourier.thomas@gmail.com > > On 11/11/26 16:24, Chao Yu wrote: > > +Cc f2fs mailing list > > > > On 11/4/26 11:07, Wentao Liang wrote: > >> gc_data_segment() calls iput() and then formats inode->i_ino into the > >> error message. If that was the last reference, the inode has been > >> evicted and the inode number is read from freed memory. > >> > >> Move the message ahead of iput() so it is emitted while the inode is > >> still pinned. > >> > >> Fixes: fc01008c92f4 ("f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC") > >> Cc: stable@vger.kernel.org > >> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex > >> Signed-off-by: Wentao Liang > > Reviewed-by: Chao Yu > > > > Thanks, > > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel