From owner-freebsd-fs@FreeBSD.ORG Fri Feb 15 15:15:01 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 003BC655 for ; Fri, 15 Feb 2013 15:15:00 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id BF37123C for ; Fri, 15 Feb 2013 15:14:59 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id r1FF8kxc008152; Fri, 15 Feb 2013 09:08:50 -0600 (CST) Date: Fri, 15 Feb 2013 09:08:46 -0600 (CST) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Daniel Kalchev Subject: Re: Crazy ZFS ZIL options: md(4) umass(4) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Fri, 15 Feb 2013 09:08:51 -0600 (CST) Cc: freebsd-fs@freebsd.org, grarpamp X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 15:15:01 -0000 On Fri, 15 Feb 2013, Daniel Kalchev wrote: > Some further clarification. > > ZIL is only read on crash. If you shut down properly etc, the ZIL > will be never read. For most of it's lifetime, the ZIL is write-only > safety net. An insurance, if you wish. Something I did not see mentioned in this discussion thread is that the ZIL is only used for synchronous writes. Database writes and NFS writes are usually synchronous writes. Systems which are not used for these purposes might not produce any synchronous writes and so the ZIL is not used at all. As long as the pool disks obey cache sync requests, the integrity of the pool is assured. The integrity of the pool is not dependent on data in the ZIL. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/