Re: [PATCH v3 3/3] fuse: use iomap helper to mark folio uptodate
Miklos Szeredi <[email protected]> Wed, 8 Jul 2026 11:18:03 +0200
| Newsgroups | dev.linux.lists.fuse-devel,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <CAJfpegvk16zMX3sYgNK4Um18dhd=W7TLoCOnCsEePe2pD06pqw@mail.gmail.com> |
On Wed, 8 Jul 2026 at 00:05, Joanne Koong <[email protected]> wrote: > > When fuse enables large folios, a large folio will be backed by > iomap_folio_state that keeps track of uptodate and dirty state in an > internal bitmap. > > Fuse writethrough and notify store paths currently set folio uptodate > state with folio_mark_uptodate(), which touches only the folio-level > flag, but on an iomap-backed folio, that leaves the uptodate bitmap out > of sync. > > Use the iomap_folio_mark_uptodate() helper to update both the folio > uptodate state and the iomap uptodate bitmap. > > Reviewed-by: Darrick J. Wong <[email protected]> > Signed-off-by: Joanne Koong <[email protected]> Acked-by: Miklos Szeredi <[email protected]>