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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to