Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 12:52:43 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        freebsd-current@freebsd.org
Cc:        Richard Todd <rmtodd@ichotolot.servalan.com>
Subject:   Re: ZFS: data sometimes not getting correctly flushed to disk (possible mmap/write issue)?
Message-ID:  <200802241252.52176.peter.schuller@infidyne.com>
In-Reply-To: <20080215231507.EAB7D641@mx2.synetsystems.com>
References:  <20080215231507.EAB7D641@mx2.synetsystems.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> 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.

FWIW, ever since a dovecot installation of mine was moved onto ZFS one gets 
sporadic 'internel errors' from dovecot. Dovecot logs that index files are 
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 
(mmap_disable = 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 
follow-up, but it's been long enough that I believe the problem to be gone.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHwVqUDNor2+l1i30RAiwVAJ9ZdinVw5QSkIlY7F1hihnchjisEQCcCXgj
bzaUUOPrbhQDObzWz6tL/Dw=
=kOf+
-----END PGP SIGNATURE-----
help

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