[PATCH v1 0/2] iomap: add helpers to keep uptodate bitmap in sync

Joanne Koong <[email protected]> Tue, 23 Jun 2026 13:28:40 -0700
Newsgroups dev.linux.lists.fuse-devel,org.kernel.vger.linux-fsdevel
Message-ID <[email protected]>
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 two helpers to iomap that update the
uptodate bitmap whenever a folio's uptodate status needs to be set or cleared.

This is so that external callers who need to update the uptodate folio state
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 these two helpers
in the notify store path for storing server-pushed data into the page cache
pages and in the writethrough path. This series is needed before fuse can
start using large folios.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/

Joanne Koong (2):
  iomap: add helpers to mark and clear folio uptodate state
  fuse: use iomap helpers to update folio uptodate state

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

-- 
2.52.0