Project

General

Profile

Actions

Bug #46027

closed

bufferlist c_str() sometimes clears assignment to mempool

Added by Adam Kupczyk almost 6 years ago. Updated 8 months ago.

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

0%

Source:
Backport:
nautilus, octopus
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-2647-geba91445c0
Released In:
v16.2.0~2250
Upkeep Timestamp:
2025-07-14T19:40:30+00:00

Description

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


Related issues 2 (0 open2 closed)

Copied to bluestore - Backport #48193: nautilus: bufferlist c_str() sometimes clears assignment to mempoolResolvedNathan CutlerActions
Copied to bluestore - Backport #48194: octopus: bufferlist c_str() sometimes clears assignment to mempoolResolvedNathan CutlerActions
Actions #1

Updated by Adam Kupczyk almost 6 years ago

  • Assignee set to Adam Kupczyk
Actions #3

Updated by Kefu Chai almost 6 years ago

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

Updated by Zac Medico over 5 years 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

Actions #5

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler about 5 years 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".

Actions #9

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to eba91445c067ee8f5c5073f470e4543e992d97f8
  • Fixed In set to v16.0.0-2647-geba91445c0
  • Released In set to v16.2.0~2250
  • Upkeep Timestamp set to 2025-07-14T19:40:30+00:00
Actions

Also available in: Atom PDF