diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-07-07 15:04:50 -0700 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-07-08 11:12:48 +0200 |
| commit | 16f4be93c65ab3fc9c4c831849722581f8f3ca14 (patch) | |
| tree | 2fbb353685c044fe68c52d6dccc9c9f0d81c6a01 /tools/perf/scripts/python/bin | |
| parent | 03e1dd35c206f24b6bc987198ac58e5138176cb7 (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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
