fuse: prep patches before enabling large folios
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | virtio_fs: zero the correct range on a short read replyfs/ | +4 | 0 replies | |
| 2/3 | fuse: drop rather than zero the copied range in copy_file_range()fs/ | +11 | 0 replies | |
| 3/3 | fuse: replace folio_test_highmem() with folio_test_partial_kmap()fs/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/3] fuse: prep patches before enabling large folios
These are the remaining places where fuse assumes a folio is a single page, or that a page aligned range is also folio aligned. None of them changes behavior today, so there are no Fixes tags. Each becomes reachable the moment fuse enables large folios.
Patch 1 is the virtio-fs counterpart to "fuse: zero the correct range on a short read reply" [1]. That one is a fix because /dev/fuse serves fuseblk mounts, where the block size can already be smaller than the folio. virtio-fs is never block backed, so its block size is guaranteed to be PAGE_SIZE until large folios are enabled on fuse.
This series is on top of "fuse: don't drop destination page cache on a zero byte copy reply" [2]. Patch 2 touches the same hunk and relies on the bytes_copied guard from it.
Thanks,
Joanne
[1] https://lore.kernel.org/fuse-devel/[email protected]/
[2] https://lore.kernel.org/fuse-devel/[email protected]/
Joanne Koong (3):
virtio_fs: zero the correct range on a short read reply
fuse: drop rather than zero the copied range in copy_file_range()
fuse: replace folio_test_highmem() with folio_test_partial_kmap()
fs/fuse/dev.c | 3 ++- fs/fuse/file.c | 21 +++++++++++---------- fs/fuse/virtio_fs.c | 6 ++++-- 3 files changed, 17 insertions(+), 13 deletions(-)
Signature · 1 line
2.52.0