Re: Fall back io scheduler for 2.6.15?

From: Nate Diller
Date: Thu Jan 19 2006 - 14:36:40 EST


On 1/16/06, Jens Axboe <axboe@xxxxxxx> wrote:
> On Sat, Jan 14 2006, Chuck Ebbert wrote:
> > In-Reply-To: <20060113174914.7907bf2c.akpm@xxxxxxxx>
> >
> > On Fri, 13 Jan 2006, Andrew Morton wrote:
> >
> > > OK. And I assume that AS wasn't compiled, so that's why it fell back?
> >
> > As of 2.6.15 you need to use "anticipatory" instead of "as".
> >
> > Maybe this patch would help?
> >
> > Signed-off-by: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>
> >
> > --- 2.6.15a.orig/block/elevator.c
> > +++ 2.6.15a/block/elevator.c
> > @@ -150,6 +150,13 @@ static void elevator_setup_default(void)
> > if (!chosen_elevator[0])
> > strcpy(chosen_elevator, CONFIG_DEFAULT_IOSCHED);
> >
> > + /*
> > + * Be backwards-compatible with previous kernels, so users
> > + * won't get the wrong elevator.
> > + */
> > + if (!strcmp(chosen_elevator, "as"))
> > + strcpy(chosen_elevator, "anticipatory");
> > +
> > /*
> > * If the given scheduler is not available, fall back to no-op.
> > */
>
> We probably should apply this, since it used to be 'as'.

i agree

NATE
-
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/