aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/md
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2002-03-15 18:49:47 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2002-03-15 18:49:47 +0000
commit0d2af52141e470c9d601ee5fa41eee692957b488 (patch)
tree51f556e616d556c2c643350a9ffc80fda73ab27c /sys/dev/md
parent0d61ca69bb35179c3029bb5b102937a9a2fd806c (diff)
downloadsrc-0d2af52141e470c9d601ee5fa41eee692957b488.tar.gz
src-0d2af52141e470c9d601ee5fa41eee692957b488.zip
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.
Notes
Notes: svn path=/head/; revision=92363
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c2
1 files changed, 1 insertions, 1 deletions
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);