All of lore.kernel.org
 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 v4 0/5] Add copy_file_range() tests
Date: Thu, 8 Dec 2016 13:49:03 -0500	[thread overview]
Message-ID: <20161208184909.23321-1-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 last patch is a duplicate of a patch I already submitted for the
xfs_io utility.  It adds in fixes for the 'copy_range' command so error
checking can work and so some copies won't loop forever.

Thanks,
Anna

Anna Schumaker (5):
  generic/392: Add copy to new file test
  generic/393: Add small copies to new file test
  generic/394: Add copy test that overwrites data
  generic/395: Add a copy test for overwriting small amounts of data
  generic/396: Add a copy test for invalid input

 common/rc             |   6 +++
 tests/generic/392     | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/392.out |  26 +++++++++++++
 tests/generic/393     |  83 ++++++++++++++++++++++++++++++++++++++++
 tests/generic/393.out |  16 ++++++++
 tests/generic/394     | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/394.out |  17 +++++++++
 tests/generic/395     |  87 ++++++++++++++++++++++++++++++++++++++++++
 tests/generic/395.out |  17 +++++++++
 tests/generic/396     |  68 +++++++++++++++++++++++++++++++++
 tests/generic/396.out |   8 ++++
 tests/generic/group   |   5 +++
 12 files changed, 535 insertions(+)
 create mode 100755 tests/generic/392
 create mode 100644 tests/generic/392.out
 create mode 100755 tests/generic/393
 create mode 100644 tests/generic/393.out
 create mode 100755 tests/generic/394
 create mode 100644 tests/generic/394.out
 create mode 100755 tests/generic/395
 create mode 100644 tests/generic/395.out
 create mode 100644 tests/generic/396
 create mode 100644 tests/generic/396.out

-- 
2.10.2


WARNING: multiple messages have this Message-ID (diff)
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 v4 0/5] Add copy_file_range() tests
Date: Thu, 8 Dec 2016 13:49:03 -0500	[thread overview]
Message-ID: <20161208184909.23321-1-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 last patch is a duplicate of a patch I already submitted for the
xfs_io utility.  It adds in fixes for the 'copy_range' command so error
checking can work and so some copies won't loop forever.

Thanks,
Anna

Anna Schumaker (5):
  generic/392: Add copy to new file test
  generic/393: Add small copies to new file test
  generic/394: Add copy test that overwrites data
  generic/395: Add a copy test for overwriting small amounts of data
  generic/396: Add a copy test for invalid input

 common/rc             |   6 +++
 tests/generic/392     | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/392.out |  26 +++++++++++++
 tests/generic/393     |  83 ++++++++++++++++++++++++++++++++++++++++
 tests/generic/393.out |  16 ++++++++
 tests/generic/394     | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/394.out |  17 +++++++++
 tests/generic/395     |  87 ++++++++++++++++++++++++++++++++++++++++++
 tests/generic/395.out |  17 +++++++++
 tests/generic/396     |  68 +++++++++++++++++++++++++++++++++
 tests/generic/396.out |   8 ++++
 tests/generic/group   |   5 +++
 12 files changed, 535 insertions(+)
 create mode 100755 tests/generic/392
 create mode 100644 tests/generic/392.out
 create mode 100755 tests/generic/393
 create mode 100644 tests/generic/393.out
 create mode 100755 tests/generic/394
 create mode 100644 tests/generic/394.out
 create mode 100755 tests/generic/395
 create mode 100644 tests/generic/395.out
 create mode 100644 tests/generic/396
 create mode 100644 tests/generic/396.out

-- 
2.10.2


             reply	other threads:[~2016-12-08 18:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 18:49 Anna Schumaker [this message]
2016-12-08 18:49 ` [PATCH v4 0/5] Add copy_file_range() tests Anna Schumaker
2016-12-08 18:49 ` [PATCH v4 1/5] generic/392: Add copy to new file test Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-19 10:04   ` Eryu Guan
2016-12-19 22:34     ` Darrick J. Wong
2016-12-20  3:26       ` Eryu Guan
2016-12-08 18:49 ` [PATCH v4 2/5] generic/393: Add small copies " Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-08 18:49 ` [PATCH v4 3/5] generic/394: Add copy test that overwrites data Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-08 18:49 ` [PATCH v4 4/5] generic/395: Add a copy test for overwriting small amounts of data Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-08 18:49 ` [PATCH v4 5/5] generic/396: Add a copy test for invalid input Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-08 20:20   ` Darrick J. Wong
2016-12-08 20:28     ` Anna Schumaker
2016-12-08 20:28       ` Anna Schumaker
2016-12-08 18:49 ` [PATCH v4 6/5] xfs_io: Improvements to copy_range return code handling Anna Schumaker
2016-12-08 18:49   ` Anna Schumaker
2016-12-11  9:03 ` [PATCH v4 0/5] Add copy_file_range() tests Amir Goldstein
2016-12-11 18:34   ` Darrick J. Wong

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=20161208184909.23321-1-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.