diff options
author | Andy Walsh <andy.walsh44+github@gmail.com> | 2020-06-30 00:52:25 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-22 19:11:50 +0100 |
commit | 9361964a3a330882ddb1ed60eec127821f350014 (patch) | |
tree | b22df5337107fe0b9fd596387452f649233df809 | |
parent | 6ffe8a473eedf6f4f472bb5e64a1e1775917f3c8 (diff) | |
download | upstream-9361964a3a330882ddb1ed60eec127821f350014.tar.gz upstream-9361964a3a330882ddb1ed60eec127821f350014.tar.bz2 upstream-9361964a3a330882ddb1ed60eec127821f350014.zip |
kernel: add KERNEL_IO_URING option
* add KERNEL_IO_URING option
NOTES:
Adds configurable support for the io_uring interface (CONFIG_IO_URING) via KERNEL_IO_URING option.
The kernel only zImage grows by about 5-9KB ?
I would like to enable this by default for all 5.4 kernels, so i can use the new io_uring samba-4.12.x vfs module by default.
The associated liburing was already submitted and merged.
The kernel + liburing was tested on ARM/mvebu via samba4 vfs_io_uring module and i have no issues so far.
Some extra reads on it and why we should enable it by default, since i expect more packages to use this in the future.
https://wiki.samba.org/index.php/Samba_4.12_Features_added/changed#.27io_uring.27_vfs_module
https://lwn.net/Articles/810414/
https://kernel.dk/io_uring.pdf
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.6-IO-uring-Tests
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
-rw-r--r-- | config/Config-kernel.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 22e2286b8d..c9efed84d3 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -373,6 +373,11 @@ config KERNEL_AIO bool "Compile the kernel with asynchronous IO support" default y if !SMALL_FLASH +config KERNEL_IO_URING + bool "Compile the kernel with io_uring support" + default y if !SMALL_FLASH + depends on LINUX_5_4 + config KERNEL_FHANDLE bool "Compile the kernel with support for fhandle syscalls" default y if !SMALL_FLASH |