coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH 0/3] Use copy_file_range() for copy


From: Pádraig Brady
Subject: Re: [PATCH 0/3] Use copy_file_range() for copy
Date: Mon, 7 Jan 2019 08:19:11 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/06/18 14:59, Pádraig Brady wrote:
> On 31/05/18 13:42, Goldwyn Rodrigues wrote:
>> This is a patch set to use copy_file_range() system call to copy
>> file from source to destination. The advantage is lower system time
>> because it avoids copy to and from userspace.
>>
>> In my tests, I am getting lower system times consumed while performing
>> with the copy_file_range.
> 
> When copy_file_range() was being proposed I asked for flags
> to control how sparse, unallocated, CoW regions were handled.
> I still see no flags defined in the latest man pages at least,
> so I don't think it's generally usable as is.

Some more info on the stability of copy_file_range().
It may take a while to be usable by default:
https://lwn.net/Articles/774114/

Copying files is hard :/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]