#
3e1733a0 |
| 16-Aug-2024 |
握猫猫 <164346864@qq.com> |
doc: properly label enumerations and types (#4506)
|
#
e78e29c2 |
| 06-Aug-2024 |
Santiago Gimeno |
linux: disable SQPOLL io_uring by default (#4492) The SQPOLL io_uring instance wasn't providing consistent behaviour to users depending on kernel versions, load shape, ... creating issue
linux: disable SQPOLL io_uring by default (#4492) The SQPOLL io_uring instance wasn't providing consistent behaviour to users depending on kernel versions, load shape, ... creating issues difficult to track and fix. Don't use this ring by default but allow enabling it by calling `uv_loop_configure()` with `UV_LOOP_ENABLE_IO_URING_SQPOLL`.
show more ...
|
#
5d1ccc12 |
| 25-Jul-2024 |
zeertzjq |
doc: correct names of Win32 APIs in fs.rst (#4408) The docs there link to GetFinalPathNameByHandleA() and CreateFileA(), but src/win/fs.c uses GetFinalPathNameByHandleW() and CreateFileW
doc: correct names of Win32 APIs in fs.rst (#4408) The docs there link to GetFinalPathNameByHandleA() and CreateFileA(), but src/win/fs.c uses GetFinalPathNameByHandleW() and CreateFileW().
show more ...
|
#
c8a1e613 |
| 27-Apr-2023 |
Ben Noordhuis |
unix,win: add uv_clock_gettime() (#3971) Fixes: https://github.com/libuv/libuv/issues/1674
|
#
d2c31f42 |
| 18-Apr-2023 |
Ben Noordhuis |
linux: introduce io_uring support (#3952) Add io_uring support for several asynchronous file operations: - read, write - fsync, fdatasync - stat, fstat, lstat io_ur
linux: introduce io_uring support (#3952) Add io_uring support for several asynchronous file operations: - read, write - fsync, fdatasync - stat, fstat, lstat io_uring is used when the kernel is new enough, otherwise libuv simply falls back to the thread pool. Performance looks great; an 8x increase in throughput has been observed. This work was sponsored by ISC, the Internet Systems Consortium. Fixes: https://github.com/libuv/libuv/issues/1947
show more ...
|
#
b4440f5a |
| 19-Jan-2023 |
Tamás Bálint Misius |
doc: document uv_fs_cb type (#3517)
|
#
a7b16bfb |
| 07-Nov-2022 |
Saúl Ibarra Corretgé |
win: drop code checking for Windows XP / Server 2k3 Our minimum requirements are Windows 8 now.
|
#
a855c741 |
| 07-Sep-2022 |
Steven Schveighoffer |
doc: add note about offset -1 in uv_fs_read/write (#3677)
|
Revision tags: v1.41.0, v1.40.0, v1.39.0 |
|
#
79c531cb |
| 21-Aug-2020 |
Jameson Nash |
nfci: address some style nits PR-URL: https://github.com/libuv/libuv/pull/2954 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
#
707dd7f1 |
| 18-Aug-2020 |
Jameson Nash |
doc: fix most sphinx warnings PR-URL: https://github.com/libuv/libuv/pull/2956 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
Revision tags: v1.38.1, v1.38.0 |
|
#
45728582 |
| 29-Apr-2020 |
Bartosz Sosnowski |
fs: report original error Exposes the original system error of the filesystem syscalls. Adds a new uv_fs_get_system_error which returns orignal errno on Linux or GetLastError on Wind
fs: report original error Exposes the original system error of the filesystem syscalls. Adds a new uv_fs_get_system_error which returns orignal errno on Linux or GetLastError on Windows. Ref: https://github.com/libuv/libuv/issues/2348 PR-URL: https://github.com/libuv/libuv/pull/2810 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.37.0, v1.36.0, v1.35.0 |
|
#
bd429238 |
| 29-Feb-2020 |
Sk Sajidul Kadir |
fs: add uv_fs_lutime() PR-URL: https://github.com/libuv/libuv/pull/2723 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
fs: add uv_fs_lutime() PR-URL: https://github.com/libuv/libuv/pull/2723 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.34.2, v1.34.1 |
|
#
c072a384 |
| 07-Jan-2020 |
Jameson Nash |
docs: fix linkcheck Prefer https when available, follow permanent redirects, and find alternate sources for dead links. PR-URL: https://github.com/libuv/libuv/pull/2608 Revi
docs: fix linkcheck Prefer https when available, follow permanent redirects, and find alternate sources for dead links. PR-URL: https://github.com/libuv/libuv/pull/2608 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.34.0 |
|
#
5500253c |
| 29-Nov-2019 |
Saúl Ibarra Corretgé |
fs: add uv_fs_mkstemp Thanks to Andreas Hauptmann and Bastian Schmitz for their earlier work. Supersedes: https://github.com/libuv/libuv/pull/2074 Closes: https://github.com/lib
fs: add uv_fs_mkstemp Thanks to Andreas Hauptmann and Bastian Schmitz for their earlier work. Supersedes: https://github.com/libuv/libuv/pull/2074 Closes: https://github.com/libuv/libuv/issues/2555 PR-URL: https://github.com/libuv/libuv/pull/2557 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.33.1, v1.33.0 |
|
#
ddcaff9a |
| 14-Oct-2019 |
Stefan Bender |
unix: update uv_fs_copyfile() fallback logic This commit fixes uv_fs_copyfile() in cases where an unknown error occurs when copy-on-write is requested by setting UV_FS_COPYFILE_FICLO
unix: update uv_fs_copyfile() fallback logic This commit fixes uv_fs_copyfile() in cases where an unknown error occurs when copy-on-write is requested by setting UV_FS_COPYFILE_FICLONE. The original approach tried to catch some of the errors raised by the ioctl() call, assuming that sendfile() would also fail in those cases. This is not necessarily true, as some variants of ioctl() also raise EINVAL (some maybe EBADF), but sendfile() works just fine. This patch reverses the logic, falling back to sendfile() in any case where ioctl() returns an error. In other words, it tries much harder to make uv_fs_copyfile() work. Related to that, the original approach returned UV_ENOTSUP unconditionally in cases where ioctl() failed and UV_FS_COPYFILE_FICLONE_FORCE was set. However, ioctl() may have failed for other reasons than being not supported. The function now returns the actual error raised by ioctl(), leaving it to the caller to deal with it. Fixes: https://github.com/libuv/libuv/issues/2483 PR-URL: https://github.com/libuv/libuv/pull/2514 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
d6b79ffb |
| 30-Sep-2019 |
cjihrig |
doc: improve uv_fs_readdir() cleanup docs When cleaning up after uv_fs_readdir(), it is important to call uv_fs_req_cleanup() on the readdir request prior to calling uv_fs_closedir()
doc: improve uv_fs_readdir() cleanup docs When cleaning up after uv_fs_readdir(), it is important to call uv_fs_req_cleanup() on the readdir request prior to calling uv_fs_closedir(), because the latter frees memory that the former needs in order to do its job. PR-URL: https://github.com/libuv/libuv/pull/2497 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.32.0, v1.31.0 |
|
#
813264ad |
| 08-Aug-2019 |
Crunkle |
win: remove try-except outside MSVC Fixes: https://github.com/libuv/libuv/issues/2407 PR-URL: https://github.com/libuv/libuv/pull/2412 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail
win: remove try-except outside MSVC Fixes: https://github.com/libuv/libuv/issues/2407 PR-URL: https://github.com/libuv/libuv/pull/2412 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
show more ...
|
#
bf86d5fb |
| 29-Jul-2019 |
cjihrig |
unix,win: add uv_fs_statfs() Fixes: https://github.com/libuv/libuv/issues/2386 PR-URL: https://github.com/libuv/libuv/pull/2396 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Re
unix,win: add uv_fs_statfs() Fixes: https://github.com/libuv/libuv/issues/2386 PR-URL: https://github.com/libuv/libuv/pull/2396 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
Revision tags: v1.30.1, v1.30.0, v1.29.1, v1.29.0 |
|
#
2c279504 |
| 09-May-2019 |
João Reis |
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Revie
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
#
557b04cd |
| 24-Apr-2019 |
Michele Caini |
doc: add missing uv_fs_type entries PR-URL: https://github.com/libuv/libuv/pull/2280 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
Revision tags: v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0, v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0 |
|
#
99440bb6 |
| 30-Jan-2015 |
cjihrig |
unix,win: add uv_fs_{open,read,close}dir() Co-authored-by: Julien Gilli <jgilli@nodejs.org> Co-authored-by: Jeremy Whitlock <jwhitlock@apache.org> Reviewed-By: Ben Noordhuis <info@bn
unix,win: add uv_fs_{open,read,close}dir() Co-authored-by: Julien Gilli <jgilli@nodejs.org> Co-authored-by: Jeremy Whitlock <jwhitlock@apache.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/libuv/libuv/pull/2057 Refs: https://github.com/joyent/libuv/issues/1430 Refs: https://github.com/joyent/libuv/pull/1521 Refs: https://github.com/joyent/libuv/pull/1574 Refs: https://github.com/libuv/libuv/pull/175 Refs: https://github.com/nodejs/node/issues/583 Refs: https://github.com/libuv/libuv/pull/416 Refs: https://github.com/libuv/libuv/issues/170
show more ...
|
#
3233ccf1 |
| 24-Dec-2018 |
Ben Noordhuis |
Revert "win,fs: retry if uv_fs_rename fails" This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2. Concerns were raised about the suitability of this policy and I, for o
Revert "win,fs: retry if uv_fs_rename fails" This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2. Concerns were raised about the suitability of this policy and I, for one, agree with them. Fixes: https://github.com/libuv/libuv/issues/2098 PR-URL: https://github.com/libuv/libuv/pull/2122 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
e94c184c |
| 06-Sep-2018 |
Bartosz Sosnowski |
win,fs: retry if uv_fs_rename fails On Windows rename operation can fail randomly in presence of antivirus or indexing software. Make `uv_fs_rename` retry up to four times with 250ms
win,fs: retry if uv_fs_rename fails On Windows rename operation can fail randomly in presence of antivirus or indexing software. Make `uv_fs_rename` retry up to four times with 250ms delay between attempts before giving up. PR-URL: https://github.com/libuv/libuv/pull/1981 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
4772d440 |
| 10-Aug-2018 |
hitesh |
win,doc: path encoding in uv_fs_XX is UTF-8 Fixes: https://github.com/libuv/libuv/issues/1554 PR-URL: https://github.com/libuv/libuv/pull/1943 Reviewed-By: Bartosz Sosnowski <bartosz
win,doc: path encoding in uv_fs_XX is UTF-8 Fixes: https://github.com/libuv/libuv/issues/1554 PR-URL: https://github.com/libuv/libuv/pull/1943 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
8f96a5b0 |
| 09-Aug-2018 |
Bartosz Sosnowski |
fs: add uv_open_osfhandle Adds uv_open_osfhandle to complete uv_get_osfhandle Ref: https://github.com/nodejs/node/issues/15433 Ref: https://github.com/nodejs/node-addon-api/issu
fs: add uv_open_osfhandle Adds uv_open_osfhandle to complete uv_get_osfhandle Ref: https://github.com/nodejs/node/issues/15433 Ref: https://github.com/nodejs/node-addon-api/issues/304 PR-URL: https://github.com/libuv/libuv/pull/1927 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|