-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccan: update for more efficient ccan/io.
A fairly simple change: ccan/io will now call the underlying I/O routines repeatedly until they indicate they are unfinished, *or* fail with EAGAIN. This should make a significant difference to large nodes, which currently spend far too much time calling poll() to discover a single fd is still writable (mainly, for streaming gossip). Signed-off-by: Rusty Russell <[email protected]> Changelog-Changed: connectd: now should use far less CPU on large nodes.
- Loading branch information
1 parent
7ef8645
commit 341b62e
Showing
8 changed files
with
259 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CCAN imported from http://ccodearchive.net. | ||
|
||
CCAN version: init-2582-g2d188544 | ||
CCAN version: init-2586-gd4932820 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.