From 0455d50768455966daac71690927d721f99626d1 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 28 Sep 2022 13:53:11 +0900 Subject: [PATCH] patch: fix regression in bfq patch This fixes a bug introduced by d906ff02385b06b9a39cd2982bd6f1e37f7f761b. Fixes RHBZ#2130188. --- use-bfq-scheduler.patch | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/use-bfq-scheduler.patch b/use-bfq-scheduler.patch index 2eb1229..59e642a 100644 --- a/use-bfq-scheduler.patch +++ b/use-bfq-scheduler.patch @@ -1,4 +1,4 @@ -From 8a38bc402c8f7c656c7e356c37c432c7b3a8cd6f Mon Sep 17 00:00:00 2001 +From 1990fb757f6d275d807fcb48ad09f5fc7c947bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 14 Aug 2019 15:57:42 +0200 Subject: [PATCH] udev: use bfq as the default scheduler @@ -17,17 +17,17 @@ See the bug for more discussion and links. diff --git a/rules.d/60-block-scheduler.rules b/rules.d/60-block-scheduler.rules new file mode 100644 -index 0000000000..480b941761 +index 0000000000..850b64540e --- /dev/null +++ b/rules.d/60-block-scheduler.rules @@ -0,0 +1,5 @@ +# do not edit this file, it will be overwritten on update + -+ACTION=="add", SUBSYSTEM=="block", \ ++ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", \ + KERNEL=="mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|sd*[!0-9]|sr*", \ + ATTR{queue/scheduler}="bfq" diff --git a/rules.d/meson.build b/rules.d/meson.build -index a582e4e922..d300c382fc 100644 +index 8d2878a36d..a3b395c9ce 100644 --- a/rules.d/meson.build +++ b/rules.d/meson.build @@ -8,6 +8,7 @@ rules = [ @@ -38,3 +38,6 @@ index a582e4e922..d300c382fc 100644 '60-drm.rules', '60-evdev.rules', '60-fido-id.rules', +-- +2.37.2 +