aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Expand)AuthorFilesLines
5 hoursMerge branch 'recvsend-bundle'HEADmasterJens Axboe3-7/+15
3 daysio_uring.h: sync with 6.10 kernelJens Axboe1-0/+20
12 daysliburing-ffi.map: Add comments for symbols added in wrong version nodeGuillem Jover1-8/+9
2024-04-17register: use do_register() for NAPI register/unregisterJens Axboe1-4/+2
2024-04-14Add initialization function of io_uring_sqegxu1-9/+13
2024-03-26Merge branch 'memory-ordering-and-atomicity' of https://github.com/shachaf/li...Jens Axboe2-14/+12
2024-03-11Change buffer ring head return value to uint16_tJens Axboe2-4/+4
2024-03-11Add send bundle helperJens Axboe2-0/+8
2024-03-11test/recvsend_bundle: add basic test case for send bundleJens Axboe1-0/+10
2024-03-08Introduce make uninstall in MakefileXinghui Li1-0/+17
2024-03-02Fix memory ordering/atomic accessShachaf Ben-Kiki2-14/+12
2024-02-27Fix off-by-one in minor check for io_uring_check_version()Jens Axboe2-2/+2
2024-02-16src/arch/aarch64: fix uclibc buildFabrice Fontaine1-1/+0
2024-02-09Merge branch 'napi'Jens Axboe5-0/+31
2024-02-09Merge branch 'truncate' of https://github.com/tontinton/liburingJens Axboe3-0/+8
2024-02-02liburing: add api to set napi busy poll settingsStefan Roesch5-0/+31
2024-01-31Add ftruncate helpersTony Solomonik3-0/+8
2024-01-25io_uring_buf_ring_cq_advance: ensure tail store is ordered with buffersJens Axboe1-1/+1
2024-01-17src: remove -g from main libraryJens Axboe1-1/+1
2024-01-17liburing.h: get rid of _GNU_SOURCE and XOPEN_SOURCE definesJens Axboe1-8/+0
2024-01-11Add io_uring_buf_ring_head/available() to the exported listJens Axboe2-0/+6
2023-12-21Add support for IORING_REGISTER_PBUF_STATUSpbuf-statusJens Axboe3-0/+39
2023-12-16Link against libgcc based on output of -print-libgcc-file-nameViolet Purcell1-1/+1
2023-12-11Rename ffi io_uring_prep_sock_cmd _> io_uring_prep_cmd_sock()Jens Axboe1-1/+1
2023-12-08Update IORING_OP_FIXED_FD_INSTALL APIJens Axboe2-2/+8
2023-12-08io_uring_prep_fixed_fd_install: move flagsJens Axboe1-2/+2
2023-12-08Add support for IORING_OP_FIXED_FD_INSTALLJens Axboe3-0/+17
2023-11-10Fix typosGuillem Jover1-1/+1
2023-10-20io_uring_prep_cmd_sock: cast pointer to untptr_t firstJens Axboe1-1/+1
2023-10-20liburing.h: Populate SQE for {s,g} etsockoptBreno Leitao1-7/+4
2023-10-20io_uring: uapi: Sync the {g,s}etsockopt fieldsBreno Leitao1-0/+8
2023-10-18Add setup.h includeJens Axboe2-0/+10
2023-10-18setup: default to IORING_SETUP_NO_SQARRAYPavel Begunkov1-5/+23
2023-10-18setup: add IORING_SETUP_NO_SQARRAY supportPavel Begunkov2-5/+14
2023-10-18Update sqe layout and prep helpersJens Axboe1-7/+10
2023-10-18Update for new prep_futex_waitv() prototypeJens Axboe1-5/+3
2023-10-18Add 'flags' to futex prep helpersJens Axboe1-6/+6
2023-10-18liburing.h: update futex prep helpers for new sqe layoutJens Axboe1-12/+15
2023-10-18Add futex helpersJens Axboe3-1/+33
2023-10-18waitid: add io_uring flags parameterwaitidJens Axboe1-1/+2
2023-10-18liburing.h: add `io_uring_prep_waitid`李通洲2-0/+13
2023-10-18Add waitid test caseJens Axboe1-0/+2
2023-10-18Add io_uring_prep_read_multishot() helperJens Axboe2-0/+11
2023-10-18test/read-mshot: add multishot read test caseJens Axboe1-0/+1
2023-08-28liburing-ffi.map: Move `io_uring_prep_sock_cmd()` to v2.5Ammar Faizi1-1/+1
2023-08-28liburing.map: Remove `io_uring_queue_init_mem()` from v2.4Ammar Faizi2-2/+0
2023-08-23Add nolibc riscv64 supportMichal Biesek5-1/+153
2023-07-28io_uring_prep_cmd: Create a new helper for command opsBreno Leitao2-0/+24
2023-07-28uapi: Sync with the kernel to get socket CMDBreno Leitao1-0/+8
2023-07-24register: use the right 'fd' depending on registration stateJens Axboe1-2/+8
2023-06-30Fixes build failure on ./configure && make --shuffle=2836571325Kartik Mahajan1-1/+1
2023-06-23src/Makefile: Allow using stack protector with libcAmmar Faizi1-4/+3
2023-06-13build: Fail the build if we have undefined symbolsGuillem Jover1-1/+1
2023-06-13build: Disable stack protector unconditionallyGuillem Jover1-1/+2
2023-06-12Revert "setup: unify queue exit path"Jens Axboe1-5/+12
2023-06-12Merge branch 'setup-registered-fd-only' of https://github.com/joshtriplett/li...Jens Axboe2-1/+23
2023-06-09setup: Expect pre-zeroed memory in io_uring_queue_init_memJosh Triplett1-1/+0
2023-06-09setup: Use non-huge pages if sufficient for the queue sizesJosh Triplett1-7/+19
2023-06-09setup: Avoid overrunning the CQ/SQ huge pageJosh Triplett1-1/+11
2023-06-09setup: Support IORING_SETUP_REGISTERED_FD_ONLYJosh Triplett1-1/+16
2023-06-09io_uring.h: Update to include IORING_SETUP_REGISTERED_FD_ONLYJosh Triplett1-0/+7
2023-06-09setup: Avoid zeroing a freshly mapped MAP_ANONYMOUS pageJosh Triplett1-2/+1
2023-06-09setup: Account for IORING_SETUP_CQE32 for the preallocated ring caseJosh Triplett1-0/+2
2023-06-09setup: Fix and unify ring size calculation for preallocated ringJosh Triplett1-9/+4
2023-06-09setup: unify queue exit pathhuge.2Jens Axboe1-12/+5
2023-06-09setup: add support for io_uring_queue_init_mem()Jens Axboe5-27/+99
2023-06-09setup: add support for IORING_SETUP_NO_MMAPJens Axboe1-22/+95
2023-06-09setup: split cq/sq entry count into helperJens Axboe1-33/+56
2023-06-09setup: split writing cq/sq offsets into helperJens Axboe1-21/+28
2023-06-09io_uring.h: update to kernel huge page versionJens Axboe1-2/+7
2023-06-08src: lib.h still needs the string includeJens Axboe1-0/+1
2023-06-08src: use memset() as the symbolJens Axboe1-7/+7
2023-06-08src: use __uring_memset() consistentlyJens Axboe2-8/+13
2023-06-08src/Makefile: add -fno-builtinJens Axboe1-2/+2
2023-06-07io_uring.h: remove dead notification slot definitionsJens Axboe1-13/+0
2023-06-07src/Makefile: get rid of -Wno-sign-compareJens Axboe1-1/+1
2023-06-07Fix different sign compare warningsJens Axboe2-2/+2
2023-05-16src/setup: minor style cleanupsJens Axboe1-2/+1
2023-05-16src/register: always use ring->enter_ring_fd in do_register()Jens Axboe1-4/+3
2023-05-12Add __io_uring_buf_ring_cq_advance() helperJens Axboe2-2/+10
2023-04-18liburing: add multishot timeout supportDavid Wei1-0/+1
2023-04-15liburing: Add `io_uring_prep_sendto()`Ammar Faizi2-8/+18
2023-04-05Factor in IORING_FILE_INDEX_ALLOC for direct fd instantiationsJens Axboe1-2/+16
2023-03-20Update io_uring_prep_fallocate() to use 64-bit length/offsetoff_tJens Axboe1-1/+1
2023-03-16Default to mmap'ed provided buffers for hppaJens Axboe2-7/+72
2023-03-16Add helpers for alloc+register and unregister+free for ring buffersJens Axboe4-0/+62
2023-03-16Add io_uring_prep_msg_ring_fd_alloc() helperPavel Begunkov2-0/+10
2023-02-19Optimize do_register by combining feature check with internal flagJosh Triplett2-3/+6
2023-02-19Support closing the ring fd and using it exclusively via registered indexJosh Triplett5-1/+19
2023-02-19Support using IORING_REGISTER_USE_REGISTERED_RINGJosh Triplett2-1/+10
2023-02-15Error on duplicate ring fd registrationJosh Triplett1-0/+6
2023-02-15src/register.c: Call __sys_io_uring_register via a helper taking the ringJosh Triplett1-66/+34
2023-02-02Add io_uring_prep_msg_ring_fd() helperJens Axboe2-0/+12
2023-01-13liburing.map: Export `io_uring_{enable_rings,register_restrictions}`Ammar Faizi1-0/+3
2023-01-12man/io_uring_prep_splice.3: Fix description in io_uring_prep_splice() manpageAmmar Faizi1-14/+13
2023-01-12liburing.h: 's/is adjust/is adjusted/' and fix indentationAmmar Faizi1-2/+2
2023-01-12liburing-ffi.map: Add io_uring_prep_msg_ring_cqe_flags() functionAmmar Faizi1-0/+1
2023-01-11Merge branch 'master' of https://github.com/leitao/liburingJens Axboe2-0/+11
2023-01-09liburing.h: Use proper sqe flagsBreno Leitao1-1/+1
2023-01-06register: Simplify `io_uring_register_file_alloc_range()` functionAmmar Faizi1-5/+4
2023-01-06nolibc: Fix bloated memset due to unexpected vectorizationAmmar Faizi1-1/+8
2023-01-04Add io_uring_prep_msg_ring_cqe_flags functionBreno Leitao1-0/+9
2023-01-04uapi: Sync with the kernel in order to see IORING_MSG_RING_FLAGS_PASSBreno Leitao1-0/+2
2022-12-28uapi: Sync with the kernel and adjust the way to avoid linux/time_types.hStefan Metzmacher1-6/+23
2022-12-19ffi: Add SPDX-License-IdetifierAmmar Faizi1-0/+1
2022-12-19Ensure LFS is used on 32-bit compilesJens Axboe1-1/+2
2022-12-07liburing-ffi.map: Add missing functionsAmmar Faizi1-0/+4
2022-12-07liburing.h: various indentation fixesJens Axboe1-29/+24
2022-12-05build: add liburing-ffiChristian Mazakas4-108/+314
2022-12-01version: add runtime and compile time version checksChristian Hergert4-1/+47
2022-12-01version: generate io_uring_version.h from Makefile.commonChristian Hergert2-0/+3
2022-11-25queue: Mark `__io_uring_flush_sq()` as staticAmmar Faizi1-1/+1
2022-11-25queue: Fix typo "entererd" -> "entered"Ammar Faizi1-1/+1
2022-11-25nolibc: Simplify function namingAmmar Faizi2-22/+6
2022-11-25nolibc: Do not define `memset()` function in liburingAmmar Faizi2-1/+6
2022-11-24register: Remove useless branch in register restrictionsAmmar Faizi1-6/+3
2022-11-24register: Remove useless branch in register probeAmmar Faizi1-5/+2
2022-11-24register: Remove useless branch in unregister filesAmmar Faizi1-5/+2
2022-11-24register: Remove useless branches in {un,}register buffersAmmar Faizi1-10/+4
2022-11-24register: Remove useless branches in {un,}register eventfdAmmar Faizi1-16/+7
2022-10-24Merge branch 'io_uring_prep_send_set_addr' of https://github.com/metze-samba/...Jens Axboe1-1/+1
2022-10-24uapi: Sync with the kernel in order to build systems without linux/time_types.hStefan Metzmacher1-0/+18
2022-10-23fix const warning in io_uring_prep_send_set_addr()Stefan Metzmacher1-1/+1
2022-10-22src/queue: don't wait twice if looping in _io_uring_get_cqe()Jens Axboe1-6/+24
2022-10-20Makefile: Introduce `LIBURING_CFLAGS` variableAmmar Faizi1-1/+4
2022-10-20liburing: Clean up `-Wshorten-64-to-32` warnings from clangDylan Yudaken4-11/+14
2022-10-19fix len type of fgettxattr etcDylan Yudaken1-9/+9
2022-10-19fix int shortening bug in io_uring_recvmsg_validateDylan Yudaken1-3/+2
2022-10-19src/queue: fix reversed check for SQPOLLJens Axboe1-2/+2
2022-09-28liburing: add more zc helpersPavel Begunkov1-0/+19
2022-09-23!SQPOLL setups don't need acquire/release semantics on SQ ring updatesJens Axboe2-3/+9
2022-09-21Remove exports of removed notification functionsJens Axboe1-2/+0
2022-09-21tests: add sendmsg_zc testsPavel Begunkov1-0/+1
2022-09-05expose CQ ring overflow stateDylan Yudaken1-0/+9
2022-09-05add io_uring_submit_and_get_events and io_uring_get_eventsDylan Yudaken3-8/+23
2022-09-05Copy defer task run definition from kernelDylan Yudaken1-0/+7
2022-09-04liburing: Export `__NR_io_uring_{setup,enter,register}` to userAmmar Faizi2-37/+36
2022-09-03Fix constant correctness error in `io_uring_register_files_update`Dominik Thalhammer2-2/+2
2022-09-02zc: adjust sendzc to the simpler uapiPavel Begunkov3-74/+13
2022-09-01Fix constant correctness error in `getxattr`/`fgetxattr`Dominik Thalhammer1-2/+2
2022-08-30queue: Remove unnecessary goto and labelAmmar Faizi1-2/+1
2022-08-30syscall: Add io_uring syscall functionsAmmar Faizi4-1/+46
2022-08-30syscall: Make io_uring syscall arguments consistentAmmar Faizi2-18/+20
2022-08-29queue: enter if CQ needs it, even if SQ doesn'tCaleb Sander1-2/+3
2022-08-29Revert "src/queue: always enter for IOPOLL"Jens Axboe1-3/+0
2022-08-29src/queue: always enter for IOPOLLJens Axboe1-0/+3
2022-08-29queue: assume direct SQ-SQE mappingCaleb Sander2-23/+20
2022-08-28Merge branch 'fix/flush-sq-unsigned' of https://github.com/calebsander/liburingJens Axboe1-1/+1
2022-08-28queue: return unsigned from __io_uring_flush_sq()Caleb Sander1-1/+1
2022-08-28queue: avoid io_uring_enter() with no SQEsCaleb Sander1-3/+9
2022-08-28liburing: cache ring sizes and masksCaleb Sander3-11/+26
2022-08-23io_uring: uapi: Sync with the kernelAmmar Faizi1-18/+48
2022-08-23liburing: Change the type of `flags` in `io_uring_prep_renameat()` to `unsign...Ammar Faizi1-1/+1
2022-07-28io_uring.h: sync sqe entry with 5.20 io_uringAnkit Kumar1-2/+15
2022-07-26change io_uring_recvmsg_payload_length return typeDylan Yudaken1-2/+2
2022-07-26order like functions together in liburing.hDylan Yudaken1-18/+18
2022-07-26more consistent multishot recvmsg API parameter namesDylan Yudaken1-11/+11
2022-07-26arch/syscall: Use __NR_mmap2 existence for preprocessor conditionAlviro Iskandar Setiawan1-1/+1
2022-07-25liburing: improve fallocate typecastingPavel Begunkov1-3/+2
2022-07-25liburing: add zc send and notif helpersPavel Begunkov3-0/+64
2022-07-25io_uring.h: sync with kernel for zc send and notifiersPavel Begunkov1-2/+35
2022-07-21arch/generic: Rename `____sys_io_uring*` to `__sys_io_uring*`Ammar Faizi1-12/+12
2022-07-21Delete `src/syscall.c` and get back to use `__sys_io_uring*` functionsAmmar Faizi7-150/+85
2022-07-21Copy IORING_SETUP_SINGLE_ISSUER into io_uring.hDylan Yudaken1-0/+4
2022-07-18fix io_uring_recvmsg_cmsg_nexthdr logicDylan Yudaken1-1/+2
2022-07-14liburing.h: style and size_t vs int cleanupJens Axboe1-19/+25
2022-07-14add multishot recvmsg APIDylan Yudaken2-0/+73
2022-07-09Correct mistakes on send/recv* flagsJens Axboe1-1/+1
2022-07-05lib: Enable nolibc support for aarch64Ammar Faizi1-0/+2
2022-07-05lib: Style fixup for #if / #elif / #else / #endifAmmar Faizi1-14/+14
2022-07-05arch/aarch64: lib: Add `get_page_size()` functionAmmar Faizi1-0/+48
2022-07-05arch: Remove `__INTERNAL__LIBURING_LIB_H` checksAmmar Faizi7-24/+0
2022-07-05arch: syscall: Add `__sys_read()` syscallAmmar Faizi2-0/+12
2022-07-05arch: syscall: Add `__sys_open()` syscallAmmar Faizi2-0/+23
2022-07-05remove recvmsg_multishotDylan Yudaken1-8/+0
2022-07-03setup: Mark the exported functions as __coldAmmar Faizi1-11/+14
2022-07-03lib: Add __hot and __cold macrosAmmar Faizi1-0/+2
2022-06-30Add __maybe_unused attributeJens Axboe2-1/+4
2022-06-30add io_uring_prep_(recv|recvmsg)_multishotDylan Yudaken1-0/+16
2022-06-30add IORING_RECV_MULTISHOT to io_uring.hDylan Yudaken1-0/+5
2022-06-30alloc range helpersPavel Begunkov3-0/+18
2022-06-30update io_uring.h with file slot alloc rangesPavel Begunkov1-0/+10
2022-06-29Enable -O3 for liburing compilationJens Axboe1-1/+1
2022-06-29Add sync cancel helperJens Axboe4-0/+26
2022-06-15Add io_uring_prep_cancel64()Jens Axboe1-2/+8
2022-06-15Remove IORING_CLOSE_FD_AND_FILE_SLOTJens Axboe2-15/+0
2022-06-13add io_uring_buf_ring_initDylan Yudaken1-0/+5
2022-06-13add mask parameter to io_uring_buf_ring_addDylan Yudaken1-2/+11
2022-06-01io_uring: add prep functions for current working directoryUsama Arif1-0/+31
2022-05-30Tweaks to close+unregister of direct descriptorJens Axboe1-2/+3
2022-05-30Let IORING_OP_FILES_UPDATE support to choose fixed file slotsXiaoguang Wang2-0/+14
2022-05-27Fix type for io_uring_prep_socket_direct()Jens Axboe1-2/+2
2022-05-26liburing: add socket prep helpersJens Axboe1-0/+28
2022-05-18Add missing io_uring_unregister_buf_ring() declarationJens Axboe1-0/+1
2022-05-18Merge branch 'buf-ring'Jens Axboe4-0/+97
2022-05-18Change io_uring_buf_ring_add() to take ring and buffer offsetJens Axboe1-2/+4
2022-05-18Change io_uring_register_buf_ring() to take a flags argumentJens Axboe2-2/+3
2022-05-18Add io_uring_unregister_buf_ring()Jens Axboe2-0/+9
2022-05-18Add combined cq+buf ring advance helperJens Axboe1-2/+17
2022-05-18liburing.c: add buffer ring supply/commit helpersJens Axboe1-0/+25