From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: [XFS Punch Hole 1/1] XFS Add Punch Hole Testing to FSX Date: Tue, 03 May 2011 09:18:51 -0400 Message-ID: <4DC000BB.2090505@redhat.com> References: <4DBF02FF.608@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel , Ext4 Developers List To: Allison Henderson Return-path: In-Reply-To: <4DBF02FF.608@linux.vnet.ibm.com> Sender: linux-ext4-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 05/02/2011 03:16 PM, Allison Henderson wrote: > This patch adds punch hole tests to the fsx > stress test. The test is performed through > the fallocate call by randomly choosing to > use the punch hole flag when running the > fallocate test. Regions that have > been punched out should contain zeros, so > the expected file contents buffer is updated > to contain zeros when a hole is punched out. > It doesn't look like you have anything to detect if the hole punching failed to disable it, how does this behave on say btrfs where we don't do hole punching yet? Thanks, Josef