On Wed, 11 Dec 2024 at 21:58, Joanne Koong <joannelkoong@xxxxxxxxx> wrote: > > For the direct io case, the pages from userspace may be part of a huge > folio, even if all folios in the page cache for fuse are small. > > Fix the logic for calculating the offset and length of the folio for > the direct io case, which currently incorrectly assumes that all folios > encountered are one page size. > > Fixes: 3b97c3652d91 ("fuse: convert direct io to use folios") > Signed-off-by: Joanne Koong <joannelkoong@xxxxxxxxx> Applied to fuse.git#for-next. Thanks, Miklos