From: Waiman Long <longman(a)redhat.com>
redhat/configs: Enable CONFIG_BLK_CGROUP_IOLATENCY & CONFIG_BLK_CGROUP_FC_APPID
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2006813
Upstream Status: RHEL only
Tested: After "make dist-configs", both CONFIG_BLK_CGROUP_IOLATENCY and
CONFIG_BLK_CGROUP_FC_APPID are turned on in all config files.
RHEL8 has CONFIG_BLK_CGROUP_IOLATENCY enabled, so kernel-ark must have
this config option enabled too to provide equivalent functionality.
CONFIG_BLK_CGROUP_FC_APPID should be enabled too as it is for the VMID
feature that will allow RHV to assign an ID so that the FC switches
can identify the flows from different VMs (or containers, even). It is
a feature requested by Broadcom.
The new configs are enabled under the common directory. The ones under
the ark or pending-common directory are removed.
Signed-off-by: Waiman Long <longman(a)redhat.com>
diff --git a/redhat/configs/ark/generic/CONFIG_BLK_CGROUP_IOLATENCY
b/redhat/configs/ark/generic/CONFIG_BLK_CGROUP_IOLATENCY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_BLK_CGROUP_IOLATENCY
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_BLK_CGROUP_IOLATENCY is not set
diff --git a/redhat/configs/common/generic/CONFIG_BLK_CGROUP_FC_APPID
b/redhat/configs/common/generic/CONFIG_BLK_CGROUP_FC_APPID
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_BLK_CGROUP_FC_APPID
@@ -0,0 +1 @@
+CONFIG_BLK_CGROUP_FC_APPID=y
diff --git a/redhat/configs/common/generic/CONFIG_BLK_CGROUP_IOLATENCY
b/redhat/configs/common/generic/CONFIG_BLK_CGROUP_IOLATENCY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_BLK_CGROUP_IOLATENCY
@@ -0,0 +1 @@
+CONFIG_BLK_CGROUP_IOLATENCY=y
diff --git a/redhat/configs/pending-common/generic/CONFIG_BLK_CGROUP_FC_APPID
b/redhat/configs/pending-common/generic/CONFIG_BLK_CGROUP_FC_APPID
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/CONFIG_BLK_CGROUP_FC_APPID
+++ /dev/null
@@ -1,18 +0,0 @@
-# CONFIG_BLK_CGROUP_FC_APPID:
-#
-# Enabling this option enables the support to track FC I/O traffic across
-# cgroup applications. It enables the Fabric and the storage targets to
-# identify, monitor, and handle FC traffic based on VM tags by inserting
-# application specific identification into the FC frame.
-#
-# Symbol: BLK_CGROUP_FC_APPID [=n]
-# Type : bool
-# Defined at block/Kconfig:154
-# Prompt: Enable support to track FC I/O Traffic across cgroup applications
-# Depends on: BLOCK [=y] && BLK_CGROUP [=y] && NVME_FC [=m]
-# Location:
-# -> Enable the block layer (BLOCK [=y])
-#
-#
-#
-# CONFIG_BLK_CGROUP_FC_APPID is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1391