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/07/2005 06:21:54
On Wed, 7 Sep 2005 05:48:21 +0200
Juan RP <juan@xtrarom.org> wrote:
>
> Hi,
>
> I'm trying to implement this feature... anyway I'm in the point that
> I don't know how to fix the current problem:
>
> It won't free the remaining buffers before switching to the new
> scheduler (a big problem!).
>
> Please take a look at my unfinished patch:
>
> ftp://ftp.NetBSD.org/pub/NetBSD/misc/xtraeme/disk_scheduler_dkctl.diff
Patch updated... I moved the function to list the built in schedulers to
kern/subr_disk.c (disk_schedulers()).
That would be nice if I could create a function that switches the
scheduler into subr_disk.c but I think it's not possible.