From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muon.cran.org.uk ([93.89.92.64]:33858 "EHLO muon.cran.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602Ab2HQM0l (ORCPT ); Fri, 17 Aug 2012 08:26:41 -0400 Message-ID: <502E387D.9030901@cran.org.uk> Date: Fri, 17 Aug 2012 13:26:37 +0100 From: Bruce Cran MIME-Version: 1.0 Subject: Re: Test files being created twice as large as requested (Win7) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: Greg Sullivan Cc: fio@vger.kernel.org On 16/08/2012 04:34, Greg Sullivan wrote: > fio seems to be creating test files that are twice as large as > requested. The problem is that posix_fallocate isn't resetting the file pointer, so writes start at the end of the file. I'll look over the Windows code to make sure there aren't any similar problems and create a new build. -- Bruce Cran