Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2000 19:06:22 -0500 (EST)
From:      Christopher Stein <stein@eecs.harvard.edu>
To:        freebsd-hackers@freebsd.org
Subject:   buffer block number mystery
Message-ID:  <Pine.BSF.4.21.0011301859390.6336-100000@orvieto.eecs.harvard.edu>

next in thread | raw e-mail | index | archive | help

I am seeing a buffer in biodone() with block number 196656 (in 
the bp->b_blkno field). This is a buffer containing data from 
the raw, character device (bp->b_vp->v_type == VCHR).

(kgdb) p bp->b_lblkno
$36 = 196656
(kgdb) p bp->b_blkno
$37 = 196656
(kgdb) p bp->b_pblkno
$38 = 196719

The bp->b_blkno fields (others are b_pblkno and b_lblkno)
all contain disk addresses, correct?

How can a block, such as the one mentioned above, have an address that is
not divisible by the FS block size, which is 8192 (or at least the
fragment size of 1024)?

thanks
-Chris




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011301859390.6336-100000>