Actions
Feature #5913
closedmsgr: add wrappers for remaining socket calls in Pipe, Accepter
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Almost all socket calls are confined to Accepter.cc (which is small) and Pipe.cc (which is not). Most actual socket calls use a handful of wrappers:
- tcp_read
- tcp_read_wait
- tcp_read_nonblocking
- tcp_write
- shutdown_socket
- do_sendmsg
A few other direct calls need to be converted to use wrapper:
- getpeername
- setsockopt
- socket
- connect
- close
Move all of these to wrapper methods where they can be multiplexed later.
Updated by Greg Farnum about 5 years ago
- Project changed from Ceph to Messengers
- Category deleted (
msgr)
Actions