Subject: Re: Changing the I/O scheduler on-the-fly
To: None <tech-kern@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 09/20/2005 13:51:56
On Mon, 19 Sep 2005 14:47:08 +0200
"Julio M. Merino Vidal" <jmmv84@gmail.com> wrote:

[...]
> Because the user does not have a way to easily parse the results from
> the kernel.  What if he wants to see if a strategy is available,
> instead of printing the results?
> 
> Conceptually, the kernel is returning a list of items, which the user
> can then manage at will.  You are imposing a restriction, assuming
> that all the user wants is a screen-printable string with all
> strategies' names in it.  In other words, a string is not "designed"
> to hold lists; there are better data structures to do that, such as,
> e.g., vectors.

Ok, all items you mentioned (jmmv) were fixed (thanks for your help :-)

Please review my latest patch, which I think is the best version:
http://www.xtrarom.org/disk_scheduler_new.diff

Thanks! (I hope we'll get this committed before 2006, heh)