Udev rules - change readahead to 16mb on boot

From Skytech
Jump to navigation Jump to search


Udev rules

~# cat /etc/udev/rules.d/99-virtio.rules 
SUBSYSTEM=="block", ATTR{queue/rotational}=="1", ACTION=="add|change", KERNEL=="vd[a-z]", ATTR{bdi/read_ahead_kb}="16384", ATTR{queue/read_ahead_kb}="16384", ATTR{queue/scheduler}="deadline"