From 2a581fe1a54a5d2c50ed50bacd26e61aae3f6076 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 21 Sep 2022 12:58:33 +0100 Subject: sys-apps/baselayout : version bump --- sys-apps/baselayout/files/ioschedcfg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sys-apps/baselayout/files/ioschedcfg (limited to 'sys-apps/baselayout/files/ioschedcfg') diff --git a/sys-apps/baselayout/files/ioschedcfg b/sys-apps/baselayout/files/ioschedcfg new file mode 100644 index 00000000..9047bd4a --- /dev/null +++ b/sys-apps/baselayout/files/ioschedcfg @@ -0,0 +1,6 @@ +# set mq-deadline scheduler for non-rotating disks (SATA SSDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" +# set bfq scheduler for rotating disks (SATA HDDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" +# set mq-deadline scheduler for non-rotating nvme-disks (NVME SSDs) +ACTION=="add|change", KERNEL=="nvme[0-9]n1", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" -- cgit v1.2.3