From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Enable IO_URING for RHEL
While RHEL 9 has been running with IO_URING disabled, upstream did not
want to remove the config EXPERT gating because "in the future it is
assumed that IO_URING is enabled everywhere". It seems that future has
come, and with 6.4, we can not build with IO_URING disabled. The easy
solution is to turn IO_URING back on for RHEL. If this is not
acceptable, someone would need to fix the build issues with 6.4 and
IO_URING disabled.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/init/Kconfig b/init/Kconfig
index blahblah..blahblah 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1645,7 +1645,7 @@ config AIO
this option saves about 7k.
config IO_URING
- bool "Enable IO uring support"
+ bool "Enable IO uring support" if EXPERT
select IO_WQ
default y
help
diff --git a/redhat/configs/fedora/generic/CONFIG_IO_URING
b/redhat/configs/common/generic/CONFIG_IO_URING
rename from redhat/configs/fedora/generic/CONFIG_IO_URING
rename to redhat/configs/common/generic/CONFIG_IO_URING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_IO_URING
+++ b/redhat/configs/common/generic/CONFIG_IO_URING
diff --git a/redhat/configs/pending-rhel/generic/CONFIG_IO_URING
b/redhat/configs/pending-rhel/generic/CONFIG_IO_URING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/CONFIG_IO_URING
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_IO_URING=y
diff --git a/redhat/configs/rhel/generic/CONFIG_IO_URING
b/redhat/configs/rhel/generic/CONFIG_IO_URING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_IO_URING
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_IO_URING is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2472