linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Tinguely <tinguely@sgi.com>
To: Dave Chinner <david@fromorbit.com>
Cc: Theodore Ts'o <tytso@mit.edu>,
	linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
	xfs@oss.sgi.com
Subject: Re: Anyone have test cases for SEEK_HOLE/SEEK_DATA?
Date: Tue, 18 Sep 2012 09:43:36 -0500	[thread overview]
Message-ID: <50588898.6050802@sgi.com> (raw)
In-Reply-To: <20120918064039.GS11511@dastard>

On 09/18/12 01:40, Dave Chinner wrote:
> 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.

xfstest 285 and 286 (I believe these tests were only in the OSS version 
and not in the kernel.org developers version of xfstests).

There is rough version of another test that I got directly from Jeff 
Lui, the person who wrote the SEEK_HOLE/SEEK_DATA feature in XFS. This 
version tests the advance features of SEEK_HOLE/SEEK_DATA.

Ben asked me about this advanced test when he committed the advance 
features of SEEK_HOLE/SEEK_DATA to the XFS OSS tree. To the best of my 
knowledge, this test has not been submitted as an xfstest so we could 
not add it then.

--Mark Tinguely.

  reply	other threads:[~2012-09-18 14:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18  2:04 Anyone have test cases for SEEK_HOLE/SEEK_DATA? Theodore Ts'o
2012-09-18  2:29 ` Jie Liu
2012-09-18  6:21 ` Marco Stornelli
2012-09-18  6:40 ` Dave Chinner
2012-09-18 14:43   ` Mark Tinguely [this message]
2012-09-18 18:15     ` Theodore Ts'o
2012-09-18 18:20       ` Eric Sandeen
2012-09-18 18:28       ` Ben Myers
2012-09-18 18:42         ` Theodore Ts'o
2012-09-18 19:03           ` Ben Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50588898.6050802@sgi.com \
    --to=tinguely@sgi.com \
    --cc=david@fromorbit.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).