]> git.ipfire.org Git - thirdparty/linux.git/commit
fuse: use iomap for read_folio
authorJoanne Koong <joannelkoong@gmail.com>
Fri, 26 Sep 2025 00:26:07 +0000 (17:26 -0700)
committerChristian Brauner <brauner@kernel.org>
Wed, 5 Nov 2025 11:57:23 +0000 (12:57 +0100)
commit03e9618e82402e2aa9cc747793343768ced61a55
treeec95c71449ff04572c4915ffaaa0769fa7845420
parentd4e88bb08e5f7e6eb4e9c3685894b9b57bfdfb08
fuse: use iomap for read_folio

Read folio data into the page cache using iomap. This gives us granular
uptodate tracking for large folios, which optimizes how much data needs
to be read in. If some portions of the folio are already uptodate (eg
through a prior write), we only need to read in the non-uptodate
portions.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fuse/file.c