From owner-freebsd-fs@FreeBSD.ORG Thu Mar 8 22:35:25 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D4E21065673 for ; Thu, 8 Mar 2012 22:35:25 +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 E94358FC08 for ; Thu, 8 Mar 2012 22:35:24 +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 q28MZ0pX007783; Thu, 8 Mar 2012 16:35:00 -0600 (CST) Date: Thu, 8 Mar 2012 16:35:00 -0600 (CST) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Dan Rue In-Reply-To: <20120308161940.GA71851@therub.org> Message-ID: References: <20120308161940.GA71851@therub.org> 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]); Thu, 08 Mar 2012 16:35:01 -0600 (CST) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and mdconfig -t vnode - Unexpected behavior X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 22:35:25 -0000 On Thu, 8 Mar 2012, Dan Rue wrote: > > Under ZFS, it can take as long as 30 seconds before the block size as > reported by du -k has been updated. The fsync appears to be a noop. Zfs under Solaris has the same behavior. This data is only assured to be available after the current zfs TXG has been synced, which may take a long time. It also becomes available after the 'sync' system call has completed (because the current TXG is flushed). > Are there any ZFS tunables that could be related to this? What could be > the cause of this behavior? You could adjust the tunings for zfs transaction groups but this will decrease system performance and increase pool fragmentation. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/