diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2025-07-15 13:21:21 -0700 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-17 09:55:19 +0200 |
commit | 707c5d3471e32ecfdcfa5ebe4e8023f886d4b1fd (patch) | |
tree | 0aef2140090c129702ce5c1d41e5428ff981a3bc /lib/crypto/mpi/mpiutil.c | |
parent | 1097a87dcb7447e319f143c3cb1518a177e6896f (diff) |
fuse: hook into iomap for invalidating and checking partial uptodateness
Hook into iomap_invalidate_folio() so that if the entire folio is being
invalidated during truncation, the dirty state is cleared and the folio
doesn't get written back. As well the folio's corresponding ifs struct
will get freed.
Hook into iomap_is_partially_uptodate() since iomap tracks uptodateness
granularly when it does buffered writes.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://lore.kernel.org/20250715202122.2282532-5-joannelkoong@gmail.com
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions