summaryrefslogtreecommitdiff
path: root/sys-apps/baselayout/files/ioschedcfg
blob: 9047bd4ad6805ab6d3c9a9a889b2401d92a225cd (plain)
1
2
3
4
5
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"