linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Joanne Koong <joannelkoong@gmail.com>
Cc: linux-fsdevel@vger.kernel.org, hch@infradead.org,
	djwong@kernel.org, anuj1072538@gmail.com, miklos@szeredi.hu,
	brauner@kernel.org, linux-xfs@vger.kernel.org,
	kernel-team@meta.com
Subject: Re: [PATCH v2 10/16] iomap: replace ->map_blocks() with generic ->writeback_folio() for writeback
Date: Mon, 16 Jun 2025 05:54:20 -0700	[thread overview]
Message-ID: <aFAT_M0mpR8IQBgE@infradead.org> (raw)
In-Reply-To: <20250613214642.2903225-11-joannelkoong@gmail.com>

On Fri, Jun 13, 2025 at 02:46:35PM -0700, Joanne Koong wrote:
> As part of the larger effort to have iomap buffered io code support
> generic io, replace map_blocks() with writeback_folio() and move the
> bio writeback code into a helper function, iomap_bio_writeback_folio(),
> that callers using bios can directly invoke.

Hmm, what I had in mind with my suggestion was to only have a single
callback, where the guts of the current code are just called by the
block based file systems.

I ended up implementing this this morning to see if it's feasible,
and it works fine so far.  Let me send out what I've got.


  reply	other threads:[~2025-06-16 12:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 21:46 [PATCH v2 00/16] fuse: use iomap for buffered writes + writeback Joanne Koong
2025-06-13 21:46 ` [PATCH v2 01/16] iomap: move buffered io CONFIG_BLOCK dependent logic into separate file Joanne Koong
2025-06-13 21:46 ` [PATCH v2 02/16] iomap: iomap_read_folio_sync() -> iomap_bio_read_folio_sync() Joanne Koong
2025-06-13 21:46 ` [PATCH v2 03/16] iomap: iomap_add_to_ioend() -> iomap_bio_add_to_ioend() Joanne Koong
2025-06-13 21:46 ` [PATCH v2 04/16] iomap: add wrapper function iomap_bio_readpage() Joanne Koong
2025-06-16 12:49   ` Christoph Hellwig
2025-06-16 19:18     ` Joanne Koong
2025-06-17  4:38       ` Christoph Hellwig
2025-06-17 17:20         ` Joanne Koong
2025-06-18  4:45           ` Christoph Hellwig
2025-06-18 19:17             ` Joanne Koong
2025-06-23  7:42               ` Christoph Hellwig
2025-06-23 20:53                 ` Joanne Koong
2025-06-13 21:46 ` [PATCH v2 05/16] iomap: add wrapper function iomap_bio_ioend_error() Joanne Koong
2025-06-13 21:46 ` [PATCH v2 06/16] iomap: add wrapper function iomap_submit_bio() Joanne Koong
2025-06-13 21:46 ` [PATCH v2 07/16] iomap: decouple buffered-io.o from CONFIG_BLOCK Joanne Koong
2025-06-13 21:46 ` [PATCH v2 08/16] iomap: add read_folio_sync() handler for buffered writes Joanne Koong
2025-06-13 21:46 ` [PATCH v2 09/16] iomap: change 'count' to 'async_writeback' Joanne Koong
2025-06-16 12:52   ` Christoph Hellwig
2025-06-16 18:49     ` Joanne Koong
2025-06-13 21:46 ` [PATCH v2 10/16] iomap: replace ->map_blocks() with generic ->writeback_folio() for writeback Joanne Koong
2025-06-16 12:54   ` Christoph Hellwig [this message]
2025-06-13 21:46 ` [PATCH v2 11/16] iomap: replace ->submit_ioend() with generic ->writeback_complete() " Joanne Koong
2025-06-13 21:46 ` [PATCH v2 12/16] iomap: support more customized writeback handling Joanne Koong
2025-06-13 21:46 ` [PATCH v2 13/16] iomap: add iomap_writeback_dirty_folio() Joanne Koong
2025-06-13 21:46 ` [PATCH v2 14/16] fuse: use iomap for buffered writes Joanne Koong
2025-06-13 21:46 ` [PATCH v2 15/16] fuse: use iomap for writeback Joanne Koong
2025-06-13 21:46 ` [PATCH v2 16/16] fuse: use iomap for folio laundering Joanne Koong

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=aFAT_M0mpR8IQBgE@infradead.org \
    --to=hch@infradead.org \
    --cc=anuj1072538@gmail.com \
    --cc=brauner@kernel.org \
    --cc=djwong@kernel.org \
    --cc=joannelkoong@gmail.com \
    --cc=kernel-team@meta.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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;
as well as URLs for NNTP newsgroup(s).