From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 21:20:29 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 1D982106568D; Wed, 23 Apr 2008 21:20:29 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 758408FC24; Wed, 23 Apr 2008 21:20:28 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from giskard.stuyts.nl (stuyts.xs4all.nl [82.95.106.42]) by altus-escon.com (8.14.2/8.14.2) with ESMTP id m3NKfEZs016102; Wed, 23 Apr 2008 22:41:19 +0200 (CEST) (envelope-from ben@altesco.nl) Message-Id: From: Ben Stuyts To: Andrew Gallatin In-Reply-To: <18447.19594.892539.640373@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 23 Apr 2008 22:40:23 +0200 References: <18447.17658.759349.720175@grasshopper.cs.duke.edu> <480F4972.20609@FreeBSD.org> <18447.19594.892539.640373@grasshopper.cs.duke.edu> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [10.0.0.150]); Wed, 23 Apr 2008 22:41:19 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93/6809/Thu Apr 17 11:33:01 2008 on mars.altus-escon.com X-Virus-Status: Clean X-Spam-Status: No, score=-3.6 required=3.5 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mars.altus-escon.com Cc: freebsd-current@freebsd.org Subject: Re: ZFS file caching question 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: Wed, 23 Apr 2008 21:20:29 -0000 On 23 apr 2008, at 16:49, Andrew Gallatin wrote: >>> Hmm.. Could this be the cause of the problems with ZFS and mmap'ed >>> files? >> >> What problems do you mean? There were coherency problems but I think >> they were fixed. > > The last I saw about this on -current was: > http://lists.freebsd.org/pipermail/freebsd-current/2008-February/083396.html > > This seemed to terminate with people disabling mmap in the > applications, not with a fix to ZFS. Maybe I missed a commit.. I recently had to disable mmap in dovecot on zfs, it created corrupted index files. After disabling mmap, it worked fine. 7-Stable from three weeks ago, have not retested recently. (It's a production server now.) Also some info here: Ben