Skip to content

Releases: ocaml-multicore/ocaml-uring

0.9

15 May 08:38
ccd5ee3
Compare
Choose a tag to compare

CHANGES:

0.8

12 Oct 12:56
07db8c0
Compare
Choose a tag to compare
0.8

CHANGES:

0.7

18 Aug 11:02
673d908
Compare
Choose a tag to compare
0.7

CHANGES:

0.6

15 May 11:31
6be0442
Compare
Choose a tag to compare
0.6

CHANGES:

  • Fix SIGSEGV on Uring.wait (@edwintorok #89).
    io_uring_submit_and_wait_timeout can return a success status but with a NULL cqe.

  • Remove unused variable in C stub (@talex5 #87).

  • Use caml_enter_blocking_section when calling io_uring_submit (@TheLortex #86).

0.5

31 Jan 11:06
a975c95
Compare
Choose a tag to compare
0.5

CHANGES:

  • Decouple Heap entries from ring size (@haesbaert #81).
    Before this change, we could only wait for at most queue_depth events at a time.

  • Update to liburing-2.3 (@avsm #82).

0.4

26 Aug 10:19
2291cb2
Compare
Choose a tag to compare
0.4

CHANGES:

New features:

  • Add Uring.timeout (@bikallem #59).

  • Add Uring.read and Uring.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 to get_cqe_nonblocking (@talex5 #67).
    The old name was confusing because it does remove the item from the ring.

  • Update to liburing 2.2 (@talex5 #56).

  • Add Uring.active_ops (@talex5 #68).
    Avoids needing to track the value returned by submit, which is important as it is sometimes called automatically.

  • Add Uring.iov_max constant (@talex5 #76).

  • 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).

  • Add a readv benchmark (@talex5 #64).

  • Avoid unnecessary use of CAMLparam in the C stubs (@haesbaert #61).

Bug fixes:

  • Prevent ring from being used after exit (@talex5 #78).

Build changes:

  • Remove use of notty for formatting benchmark results (@talex5 #71).
    It prevented uring from being tested on OCaml 5.

  • Use MDX for README (@talex5 #57).

  • Convert tests to MDX (@talex5 #58 #73).

  • Use opam-repository syntax for license (@kit-ty-kate #72).

  • Remove internal is_dirty flag (@talex5 #77).

0.3

28 Feb 15:29
bbde1d7
Compare
Choose a tag to compare
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 call set_fixed_buffer.

New features:

Other changes:

0.2

02 Feb 16:07
1ad2a7b
Compare
Choose a tag to compare
0.2

CHANGES:

New features:

Other changes:

v0.1

25 Jun 16:06
c698216
Compare
Choose a tag to compare

CHANGES:

  • Initial release.