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

--- Comment #31 from Mark Johnston <ma...@freebsd.org> ---
(In reply to Alexander Motin from comment #30)
> The case of "addr & PAGE_MASK is 2048 and len is 4096" can fit into this only 
> if it is the only chunk in ABD, but then it should be a linear buffer, not 
> requiring unmapped I/O.

The problem exists whenever len is a multiple of the page size, so I don't see
why it should always be a linear buffer.  But indeed, I'd expect I/O to a
device with ashift=12 to always be page aligned.

> But still, just in case, what would you say about this patch:

Looks right to me, thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to