Re: 2.5 'what to expect'

Jens Axboe (
Sun, 13 Jul 2003 02:08:32 +0200

On Sat, Jul 12 2003, Andrew Morton wrote:
> Dave Jones <> wrote:
> >
> > ..
> >
> > Something seems amiss. The deprecated elvtune interface is the old -r/-w/-b command line.
> > I was lead to believe a new elvtune appeared which supports an option
> > for changing the elevator under 2.5, however a quick google doesn't turn
> > up any such patched elvtune, so I'm somewhat puzzled.
> No, we planned to do the selection via sysfs rather than ioctl.


> > > Maybe just suggest the sysfs interface at once and not mention
> > > elvtune?
> >
> > Changing the elevator type per device via sysfs does seem to make
> > sense, however /sys/block/<devicename>/queue/iosched/ doesn't yield
> > anything that would suggest this is possible (yet). I think Jens
> > has patches for this?
> But it never happened. There are all sorts of nasties wrt actually

Well the code exists.

> making the switch. Some related to request queueing, some to sysfs
> itself.

I don't recall any request queueing problems, it's pretty straight
forward to lock the queue down and prevent any new requests from
entering. sysfs problems is the only issue, and before Al does his magic
on that stuff, the patch just doesn't make sense. So it hasn't been
posted publically. With the sysfs disabled, I can switch io schedulers
on the fly quite easily.

> So yes, we should have runtime selection, and maybe sometime we will,
> but the lowness of the return-to-effort ratio means it won't happen
> soon.

Depends. If the sysfs stuff doesn't get fixed, then no it wont happen.

Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at