All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] iomap/fuse: add helper to keep uptodate bitmap in sync
@ 2026-07-07 22:04 Joanne Koong
  2026-07-07 22:04 ` [PATCH v3 1/3] fuse: don't clear folio uptodate on writethrough errors Joanne Koong
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joanne Koong @ 2026-07-07 22:04 UTC (permalink / raw)
  To: brauner; +Cc: djwong, hch, miklos, willy, linux-fsdevel, fuse-devel

Filesystems that use iomap normally mark folios uptodate through the iomap
read/write paths, which keep iomap's internal uptodate bitmap in sync.
However, some filesystems need to write data directly into the page cache
outside of those paths (eg fuse, which may need to write server-pushed data
straight into the page cache for servicing notify stores). These filesystems
need a way to mark a folio uptodate that also updates the iomap bitmap so
they're kept in sync.

This series adds iomap_folio_mark_uptodate() for filesystems to do that and
updates the relevant fuse call paths to use this. This is needed before fuse
can enable large folios.

Patch 1 ("fuse: don't clear folio uptodate on writethrough errors") was
originally submitted to the fuse tree [1] but patch 3 ("fuse: use iomap helper
to mark folio uptodate") has a dependency on it, so to make cross-coordination
between trees easier, patch 1 is now part of this series and submitted to the
vfs tree. This series is based on top of the vfs-7.3.iomap branch (head commit
e1b77fb85836e ("Merge patch series "iomap: add simple dio path...")).

Thanks,
Joanne

[1] https://lore.kernel.org/fuse-devel/20260624205201.842714-1-joannelkoong@gmail.com/

Changelog
---------
v2: https://lore.kernel.org/linux-fsdevel/20260624212925.1668662-1-joannelkoong@gmail.com/
* add Reviewed-by tags and rebase onto the vfs-7.3.iomap branch 
* include patch 1 from [1], to ensure ordering between patches for bisectability

v1: https://lore.kernel.org/linux-fsdevel/20260623202843.2064992-1-joannelkoong@gmail.com/
v1 -> v2:
* drop helper for clearing uptodate state, as per Matthew and Christoph's
  comments

Joanne Koong (3):
  fuse: don't clear folio uptodate on writethrough errors
  iomap: add helper to mark folio uptodate
  fuse: use iomap helper to mark folio uptodate

 fs/fuse/file.c         | 20 ++------------------
 fs/fuse/notify.c       |  4 +++-
 fs/iomap/buffered-io.c |  6 ++++++
 include/linux/iomap.h  |  1 +
 4 files changed, 12 insertions(+), 19 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-07-08 18:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 22:04 [PATCH v3 0/3] iomap/fuse: add helper to keep uptodate bitmap in sync Joanne Koong
2026-07-07 22:04 ` [PATCH v3 1/3] fuse: don't clear folio uptodate on writethrough errors Joanne Koong
2026-07-08  7:49   ` Christoph Hellwig
2026-07-08  9:15   ` Miklos Szeredi
2026-07-07 22:04 ` [PATCH v3 2/3] iomap: add helper to mark folio uptodate Joanne Koong
2026-07-08  9:17   ` Miklos Szeredi
2026-07-08 18:29     ` Joanne Koong
2026-07-07 22:04 ` [PATCH v3 3/3] fuse: use iomap " Joanne Koong
2026-07-08  7:50   ` Christoph Hellwig
2026-07-08  9:18   ` Miklos Szeredi

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.