Subject: PR/26272 CVS commit: [netbsd-2] src/sys/dev
To: None <bouyer@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Jeff Rizzo <riz@netbsd.org>
List: netbsd-bugs
Date: 05/13/2005 18:08:01
The following reply was made to PR kern/26272; it has been noted by GNATS.
From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/26272 CVS commit: [netbsd-2] src/sys/dev
Date: Fri, 13 May 2005 18:07:13 +0000 (UTC)
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.