From: Eric Sandeen Subject: Re: [RFC] Heads up on sys_fallocate() Date: Mon, 05 Mar 2007 16:00:06 -0600 Message-ID: <45EC92E6.3030503@redhat.com> References: <20070117094658.GA17390@amitarora.in.ibm.com> <45EB4A55.3060908@redhat.com> <20070305001621.GB18691@lazybastard.org> <200703050136.37181.arnd@arndb.de> <20070305114109.GA454@lazybastard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Arnd Bergmann , Ulrich Drepper , Anton Altaparmakov , Christoph Hellwig , Dave Kleikamp , Andrew Morton , "Amit K. Arora" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, suparna@in.ibm.com, cmm@us.ibm.com, alex@clusterfs.com, suzuki@in.ibm.com To: =?UTF-8?B?SsO2cm4gRW5nZWw=?= Return-path: Received: from mx1.redhat.com ([66.187.233.31]:42569 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbXCEWHO (ORCPT ); Mon, 5 Mar 2007 17:07:14 -0500 In-Reply-To: <20070305114109.GA454@lazybastard.org> Sender: linux-ext4-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org J=C3=B6rn Engel wrote: > Does the allocation have to be persistent beyond lifetime of the file > descriptor? It would be fairly simple to support the write guarantee > while the file is open (or rather the inode remains cached) and drop = it > afterwards. "The posix_fallocate() function shall ensure that any required storage for regular file data starting at offset and continuing for len bytes i= s allocated on the file system storage media." I interpret "on the storage media" to mean that it is persistent. -Eric