Subject: kern/26983: no bmap locks for vnd(4)
To: None <>
From: None <>
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
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 2.0G

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
	vnd(4) uses VOP_BMAP to obtain block numbers and then issue i/o.
	nothing prevents bmap change after VOP_BMAP.
	code inspection.
	introduce VOPs for direct i/o and use them.