On 03/29/2017 04:32 PM, Carlo Alberto Ferraris wrote:
The change itself should be pretty safe
Alas, I've run into setups where using POSIX_FADV_SEQUENTIAL and POSIX_FADV_DONTNEED slow things down. See, for example:
https://github.com/jborg/attic/issues/252Also, if we're going to use these flags, shouldn't it be POSIX_FADV_NOREUSE instead of POSIX_FADV_DONTNEED? And shouldn't the size be 0?