Project

General

Profile

Feature #1852

librados: don't do memory copies for the C interface

Added by Greg Farnum about 11 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
librados
Pull request ID:

Description

The current implementation of the librados C interface (well, the one I'm working on now) uses in-memory copies for anything that needs to be passed to the Objecter as a bufferlist. Right now that's required because there's no good way to prevent memory from being read by the Messenger, or to predictably bound it (the hard scenario Sage brought up is a message that gets sent to osd.1, but then to osd.2 because of a map change, and you get the safe reply from osd.2 before sending to osd.1).

This is blocked by #1851, though.

History

#1 Updated by Sage Weil almost 11 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Patrick Donnelly over 4 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (librados)
  • Component(RADOS) librados added

Also available in: Atom PDF