From 45c8a69a1e35c2ce2a56bfc6b4ccd0a745e364f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 2 Jan 2021 15:09:48 +0100 Subject: [PATCH] Fix bfq patch again https://bugzilla.redhat.com/show_bug.cgi?id=1813219#c3 --- systemd.spec | 3 +++ use-bfq-scheduler.patch | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 325a9fb..b5b0c6f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -898,6 +898,9 @@ getent passwd systemd-network &>/dev/null || useradd -r -u 192 -l -g systemd-net %files standalone-sysusers -f .file-list-standalone-sysusers %changelog +* Wed Jan 13 2021 Zbigniew Jędrzejewski-Szmek - 247.2-2 +- Fix bfq patch again (#1813219) + * Wed Dec 23 2020 Jonathan Underwood - 247.2-2 - Add patch to enable crypttab to support disabling of luks read and write workqueues (corresponding to diff --git a/use-bfq-scheduler.patch b/use-bfq-scheduler.patch index be3905f..d0e6762 100644 --- a/use-bfq-scheduler.patch +++ b/use-bfq-scheduler.patch @@ -20,11 +20,12 @@ new file mode 100644 index 0000000000..480b941761 --- /dev/null +++ b/rules.d/60-block-scheduler.rules -@@ -0,0 +1,5 @@ +@@ -0,0 +1,6 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="add", SUBSYSTEM=="block", \ + KERNEL=="mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|sd*[!0-9]|sr*", \ ++ ENV{DEVTYPE}=="disk", \ + ATTR{queue/scheduler}="bfq" diff --git a/rules.d/meson.build b/rules.d/meson.build index ca4445d774..38d6aa6970 100644