Project

General

Profile

Actions

Feature #5913

closed

msgr: add wrappers for remaining socket calls in Pipe, Accepter

Added by Sage Weil over 10 years ago. Updated about 5 years ago.

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.

http://wiki.ceph.com/01Planning/02Blueprints/Emperor/msgr%3A_implement_infiniband_support_via_rsockets

Actions #1

Updated by Sage Weil almost 8 years ago

  • Status changed from New to Rejected
Actions #2

Updated by Greg Farnum about 5 years ago

  • Project changed from Ceph to Messengers
  • Category deleted (msgr)
Actions

Also available in: Atom PDF