From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 591367F3F for ; Sun, 28 Jul 2013 19:04:30 -0500 (CDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay3.corp.sgi.com (Postfix) with ESMTP id E6914AC003 for ; Sun, 28 Jul 2013 17:04:26 -0700 (PDT) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id JPyo1TiL5PMDHxHD for ; Sun, 28 Jul 2013 17:04:22 -0700 (PDT) Date: Mon, 29 Jul 2013 10:04:18 +1000 From: Dave Chinner Subject: Re: understanding speculative preallocation Message-ID: <20130729000418.GB13468@dastard> References: <1374823420041-35002.post@n7.nabble.com> <20130726115021.GO13468@dastard> <51F2CD8B.8080207@hardwarefreak.com> <20130726205018.GM3111@sgi.com> <20130727013024.GS13468@dastard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Jason Rosenberg Cc: Ben Myers , stan@hardwarefreak.com, xfs@oss.sgi.com On Sat, Jul 27, 2013 at 10:19:17PM -0400, Jason Rosenberg wrote: > Thanks Dave, > > The automatic prealloc removal, if no new writes after 5 minutes, sounds > perfect for my use case. But realistically, I'm not likely to get our org > to push/find an os update just for this purpose too easily. > > So, in the meantime, the question remains, assuming I have the version I > have currently (dynamic preallocation, persists indefinitely until the file > is closed/app quits, etc.), will this idea work (e.g. close the file after > writing, then re-open read-only?). Maybe, maybe not. depends on whether the "don't remove prealloc" heuristic was triggered at any time.... Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs