summaryrefslogtreecommitdiff
path: root/src/random-seed
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-14 13:18:14 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-15 14:53:31 -0400
commitce33fddad0806f859ff7324527ee0525dd10455e (patch)
tree8223f829ce74a0e48e0ccb4500d01a02515f7d25 /src/random-seed
parent70e43ee7be6ee8d1e8aa4b2984a72baa25709c2e (diff)
test-copy: add a test shuffling bytes between normal files
I started looking into adding copy_file_range support, and discovered that we can improve the way we call sendfile: - sendfile(2) man page is missing an important bit: the number of bytes to copy cannot be too big (SSIZE_MAX actually), and the description of EINVAL return code does not mention this either, - our implementation works but calls sendfile over and over with a small size, which seems suboptimal. First add a test which (under strace) can be used to see current behaviour.
Diffstat (limited to 'src/random-seed')
0 files changed, 0 insertions, 0 deletions