summaryrefslogtreecommitdiff
path: root/include/linux/bnge/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJoanne Koong <joannelkoong@gmail.com>2026-07-07 15:04:50 -0700
committerChristian Brauner <brauner@kernel.org>2026-07-31 12:28:47 +0200
commit881a27082e4d7faf21ad6960a3c6a0b6c5abc78d (patch)
tree1ddd46139ee876ce93edee45e83d51efe2b8052b /include/linux/bnge/git@git.tavy.me:linux.git
parent456b873e63c7c0b298e04d85a79f5b1673b6f1ad (diff)
fuse: use iomap helper to mark folio uptodate
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 <djwong@kernel.org> Signed-off-by: Joanne Koong <joannelkoong@gmail.com> Link: https://patch.msgid.link/20260707220450.1200943-4-joannelkoong@gmail.com Acked-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions