[Bug 208365] [umass] Cannot fsck 3TB USB disk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 30 14:00:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208365

--- Comment #16 from Roger Pau Monné <royger at freebsd.org> ---
(In reply to Hans Petter Selasky from comment #15)

Yes, there are several optimizations that can be applied in order to improve
the patch. As I've noted in the comment, this is just an initial approach to
make sure the problem is caused by not bouncing the whole region (and then the
offsets don't match anymore).

Regarding the "again" label, I'm not really sure we can get rid of it, for the
mapped case (_bus_dmamap_count_pages) it looks like we can remove it, but for
the other cases it depends on whether maxsegsz is a multiple of a PAGE_SIZE, or
else we might end up with segments that don't have consecutive offsets AFAICT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list