From owner-freebsd-hackers Thu Nov 30 19:48:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from orvieto.eecs.harvard.edu (orvieto.eecs.harvard.edu [140.247.60.201]) by hub.freebsd.org (Postfix) with ESMTP id C501237B400 for ; Thu, 30 Nov 2000 19:48:12 -0800 (PST) Received: from localhost (stein@localhost) by orvieto.eecs.harvard.edu (8.9.3/8.9.3) with ESMTP id TAA08370 for ; Thu, 30 Nov 2000 19:06:22 -0500 (EST) (envelope-from stein@eecs.harvard.edu) X-Authentication-Warning: orvieto.eecs.harvard.edu: stein owned process doing -bs Date: Thu, 30 Nov 2000 19:06:22 -0500 (EST) From: Christopher Stein To: freebsd-hackers@freebsd.org Subject: buffer block number mystery Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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