Skip to contentSkip to conversation

runtime selectable IO schedulers

RFC PATCH In review Nick Piggin 1 participant 2 messages Sep 24, 2003

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 runtime selectable IO schedulers

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.

#1 lore raw

Nick Piggin wrote:

Err, alloc _outside_ spinlock... make that
http://www.kerneltrap.org/~npiggin/elv-select.patch-030924-2

Quoted 12 lines

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.