Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 1997 19:51:17 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        kuku@gilberto.physik.rwth-aachen.de, thorpej@nas.nasa.gov
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: ccd and bounce buffers
Message-ID:  <199702180851.TAA02058@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>So, maybe I'm missing how things work in the FreeBSD world, but what
>on earth does bounce buffers have to do with the ccd?  The ccd is
>a layered driver, which knows nothing about the underlying component
>(or, at least, that's how it's _supposed_ to work, and is how it works
>in NetBSD).

It didn't initialize cbp->cb_buf.b_bufsize, and the bounce buffer code
depends on this being initialized since b_bcount might be modified by
drivers.

Buffers have a lot of hair, especially in FreeBSD, and it's not clear
that anywhere outside of vfs_bio.c can know how how to initialize them
Perhaps cb_buf should be copied from *bp and then modified.

Bruce



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