Re: cp(1) using NFS4.2 CLONE?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/7/25 2:10 AM, Cedric Blancher wrote:
> On Mon, 6 Jan 2025 at 18:30, Dai Ngo <dai.ngo@xxxxxxxxxx> wrote:
>>
>>
>> On 1/4/25 10:44 PM, Cedric Blancher wrote:
>>> Good morning!
>>>
>>> Can standard Linux cp(1) use NFS4.2 CLONE?
>>
>> yes, use option '--reflink=auto'
>>
> 
> Why is this not on by default?

That's a question for the GNU coreutils people, since that's how they implemented it.

I thought that the copy_file_range system call would try to do a clone first, but it looks like that behavior changed a while ago. Now the system call will only attempt a clone on filesystems that don't specifically implement copy.

Anna

> 
> Ced





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux