Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package liburing for openSUSE:Factory checked in at 2023-01-23 18:30:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liburing (Old) and /work/SRC/openSUSE:Factory/.liburing.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liburing" Mon Jan 23 18:30:34 2023 rev:13 rq:1060106 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/liburing/liburing.changes 2022-09-27 20:13:09.525724870 +0200 +++ /work/SRC/openSUSE:Factory/.liburing.new.32243/liburing.changes 2023-01-23 18:30:35.399553348 +0100 @@ -1,0 +2,26 @@ +Sat Jan 21 09:19:57 UTC 2023 - Dirk Müller <[email protected]> + +- add 0001-test-helpers-fix-socket-length-type.patch + fixes tests on big endian + +------------------------------------------------------------------- +Fri Nov 18 21:26:17 UTC 2022 - Dirk Müller <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- handle-eintr.patch liburing-2.2.tar.bz2 test-xattr-don-t-rely-on-NUL-termination.patch New: ---- 0001-test-helpers-fix-socket-length-type.patch liburing-2.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liburing.spec ++++++ --- /var/tmp/diff_new_pack.DkjeSf/_old 2023-01-23 18:30:36.955562952 +0100 +++ /var/tmp/diff_new_pack.DkjeSf/_new 2023-01-23 18:30:36.959562977 +0100 @@ -1,7 +1,7 @@ # # spec file for package liburing # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,15 @@ %define lname liburing2 Name: liburing -Version: 2.2 +Version: 2.3 Release: 0 Summary: Linux-native io_uring I/O access library License: (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT Group: Development/Libraries/C and C++ URL: https://git.kernel.dk/cgit/liburing Source: https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM: has been accepted upstream -Patch0: test-xattr-don-t-rely-on-NUL-termination.patch -# PATCH-FIX-UPSTREAM: has been accepted upstream -# [1/1] Handle EINTR in tests -# commit: fa67f6aedcfdaffc14cbf0b631253477b2565ef0 -Patch2: handle-eintr.patch +# PATCH-FIX-UPSTREAM: fix tests on big endian +Patch1: 0001-test-helpers-fix-socket-length-type.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: procps ++++++ 0001-test-helpers-fix-socket-length-type.patch ++++++ >From b5caa618565c0c6d0053f7b1bae2423cd317660c Mon Sep 17 00:00:00 2001 From: Gabriel Krisman Bertazi <[email protected]> Date: Wed, 18 Jan 2023 11:48:06 -0300 Subject: [PATCH] test/helpers: fix socket length type t_create_socket_pair uses size_t for paddrlen, which is uint64 on 64-bit architecture, while the network syscalls expect uint32. The implicit cast is always safe for little-endian here due to the structure format, its small size and the fact it was previously zeroed - so the test succeeds. Still, on BE machines, our CI caught a few tests crashing on connect(). For instance: localhost:~/liburing/test # ./send_recv.t connect failed test_invalid failed Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]> --- test/helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.c b/test/helpers.c index 869e903..37ba67c 100644 --- a/test/helpers.c +++ b/test/helpers.c @@ -173,7 +173,7 @@ int t_create_socket_pair(int fd[2], bool stream) int val; struct sockaddr_in serv_addr; struct sockaddr *paddr; - size_t paddrlen; + socklen_t paddrlen; type |= SOCK_CLOEXEC; fd[0] = socket(AF_INET, type, 0); -- 2.39.0 ++++++ liburing-2.2.tar.bz2 -> liburing-2.3.tar.bz2 ++++++ ++++ 14501 lines of diff (skipped)
