Skip to content

Make mempool assignment same after bufferlist rebuild#35584

Merged
tchaikov merged 1 commit intoceph:masterfrom
aclamk:wip-mempool-bufferlist-c_str
Jun 20, 2020
Merged

Make mempool assignment same after bufferlist rebuild#35584
tchaikov merged 1 commit intoceph:masterfrom
aclamk:wip-mempool-bufferlist-c_str

Conversation

@aclamk
Copy link
Contributor

@aclamk aclamk commented Jun 16, 2020

I believe that c_str() should not lose mempool assignment if it was forced to rebuild underlying buffer::raw structure.

Tracked by https://tracker.ceph.com/issues/46027

@aclamk aclamk requested review from jdurgin and rzarzynski June 16, 2020 07:44
{
unsigned pos = 0;
int mempool = _buffers.front().get_mempool();
nb->reassign_to_mempool(mempool);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lacking this reassignment seems to be actually a bug. Could you please create a ticket on the tracker and put Fixes into the commit message?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do.

@aclamk aclamk force-pushed the wip-mempool-bufferlist-c_str branch from dc81849 to b3a6d18 Compare June 16, 2020 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants