Re: [PATCH] fuse: clarify extending writes handling
From: Chunsheng Luo
Date: Tue Aug 19 2025 - 22:12:06 EST
Tue, 19 Aug 2025 16:07:19 Miklos Szeredi wrote:
>>
>> Only flush extending writes (up to LLONG_MAX) for files with upcoming
>> write operations, and Fix confusing 'end' parameter usage.
>
> Patch looks correct, but it changes behavior on input file of
> copy_file_range(), which is not explained here.
Thank you for your review.
For the copy_file_range input file, since it only involves read operations,
I think it is not necessary to flush to LLONG_MAX. Therefore, for the input file,
flushing to the end is sufficient.
If you think my understanding is correct, I can resend a revised version of
the patch to update the commit log and include a clear explanation regarding
the behavior changes in 'fuse_copy_file_range' and 'fuse_file_fallocate' operations.
Thanks
Chunsheng Luo