Skip to content

Commit

Permalink
Merge pull request #131 from jmencak/4.5-bz1833440-cmdline
Browse files Browse the repository at this point in the history
Bug 1833440: Resolve tuned issue with removing parent profile cmdline parameters.
  • Loading branch information
openshift-merge-robot committed May 13, 2020
2 parents e2cf2dc + 9b69baf commit 2d0c2e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions assets/patches/100-bootcmdline-inheritance.diff
@@ -0,0 +1,22 @@
Resolves an issue with removing parent profile cmdline parameters.

See: rhbz#1816168, https://github.com/redhat-performance/tuned/pull/265

--- a/usr/lib/tuned/network-latency/tuned.conf
+++ b/usr/lib/tuned/network-latency/tuned.conf
@@ -16,4 +16,4 @@ net.ipv4.tcp_fastopen=3
kernel.numa_balancing=0

[bootloader]
-cmdline=skew_tick=1
+cmdline_network_latency=skew_tick=1
--- a/usr/lib/python2.7/site-packages/tuned/plugins/plugin_bootloader.py
+++ b/usr/lib/python2.7/site-packages/tuned/plugins/plugin_bootloader.py
@@ -61,7 +61,6 @@ def _get_effective_options(self, options):
effective[key] = options[key]
else:
log.warn("Unknown option '%s' for plugin '%s'." % (key, self.__class__.__name__))
- cmdline_keys.sort()
cmdline = ""
for key in cmdline_keys:
val = options[key]

0 comments on commit 2d0c2e5

Please sign in to comment.