diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-07-07 15:04:49 -0700 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-31 12:28:46 +0200 |
| commit | 456b873e63c7c0b298e04d85a79f5b1673b6f1ad (patch) | |
| tree | cbc01a85ddb41d03c8a53b5d26c5132cdd116406 /fs/fuse | |
| parent | 1a061c5542533515886d5bb5ee0f1676e83048ba (diff) | |
| download | linux-next-456b873e63c7c0b298e04d85a79f5b1673b6f1ad.tar.gz linux-next-456b873e63c7c0b298e04d85a79f5b1673b6f1ad.zip | |
iomap: add helper to mark folio uptodate
Add an exported helper iomap_folio_mark_uptodate() to mark a folio as
uptodate and update its uptodate bitmap if the folio has iomap state
data attached.
This is needed because there are some filesystems (eg fuse) that have
paths outside of conventional iomap calls that need to mark a folio as
uptodate (eg writing server-pushed data directly into the page cache)
and need the iomap-internal uptodate bitmap to be in sync with the
uptodate state of the folio.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://patch.msgid.link/20260707220450.1200943-3-joannelkoong@gmail.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions
