SHA256
8
0
forked from pool/liburing

75 Commits
devel ... main

Author SHA256 Message Date
70e15b89b7 Accepting request 1290666 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1290666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=31
2025-07-06 15:03:54 +00:00
33295ed29e Accepting request 1268030 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1268030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=30
2025-04-10 19:57:16 +00:00
a3e4d19aaa - Disable resize-rings.t as it is not very stable in OBS
- Disable timeout.t on Leap 15.6/15.7
- Disable read-inc-file.t and timeout.t on Leap 16.0
- Add upstream patch to fix test on aarch64:
  * 923961c.patch
- Update to 2.9:
  * Add support for ring resizing
  * Add support for registered waits
  * Test additions and improvements
  * Fix bug with certain ring setups with SQE128 set not fully closing
    the ring after io_uring_queue_exit(3) had been called.
  * Various man page fixes and updates
- Remove upstreamed patches:
  * 0001-test-init-mem-zero-the-ringbuf-memory.patch
  * 0001-test-rsrc_tags-use-correct-buffer-index-for-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=70
2025-04-09 05:55:54 +00:00
42561251f6 Accepting request 1246587 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1246587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=29
2025-02-18 18:08:59 +00:00
403896ceb4 more test
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=68
2025-02-11 08:40:06 +00:00
60e0b09812 Accepting request 1242288 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1242288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=28
2025-02-04 17:09:38 +00:00
cee8672bac OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=66 2025-02-03 05:58:38 +00:00
435adf8fae disable more tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=65
2025-02-03 05:58:09 +00:00
84ca7c9251 - disable sqwait.t and nop.t for 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=64
2025-02-03 05:36:51 +00:00
b7e0bdc7a5 Accepting request 1240480 from devel:libraries:c_c++
- disable more tests on s390x

OBS-URL: https://build.opensuse.org/request/show/1240480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=27
2025-01-28 13:58:25 +00:00
e8ca12bd6c up
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=62
2025-01-27 09:50:35 +00:00
fc5273f286 one more test for s390x
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=61
2025-01-17 09:34:09 +00:00
d51c901b20 disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=60
2025-01-09 07:28:43 +00:00
af07f513be Accepting request 1235113 from devel:libraries:c_c++
- disable some tests for older kernels & strange archs

OBS-URL: https://build.opensuse.org/request/show/1235113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=26
2025-01-07 19:49:55 +00:00
5eb53b6bbe disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=58
2025-01-06 08:01:40 +00:00
549b26df0d disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=57
2025-01-06 07:51:28 +00:00
4d5c9ce322 disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=56
2025-01-06 07:23:29 +00:00
ccc324d73d disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=55
2025-01-06 07:13:24 +00:00
1b7ad60a4a disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=54
2025-01-06 07:05:08 +00:00
430f29f6f0 Accepting request 1230755 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1230755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=25
2024-12-15 11:34:20 +00:00
5e38c26abb Accepting request 1228595 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1228595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=24
2024-12-08 10:36:09 +00:00
30e48c28a5 signed tarball
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=51
2024-12-06 09:50:05 +00:00
David Disseldorp
7f72b46110 - switch URLs to the current location on github
- Update to 2.8
  * Add support for incrementally/partially consumed provided buffers,
    usable with the provided buffer ring support.
  * Add support for foo_and_wait_min_timeout(), where it's possible to
    define a minimum timeout for waiting to get batches of completions,
    but if that fails, extend for a longer timeout without having any
    extra context switches.
  * Add support for using different clock sources for completion waiting.
  * Great increase coverage of test cases, test case improvements and
    fixes.
  * Don't leak _GNU_SOURCE via pkb-config --cflags
  * Support for address sanitizer
  * Add examples/kdigest sample program
  * Add discard helper, test, and man page
  * Man page updates
  * Sync with kernel 6.10
          * send/recv bundle support
          * accept nowait and CQE_F_MORE
  * Add and update test cases
  * Fix io_uring_queue_init_mem() returning a value that was too small,
    potentially causing memory corruption in userspace by overwriting
    64 bytes beyond the returned value. Also add test case for that.
  * Add 64-bit length variants of io_uring_prep_{m,f}advise()
  * Add BIND/LISTEN support and helpers / man pages
  * Add io_uring_enable_rings.3 man page
  * Fix bug in io_uring_prep_read_multishot()
  * Fixup bundle test cases
  * Add fixed-hugepage test case
  * Fix io_uring_prep_fixed_fd_install.3 man page

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=50
2024-12-05 23:32:43 +00:00
87188c187e Accepting request 1193386 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1193386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=23
2024-08-13 11:22:20 +00:00
David Disseldorp
652e43fe77 skip test buf-ring-nommap.t if ENOMEM appears
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=48
2024-08-12 10:34:00 +00:00
7904364dd0 Accepting request 1188710 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1188710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=22
2024-07-22 15:14:46 +00:00
7c3a157816 Accepting request 1187031 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1187031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=21
2024-07-14 06:48:43 +00:00
David Disseldorp
4f61499e5e - Fix buf-ring-nommap.t test failure
* test-buf-ring-nommap-zero-the-ringbuf-memory.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=45
2024-07-12 16:50:35 +00:00
David Disseldorp
b297e13040 Accepting request 1183838 from home:jirislaby:branches:devel:libraries:c_c++
- Update to 2.6:
  * 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
- Remove (they are upstream)
  * test-no-mmap-inval-0-return-is-fine-too.patch
  * test-recv-multishot-wait-for-the-right-amount-of-CQE.patch
- exclude buf-ring-nommap.t test (crashes)

OBS-URL: https://build.opensuse.org/request/show/1183838
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=44
2024-07-12 08:42:45 +00:00
1f09873d7a Accepting request 1164314 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1164314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=20
2024-04-04 20:24:05 +00:00
David Disseldorp
5e644df226 Accepting request 1164309 from home:jirislaby:branches:devel:libraries:c_c++
- Update to 2.5:
  * Add support for io_uring_prep_cmd_sock()
  * Add support for application allocated ring memory, for placing rings
    in huge mem. Available through io_uring_queue_init_mem().
  * Add support for registered ring fds
  * Various documentation updates
  * Various fixes
- Remove (they are upstream)
  * test-io_uring_register-fix-errno-confusion-and-new-e.patch
  * tests-don-t-expect-multishot-recv-overflow-backloggi.patch
- Add
  * test-recv-multishot-wait-for-the-right-amount-of-CQE.patch (to fix test
    errors on the 6.8.2 kernel)
  * test-no-mmap-inval-0-return-is-fine-too.patch (fix the test)

OBS-URL: https://build.opensuse.org/request/show/1164309
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=42
2024-04-03 09:35:44 +00:00
a5bf691ecf Accepting request 1130864 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1130864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=19
2023-12-07 18:08:49 +00:00
David Disseldorp
16397656c0 Accepting request 1130823 from home:Guillaume_G:PAC_BTI
- Fix build on 32-bit x86

OBS-URL: https://build.opensuse.org/request/show/1130823
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=40
2023-12-05 01:56:24 +00:00
David Disseldorp
f992da1d2d Accepting request 1130259 from home:Guillaume_G:PAC_BTI
- Make use of openSUSE build flags

OBS-URL: https://build.opensuse.org/request/show/1130259
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=39
2023-12-01 15:54:52 +00:00
c4ad243f03 Accepting request 1111506 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1111506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=18
2023-09-17 17:28:52 +00:00
David Disseldorp
fe9dcda743 Accepting request 1111428 from home:jirislaby:branches:devel:libraries:c_c++
- tests-don-t-expect-multishot-recv-overflow-backloggi.patch (bsc#1215332)

OBS-URL: https://build.opensuse.org/request/show/1111428
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=37
2023-09-15 09:24:03 +00:00
Gabriel Krisman Bertazi
c5926b8f10 Accepting request 1111042 from home:jirislaby:branches:devel:libraries:c_c++
- build tests in parallel (using %{?_smp_mflags})

OBS-URL: https://build.opensuse.org/request/show/1111042
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=36
2023-09-14 16:18:26 +00:00
304f0c74a6 Accepting request 1108274 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1108274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=17
2023-09-11 19:19:39 +00:00
David Disseldorp
f90992fef3 Accepting request 1108193 from home:jirislaby:branches:devel:libraries:c_c++
- add test-io_uring_register-fix-errno-confusion-and-new-e.patch
  to fix test errors on the 6.5 kernel

OBS-URL: https://build.opensuse.org/request/show/1108193
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=34
2023-08-31 11:51:00 +00:00
aeed3f9ac3 Accepting request 1092731 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1092731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=16
2023-06-14 14:28:58 +00:00
7afdc4af6e Accepting request 1092686 from home:dmdiss:liburing_2.4
- Update to 2.4:
  * Add io_uring_{major,minor,check}_version() functions.
  * Add IO_URING_{MAJOR,MINOR,CHECK}_VERSION() macros.
  * FFI support (for non-C/C++ languages integration).
  * Add io_uring_prep_msg_ring_cqe_flags() function.
  * Deprecate --nolibc configure option.
  * CONFIG_NOLIBC is always enabled on x86-64, x86, and aarch64.
  * Add support for IORING_REGISTER_USE_REGISTERED_RING and use if available.
  * Add io_uring_close_ring_fd() function.
  * Add io_uring_prep_msg_ring_fd_alloc function.
  * Add io_uring_free_buf_ring() and io_uring_setup_buf_ring() functions.
  * Ensure that io_uring_prep_accept_direct(), io_uring_prep_openat_direct(),
    io_uring_prep_openat2_direct(), io_uring_prep_msg_ring_fd(), and
    io_uring_prep_socket_direct() factor in being called with
    IORING_FILE_INDEX_ALLOC for allocating a direct descriptor.
  * Add io_uring_prep_sendto() function.
- Add liburing-ffi2 package for corresponding FFI library, given that
  dependents will normally require either that or the base library (not both).
- Drop upstream patches:
  * 0001-Do-not-always-expect-multishot-recv-to-stop-posting-.patch
  * 0001-test-file-verify.t-Don-t-run-over-mlock-limit-when-r.patch
  * 0001-test-helpers-fix-socket-length-type.patch

OBS-URL: https://build.opensuse.org/request/show/1092686
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=32
2023-06-13 05:51:40 +00:00
2078fce892 Accepting request 1080969 from devel:libraries:c_c++
- Add 0001-test-file-verify.t-Don-t-run-over-mlock-limit-when-r.patch
  fixes test with kernel <= 5.16 (bsc#1209723)

OBS-URL: https://build.opensuse.org/request/show/1080969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=15
2023-04-22 19:56:42 +00:00
David Disseldorp
72b4cf4dda add bz tag for
0001-test-file-verify.t-Don-t-run-over-mlock-limit-when-r.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=30
2023-04-20 20:59:59 +00:00
David Disseldorp
c22a6c421f Accepting request 1080966 from home:gbertazi:branches:devel:libraries:c_c++
- Add 0001-test-file-verify.t-Don-t-run-over-mlock-limit-when-r.patch
  fixes test with kernel <= 5.16

Upstream patch fixing test/file-verify.t on the SP4 kernel.

OBS-URL: https://build.opensuse.org/request/show/1080966
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=29
2023-04-20 20:53:25 +00:00
42fa9353fe Accepting request 1067010 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1067010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=14
2023-02-28 11:47:46 +00:00
David Disseldorp
934ef38e5b Accepting request 1067008 from home:jirislaby:branches:devel:libraries:c_c++
- add 0001-Do-not-always-expect-multishot-recv-to-stop-posting-.patch
  fixes tests with kernel 6.2

OBS-URL: https://build.opensuse.org/request/show/1067008
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=27
2023-02-21 13:29:30 +00:00
59df2c963b Accepting request 1060106 from devel:libraries:c_c++
- add 0001-test-helpers-fix-socket-length-type.patch 
  fixes tests on big endian

- update to 2.3:
  * 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
- drop handle-eintr.patch, test-xattr-don-t-rely-on-NUL-termination.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/1060106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=13
2023-01-23 17:30:34 +00:00
17d092784d - add 0001-test-helpers-fix-socket-length-type.patch
fixes tests on big endian

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=25
2023-01-21 09:20:15 +00:00
380a715503 Accepting request 1036718 from home:dirkmueller:Factory
- update to 2.3:
  * 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
- drop handle-eintr.patch, test-xattr-don-t-rely-on-NUL-termination.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/1036718
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=24
2023-01-20 22:51:30 +00:00
b38b4b1ce2 Accepting request 1006001 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1006001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=12
2022-09-27 18:13:07 +00:00
David Disseldorp
539647e863 Accepting request 1005895 from home:dirkmueller:Factory
- skip checks on qemu_linux_user builds

OBS-URL: https://build.opensuse.org/request/show/1005895
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=22
2022-09-26 07:35:06 +00:00
667f4bc662 Accepting request 997498 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/997498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=11
2022-08-17 09:31:54 +00:00
2c0adee1c1 Accepting request 997479 from home:jirislaby:branches:devel:libraries:c_c++
- add test-xattr-don-t-rely-on-NUL-termination.patch (bsc#1202413)

OBS-URL: https://build.opensuse.org/request/show/997479
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=20
2022-08-17 08:26:19 +00:00
e75d4a606f Accepting request 989441 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/989441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=10
2022-07-26 17:42:48 +00:00
David Disseldorp
51027e9971 Accepting request 987907 from home:dirkmueller:Factory
- add handle-eintr.patch, enable tests everywhere

OBS-URL: https://build.opensuse.org/request/show/987907
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=18
2022-07-08 13:50:50 +00:00
478137a537 Accepting request 985772 from home:dirkmueller:Factory
- enable tests for != ppc64le

OBS-URL: https://build.opensuse.org/request/show/985772
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=17
2022-07-06 11:22:40 +00:00
David Disseldorp
7742408a83 Accepting request 985597 from home:dirkmueller:Factory
- update to 2.2:
  * 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.

- avoid requiring kernel-default (bsc#1193522)

OBS-URL: https://build.opensuse.org/request/show/985597
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=16
2022-06-28 13:58:05 +00:00
7933397bb5 Accepting request 973849 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/973849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=9
2022-05-01 16:53:31 +00:00
David Disseldorp
d0aea47a61 Accepting request 973840 from home:dirkmueller:Factory
- avoid requiring kernel-default (bsc#1193522)

OBS-URL: https://build.opensuse.org/request/show/973840
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=14
2022-04-29 07:47:16 +00:00
ed2535c433 Accepting request 955726 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/955726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=8
2022-02-18 22:02:47 +00:00
David Disseldorp
2d291dfa00 Accepting request 953217 from home:dmdiss:liburing_2.1_no_git
- add explicit liburing2-devel alias to reflect SLE/LEAP 15.4+ naming
  (bsc#1193522)

OBS-URL: https://build.opensuse.org/request/show/953217
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=13
2022-02-17 22:50:56 +00:00
088390d730 Accepting request 940703 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/940703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=7
2021-12-16 20:18:54 +00:00
David Disseldorp
2c3c6dc428 Add bz tag for SLE 2.1 update.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=12
2021-12-08 10:57:39 +00:00
8eda22d6fe Accepting request 925428 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/925428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=6
2021-10-18 20:03:31 +00:00
8cc8f43113 Accepting request 925158 from home:dmdiss:liburing_2.1_no_git
- update to 2.1:

OBS-URL: https://build.opensuse.org/request/show/925158
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=11
2021-10-15 12:23:42 +00:00
Richard Brown
0293171828 Accepting request 879082 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/879082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=5
2021-03-16 14:42:34 +00:00
Johannes Thumshirn
d05f591ccc Accepting request 878891 from home:dirkmueller:Factory
- skip building the tests that are neither installed nor run
  as they fail to build on 32bit platforms (like e.g. armv7l) (bsc#1181571) 

- update to 2.0:
  * Sync io_uring.h API file with Linux 5.12
  * helpers: prefix any helper with t_ instead of io_uring_
  * helpers: add io_uring_create_buffers() helper
  * helpers: add io_uring_create_file() helper
  * helpers: add io_uring_calloc helper
  * helpers: add io_uring_posix_memalign helper
  * setup: cleanup probe code
  * setup: check whether malloc succ before using it
  * io_uring_prep_sync_file_range: cleanups
  * .gitignore: add sendmsg_fs_cve
  * Added prep function for sync_file_range op
  * Install man7 pages
  * src/queue: never clear data->wait_nr
  * src/queue: control kernel enter with a var
  * src/queue: don't re-wait for CQEs
  * src/queue: don't loop when don't enter
  * src/queue: clean _io_uring_get_cqe() err handling
  * src/queue: don't wait for less than expected
  * Add inline doc in the comments for io_uring_prep_splice
  * Fix sigset_t not found in liburing.h
  * src/queue: update comment on io_uring_wait_cqes() with timeouts
  * io_uring.h: 5.12 pending kernel sync
  * man/io_uring_register.2: fix spelling error
  * man/io_uring_register.2: Add documentation on IORING_REGISTER_FILES_SKIP
  * Add two ring deadlock case
  * Fix IORING_OP_FALLOCATE args in io_uring_enter(2) man page

OBS-URL: https://build.opensuse.org/request/show/878891
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=9
2021-03-15 07:35:31 +00:00
eae1956968 Accepting request 847547 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/847547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=4
2020-11-17 20:22:40 +00:00
Hannes Reinecke
3bdc8fc2f7 Accepting request 845118 from home:milsav92:branches:devel:libraries:c_c++
!!IMPORTANT!!
Version 0.7 BREAKS ABI COMPATIBILITY WITHOUT CHANGING THE SONAME!!!
https://github.com/axboe/liburing/issues/228
SONAME is bumped to 2 in commit 25bbcbef3e0a8bfba8044be55d08d5116c51dccd
im master branch.
!!!IMPORTANT!!!
- Update to version 0.6
  - removed barrier.h-add-generic-smp_mb-implementation.patch since
    it was merged in commit ba97eaf8f9ef2030d581be10df9d875dbfadc91d
- License changed to match upstream

OBS-URL: https://build.opensuse.org/request/show/845118
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=7
2020-11-10 16:36:31 +00:00
fe5072941f Accepting request 756024 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/756024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=3
2019-12-12 22:19:38 +00:00
Johannes Thumshirn
6aed128f1d Accepting request 756021 from home:morbidrsa:branches:devel:libraries:c_c++
- Fix builds on ppc64le and s390x (bsc#1159055)
  + barrier.h-add-generic-smp_mb-implementation.patch

OBS-URL: https://build.opensuse.org/request/show/756021
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=5
2019-12-12 09:42:57 +00:00
0ba7261344 Accepting request 751545 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/751545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=2
2019-11-29 14:58:52 +00:00
Johannes Thumshirn
42a438071a Accepting request 751544 from home:morbidrsa
Add Jira ticket reference

OBS-URL: https://build.opensuse.org/request/show/751544
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=3
2019-11-28 09:43:18 +00:00
8add177354 Accepting request 751263 from devel:libraries:c_c++
liburing native async IO for the Linux kernel, in a fast and efficient manner, for both buffered and O_DIRECT.

OBS-URL: https://build.opensuse.org/request/show/751263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liburing?expand=0&rev=1
2019-11-27 12:57:29 +00:00
bf4a084035 Accepting request 751256 from home:morbidrsa
liburing provides native async IO for the Linux kernel, in a fast and efficient manner, for both buffered and O_DIRECT.

OBS-URL: https://build.opensuse.org/request/show/751256
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=1
2019-11-27 10:24:16 +00:00
10 changed files with 0 additions and 257 deletions

View File

@@ -1,35 +0,0 @@
From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Date: Wed, 4 Dec 2024 13:05:15 +0100
Subject: test/init-mem: zero the ringbuf memory
References: fix-test-crash
Patch-mainline: Submitted, #1293
This is a similar fix to commit 8100d7b5f862 (test/buf-ring-nommap: zero
the ringbuf memory). The same is needed for test/init-mem as it crashes
with MALLOC_PERTURB_=69 too.
So zero the ringbuf memory after posix_memalign() too.
Fixes #1291.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
---
test/init-mem.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/init-mem.c b/test/init-mem.c
index 59973c8b7521..8b139fedd83b 100644
--- a/test/init-mem.c
+++ b/test/init-mem.c
@@ -41,6 +41,8 @@ static int setup_ctx(struct ctx *ctx, struct q_entries *q)
if (posix_memalign(&ctx->mem, 4096, 2*1024*1024))
return T_EXIT_FAIL;
+ memset(ctx->mem, 0, 2*1024*1024);
+
ctx->pre = ctx->mem + 4096 - sizeof(unsigned long long);
*ctx->pre = PRE_RED;
--
2.47.1

View File

@@ -1,39 +0,0 @@
From: Jens Axboe <axboe@kernel.dk>
Date: Sun, 27 Oct 2024 18:48:55 -0600
Subject: test/rsrc_tags: use correct buffer index for test
References: fix-kernel-6.13
Git-repo: https://github.com/axboe/liburing
Git-commit: 91eecf3a88aa7f72898c17b530d3873331cc1661
Patch-mainline: 2.9
The test is reading from buffer 0, but updating buffer 1. It's expecting
buffer 1 not to be put until the per-ring state allows it, but with
per-node refs, this is no longer true. However what is true, is that if
we use the right buffer, then the ordering will be observed.
Hence use buffer offset 1 for both the read and the update test, then
the test is actually testing what it should be testing. And it'll pass
without full buffer table pinning.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
---
test/rsrc_tags.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/rsrc_tags.c b/test/rsrc_tags.c
index 95f65e930ee5..e78cfe403bfb 100644
--- a/test/rsrc_tags.c
+++ b/test/rsrc_tags.c
@@ -184,7 +184,7 @@ static int test_buffers_update(void)
/* test that CQE is not emitted before we're done with a buffer */
sqe = io_uring_get_sqe(&ring);
- io_uring_prep_read_fixed(sqe, pipes[0], tmp_buf, 10, 0, 0);
+ io_uring_prep_read_fixed(sqe, pipes[0], tmp_buf, 10, 0, 1);
sqe->user_data = 100;
ret = io_uring_submit(&ring);
if (ret != 1) {
--
2.47.1

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:319ff9096a5655362a9741c5145b45494db810e38679a1de82e2f440c17181a6
size 217397

BIN
liburing-2.6.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
liburing-2.8.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJEBAABCAAuFiEEwPw5LcreJtl1+l5K99NY+ylx4KYFAmcbrDAQHGF4Ym9lQGtl
cm5lbC5kawAKCRD301j7KXHgpic7EACWTk5exmfW92IlhyE/lwiwpOMj6PKBzUM8
MjY3qvbMGEvfVN4QFD0F3Tnlhdxy/H143ojOdFG6D6bka2sKm07V8i076p8locNf
XXUim7C/cmFEUHGO+SfYXYfnBBNGBzE/iZ4uKGSY6TYAxu0m7RCqbUm9YDtZpeU4
RPXeYwI4D07uwJJVy7g4m0/FtGYGICdHAkLd06CkVEW1ZsQqbIMx01o2Im+RXPad
jwQKA9L/GyV92/VY59b3lk/CHGT1yEUhl8Av3wYrua2S7ACO7dLP4UVi9TDxSV9m
uYYeOVLTnXhHQm8jLJU/FVXBA/kVQNC/EqXLJK+gCs3SPyLinzK1lcu6STJQAaLL
e8nIYPQm+0+IiFrwfxCqY2x36hOXuutw9Pfg6SAjtfMC/oo54ezQoEsIyTpvau9u
tHHqQ3E6QcQzx2L4OlDAo369vsdIQuO0Pnqa8dIdKsy96CKvquI97dhZJcBtPHhu
QMdXtxleQ+m5J/T7Dg5ZwuM2STBZgctoeVRnEQbQkO6lfy0eGwDvlP+jGUvnTW53
y8XBdaHfHgf2SXYvHuZvnYqV4xMZ8mh1fY0bzEsTGd2HO2ipSOdtisMwqjn6IoKF
hXNZMwduoZd1KXfvLso0XmfstnFYUfPXB2Fg1on9H24GoX0iaPI2zgnyiZjQarYq
IPuCifPL3A==
=7E4E
-----END PGP SIGNATURE-----

View File

@@ -1,28 +0,0 @@
From f11c1ab393185aecedc3f1445b0dff5b187f58c1 Mon Sep 17 00:00:00 2001
From: Jens Axboe <axboe@kernel.dk>
Date: Thu, 8 Aug 2024 07:34:46 -0600
Subject: [PATCH] test/buf-ring-nommap: skip the test on queue init ENOMEM
failure
Fixes: https://github.com/axboe/liburing/issues/1200
Signed-off-by: Jens Axboe <axboe@kernel.dk>
---
test/buf-ring-nommap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/buf-ring-nommap.c b/test/buf-ring-nommap.c
index 17c1495..32a372c 100644
--- a/test/buf-ring-nommap.c
+++ b/test/buf-ring-nommap.c
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
p.flags = IORING_SETUP_NO_MMAP;
ret = io_uring_queue_init_mem(1, &ring, &p, ring_mem, 16384);
if (ret < 0) {
- if (ret == -EINVAL)
+ if (ret == -EINVAL || ret == -ENOMEM)
return T_EXIT_SKIP;
fprintf(stderr, "queue init failed %d\n", ret);
return T_EXIT_FAIL;
--
2.45.2

View File

@@ -1,49 +0,0 @@
From 8100d7b5f862fa514d821e8bd8f99d0de79af571 Mon Sep 17 00:00:00 2001
From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Date: Fri, 12 Jul 2024 13:17:03 +0200
Subject: [PATCH] test/buf-ring-nommap: zero the ringbuf memory
The test crashes when run under the openSUSE build system. It sets
MALLOC_PERTURB_=69 in the environment, so the allocated memory is
initialized to 0xba.
Later in io_uring_get_sqe() -> _io_uring_get_sqe():
1424 if (next - head <= sq->ring_entries) {
(gdb) p *sq
$2 = {khead = 0x55555555d000, ktail = 0x55555555d004,
kring_mask = 0x55555555d010, kring_entries = 0x55555555d018,
kflags = 0x55555555d024, kdropped = 0x55555555d020, array = 0x0,
sqes = 0x55555555c000, sqe_head = 0, sqe_tail = 0, ring_sz = 0,
ring_ptr = 0x55555555d000, ring_mask = 0, ring_entries = 1, pad = {0, 0}}
(gdb) p sq->ring_entries
$3 = 1
(gdb) p next
$4 = 1
(gdb) p/x head
$6 = 0xbabababa
And that causes a crash, of course.
Fix that by zeroing the memory after posix_memalign().
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
---
test/buf-ring-nommap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/buf-ring-nommap.c b/test/buf-ring-nommap.c
index 1e47f28..17c1495 100644
--- a/test/buf-ring-nommap.c
+++ b/test/buf-ring-nommap.c
@@ -41,6 +41,8 @@ int main(int argc, char *argv[])
if (posix_memalign(&ring_mem, 16384, 16384))
return T_EXIT_FAIL;
+ memset(ring_mem, 0, 16384);
+
p.flags = IORING_SETUP_NO_MMAP;
ret = io_uring_queue_init_mem(1, &ring, &p, ring_mem, 16384);
if (ret < 0) {
--
2.35.3

View File

@@ -1,30 +0,0 @@
From: Jens Axboe <axboe@kernel.dk>
Date: Tue, 7 Nov 2023 08:05:52 -0700
Subject: test/no-mmap-inval: 0 return is fine too
Git-repo: git://git.kernel.dk/liburing.git
Git-commit: 9dc95a03e4a764e42b9e62990bb00feb9307ba63
Patch-mainline: 2.6
References: test_fix
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
test/no-mmap-inval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/no-mmap-inval.c b/test/no-mmap-inval.c
index e851078d..9571fee0 100644
--- a/test/no-mmap-inval.c
+++ b/test/no-mmap-inval.c
@@ -31,7 +31,7 @@ int main(int argc, char *argv[])
if (ret == -EINVAL) {
/* kernel doesn't support SETUP_NO_MMAP */
return T_EXIT_SKIP;
- } else if (ret != -EFAULT) {
+ } else if (ret && ret != -EFAULT) {
fprintf(stderr, "Got %d, wanted -EFAULT\n", ret);
return T_EXIT_FAIL;
}
--
2.44.0

View File

@@ -1,50 +0,0 @@
From: Jens Axboe <axboe@kernel.dk>
Date: Tue, 6 Feb 2024 13:17:14 -0700
Subject: test/recv-multishot: wait for the right amount of CQEs
Git-repo: git://git.kernel.dk/liburing.git
Git-commit: a1d5e4b863a60af93d0cab9d4bbf578733337a90
Patch-mainline: 2.6
References: kernel 6.9
This test assumes that all task_work is a) has already arrived, and
b) will always be fully run even though the app asked for less, which
can lead to premature checking of CQEs and hitting end-of-CQEs before
it should.
Fix it up to wait for what it needs.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
test/recv-multishot.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/test/recv-multishot.c b/test/recv-multishot.c
index f66f1319..39983e8d 100644
--- a/test/recv-multishot.c
+++ b/test/recv-multishot.c
@@ -57,7 +57,7 @@ static int test(struct args *args)
int const N = 8;
int const N_BUFFS = N * 64;
int const N_CQE_OVERFLOW = 4;
- int const min_cqes = 2;
+ int const min_cqes = args->early_error ? 2 : 8;
int const NAME_LEN = sizeof(struct sockaddr_storage);
int const CONTROL_LEN = CMSG_ALIGN(sizeof(struct sockaddr_storage))
+ sizeof(struct cmsghdr);
@@ -237,7 +237,11 @@ static int test(struct args *args)
usleep(1000);
if ((args->stream && !early_error) || recv_cqes < min_cqes) {
- ret = io_uring_wait_cqes(&ring, &cqe, 1, &timeout, NULL);
+ unsigned int to_wait = 1;
+
+ if (recv_cqes < min_cqes)
+ to_wait = min_cqes - recv_cqes;
+ ret = io_uring_wait_cqes(&ring, &cqe, to_wait, &timeout, NULL);
if (ret && ret != -ETIME) {
fprintf(stderr, "wait final failed: %d\n", ret);
ret = -1;
--
2.44.0