[Bug 260242] [fusefs] fuse_vnop_copy_file_range does not evict cache for destination file

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Dec 2021 19:08:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260242

            Bug ID: 260242
           Summary: [fusefs] fuse_vnop_copy_file_range  does not evict
                    cache for destination file
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

FUSE_COPY_FILE_RANGE instructs the server to write to a file.  The fusefs
module ought to evict any cached data in the range that it instructs the server
to write.  Unfortunately, today I noticed by inspection that it does not.  This
leads to a risk of data corruption when using copy_file_range with a FUSE file
system that supports it (most don't).  I should have a patch soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.