Subject: Re: port-xen/29775: Cannot use a vnode disk for domU
To: None <tech-kern@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/23/2005 16:52:53
On Mar 23, 2005, at 1:12 PM, Manuel Bouyer wrote:

> 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