From owner-freebsd-current Tue May 13 21:38:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA15796 for current-outgoing; Tue, 13 May 1997 21:38:38 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA15788 for ; Tue, 13 May 1997 21:38:34 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id OAA28175; Wed, 14 May 1997 14:30:31 +1000 Date: Wed, 14 May 1997 14:30:31 +1000 From: Bruce Evans Message-Id: <199705140430.OAA28175@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, j@ida.interface-business.de Subject: Re: Big problem with b_blkno Cc: jmz@cabri.obs-besancon.fr Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Extract from physio(): > > bp->b_blkno = btodb(uio->uio_offset); > >This block number is being passed down to the strategy routine of the >block device drivers. No uio_offset itself is being passed down >whatsoever. This is nonsense. Actually, this is for character device drivers that use physio() (usually via rawread() or rawwrite()). It doesn't affect drivers that use copyin/out() or uiomove() directly. Bruce