Subject: Re: port-xen/29775: Cannot use a vnode disk for domU
To: None <thorpej@shagadelic.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 03/31/2005 08:10:04
hi,
> > This means that I/O on the vnd block device expect to be called from
> > a process context, while the xbd backend calls it from interrupt
> > context.
> > And obvious way to fix this would be to add a kernel thread to the
> > xbd backend
> > to do this. But maybe this needs a closer look:
>
> This is really a known problem. The vnd driver needs to be rewritten
> badly. It needs to queue up requests and defer everything to a
> kthread that actually does the work.
>
> -- thorpej
do you really think VOP_STRATEGY should be usable from interrupt context?
YAMAMOTO Takashi