Features
-
Incremental directory reading (merged): New
Eio.Path.with_dir_entriesandread_dir_entriesAPIs stream directory entries without materialising the full list. Benchmarks show ~13× speedup oneio_linux(1.46 s → 110 ms) for a 300k-entry tree. #821 -
Path.open_dirrenamed toopen_subtree(merged): The function that confines aPath.tto a subtree (viaRESOLVE_BENEATHon Linux) now carries a name that signals the security restriction. Old name retained as a non-deprecated alias. #853 -
Pseudoterminal support (open):
Eio_unix.Ptycreates ptys viaposix_openpt; alogin_ttyfork action starts a new session and dups the tty onto the child's stdio. Exposed as?login_ttyonEio_unix.Process.spawn_unix. #531 -
Process-spawn errno propagation (open): Failed fork actions now report the child's
errnoto the parent, which raisesUnix.Unix_errorinstead of a genericFailure. AddsEio.Process.Argument_list_too_long(E2BIG) and maps ENOENT/EACCES/ENOEXEC to dedicated errors. #854
Fixes
-
eio_linuxENOMEM on ring init (merged):io_uring_queue_initfailure due to insufficient memory now falls back toeio_posixinstead of raising an unhandledUnix_error. #852 -
eio_linuxscheduler simplification (merged): Fixed-buffer read/write retry logic removed from the scheduler; the scheduler now returns bytes transferred and the fiber re-issues if needed. Eliminates special-case job types and thefile_offsetdistinction. #849 -
Windows backend: 100 % CPU on idle bidirectional copy (open, under investigation): A two-way
Eio.Flow.copyproxy holds a full core on Windows while the same workload is idle on Linux. Minimal reproducer provided. #837
Compatibility and Releases
- Fixed buffers and ZFS kernel bug (open proposal): On old ZFS versions, fixed-buffer I/O triggers a kernel bug requiring reboot. Proposal to disable fixed buffers by default in
eio_linuxor gate the uring backend on kernel ≥ 6.17. #845