Page MenuHomeFreeBSD

fusefs: invalidate the cache during copy_file_range
ClosedPublic

Authored by asomers on Dec 5 2021, 9:52 PM.
Tags
None
Referenced Files
F105759910: D33280.diff
Fri, Dec 20, 7:08 AM
Unknown Object (File)
Fri, Dec 6, 2:26 PM
Unknown Object (File)
Oct 24 2024, 3:07 AM
Unknown Object (File)
Oct 18 2024, 4:48 AM
Unknown Object (File)
Sep 17 2024, 8:20 AM
Unknown Object (File)
Sep 5 2024, 8:14 PM
Unknown Object (File)
Sep 4 2024, 6:47 AM
Unknown Object (File)
Jun 14 2024, 12:27 PM

Details

Summary

FUSE_COPY_FILE_RANGE instructs the server to write data to a file.
fusefs must invalidate any cached data within the written range.

Also,
fusefs: inline fuse_io_dispatch

This function was always confusing, because it created an H-shaped
callgraph: two functions called in and left via different paths based on
which which called.

MFC after: 2 weeks

PR: 260242
MFC after: 2 weeks

Test Plan

test case added

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable