implement copy_file_range support for Linux 4.5+
commitec44eb9a72be52de10db948ac086ba9b4944b6c8
authorEric Wong <e@80x24.org>
Tue, 15 Mar 2016 04:08:49 +0000 (15 04:08 +0000)
committerEric Wong <e@80x24.org>
Tue, 15 Mar 2016 07:19:40 +0000 (15 07:19 +0000)
tree931b403c49340973bb269a52996f7f5756393566
parent7256eb65635262fb2e647cd08fe2335d80d88546
implement copy_file_range support for Linux 4.5+

Under Linux 4.5, this allows for efficient copies and
is similar to the splice and sendfile system calls.
ext/sleepy_penguin/cfr.c [new file with mode: 0644]
ext/sleepy_penguin/extconf.rb
ext/sleepy_penguin/init.c
ext/sleepy_penguin/sp_copy.h [new file with mode: 0644]
ext/sleepy_penguin/splice.c
test/test_cfr.rb [new file with mode: 0644]