From: Chao Yu <chao@kernel.org>
To: Christoph Hellwig <hch@lst.de>, Jaegeuk Kim <jaegeuk@kernel.org>
Cc: chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: cleanup AOP_WRITEPAGE_ACTIVATE use in f2fs
Date: Wed, 7 May 2025 15:38:20 +0800 [thread overview]
Message-ID: <43d55ab4-c490-4f3d-8331-dc47f427d06d@kernel.org> (raw)
In-Reply-To: <20250505092613.3451524-1-hch@lst.de>
On 5/5/25 17:25, Christoph Hellwig wrote:
> Hi all,
>
> this almost entirely cleans up usage of AOP_WRITEPAGE_ACTIVATE in f2fs.
>
> f2fs_sync_node_pages can still return it in a way that is not handled
> by any caller and eventually is propagated to userspace. This does look
> like a bug and needs attention by someone who actually knows the code.
Oh, I guess this is a bug, thanks for catching this.
Anyway, let me fix this based on your patchset.
Thanks,
>
> Diffstat:
> checkpoint.c | 22 +++++++++++-----------
> compress.c | 5 +----
> data.c | 13 ++++---------
> node.c | 43 ++++++++++++++++++++-----------------------
> 4 files changed, 36 insertions(+), 47 deletions(-)
next prev parent reply other threads:[~2025-05-07 7:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-05 9:25 cleanup AOP_WRITEPAGE_ACTIVATE use in f2fs Christoph Hellwig
2025-05-05 9:25 ` [PATCH 1/4] f2fs: return bool from __f2fs_write_meta_folio Christoph Hellwig
2025-05-07 6:22 ` Chao Yu
2025-05-08 16:30 ` [f2fs-dev] " patchwork-bot+f2fs
2025-05-05 9:25 ` [PATCH 2/4] f2fs: don't return AOP_WRITEPAGE_ACTIVATE from f2fs_write_single_data_page Christoph Hellwig
2025-05-07 6:28 ` Chao Yu
2025-05-07 6:44 ` Christoph Hellwig
2025-05-07 7:09 ` Chao Yu
2025-05-05 9:26 ` [PATCH 3/4] f2fs: simplify return value handling in f2fs_fsync_node_pages Christoph Hellwig
2025-05-07 7:19 ` Chao Yu
2025-05-05 9:26 ` [PATCH 4/4] f2f2: return bool from __write_node_folio Christoph Hellwig
2025-05-07 7:29 ` Chao Yu
2025-05-07 7:38 ` Chao Yu [this message]
2025-05-07 7:48 ` cleanup AOP_WRITEPAGE_ACTIVATE use in f2fs Christoph Hellwig
2025-05-07 8:13 ` Chao Yu
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=43d55ab4-c490-4f3d-8331-dc47f427d06d@kernel.org \
--to=chao@kernel.org \
--cc=hch@lst.de \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox