Page MenuHomeFreeBSD

fusefs: fix copy_file_range when extending a file
ClosedPublic

Authored by asomers on Nov 28 2021, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 1:59 PM
Unknown Object (File)
Feb 11 2024, 5:38 AM
Unknown Object (File)
Dec 23 2023, 2:19 AM
Unknown Object (File)
Oct 11 2023, 8:34 AM
Unknown Object (File)
Sep 22 2023, 1:59 PM
Unknown Object (File)
Jul 12 2023, 6:00 AM
Unknown Object (File)
Jul 6 2023, 2:02 PM
Unknown Object (File)
Jun 2 2023, 8:45 PM
Subscribers

Details

Summary

When copy_file_range extends a file, it must update the cached file
size.

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 43013
Build 39901: arc lint + arc unit

Event Timeline

Looks ok to me, although I really don't know the fuse code,
so I can't say if it is correct.

asomers added subscribers: rmacklem, pfg.

Thanks for your input, @rmacklem . You're probably the most knowledgeable person about VOP_COPY_FILE_RANGE in general. @pfg , do the fuse changes look good to you?

This revision is now accepted and ready to land.Nov 29 2021, 12:26 AM