From 962c35425636e3f942fd8a624369a7c53748f47e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- etc/udev/rules.d/60-bfq.rules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/udev/rules.d/60-bfq.rules (limited to 'etc/udev/rules.d/60-bfq.rules') diff --git a/etc/udev/rules.d/60-bfq.rules b/etc/udev/rules.d/60-bfq.rules new file mode 100644 index 0000000..5565b93 --- /dev/null +++ b/etc/udev/rules.d/60-bfq.rules @@ -0,0 +1,3 @@ +ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none" +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" +ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq" -- cgit 1.4.1