[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060906174500.GK14565@kernel.dk>
Date: Wed, 6 Sep 2006 19:45:01 +0200
From: Jens Axboe <axboe@...nel.dk>
To: Erik Mouw <erik@...ddisk-recovery.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Daniel Phillips <phillips@...gle.com>,
Rik van Riel <riel@...hat.com>,
David Miller <davem@...emloft.net>,
Andrew Morton <akpm@...l.org>, Pavel Machek <pavel@....cz>
Subject: Re: [PATCH 11/21] nbd: limit blk_queue
On Wed, Sep 06 2006, Erik Mouw wrote:
> On Wed, Sep 06, 2006 at 03:16:41PM +0200, Peter Zijlstra wrote:
> > - disk->queue = blk_init_queue(do_nbd_request, &nbd_lock);
> > + disk->queue = blk_init_queue_node_elv(do_nbd_request,
> > + &nbd_lock, -1, "noop");
>
> So what happens if the noop scheduler isn't compiled into the kernel?
You can't de-select noop, so that cannot happen. But the point is valid
for other choices of io schedulers, which is another reason why this
_elv api addition is a bad idea.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists