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
Unknown Object (File)
Mar 7 2024, 3:22 PM
Unknown Object (File)
Mar 1 2024, 7:00 PM
Unknown Object (File)
Feb 1 2024, 4:20 AM
Unknown Object (File)
Jan 15 2024, 8:47 PM
Unknown Object (File)
Dec 23 2023, 12:14 AM
Unknown Object (File)
Nov 11 2023, 11:13 AM
Unknown Object (File)
Nov 9 2023, 9:24 PM
Unknown Object (File)
Oct 19 2023, 6:09 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43161
Build 40049: arc lint + arc unit