Merge pull request #11653 from omacom/io-scheduler-kyber

Use the kyber I/O scheduler on real disks
This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-09-13 16:45:15 +02:00
commit 6a89a39967
1 file changed
+8
@@ -0,0 +1,8 @@
# Kyber keeps reads in their own queue and throttles the depth it submits to
# hold a 2ms read latency target, so interactive reads keep flowing while a
# large build, copy, or package upgrade floods the disk with writes. The
# kernel's own pick (none or mq-deadline, depending on the device) does not
# regulate latency once the queue fills. Whole disks only: partitions have no
# scheduler of their own, and zram is memory with nothing to schedule. Zoned
# btrfs disks are moved back to mq-deadline by 64-btrfs-zoned.rules.
ACTION=="add|change", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="nvme*|sd*|mmcblk*|vd*", ATTR{queue/scheduler}="kyber"