[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60424] [ruby-trunk - Feature #9427] [Closed] [PATCH] io.c: remove socket check for sendfile
From:
akr@...
Date:
2014-02-03 14:50:52 UTC
List:
ruby-core #60424
Issue #9427 has been updated by Akira Tanaka.
Status changed from Feedback to Closed
I see. It seems that the problems are sporadic.
----------------------------------------
Feature #9427: [PATCH] io.c: remove socket check for sendfile
https://bugs.ruby-lang.org/issues/9427#change-44895
* Author: Eric Wong
* Status: Closed
* Priority: Normal
* Assignee: Akira Tanaka
* Category: core
* Target version: current: 2.2.0
----------------------------------------
Linux uses splice internally for sendfile since 2.6.23, allowing
sendfile to work for arbitrary destinations.
We gracefully handle EINVAL/ENOSYS from sendfile anyways,
so we will hit the old fallback to read/write if the system
cannot perform sendfile to non-sockets.
Verified using strace on the following one line script:
IO.copy_stream(__FILE__, "/dev/null")
----------------------------------------------------------------
The following changes since commit 971ef822679dfa6ee63ff83a47b4e4d1aa60d146:
* ext/socket: Avoid unnecessary ppoll/select on Linux. Patch by Eric Wong. [ruby-core:57950] [Bug #9039] (2014-01-18 14:13:22 +0000)
are available in the git repository at:
git://80x24.org/ruby.git sendfile-anydest
for you to fetch changes up to 01fdf26d720a21820f4f51fade5f8b156948403b:
io.c: remove socket check for sendfile (2014-01-18 22:27:17 +0000)
----------------------------------------------------------------
Eric Wong (1):
io.c: remove socket check for sendfile
io.c | 2 --
1 file changed, 2 deletions(-)
---Files--------------------------------
0001-io.c-remove-socket-check-for-sendfile.patch (908 Bytes)
--
http://bugs.ruby-lang.org/