Project

General

Profile

Bug #46027

bufferlist c_str() sometimes clears assignment to mempool

Added by Adam Kupczyk about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Sometimes c_str() needs to rebuild underlying buffer::raw.
It that case original assignment to mempool is lost.


Related issues

Copied to bluestore - Backport #48193: nautilus: bufferlist c_str() sometimes clears assignment to mempool Resolved
Copied to bluestore - Backport #48194: octopus: bufferlist c_str() sometimes clears assignment to mempool Resolved

History

#1 Updated by Adam Kupczyk about 1 year ago

  • Assignee set to Adam Kupczyk

#3 Updated by Kefu Chai about 1 year ago

  • Status changed from New to Resolved
  • Pull request ID set to 35584

#4 Updated by Zac Medico 9 months ago

It could be beneficial to backport this fix to octypus and nautilus. I suspect that it fixes a rebuild leak to the buffer_anon mempool in the ObjectModDesc trim_bl method shown here:

https://github.com/ceph/ceph/commit/62fd382fbf10f2b78946426644d445549a7ebed1

#5 Updated by Nathan Cutler 9 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to nautilus, octopus

#6 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #48193: nautilus: bufferlist c_str() sometimes clears assignment to mempool added

#7 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #48194: octopus: bufferlist c_str() sometimes clears assignment to mempool added

#8 Updated by Nathan Cutler 5 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF