linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anna Schumaker <Anna.Schumaker@netapp.com>
To: <fstests@vger.kernel.org>
Cc: <Anna.Schumaker@netapp.com>, <linux-nfs@vger.kernel.org>,
	<hch@infradead.org>
Subject: [PATCH 0/5] Add copy_file_range() tests
Date: Fri, 13 May 2016 16:50:47 -0400	[thread overview]
Message-ID: <1463172652-22361-1-git-send-email-Anna.Schumaker@Netapp.com> (raw)

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.  The
first patch adds the copy_file_range() utility for using the systemcall, and
is heavily based on src/cloner.c.  The remaining patches add my tests.

Thanks,
Anna

Anna Schumaker (5):
  src/copy_file_range: Add a program for testing vfs_copy_file_range()
  generic/343: Add copy to new file test
  generic/344: Add small copies to new file test
  generic/345: Add copy test that overwrites data
  generic/346: Add a copy test for overwriting small amounts of data

 .gitignore            |   1 +
 common/rc             |   7 ++
 src/Makefile          |   3 +-
 src/copy_file_range.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/343     |  96 +++++++++++++++++++++++++
 tests/generic/343.out |  17 +++++
 tests/generic/344     |  86 +++++++++++++++++++++++
 tests/generic/344.out |  13 ++++
 tests/generic/345     | 107 ++++++++++++++++++++++++++++
 tests/generic/345.out |  17 +++++
 tests/generic/346     |  94 +++++++++++++++++++++++++
 tests/generic/346.out |  17 +++++
 tests/generic/group   |   4 ++
 13 files changed, 650 insertions(+), 1 deletion(-)
 create mode 100644 src/copy_file_range.c
 create mode 100644 tests/generic/343
 create mode 100644 tests/generic/343.out
 create mode 100644 tests/generic/344
 create mode 100644 tests/generic/344.out
 create mode 100644 tests/generic/345
 create mode 100644 tests/generic/345.out
 create mode 100644 tests/generic/346
 create mode 100644 tests/generic/346.out

-- 
2.8.2


             reply	other threads:[~2016-05-13 20:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-13 20:50 Anna Schumaker [this message]
2016-05-13 20:50 ` [PATCH 1/5] src/copy_file_range: Add a program for testing vfs_copy_file_range() Anna Schumaker
2016-05-16 23:20   ` Dave Chinner
2016-05-17 14:47     ` Anna Schumaker
2016-05-17 17:48       ` Darrick J. Wong
2016-05-17 17:52         ` Anna Schumaker
2016-05-13 20:50 ` [PATCH 2/5] generic/343: Add copy to new file test Anna Schumaker
2016-05-13 20:50 ` [PATCH 3/5] generic/344: Add small copies " Anna Schumaker
2016-05-13 20:50 ` [PATCH 4/5] generic/345: Add copy test that overwrites data Anna Schumaker
2016-05-13 20:50 ` [PATCH 5/5] generic/346: Add a copy test for overwriting small amounts of data 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=1463172652-22361-1-git-send-email-Anna.Schumaker@Netapp.com \
    --to=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).