Subject: Re: xbd.c and bufq questions
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 01/04/2006 23:54:45
On Thu, Jan 05, 2006 at 05:40:54AM +0900, YAMAMOTO Takashi wrote:
> > Why the xbd.c driver uses FCFS for the buffer queue between
> > all virtual disks?
>
> isn't a comment in xbdinit enough?
>
> > Another question, why the xbd driver cannot use the DIOCSSTRATEGY
> > to change the strategy?
>
> it isn't straightforward as the queue is shared among xbd instances.
But I don't see anything which would prevent from doing it. We just need
to keep a list of all xbd device to be able to change sc_bufq for all of
them.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--