[PATCH 0/5] Add copy_file_range() tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux