Edge resistance in metacity and I/O scheduler

Edge resistance

Because else people are most likely going to kill poor Elijah, I created a patch that makes the new edge resistance feature of metacity optional.

Paolo asked me to do it in such a way that you can specify how much pixels to resist, rather than completely disable it. Feel free to improve folks! :p

Kernel I/O scheduler

Oh and because somebody was complaining about the kernel elevator, I started questioning how I switch the I/O scheduler for a specific block device. So I ended up reading block/scheduler.c and block/rr_rw_blk.c and found that you can set it using

echo "[scheduler]" > /sys/block/[device]/queue/scheduler

Cat the same file to get a list of available schedulers. Well, all I can say is that it’s not very well documented.