From owner-freebsd-current@FreeBSD.ORG Sun Feb 24 11:51:33 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890DA16A40A for ; Sun, 24 Feb 2008 11:51:33 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9FD13C478 for ; Sun, 24 Feb 2008 11:51:33 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-a816e555.03-51-73746f3.cust.bredbandsbolaget.se (c-a816e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.168]) by smtp.infidyne.com (Postfix) with ESMTP id BBE683073A; Sun, 24 Feb 2008 12:51:31 +0100 (CET) From: Peter Schuller To: freebsd-current@freebsd.org Date: Sun, 24 Feb 2008 12:52:43 +0100 User-Agent: KMail/1.9.7 References: <20080215231507.EAB7D641@mx2.synetsystems.com> In-Reply-To: <20080215231507.EAB7D641@mx2.synetsystems.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1690081.MCEkRg8Dft"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200802241252.52176.peter.schuller@infidyne.com> Cc: Richard Todd Subject: Re: ZFS: data sometimes not getting correctly flushed to disk (possible mmap/write issue)? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 11:51:33 -0000 --nextPart1690081.MCEkRg8Dft Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > 3) ktracing gen2.py shows that the py-mutagen library seems to do both > write()s and read/write mmap()s to the file to update the file. =46WIW, ever since a dovecot installation of mine was moved onto ZFS one ge= ts=20 sporadic 'internel errors' from dovecot. Dovecot logs that index files are= =20 corrupt, and marked broken. Recovery involves re-selecting the IMAP mailbox. In response to your post, I recently turned OFF use of mmap in dovecot=20 (mmap_disable =3D yes), and the problem seems to have gone away immediately. If it should show up again in spite of mmap being disabled I will post a=20 follow-up, but it's been long enough that I believe the problem to be gone. =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart1690081.MCEkRg8Dft Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHwVqUDNor2+l1i30RAiwVAJ9ZdinVw5QSkIlY7F1hihnchjisEQCcCXgj bzaUUOPrbhQDObzWz6tL/Dw= =kOf+ -----END PGP SIGNATURE----- --nextPart1690081.MCEkRg8Dft--