Comment 2 for bug 390247

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I saw a very easy way to add this here: http://www.danielscottlawrence.com/should-i-changing-my-disk-scheduler-to-noop-from-cfq-for-my-ssd/#comment-144

using a udev rule like this:

ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="noop"