Subject: CVS commit: [netbsd-2] src/sys/dev
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 05/13/2005 18:07:13
Module Name:	src
Committed By:	riz
Date:		Fri May 13 18:07:13 UTC 2005

Modified Files:
	src/sys/dev [netbsd-2]: vnd.c

Log Message:
Pull up revisions 1.112 and 1.114 via patch(requested by bouyer in
ticket #1417):
Make vnd do I/O to the underlying file from thread context. This
allows the strategy routine to be called from interrupt context

Now that pool_get() is only called from thread context, change PR_NOWAIT to
PR_WAITOK. Fix PR kern/26272 by Juergen Hannken-Illjes.
OK'd by thorpej@

Don't eventually leak vnx and bp on unconfigure, pointed out by YAMAMOTO
Takashi. Instead, let the current I/O complete before killing the thread.


To generate a diff of this commit:
cvs rdiff -r1.106 -r1.106.4.1 src/sys/dev/vnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.