Re: ZFS checksum errors on umass(4) insertion

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Fri, 17 Apr 2009 08:24:31 +0200
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
Received on Fri Apr 17 2009 - 04:22:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC