From owner-freebsd-current@FreeBSD.ORG Sun Dec 7 12:41:19 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 71511106567A for ; Sun, 7 Dec 2008 12:41:19 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 037678FC1C for ; Sun, 7 Dec 2008 12:41:19 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (unknown [74.193.182.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id A668684CC01A; Sun, 7 Dec 2008 06:41:16 -0600 (CST) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.3/8.14.3) with ESMTP id mB7CfApe060403; Sun, 7 Dec 2008 06:41:11 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Sun, 7 Dec 2008 06:41:10 -0600 (CST) From: Wes Morgan To: Peter Schuller In-Reply-To: <20081207113509.GA19385@hyperion.scode.org> Message-ID: References: <20081117205526.GC1733@garage.freebsd.pl> <20081202203308.GA13818@hyperion.scode.org> <200812021254.21242.fjwcash@gmail.com> <20081202232924.GA19134@hyperion.scode.org> <31C70CBC-488A-4A9A-A642-37855E8F1DD1@lassitu.de> <20081207113509.GA19385@hyperion.scode.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: =?ISO-8859-15?Q?Marius_N=FCnnerich?= , FreeBSD Current Subject: Re: HEADS UP: New ZFS in the tree. 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, 07 Dec 2008 12:41:19 -0000 On Sun, 7 Dec 2008, Peter Schuller wrote: >> While you are talking about it: Does anyone know if the fsync blocks >> until the data is really stable on the device or if it simply returns >> when ZIL is disabled? >> >> In my understanding the topmost block would need to be written for the >> "commit" to be on disk. > > My understanding is that disabling the ZIL *will* break the semantics > of fsync(). > > The claim of "always consistent on disk" is not violated and is still > maintained, since consistency refers to ZFS' internal consistency. > > The tuning guide someone posts a link to later in this thread has > specific claims about this IIRC; such as NFS breaking (because > fsync-on-close semantics mandated by NFS, among other things, will not > be honored). And this would also apply to databases that rely on fsync() for ACID compliance, such as postgres, right?