diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2023-10-01 02:19:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-01 07:19:37 +0200 |
commit | b60f15e0dcfd514521bfc2e33c6f2728f565bc9d (patch) | |
tree | 0de0780b0bb35c174f618a9fe99a3d6e85e13d92 /changelog.md | |
parent | c3b95cbd2c944512585b843df7f0920894cf16ae (diff) | |
download | Nim-b60f15e0dcfd514521bfc2e33c6f2728f565bc9d.tar.gz |
copyFile with POSIX_FADV_SEQUENTIAL (#22776)
- Continuation of https://github.com/nim-lang/Nim/pull/22769 - See https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fadvise.html - The code was already there in `std/posix` since years ago. 3 line diff. --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 1fb6377a2..5656a86c3 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ [//]: # "Changes:" - Changed `std/osfiles.copyFile` to allow to specify `bufferSize` instead of a hardcoded one. +- Changed `std/osfiles.copyFile` to use `POSIX_FADV_SEQUENTIAL` hints for kernel-level aggressive sequential read-aheads. [//]: # "Additions:" |