Subject: kern/26983: no bmap locks for vnd(4)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 09/17/2004 20:46:42
>Number:         26983
>Category:       kern
>Synopsis:       no bmap locks for vnd(4)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 17 11:47:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0G
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.0G NetBSD 2.0G (build.kaeru) #1682: Fri Sep 17 19:52:40 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	vnd(4) uses VOP_BMAP to obtain block numbers and then issue i/o.
	nothing prevents bmap change after VOP_BMAP.
>How-To-Repeat:
	code inspection.
>Fix:
	introduce VOPs for direct i/o and use them.
>Release-Note:
>Audit-Trail:
>Unformatted: