Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 22:56:19 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r268986 - head/sys/geom/uzip
Message-ID:  <20140722185619.GA94673@zxy.spb.ru>
In-Reply-To: <201407221730.s6MHU6Ej099771@svn.freebsd.org>
References:  <201407221730.s6MHU6Ej099771@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140722185619.GA94673>