Project

General

Profile

Fix #36168

msgr: be more efficient with bufferlist refcounts

Added by Greg Farnum 10 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/24/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

See https://github.com/ceph/ceph/pull/24111#discussion_r217838064 and http://tracker.ceph.com/issues/35987

We currently read data off the wire into a set of bufferlists, then decode_message() copies them into a Message's internal storage. We could swap() them instead to reduce futzing around with atomic reference counts.

History

#1 Updated by Greg Farnum 4 months ago

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

Also available in: Atom PDF