liburing updates
cover liburing updates
Hi Jens,
liburing updates, there are 8 patches in this series:
- Patch #1 is to add a missing SPDX-License-Idetifier.
- Patch #2 is a Makefile warning fix due to the recent liburing version check feature.
- Patch #3 to #6 are a preparation patch to make the clang build stricter.
- Patch #7 is to apply extra clang flags to the GitHub bot CI.
- Patch #8 is the CHANGELOG file update.
---
Ammar Faizi (8):
ffi: Add SPDX-License-Idetifier
Makefile: Add a '+' char to silence a Makefile warning
tests: Fix -Wstrict-prototypes warnings from Clang test/ring-leak: Remove a "break" statement in a "for loop"
tests: Fix clang -Wunreachable-code warning
tests: Declare internal variables as static
github: Add more extra flags for clang build
CHANGELOG: Update the CHANGELOG file
.github/workflows/build.yml | 2 +- CHANGELOG | 6 ++++++ Makefile | 2 +- src/ffi.c | 1 + test/232c93d07b74.c | 6 +++--- test/35fa71a030ca.c | 4 ++-- test/a0908ae19763.c | 2 +- test/a4c0b3decb33.c | 2 +- test/accept-link.c | 4 ++-- test/accept-reuse.c | 2 +- test/accept.c | 2 +- test/double-poll-crash.c | 2 +- test/fadvise.c | 2 +- test/fc2a85cb02ef.c | 4 ++-- test/files-exit-hang-timeout.c | 4 ++-- test/madvise.c | 2 +- test/nvme.h | 4 ++-- test/poll-link.c | 4 ++-- test/pollfree.c | 4 ++-- test/ring-leak.c | 1 - test/sqpoll-cancel-hang.c | 2 +- test/sqpoll-disable-exit.c | 2 +- test/test.h | 3 ++- test/timeout-new.c | 6 +++--- 24 files changed, 40 insertions(+), 33 deletions(-)
base-commit: 4458aa0372738e844008397f71c062bd8bfadcac
Signature · 1 line
Ammar Faizi
PATCH 1/8 ffi: Add SPDX-License-Idetifier
Commit 9e2890d35e96 ("build: add liburing-ffi") didn't add "SPDX-LIcense-Identifier" in src/ffi.c. Add it.
--- src/ffi.c | 1 + 1 file changed, 1 insertion(+)
src/ffi.c +1 -0
@@ -1,10 +1,11 @@ +/* SPDX-License-Identifier: MIT */ #define IOURINGINLINE #ifdef __clang__// clang doesn't seem to particularly like that we're including a header that // deliberately contains function definitions so we explicitly silence it #pragma clang diagnostic push#pragma clang diagnostic ignored "-Wmissing-prototypes"#endif #include "liburing.h"
Signature · 1 line
Ammar Faizi
PATCH 2/8 Makefile: Add a '+' char to silence a Makefile warning
In reply to Ammar FaiziWhen building with make -jN where N is greater than 1, it shows:
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
This happens because since commit 0d55ea19ccf2 ("version: generate io_uring_version.h from Makefile.common"), the configure file executes make command.
Add a '+' char in front of the configure command to silence this warning.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -18,21 +18,21 @@ partcheck: all @echo "make partcheck => TODO add tests with out kernel support" runtests: all @$(MAKE) -C test runtests runtests-loop: all @$(MAKE) -C test runtests-loop runtests-parallel: all @$(MAKE) -C test runtests-parallel config-host.mak: configure - @if [ ! -e "$@" ]; then \ + +@if [ ! -e "$@" ]; then \ echo "Running configure ..."; \ ./configure; \ else \ echo "$@ is out-of-date, running configure"; \ sed -n "/.*Configured with/s/[^:]*: //p" "$@" | sh; \ fi ifneq ($(MAKECMDGOALS),clean) include config-host.mak endif
Signature · 1 line
Ammar Faizi
PATCH 3/8 tests: Fix `-Wstrict-prototypes` warnings from Clang
In reply to Ammar FaiziThis is a preparation patch to integrate -Wstrict-prototypes flag to the GitHub CI robot. Clang says:
warning: a function declaration without a prototype is \
deprecated in all versions of C [-Wstrict-prototypes]
Make sure we put "void" in the argument list of the function declaration if the function doesn't accept any argument.
Reproducer (with clang-16):
./configure --cc=clang --cxx=clang++; CFLAGS="-Wall -Wextra -Wstrict-prototypes" make -j8;
--- test/35fa71a030ca.c | 2 +- test/a4c0b3decb33.c | 2 +- test/accept.c | 2 +- test/fc2a85cb02ef.c | 2 +- test/pollfree.c | 2 +- test/sqpoll-disable-exit.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
test/35fa71a030ca.c +1 -1
@@ -169,21 +169,21 @@ static void kill_and_wait(int pid, int* status)close (fd); }closedir (dir); }else { }while (waitpid (-1 , status, __WALL) != pid) { } }#define SYZ_HAVE_SETUP_TEST 1 -static void setup_test () +static void setup_test (void ) {prctl (PR_SET_PDEATHSIG ,SIGKILL ,0 ,0 ,0 );setpgrp ();write_file ("/proc/self/oom_score_adj" ,"1000" ); }struct thread_t {int created, call;event_t ready, done; };
test/a4c0b3decb33.c +1 -1
@@ -88,21 +88,21 @@ static void kill_and_wait(int pid, int* status) }close (fd); }closedir (dir); }else { }while (waitpid (-1 , status, __WALL) != pid) { } } -static void setup_test () +static void setup_test (void ) {prctl (PR_SET_PDEATHSIG ,SIGKILL ,0 ,0 ,0 );setpgrp ();write_file ("/proc/self/oom_score_adj" ,"1000" ); }static void execute_one (void );#define WAIT_FLAGS __WALL
test/accept.c +1 -1
@@ -604,21 +604,21 @@ static int test_multishot_accept(int count, bool before, bool overflow)if (no_accept_multi)return T_EXIT_SKIP ; ret =io_uring_queue_init (MAX_FDS +10 , &m_io_uring,0 );assert (ret >=0 ); ret =test (&m_io_uring, args);io_uring_queue_exit (&m_io_uring);return ret; } -static int test_accept_multishot_wrong_arg () +static int test_accept_multishot_wrong_arg (void ) {struct io_uring m_io_uring;struct io_uring_cqe *cqe;struct io_uring_sqe *sqe;int fd, ret; ret =io_uring_queue_init (4 , &m_io_uring,0 );assert (ret >=0 ); fd =start_accept_listen (NULL ,0 ,0 );
test/fc2a85cb02ef.c +1 -1
@@ -47,21 +47,21 @@ static int inject_fault(int nth) fd =open ("/proc/thread-self/fail-nth" ,O_RDWR );if (fd ==-1 )exit (1 );char buf[16 ];sprintf (buf,"%d" , nth +1 );if (write (fd, buf,strlen (buf)) != (ssize_t )strlen (buf))exit (1 );return fd; } -static int setup_fault () +static int setup_fault (void ) {static struct {const char * file;const char * val;bool fatal; } files[] = { {"/sys/kernel/debug/failslab/ignore-gfp-wait" ,"N" , true}, {"/sys/kernel/debug/failslab/verbose" ,"0" , false}, {"/sys/kernel/debug/fail_futex/ignore-private" ,"N" , false}, {"/sys/kernel/debug/fail_page_alloc/verbose" ,"0" , false},
test/pollfree.c +1 -1
@@ -245,21 +245,21 @@ static void kill_and_wait(int pid, int* status) }close (fd); }closedir (dir); }else { }while (waitpid (-1 , status, __WALL) != pid) { } } -static void setup_test () +static void setup_test (void ) {prctl (PR_SET_PDEATHSIG ,SIGKILL ,0 ,0 ,0 );setpgrp (); }struct thread_t {int created, call;event_t ready, done; };
test/sqpoll-disable-exit.c +1 -1
@@ -129,21 +129,21 @@ static void kill_and_wait(int pid, int* status) }close (fd); }closedir (dir); }else { }while (waitpid (-1 , status, __WALL) != pid) { } } -static void setup_test () +static void setup_test (void ) {prctl (PR_SET_PDEATHSIG ,SIGKILL ,0 ,0 ,0 );setpgrp ();write_file ("/proc/self/oom_score_adj" ,"1000" ); }static void execute_one (void );#define WAIT_FLAGS __WALL
Signature · 1 line
Ammar Faizi
PATCH 4/8 test/ring-leak: Remove a "break" statement in a "for loop"
In reply to Ammar FaiziClang says:
ring-leak.c:235:21: warning: loop will run at most once \
(loop increment never executed) [-Wunreachable-code-loop-increment]
for (i = 0; i < 2; i++) {
^~~This "break" statement makes the "for loop" meaningless. Remove it. We are supposed to run the test function with 2 different arguments using this "for loop".
--- test/ring-leak.c | 1 - 1 file changed, 1 deletion(-)
test/ring-leak.c +0 -1
@@ -234,21 +234,20 @@ int main(int argc, char *argv[])for (i =0 ; i <2 ; i++) {bool update = !!(i &1 ); ret =test_scm_cycles (update);if (ret) {fprintf (stderr,"test_scm_cycles() failed %i\n" , update);return 1 ; } -break ; }if (socketpair (AF_UNIX ,SOCK_DGRAM ,0 , sp) !=0 ) {perror ("Failed to create Unix-domain socket pair\n" );return 1 ; } ring_fd =get_ring_fd ();if (ring_fd <0 )return 1 ;
Signature · 1 line
Ammar Faizi
PATCH 5/8 tests: Fix clang `-Wunreachable-code` warning
In reply to Ammar FaiziClang says:
fadvise.c:190:3: warning: code will never be executed [-Wunreachable-code]
fprintf(stderr, "Suspicious timings\n");
^~~~~~~
fadvise.c:189:6: note: silence by adding parentheses to mark code as \
explicitly dead
if (0 && bad > good) {
^
/* DISABLES CODE */ ( )
madvise.c:186:3: warning: code will never be executed [-Wunreachable-code]
fprintf(stderr, "Suspicious timings (%u > %u)\n", bad, good);
^~~~~~~
madvise.c:185:6: note: silence by adding parentheses to mark code as \
explicitly dead
if (0 && bad > good)
^
/* DISABLES CODE */ ( )Add parentheses to silence the warning.
--- test/fadvise.c | 2 +- test/madvise.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
test/fadvise.c +1 -1
@@ -179,21 +179,21 @@ int main(int argc, char *argv[]) goto err; }else if (!ret) good++;else if (ret ==2 ) bad++;if (i >=MIN_LOOPS && !bad)break ; }/* too hard to reliably test, just ignore */ -if (0 && bad > good) { +if ((0 ) && bad > good) {fprintf (stderr,"Suspicious timings\n" ); goto err; }if (fname != argv[1 ])unlink (fname);io_uring_queue_exit (&ring);return T_EXIT_PASS ; err:if (fname != argv[1 ])
test/madvise.c +1 -1
@@ -175,21 +175,21 @@ int main(int argc, char *argv[]) goto err; }else if (!ret) good++;else if (ret ==2 ) bad++;if (i >=MIN_LOOPS && !bad)break ; }/* too hard to reliably test, just ignore */ -if (0 && bad > good) +if ((0 ) && bad > good)fprintf (stderr,"Suspicious timings (%u > %u)\n" , bad, good);if (fname != argv[1 ])unlink (fname);io_uring_queue_exit (&ring);return T_EXIT_PASS ; err:if (fname != argv[1 ])unlink (fname);return T_EXIT_FAIL ; }
Signature · 1 line
Ammar Faizi
PATCH 6/8 tests: Declare internal variables as static
In reply to Ammar FaiziThis is a preparation patch to add -Wmissing-variable-declarations to the GitHub bot CI. It ensures variables that are not used outside the translation unit be declared as static.
The error message looks like this:
35fa71a030ca.c:265:1: note: declare 'static' if the variable is not intended \
to be used outside of this translation unit
uint64_t r[1] = {0xffffffffffffffff};
^
1 error generated.--- test/232c93d07b74.c | 6 +++--- test/35fa71a030ca.c | 2 +- test/a0908ae19763.c | 2 +- test/accept-link.c | 4 ++-- test/accept-reuse.c | 2 +- test/double-poll-crash.c | 2 +- test/fc2a85cb02ef.c | 2 +- test/files-exit-hang-timeout.c | 4 ++-- test/nvme.h | 4 ++-- test/poll-link.c | 4 ++-- test/pollfree.c | 2 +- test/sqpoll-cancel-hang.c | 2 +- test/test.h | 3 ++- test/timeout-new.c | 6 +++--- 14 files changed, 23 insertions(+), 22 deletions(-)
test/232c93d07b74.c +3 -3
@@ -26,23 +26,23 @@#define RECV_BUFF_SIZE 2#define SEND_BUFF_SIZE 3struct params {int tcp;int non_blocking;__be16 bind_port; }; -pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; -pthread_cond_t cond =PTHREAD_COND_INITIALIZER ; -int rcv_ready =0 ; +static pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; +static pthread_cond_t cond =PTHREAD_COND_INITIALIZER ; +static int rcv_ready =0 ;static void set_rcv_ready (void ) {pthread_mutex_lock (&mutex); rcv_ready =1 ;pthread_cond_signal (&cond);pthread_mutex_unlock (&mutex); }
test/35fa71a030ca.c +1 -1
@@ -255,21 +255,21 @@ static void loop(void)break ;sleep_ms (1 );if (current_time_ms () - start <5 *1000 )continue ;kill_and_wait (pid, &status);break ; } } } -uint64_t r[1 ] = {0xffffffffffffffff }; +static uint64_t r[1 ] = {0xffffffffffffffff };void execute_call (int call) {long res;switch (call) {case 0 : *(uint32_t *)0x20000040 =0 ; *(uint32_t *)0x20000044 =0 ; *(uint32_t *)0x20000048 =0 ; *(uint32_t *)0x2000004c =0 ;
test/a0908ae19763.c +1 -1
@@ -7,21 +7,21 @@#include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/mman.h> #include <unistd.h> #include "liburing.h" #include "helpers.h" #include "../src/syscall.h" -uint64_t r[1 ] = {0xffffffffffffffff }; +static uint64_t r[1 ] = {0xffffffffffffffff };int main (int argc,char *argv[]) {if (argc >1 )return T_EXIT_SKIP ;mmap ((void *)0x20000000 ,0x1000000 ,3 ,0x32 ,-1 ,0 );intptr_t res =0 ; *(uint32_t *)0x20000080 =0 ; *(uint32_t *)0x20000084 =0 ; *(uint32_t *)0x20000088 =0 ;
test/accept-link.c +2 -2
@@ -9,22 +9,22 @@#include <pthread.h> #include <sys/socket.h> #include <netinet/tcp.h> #include <netinet/in.h> #include <poll.h> #include <arpa/inet.h> #include "liburing.h" #include "helpers.h" -pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; -pthread_cond_t cond =PTHREAD_COND_INITIALIZER ; +static pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; +static pthread_cond_t cond =PTHREAD_COND_INITIALIZER ;static int recv_thread_ready =0 ;static int recv_thread_done =0 ;static void signal_var (int *var) {pthread_mutex_lock (&mutex); *var =1 ;pthread_cond_signal (&cond);pthread_mutex_unlock (&mutex);
test/accept-reuse.c +1 -1
@@ -4,21 +4,21 @@#include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include "liburing.h" #include "helpers.h" #include "../src/syscall.h" -struct io_uring io_uring; +static struct io_uring io_uring;static int sys_io_uring_enter (const int fd,const unsigned to_submit,const unsigned min_complete,const unsigned flags,sigset_t *const sig) {return __sys_io_uring_enter (fd, to_submit, min_complete, flags, sig); }static int submit_sqe (void ) {
test/double-poll-crash.c +1 -1
@@ -102,21 +102,21 @@ static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2)strncpy (buf, (char *)a0,sizeof (buf) -1 ); buf[sizeof (buf) -1 ] =0 ;while ((hash =strchr (buf,'#' ))) { *hash ='0' + (char )(a1 %10 ); a1 /=10 ; }return open (buf, a2,0 ); } } -uint64_t r[4 ] = {0xffffffffffffffff ,0x0 ,0x0 ,0xffffffffffffffff }; +static uint64_t r[4 ] = {0xffffffffffffffff ,0x0 ,0x0 ,0xffffffffffffffff };int main (int argc,char *argv[]) {void *mmap_ret;#if !defined(__i386) && !defined(__x86_64__)return T_EXIT_SKIP ;#endif if (argc >1 )return T_EXIT_SKIP ;
test/fc2a85cb02ef.c +1 -1
@@ -72,21 +72,21 @@ static int setup_fault(void)unsigned i;for (i =0 ; i <sizeof (files) /sizeof (files[0 ]); i++) {if (!write_file (files[i].file, files[i].val)) {if (files[i].fatal)return 1 ; } }return 0 ; } -uint64_t r[2 ] = {0xffffffffffffffff ,0xffffffffffffffff }; +static uint64_t r[2 ] = {0xffffffffffffffff ,0xffffffffffffffff };int main (int argc,char *argv[]) {if (argc >1 )return T_EXIT_SKIP ;mmap ((void *)0x20000000ul ,0x1000000ul ,3ul ,0x32ul ,-1 ,0 );if (setup_fault ()) {printf ("Test needs failslab/fail_futex/fail_page_alloc enabled, skipped\n" );return T_EXIT_SKIP ; }
test/files-exit-hang-timeout.c +2 -2
@@ -14,23 +14,23 @@#include <sys/socket.h> #include <unistd.h> #include <poll.h> #include "liburing.h" #include "helpers.h" #define BACKLOG 512#define PORT 9100 -struct io_uring ring; +static struct io_uring ring; -struct __kernel_timespec ts = { +static struct __kernel_timespec ts = { .tv_sec =300 , .tv_nsec =0 , };static void add_timeout (struct io_uring *ring,int fd) {struct io_uring_sqe *sqe; sqe =io_uring_get_sqe (ring);io_uring_prep_timeout (sqe, &ts,100 ,0 );
test/nvme.h +2 -2
@@ -50,22 +50,22 @@ struct nvme_uring_cmd {enum nvme_admin_opcode { nvme_admin_identify =0x06 , };enum nvme_io_opcode { nvme_cmd_write =0x01 , nvme_cmd_read =0x02 , }; -int nsid; -__u32 lba_shift; +static int nsid; +static __u32 lba_shift;struct nvme_lbaf {__le16 ms;__u8 ds;__u8 rp; };struct nvme_id_ns {__le64 nsze;__le64 ncap;
test/poll-link.c +2 -2
@@ -9,22 +9,22 @@#include <pthread.h> #include <sys/socket.h> #include <netinet/tcp.h> #include <netinet/in.h> #include <poll.h> #include <arpa/inet.h> #include "helpers.h" #include "liburing.h" -pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; -pthread_cond_t cond =PTHREAD_COND_INITIALIZER ; +static pthread_mutex_t mutex =PTHREAD_MUTEX_INITIALIZER ; +static pthread_cond_t cond =PTHREAD_COND_INITIALIZER ;static int recv_thread_ready =0 ;static int recv_thread_done =0 ;static void signal_var (int *var) {pthread_mutex_lock (&mutex); *var =1 ;pthread_cond_signal (&cond);pthread_mutex_unlock (&mutex);
test/pollfree.c +1 -1
@@ -335,21 +335,21 @@ static void loop(void)kill_and_wait (pid, &status);break ; } } }#ifndef __NR_io_uring_enter#define __NR_io_uring_enter 426#endif -uint64_t r[4 ] = {0xffffffffffffffff ,0xffffffffffffffff ,0x0 ,0x0 }; +static uint64_t r[4 ] = {0xffffffffffffffff ,0xffffffffffffffff ,0x0 ,0x0 };void execute_call (int call) {intptr_t res =0 ;switch (call) {case 0 : *(uint64_t *)0x200000c0 =0 ; res =syscall (__NR_signalfd4,-1 ,0x200000c0ul ,8ul ,0ul );if (res !=-1 ) r[0 ] = res;
test/sqpoll-cancel-hang.c +1 -1
@@ -32,21 +32,21 @@ static uint64_t current_time_ms(void)static void kill_and_wait (int pid,int * status) {kill (-pid,SIGKILL );kill (pid,SIGKILL );while (waitpid (-1 , status, __WALL) != pid) { } }#define WAIT_FLAGS __WALL -uint64_t r[3 ] = {0xffffffffffffffff ,0x0 ,0x0 }; +static uint64_t r[3 ] = {0xffffffffffffffff ,0x0 ,0x0 };static long syz_io_uring_setup (volatile long a0,volatile long a1,volatile long a2,volatile long a3,volatile long a4,volatile long a5) {uint32_t entries = (uint32_t )a0;struct io_uring_params * setup_params = (struct io_uring_params *)a1;void * vma1 = (void *)a2;void * vma2 = (void *)a3;void ** ring_ptr_out = (void **)a4;
test/test.h +2 -1
@@ -7,21 +7,22 @@#ifdef __cplusplusextern "C" {#endif typedef struct io_uring_test_config {unsigned int flags;const char *description; }io_uring_test_config ; -io_uring_test_config io_uring_test_configs[] = { +__attribute__((__unused__)) +static io_uring_test_config io_uring_test_configs[] = { {0 ,"default" }, {IORING_SETUP_SQE128 ,"large SQE" }, {IORING_SETUP_CQE32 ,"large CQE" }, {IORING_SETUP_SQE128 |IORING_SETUP_CQE32 ,"large SQE/CQE" }, };#define FOR_ALL_TEST_CONFIGS \ for (int i = 0; i < sizeof(io_uring_test_configs) / sizeof(io_uring_test_configs[0]); i++)#define IORING_GET_TEST_CONFIG_FLAGS () (io_uring_test_configs[i].flags)
test/timeout-new.c +3 -3
@@ -5,23 +5,23 @@*/ #include <stdio.h> #include <sys/time.h> #include <unistd.h> #include <pthread.h> #include "liburing.h" #define TIMEOUT_MSEC 200#define TIMEOUT_SEC 10 -int thread_ret0, thread_ret1; -int cnt =0 ; -pthread_mutex_t mutex; +static int thread_ret0, thread_ret1; +static int cnt =0 ; +static pthread_mutex_t mutex;static void msec_to_ts (struct __kernel_timespec *ts,unsigned int msec) { ts->tv_sec = msec /1000 ; ts->tv_nsec = (msec %1000 ) *1000000 ; }static unsigned long long mtime_since (const struct timeval *s,const struct timeval *e) {
Signature · 1 line
Ammar Faizi
PATCH 7/8 github: Add more extra flags for clang build
In reply to Ammar FaiziAdd these 4 flags:
-Wstrict-prototypes
-Wunreachable-code-loop-increment
-Wunreachable-code
-Wmissing-variable-declarations
for stricter clang build.
--- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.github/workflows/build.yml +1 -1
@@ -20,21 +20,21 @@ jobs: cc: x86_64-linux-gnu-gcc cxx: x86_64-linux-gnu-g++ # x86-64 clang - arch: x86_64 cc_pkg: clang cxx_pkg: clang cc: clang cxx: clang++ liburing_extra_flags: -Wshorten-64-to-32 - extra_flags: -Wmissing-prototypes + extra_flags: -Wmissing-prototypes -Wstrict-prototypes -Wunreachable-code-loop-increment -Wunreachable-code -Wmissing-variable-declarations # x86 (32-bit) gcc - arch: i686 cc_pkg: gcc-i686-linux-gnu cxx_pkg: g++-i686-linux-gnu cc: i686-linux-gnu-gcc cxx: i686-linux-gnu-g++ # aarch64 gcc - arch: aarch64
Signature · 1 line
Ammar Faizi
PATCH 8/8 CHANGELOG: Update the CHANGELOG file
In reply to Ammar Faizi--- CHANGELOG | 6 ++++++ 1 file changed, 6 insertions(+)
CHANGELOG +6 -0
@@ -1,10 +1,16 @@ +liburing-2.4 release + +- Add io_uring_{major,minor,check}_version() functions. +- Add IO_URING_{MAJOR,MINOR,CHECK}_VERSION() macros. +- FFI support (for non-C/C++ languages integration). + liburing-2.3 release - 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
Signature · 1 line
Ammar Faizi
Quoted 11 lines · Ammar Faizi
liburing updates, there are 8 patches in this series:
- Patch #1 is to add a missing SPDX-License-Idetifier.
- Patch #2 is aMakefilewarning fix due to the recent liburing version check feature.
- Patch #3 to #6 are a preparation patch to make the clang build stricter.
- Patch #7 is to apply extra clang flags to the GitHub bot CI.
- Patch #8 is the CHANGELOG file update.[...]
Applied, thanks!
[1/8] ffi: Add SPDX-License-Idetifier
(no commit info)
[2/8] Makefile: Add a '+' char to silence a Makefile warning
(no commit info)
[3/8] tests: Fix -Wstrict-prototypes warnings from Clang
(no commit info)
[4/8] test/ring-leak: Remove a "break" statement in a "for loop"
(no commit info)
[5/8] tests: Fix clang -Wunreachable-code warning
(no commit info)
[6/8] tests: Declare internal variables as static
(no commit info)
[7/8] github: Add more extra flags for clang build
(no commit info)
[8/8] CHANGELOG: Update the CHANGELOG file
(no commit info)
Best regards,
Signature · 1 line
Jens Axboe