All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaegeuk Kim via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Chao Yu <chao@kernel.org>
Cc: Wentao Liang <vulab@iscas.ac.cn>,
	"linux-f2fs-devel@lists.sourceforge.net"
	<linux-f2fs-devel@lists.sourceforge.net>
Subject: Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference
Date: Thu, 3 Dec 2026 22:27:22 +0000	[thread overview]
Message-ID: <axHsyqbpbwesSbCe@google.com> (raw)
In-Reply-To: <3baba04b-5db7-4b97-8284-f6fcef69baa2@kernel.org>

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

      reply	other threads:[~2026-12-03 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axHsyqbpbwesSbCe@google.com \
    --to=linux-f2fs-devel@lists.sourceforge.net \
    --cc=chao@kernel.org \
    --cc=jaegeuk@kernel.org \
    --cc=vulab@iscas.ac.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.