Release Name: 3.1.0
Notes:
io_splice 3.1.0 - IO::Splice.copy_stream improvement
The splice family of Linux system calls can transfer data between file
descriptors without the need to copy data into userspace. Instead of a
userspace buffer, they rely on an ordinary Unix pipe as a kernel-level
buffer.
* http://bogomips.org/ruby_io_splice/
* ruby.io.splice@librelist.com
* git://bogomips.org/ruby_io_splice.git
Changes:
IO::Splice.copy_stream no longer modifies the actual file offset
of the given source file (if it's a regular file). This follows
IO.copy_stream and IO#sendfile semantics, allowing multiple
threads/processes to simultaneously stream a single regular file
descriptor to multiple sockets/pipes.
Changes:
GIT-VERSION-GEN | 2 +-
README | 6 ++++--
ext/io_splice/extconf.rb | 1 -
lib/io/splice.rb | 28 ++++++++++++++++------------
test/test_io_splice.rb | 10 ++++++++++
5 files changed, 31 insertions(+), 16 deletions(-)
commit 0b07f9c8ac10219590beebb9038f92efd6c3ebaf
Author: Eric Wong
Date: Sun May 1 14:11:11 2011 -0700
io_splice 3.1.0 - IO::Splice.copy_stream improvement
IO::Splice.copy_stream no longer modifies the actual file offset
of the given source file (if it's a regular file). This follows
IO.copy_stream and IO#sendfile semantics, allowing multiple
threads/processes to simultaneously stream a single regular file
descriptor to multiple sockets/pipes.
commit 5e544bc745e5216f2455fa0ad398e39097debe60
Author: Eric Wong
Date: Sun May 1 13:58:23 2011 -0700
minor documentation updates
IO::Splice.copy_stream is more useful, now
commit b5ec116e331c22c064bee46f63145e325785e33f
Author: Eric Wong
Date: Sun May 1 13:29:51 2011 -0700
IO::Splice.copy_stream doesn't change offset of source file
This is for compatibility with IO.copy_stream and IO#sendfile,
both of which use pread()-semantics when given a source file
offset. This allows multiple threads/processes to copy from
the same file handle.
commit b39448e121f8f060c274ee1ee3c473f7b20d92e1
Author: Eric Wong
Date: Wed Apr 27 11:36:33 2011 -0700
extconf: remove unnecessary dir_config statement
I didn't know mkmf at the time :<
|