forked from pool/systemd
8b6afdd7bf
- Reinstate and improve (remove huge indents from) tty-ask-password-agent-on-console.patch, 0014-journald-with-journaling-FS.patch, rootsymlink_generator. OBS-URL: https://build.opensuse.org/request/show/286310 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=847
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
---
|
|
Makefile.am | 1 +
|
|
rules/60-ssd-scheduler.rules | 11 +++++++++++
|
|
2 files changed, 12 insertions(+)
|
|
|
|
Index: systemd/Makefile.am
|
|
===================================================================
|
|
--- systemd.orig/Makefile.am
|
|
+++ systemd/Makefile.am
|
|
@@ -3576,6 +3576,7 @@ dist_udevrules_DATA += \
|
|
rules/60-persistent-input.rules \
|
|
rules/60-persistent-alsa.rules \
|
|
rules/60-persistent-storage.rules \
|
|
+ rules/60-ssd-scheduler.rules \
|
|
rules/64-btrfs.rules \
|
|
rules/70-mouse.rules \
|
|
rules/70-touchpad.rules \
|
|
Index: systemd/rules/60-ssd-scheduler.rules
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ systemd/rules/60-ssd-scheduler.rules
|
|
@@ -0,0 +1,11 @@
|
|
+# do not edit this file, it will be overwritten on update
|
|
+
|
|
+ACTION!="add", GOTO="ssd_scheduler_end"
|
|
+SUBSYSTEM!="block", GOTO="ssd_scheduler_end"
|
|
+
|
|
+IMPORT{cmdline}="elevator"
|
|
+ENV{elevator}=="*?", GOTO="ssd_scheduler_end"
|
|
+
|
|
+KERNEL=="sd*[!0-9]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
|
|
+
|
|
+LABEL="ssd_scheduler_end"
|