Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 1999 09:10:27 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        "Mark J. Taylor" <mtaylor@cybernet.com>, freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: ccd driver problems with > 2GB segments, +fix
Message-ID:  <Pine.LNX.4.04.9903110910020.28526-100000@feral-gw>
In-Reply-To: <199903110751.XAA62027@apollo.backplane.com>

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


Umm- I don't remember the details exactly but there were some fixes in
NetBSD for this a while back.

On Wed, 10 Mar 1999, Matthew Dillon wrote:

>     Interesting.  What if each disk is 8GB and we set the stripe
>     size to 8GB?  Won't that break the u_long ( i.e. was broken
>     before, and is still broken now ).  Perhaps these variables
>     should be 64 bit quantities throughout except for the
>     bp->b_count?
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 
> :Fix:
> :The ccd driver has a variable "bcount" that is a long: it needs
> :to be a u_long.  And, a 64 bit int is shifted into a 32 bit int
> :in ccdbuffer(): the 32 bit int must changed to be a 64 bit int.
> :
> :This second change has already been made in NetBSD (somebody else
> :figured it out), where the ccd driver originated from.  It was
> :rather tricky to find: the math involving block numbers and ccd
> :...
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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.LNX.4.04.9903110910020.28526-100000>