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 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 linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html