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
F166302536: D33280.id99636.diff
Wed, Aug 12, 6:43 PM
F166302520: D33280.id99502.diff
Wed, Aug 12, 6:42 PM
F166302519: D33280.id.diff
Wed, Aug 12, 6:42 PM
F166302466: D33280.diff
Wed, Aug 12, 6:42 PM
Unknown Object (File)
Thu, Aug 6, 9:50 AM
Unknown Object (File)
Sat, Aug 1, 11:53 PM
Unknown Object (File)
Sat, Aug 1, 5:13 AM
Unknown Object (File)
Sat, Jul 25, 4:23 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