svn commit: r268986 - head/sys/geom/uzip

Slawa Olhovchenkov slw at zxy.spb.ru
Tue Jul 22 18:56:22 UTC 2014


On Tue, Jul 22, 2014 at 05:30:06PM +0000, Marcel Moolenaar wrote:

> Author: marcel
> Date: Tue Jul 22 17:30:05 2014
> New Revision: 268986
> URL: http://svnweb.freebsd.org/changeset/base/268986
> 
> Log:
>   In r264504, we prevented doing I/O for more than MAXPHYS by making
>   the assumption that consumers would respect bio_completed and/or
>   bio_resid to detect short reads. This assumption proved false and
>   file corruption was the result.
>   Create as many bios as we need to satisfy the original request.
>   Check the cached chunk every time we need to do I/O to increase the
>   hit rate.

Can you check other cases I/O for more than MAXPHYS?
I think caused by incorrect partition scheme.


More information about the svn-src-all mailing list