From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: Re: Anyone have test cases for SEEK_HOLE/SEEK_DATA? Date: Tue, 18 Sep 2012 16:40:39 +1000 Message-ID: <20120918064039.GS11511@dastard> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, xfs@oss.sgi.com To: Theodore Ts'o Return-path: Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:54127 "EHLO ipmail05.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755304Ab2IRGl3 (ORCPT ); Tue, 18 Sep 2012 02:41:29 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Sep 17, 2012 at 10:04:34PM -0400, Theodore Ts'o wrote: > > Does anyone have test cases for SEEK_HOLE/SEEK_DATA handy? As near as I > can tell xfstests doesn't have any tests for SEEK_HOLE/SEEK_DATA > functionality, and I was hoping someone had some test programs and test > sets already written. Perhaps a cc to xfs@oss.sgi.com so the xfstests maintainers see the question would be a sensible idea? As it is, there are tests pending check-in that test seek-data/seek-hole functionality - they were used to verify the unwritten extent aware XFS implementation that recently went into the kernel.... Cheers, Dave. -- Dave Chinner david@fromorbit.com