On Fri, Nov 8, 2024 at 4:13 PM Joanne Koong <joannelkoong@xxxxxxxxx> wrote: > > This patchset adds support for folios larger than one page size in FUSE. > > This patchset is rebased on top of the (unmerged) patchset that removes temp > folios in writeback [1]. (There is also a version of this patchset that is > independent from that change, but that version has two additional patches > needed to account for temp folios and temp folio copying, which may require > some debate to get the API right for as these two patches add generic > (non-FUSE) helpers. For simplicity's sake for now, I sent out this patchset > version rebased on top of the patchset that removes temp pages) > > This patchset was tested by running it through fstests on passthrough_hp. Will be updating this thread with some fio benchmark results early next week. > > [1] https://lore.kernel.org/linux-fsdevel/20241107235614.3637221-1-joannelkoong@xxxxxxxxx/ > > Joanne Koong (12): > fuse: support copying large folios > fuse: support large folios for retrieves > fuse: refactor fuse_fill_write_pages() > fuse: support large folios for non-writeback writes > fuse: support large folios for folio reads > fuse: support large folios for symlinks > fuse: support large folios for stores > fuse: support large folios for queued writes > fuse: support large folios for readahead > fuse: support large folios for direct io > fuse: support large folios for writeback > fuse: enable large folios > > fs/fuse/dev.c | 131 +++++++++++++++++++++++----------------------- > fs/fuse/dir.c | 8 +-- > fs/fuse/file.c | 138 +++++++++++++++++++++++++++++++------------------ > 3 files changed, 159 insertions(+), 118 deletions(-) > > -- > 2.43.5 >