[PATCH][RFC] runtime selectable IO schedulers

From: Nick Piggin
Date: Wed Sep 24 2003 - 06:26:03 EST


http://www.kerneltrap.org/~npiggin/elv-select.patch-030924

Against test5-mm4. This is commented a bit better than the previous
version I sent to Al and Jens.

sysfs interface is /sys/block/*/queue/io_scheduler. Valid values are
as, deadline, noop, cfq. Switching schedulers under disk load works fine
in my tests. sysfs stuff seems to be working nicely and handles lingering
userspace references properly.

Review of the kobject / sysfs stuff would be especially helpful. Thanks.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/