Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2009 08:24:31 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Richard Todd <rmtodd@ichotolot.servalan.com>, Damian Gerow <dgerow@afflictions.org>
Subject:   Re: ZFS checksum errors on umass(4) insertion
Message-ID:  <200904170824.32184.hselasky@c2i.net>
In-Reply-To: <49E7AC43.8050901@samsco.org>
References:  <49BD117B.2080706@163.com> <200904161804.42399.jhb@freebsd.org> <49E7AC43.8050901@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 17 April 2009, Scott Long wrote:
>
> It could, and if that's happening, then some proactive measures should
> be taken by the usb code to generate buffers that won't bounce.  It
> would suck to have to go through the bounce code for every single
> keystroke or mouse movement.  I haven't looked at the new usb code,
> though, and I thought that the old code did a contigmalloc of some
> sort to avoid this.

USB uses an alignment of 1-byte for its data buffers. It should only bounce 
when the page the data buffer is residing on is above 4GB.

--HPS



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