bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Use posix_fadvise to improve archive creation performance


From: Carlo Alberto Ferraris
Subject: Re: [Bug-tar] Use posix_fadvise to improve archive creation performance
Date: Mon, 3 Apr 2017 11:07:09 +0900

Paul, Mark,
so what is the current consensus? Reject, merge as-is or merge with changes?

Carlo

> On Mar 31, 2017, at 1:24 AM, Paul Eggert <address@hidden> wrote:
> 
> On 03/30/2017 09:01 AM, Mark wrote:
>> I think it would be a good idea to add an option to tell tar whether to
>> use POSIX_FADV_NOREUSE, POSIX_FADV_DONTNEED, or neither, since there may
>> be cases where any of the three possibilities is best.
> 
> Might make sense, yes.
> 
>> Or maybe tar could
>> read an environment variable to determine which to use?
> 
> We're trying to get away from environment variables since they can be a 
> hassle for security reasons. Arguably an exception could be made in this 
> case, since it's just advice.
> 




reply via email to

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