ZFS checksum errors on umass(4) insertion

Hans Petter Selasky hselasky at c2i.net
Fri Apr 17 06:22:01 UTC 2009


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


More information about the freebsd-current mailing list