Commit Graph

21 Commits

Author SHA1 Message Date
Ankur Tyagi
fe8d5e0cc0
liburing: upgrade 2.9 -> 2.12
Dropped patch which is now merged upstream.

Changelog:
https://github.com/axboe/liburing/releases/tag/liburing-2.10
https://github.com/axboe/liburing/releases/tag/liburing-2.11
https://github.com/axboe/liburing/releases/tag/liburing-2.12

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-14 07:39:48 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
8ce451b7e2
liburing: Upgrade to 2.9
Drop upstreamed patches, fix build with latest musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-17 12:11:03 -08:00
Khem Raj
a8c72984ae
liburing: Upgrade to 2.7 and fix build on riscv32
Fix build regression with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-17 10:08:39 -07:00
Khem Raj
44b4586c73
liburing: Use libc on rv64/clang18
clang18 generates memset call which demands linking with libc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-25 10:55:33 -07:00
Wang Mingyu
8679b7b930
liburing: upgrade 2.5 -> 2.6
Changelog:
============
- Add getsockopt and setsockopt socket commands
- Add test cases to test/hardlink
- Man page fixes
- Add futex support, and test cases
- Add waitid support, and test cases
- Add read multishot, and test cases
- Add support for IORING_SETUP_NO_SQARRAY
- Use IORING_SETUP_NO_SQARRAY as the default
- Add support for IORING_OP_FIXED_FD_INSTALL
- Add io_uring_prep_fixed_fd_install() helper
- Support for napi busy polling
- Improve/add test cases
- Man page fixes
- Add sample 'proxy' example

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-19 08:27:53 -07:00
Khem Raj
4a40270d16
liburing: Upgrade to 2.5
Changelogs are here [1]

[1] f4e42a515c

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-23 19:02:36 -07:00
Khem Raj
c817d19fa9 liburing: Upgrade to 2.4 release
- Upgrade to latest release 2.4 [1]
- Drop a patch available in 2.4 release
- Backport a parallel build race fix

[1] https://github.com/axboe/liburing/releases/tag/liburing-2.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-20 22:13:17 -07:00
Ross Burton
ba3f6bb008 liburing: enable native/nativesdk builds
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-27 09:43:09 -08:00
Khem Raj
1877172e97 liburing: Update to latest tip of tree
Add a patch to fix build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 18:13:51 -08:00
Wang Mingyu
ccd3077c9d liburing: upgrade 2.2 -> 2.3
Changelog:
===========
- Support non-libc build for aarch64.
- Add io_uring_{enter,enter2,register,setup} syscall functions.
- Add sync cancel interface, io_uring_register_sync_cancel().
- Fix return value of io_uring_submit_and_wait_timeout() to match the
  man page.
- Improvements to the regression tests
- Add support and test case for passthrough IO
- Add recv and recvmsg multishot helpers and support
- Add documentation and support for IORING_SETUP_DEFER_TASKRUN
- Fix potential missing kernel entry with IORING_SETUP_IOPOLL
- Add support and documentation for zero-copy network transmit
- Various optimizations
- Many cleanups
- Many man page additions and updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
wangmy
ffd4e943b9 liburing: upgrade 2.1 -> 2.2
0001-test-Use-syscall-wrappers-instead-of-using-syscall-2.patch
removed since it's included in 2.2.

License-Update:
  Add "kernel version dependency"
  Add affect of "ulimit settings"

Changelog:
===========
- Support non-libc builds.
- Optimized syscall handling for x86-64/x86/aarch64.
- Enable non-lib function calls for fast path functions.
- Add support for multishot accept.
- io_uring_register_files() will set RLIMIT_NOFILE if necessary.
- Add support for registered ring fds, io_uring_register_ring_fd(),
  reducingthe overhead of an io_uring_enter() system call.
- Add support for the message ring opcode.
- Add support for newer request cancelation features.
- Add support for IORING_SETUP_COOP_TASKRUN, which can help reduce the
  overhead of io_uring in general. Most applications should set this flag,
  see the io_uring_setup.2 man page for details.
- Add support for registering a sparse buffer and file set.
- Add support for a new buffer provide scheme, see
  io_uring_register_buf_ring.3 for details.
- Add io_uring_submit_and_wait_timeout() for submitting IO and waiting
  for completions with a timeout.
- Add io_uring_prep_{read,write}v2 prep helpers.
- Add io_uring_prep_close_direct() helper.
- Add support for SQE128 and CQE32, which are doubly sized SQE and CQE
  rings. This is needed for some cases of the new IORING_OP_URING_CMD,
  notably for NVMe passthrough.
- ~5500 lines of man page additions, including adding ~90 new man pages.
- Synced with the 5.19 kernel release, supporting all the features of
  5.19 and earlier.
- 24 new regression test cases, and ~7000 lines of new tests in general.
- General optimizations and fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-12 01:05:43 -07:00
Khem Raj
1d0cab196d liburing: Define libdir based on environment variable
default variable is set to hardcode 'lib' which may not be right for all
platforms

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-21 08:25:11 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj
d27bf0b122 liburing: Use libc mmap() wrapper instead of calling __NR_mmap syscall directly
Fixes build on arm and rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
2021-11-01 05:45:17 -07:00
Oleksandr Kravchuk
2dd1a2f2a9 liburing: update to 2.1
Removed upstreamed patcches.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-01 05:45:17 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
7724eab259 liburing: Upgrade to 2.0
- Remove upstreamed 0001-test-Fix-build-on-32bit-architectures-with-6bit-time.patch
- Fix for removal of SIGSTKSZ
- Forward remaining patches
- Fix tests on arm/riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-05 09:45:50 -07:00
Khem Raj
d982e00d59 liburing: Do not build examples on risc/musl
it needs ucontext for building examples and its not implemented yet for
riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-17 19:24:59 -08:00
Khem Raj
a3015b7b23 liburing: Fix build on 32-bit arches with 64-bit time_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:25:53 -08:00
Richard Leitner
4c7f8a0997 liburing: add v0.7
Add initial support for liburing v0.7.
Fix build with musl by linking and depending on libucontext

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 10:39:27 -07:00