linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Anna Schumaker <Anna.Schumaker@netapp.com>
Cc: fstests@vger.kernel.org, linux-nfs@vger.kernel.org, hch@infradead.org
Subject: Re: [PATCH v2 0/4] Add copy_file_range() tests
Date: Sat, 17 Sep 2016 10:03:41 -0700	[thread overview]
Message-ID: <20160917170341.GA3059@birch.djwong.org> (raw)
In-Reply-To: <20160907195619.25914-1-Anna.Schumaker@Netapp.com>

On Wed, Sep 07, 2016 at 03:56:15PM -0400, Anna Schumaker wrote:
> These tests exercise the copy_file_range() system call, and check copying
> data to both a new file and overwriting data inside an existing file.  I use
> the xfs_io "copy_range" command for the actual copies, so running these
> tests requires an up-to-date version of xfsprogs.
> 
> Thanks,
> Anna
> 
> Anna Schumaker (4):
>   generic/377: Add copy to new file test
>   generic/378: Add small copies to new file test
>   generic/379: Add copy test that overwrites data
>   generic/380: Add a copy test for overwriting small amounts of data

By the way, do you have a test to check that invalid inputs produce
the error codes listed in the manpage?

--D

> 
>  tests/generic/377     | 102 +++++++++++++++++++++++++++++++++++++++++++++++
>  tests/generic/377.out |  21 ++++++++++
>  tests/generic/378     |  88 +++++++++++++++++++++++++++++++++++++++++
>  tests/generic/378.out |  14 +++++++
>  tests/generic/379     | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  tests/generic/379.out |  17 ++++++++
>  tests/generic/380     |  94 ++++++++++++++++++++++++++++++++++++++++++++
>  tests/generic/380.out |  17 ++++++++
>  tests/generic/group   |   4 ++
>  9 files changed, 464 insertions(+)
>  create mode 100644 tests/generic/377
>  create mode 100644 tests/generic/377.out
>  create mode 100644 tests/generic/378
>  create mode 100644 tests/generic/378.out
>  create mode 100644 tests/generic/379
>  create mode 100644 tests/generic/379.out
>  create mode 100644 tests/generic/380
>  create mode 100644 tests/generic/380.out
> 
> -- 
> 2.9.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-09-17 17:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-07 19:56 [PATCH v2 0/4] Add copy_file_range() tests Anna Schumaker
2016-09-07 19:56 ` [PATCH v2 1/4] generic/377: Add copy to new file test Anna Schumaker
2016-09-09  6:21   ` Eryu Guan
2016-09-09  6:29     ` Darrick J. Wong
2016-09-09  7:01       ` Eryu Guan
2016-09-11 23:10         ` Dave Chinner
2016-09-07 19:56 ` [PATCH v2 2/4] generic/378: Add small copies " Anna Schumaker
2016-09-07 19:56 ` [PATCH v2 3/4] generic/379: Add copy test that overwrites data Anna Schumaker
2016-09-07 19:56 ` [PATCH v2 4/4] generic/380: Add a copy test for overwriting small amounts of data Anna Schumaker
2016-09-17 17:03 ` Darrick J. Wong [this message]
2016-10-26  8:26 ` [PATCH v2 0/4] Add copy_file_range() tests Christoph Hellwig
2016-11-25  8:05   ` Christoph Hellwig
2016-11-29 20:47     ` J. Bruce Fields
2016-11-29 20:59       ` Anna Schumaker
2016-11-29 23:21         ` Darrick J. Wong
2016-12-02 20:00           ` Anna Schumaker

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=20160917170341.GA3059@birch.djwong.org \
    --to=darrick.wong@oracle.com \
    --cc=Anna.Schumaker@netapp.com \
    --cc=fstests@vger.kernel.org \
    --cc=hch@infradead.org \
    --cc=linux-nfs@vger.kernel.org \
    /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).