diff options
author | mckusick <mckusick@FreeBSD.org> | 2002-03-15 18:49:47 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2002-03-15 18:49:47 +0000 |
commit | e929f2e4f07e568333e15d0f9fd992f632858bb0 (patch) | |
tree | 51f556e616d556c2c643350a9ffc80fda73ab27c /sys/kern/vnode_if.src | |
parent | fdd4d414b43758fe722809b27f610baa0b0607e1 (diff) | |
download | FreeBSD-src-e929f2e4f07e568333e15d0f9fd992f632858bb0.zip FreeBSD-src-e929f2e4f07e568333e15d0f9fd992f632858bb0.tar.gz |
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.
Diffstat (limited to 'sys/kern/vnode_if.src')
-rw-r--r-- | sys/kern/vnode_if.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src index cdeb5e5..7d1f6b0 100644 --- a/sys/kern/vnode_if.src +++ b/sys/kern/vnode_if.src @@ -378,9 +378,9 @@ vop_unlock { # vop_bmap { IN struct vnode *vp; - IN daddr_t bn; + IN daddr64_t bn; OUT struct vnode **vpp; - IN daddr_t *bnp; + IN daddr64_t *bnp; OUT int *runp; OUT int *runb; }; |