From: Justin M. Forbes <jfor...@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 <jfor...@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
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to