From owner-freebsd-net@FreeBSD.ORG Thu Jul 8 16:54:18 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD3D106566B for ; Thu, 8 Jul 2010 16:54:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6408FC16 for ; Thu, 8 Jul 2010 16:54:17 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o68GsETv062303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jul 2010 19:54:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o68GsDvx074928; Thu, 8 Jul 2010 19:54:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o68GsDDO074927; Thu, 8 Jul 2010 19:54:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 8 Jul 2010 19:54:13 +0300 From: Kostik Belousov To: Marc Olzheim Message-ID: <20100708165413.GE2408@deviant.kiev.zoral.com.ua> References: <7C3D15DD6E8F464998CA1470D8A322F302BB9F72@ES02CO.wgti.net> <20100708080318.GA12687@traktor.dnepro.net> <20100708160431.GA22067@zlo.nu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wchHw8dVAp53YPj8" Content-Disposition: inline In-Reply-To: <20100708160431.GA22067@zlo.nu> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_40, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-net@freebsd.org Subject: Re: kern/123095 kern/131602 sendfile X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 16:54:18 -0000 --wchHw8dVAp53YPj8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 06:04:31PM +0200, Marc Olzheim wrote: > On Thu, Jul 08, 2010 at 11:03:18AM +0300, Eugene Perevyazko wrote: > > I have this problem on 7.2-S for pretty long time. But as I sendfile() = very=20 > > small file (several hundred bytes) from flash I was blaming faulty flas= h stick. > > I've even made a crontab entry to replace corrupted file. > > So the problem seems to be probabilistic, depending on amount of transf= erred data. >=20 > It's only the cache that is corrupted. If you remount the filesystem, > you will find the original data again. If the file is ever written to, then you might end up with corrupted on-disk blocks. --wchHw8dVAp53YPj8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkw2ArUACgkQC3+MBN1Mb4jzxgCgoqV2qcQCr8DEwmqSasWbk53v PaEAnR9wr3AXvKdvnwx5hh6TVSXr/U+K =IYeI -----END PGP SIGNATURE----- --wchHw8dVAp53YPj8--