Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 14:30:31 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.ORG, j@ida.interface-business.de
Cc:        jmz@cabri.obs-besancon.fr
Subject:   Re: Big problem with b_blkno
Message-ID:  <199705140430.OAA28175@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705140430.OAA28175>