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: Paul Eggert
Subject: Re: [Bug-tar] Use posix_fadvise to improve archive creation performance
Date: Thu, 30 Mar 2017 09:24:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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]