From 0d2af52141e470c9d601ee5fa41eee692957b488 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Fri, 15 Mar 2002 18:49:47 +0000 Subject: Introduce the new 64-bit size disk block, daddr64_t. Change the bio and buffer structures to have daddr64_t bio_pblkno, b_blkno, and b_lblkno fields which allows access to disks larger than a Terabyte in size. This change also requires that the VOP_BMAP vnode operation accept and return daddr64_t blocks. This delta should not affect system operation in any way. It merely sets up the necessary interfaces to allow the development of disk drivers that work with these larger disk block addresses. It also allows for the development of UFS2 which will use 64-bit block addresses. --- sys/dev/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/md') diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index c1ddf8a92ff9..27f54994d70e 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -383,7 +383,7 @@ mdstrategy(struct bio *bp) int error; if (md_debug > 1) - printf("mdstrategy(%p) %s %x, %d, %ld, %p)\n", + printf("mdstrategy(%p) %s %x, %lld, %ld, %p)\n", bp, devtoname(bp->bio_dev), bp->bio_flags, bp->bio_blkno, bp->bio_bcount / DEV_BSIZE, bp->bio_data); -- cgit v1.3