Just got a nice USB drives enclosure for backups, has 5 drives bays via USB 3.1 type c
What’s the correct way (if any) to target / set disks scheduler for USB drive?
I’d like to do it kinda like i did with SSD / HDD / nvme, by type:
/etc/udev/rules.d/96-scheduler.rules
# IO scheduler
# Algorithm to manage disk IO requests and balance it with other CPU loads.
# HDD
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="mq-deadline"
# SSD
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
# NVMe SSD
ACTION=="add|change", KERNEL=="nvme0n[0-9]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="none"