* Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference [not found] <20261104030757.1537720-1-vulab@iscas.ac.cn> @ 2026-11-11 8:24 ` Chao Yu via Linux-f2fs-devel 2026-12-01 4:25 ` Chao Yu via Linux-f2fs-devel 0 siblings, 1 reply; 3+ messages in thread From: Chao Yu via Linux-f2fs-devel @ 2026-11-11 8:24 UTC (permalink / raw) To: Wentao Liang, jaegeuk; +Cc: linux-f2fs-devel@lists.sourceforge.net +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 <vulab@iscas.ac.cn> Reviewed-by: Chao Yu <chao@kernel.org> Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference 2026-11-11 8:24 ` [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference Chao Yu via Linux-f2fs-devel @ 2026-12-01 4:25 ` Chao Yu via Linux-f2fs-devel 2026-12-03 22:27 ` Jaegeuk Kim via Linux-f2fs-devel 0 siblings, 1 reply; 3+ messages in thread From: Chao Yu via Linux-f2fs-devel @ 2026-12-01 4:25 UTC (permalink / raw) To: Wentao Liang, jaegeuk; +Cc: linux-f2fs-devel@lists.sourceforge.net Jaegeuk, I think we should merge the patch from Wentao as the first one sent the patch. 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 <vulab@iscas.ac.cn> > Reviewed-by: Chao Yu <chao@kernel.org> > > Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference 2026-12-01 4:25 ` Chao Yu via Linux-f2fs-devel @ 2026-12-03 22:27 ` Jaegeuk Kim via Linux-f2fs-devel 0 siblings, 0 replies; 3+ messages in thread From: Jaegeuk Kim via Linux-f2fs-devel @ 2026-12-03 22:27 UTC (permalink / raw) To: Chao Yu; +Cc: Wentao Liang, linux-f2fs-devel@lists.sourceforge.net 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 <vulab@iscas.ac.cn> > > Reviewed-by: Chao Yu <chao@kernel.org> > > > > 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-12-03 22:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261104030757.1537720-1-vulab@iscas.ac.cn>
2026-11-11 8:24 ` [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference Chao Yu via Linux-f2fs-devel
2026-12-01 4:25 ` Chao Yu via Linux-f2fs-devel
2026-12-03 22:27 ` Jaegeuk Kim via Linux-f2fs-devel
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.