Fix bfq patch again

https://bugzilla.redhat.com/show_bug.cgi?id=1813219#c3
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-01-02 15:09:48 +01:00
parent 387db8643f
commit 45c8a69a1e
2 changed files with 5 additions and 1 deletions

View File

@ -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 %files standalone-sysusers -f .file-list-standalone-sysusers
%changelog %changelog
* Wed Jan 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.2-2
- Fix bfq patch again (#1813219)
* Wed Dec 23 2020 Jonathan Underwood <jonathan.underwood@gmail.com> - 247.2-2 * Wed Dec 23 2020 Jonathan Underwood <jonathan.underwood@gmail.com> - 247.2-2
- Add patch to enable crypttab to support disabling of luks read and - Add patch to enable crypttab to support disabling of luks read and
write workqueues (corresponding to write workqueues (corresponding to

View File

@ -20,11 +20,12 @@ new file mode 100644
index 0000000000..480b941761 index 0000000000..480b941761
--- /dev/null --- /dev/null
+++ b/rules.d/60-block-scheduler.rules +++ 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 +# do not edit this file, it will be overwritten on update
+ +
+ACTION=="add", SUBSYSTEM=="block", \ +ACTION=="add", SUBSYSTEM=="block", \
+ KERNEL=="mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|sd*[!0-9]|sr*", \ + KERNEL=="mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|sd*[!0-9]|sr*", \
+ ENV{DEVTYPE}=="disk", \
+ ATTR{queue/scheduler}="bfq" + ATTR{queue/scheduler}="bfq"
diff --git a/rules.d/meson.build b/rules.d/meson.build diff --git a/rules.d/meson.build b/rules.d/meson.build
index ca4445d774..38d6aa6970 100644 index ca4445d774..38d6aa6970 100644