Releases: ocaml-multicore/ocaml-uring
0.9
0.8
CHANGES:
0.7
CHANGES:
-
Add
statx
support (@patricoferris, @talex5, @avsm #95 #97). -
Add type annotations to tests (@patricoferris #96, reviewed by @talex5).
Fixes MDX tests on OCaml 5.1. -
Update liburing to 2.4 (@anmonteiro #93, reviewed by @talex5).
-
Fix accidental shadowing in
ocaml_uring_get_msghdr_fds
(@talex5 #91, reviewed by @avsm).
0.6
CHANGES:
-
Fix SIGSEGV on
Uring.wait
(@edwintorok #89).
io_uring_submit_and_wait_timeout
can return a success status but with a NULLcqe
. -
Use
caml_enter_blocking_section
when callingio_uring_submit
(@TheLortex #86).
0.5
0.4
CHANGES:
New features:
-
Add
Uring.read
andUring.write
(@haesbaert #62).
These are simple wrappers for read(2) and write(2). -
Add
Uring.unlink
(@talex5 #65).
This uses unlinkat(2), and so can also be used to remove directories. -
Add support for uring probes (@talex5 #70).
Allows checking whether a feature is supported by the kernel at runtime. -
Rename
peek
toget_cqe_nonblocking
(@talex5 #67).
The old name was confusing because it does remove the item from the ring. -
Add
Uring.active_ops
(@talex5 #68).
Avoids needing to track the value returned bysubmit
, which is important as it is sometimes called automatically. -
Add
Uring.get_debug_stats
(@talex5 #64).
This should make it easier to check that the uring is behaving as expected.
Performance:
-
Introduce a Sketch buffer per Uring (@haesbaert #63).
The main motivation of this change is to avoid having one malloc per packet in readv(2), writev(2) and friends. -
Use
submit_and_wait
where appropriate (@haesbaert #69). -
Avoid unnecessary use of
CAMLparam
in the C stubs (@haesbaert #61).
Bug fixes:
Build changes:
0.3
CHANGES:
Breaking changes:
- Don't allocate a fixed buffer by default (@talex5 #53).
If you want a fixed buffer, you now need to callset_fixed_buffer
.
New features:
-
Add sendmsg and recvmsg (@patricoferris #49).
-
Allow sending and receiving FDs using
SCM_RIGHTS
(@talex5 #52).
Other changes:
- Update tests to cmdliner 1.1.0 (@patricoferris #50).
0.2
CHANGES:
New features:
Other changes: