[PATCH 0/5] Add copy_file_range() tests

Anna Schumaker
2016-05-13T20:50:56Z

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