Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iomap: add helper to keep uptodate bitmap in sync
@ 2026-06-24 21:29 Joanne Koong
  2026-06-24 21:29 ` [PATCH v2 1/2] iomap: add helper to mark folio uptodate Joanne Koong
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joanne Koong @ 2026-06-24 21:29 UTC (permalink / raw)
  To: brauner; +Cc: willy, hch, djwong, miklos, linux-fsdevel, fuse-devel

This series is on top of the main linux tree [1] because it depends on some
fuse changes in Miklos's tree that were merged into 7.2 but not yet pulled
into Christian's vfs tree.

The first patch in this series adds a helper to iomap that also updates the
uptodate bitmap whenever a folio needs to be marked uptodate.

This is so that external callers who need to mark a folio as uptodate from a
non-iomap path can do so and keep the bitmap in sync.

The second patch adds the fuse caller side of it. fuse uses this helper in the
notify store path for storing server-pushed data into the page cache pages and
in the writethrough path when a full folio is copied to the page cache. This
series is needed before fuse can start using large folios [2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/
[2] https://lore.kernel.org/fuse-devel/20260624012132.1719941-1-joannelkoong@gmail.com/

Changelog
---------
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 (2):
  iomap: add helper to mark folio uptodate
  fuse: use iomap helper to mark folio uptodate

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

-- 
2.52.0


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

end of thread, other threads:[~2026-06-25 21:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 21:29 [PATCH v2 0/2] iomap: add helper to keep uptodate bitmap in sync Joanne Koong
2026-06-24 21:29 ` [PATCH v2 1/2] iomap: add helper to mark folio uptodate Joanne Koong
2026-06-25 11:50   ` Christoph Hellwig
2026-06-25 18:55     ` Darrick J. Wong
2026-06-24 21:29 ` [PATCH v2 2/2] fuse: use iomap " Joanne Koong
2026-06-24 22:18   ` Darrick J. Wong
2026-06-25  0:35     ` Joanne Koong
2026-06-25 18:57       ` Darrick J. Wong
2026-06-25  7:46 ` [PATCH v2 0/2] iomap: add helper to keep uptodate bitmap in sync Christian Brauner
2026-06-25 21:54   ` Joanne Koong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox