Re: [PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

From: Andrew Morton
Date: Fri Feb 08 2008 - 13:12:29 EST


On Fri, 8 Feb 2008 09:33:41 -0800 Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> On Fri, 08 Feb 2008 11:47:42 -0500 Paul Clements wrote:
>
> > There have been numerous reports of problems with nbd and cfq. Deadline
> > gives better performance for nbd, anyway, so let's use it by default.

Please define "problems". If it's just "slowness" then we can live with
that, but I'd hope that Jens is aware and that it's understood.

It it's "hangs" or "oopses" then we panic.

> so what happens with this patch on cfq-only or as-only kernels?

I assume the elevator_init() call fails and the default elevator continues
to be used. Perhaps an informative printk is needed.

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