Bug #46027
bufferlist c_str() sometimes clears assignment to mempool
% Done:
0%
Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
4 - irritation
Description
Sometimes c_str() needs to rebuild underlying buffer::raw.
It that case original assignment to mempool is lost.
Related issues
History
#1 Updated by Adam Kupczyk 7 months ago
- Assignee set to Adam Kupczyk
#2 Updated by Radoslaw Zarzynski 7 months ago
#4 Updated by Zac Medico 2 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 2 months ago
- Status changed from Resolved to Pending Backport
- Backport set to nautilus, octopus
#6 Updated by Nathan Cutler 2 months ago
- Copied to Backport #48193: nautilus: bufferlist c_str() sometimes clears assignment to mempool added
#7 Updated by Nathan Cutler 2 months ago
- Copied to Backport #48194: octopus: bufferlist c_str() sometimes clears assignment to mempool added