Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 23:51:29 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "Mark J. Taylor" <mtaylor@cybernet.com>
Cc:        freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: ccd driver problems with > 2GB segments, +fix
Message-ID:  <199903110751.XAA62027@apollo.backplane.com>
References:   <XFMail.990310174753.mtaylor@cybernet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903110751.XAA62027>