Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: fix duplicate allocations in bmap allocator #28496

Merged
merged 5 commits into from
Jun 18, 2019

Conversation

ifed01
Copy link
Contributor

@ifed01 ifed01 commented Jun 11, 2019

Fixes: http://tracker.ceph.com/issues/40080

Signed-off-by: Igor Fedotov ifedotov@suse.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

This is rather a template to build custom troubleshooters
for bitmap allocator using existing logs. Tool replays OSD
log to build allocator state that caused an issue.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
@@ -36,7 +36,7 @@ int64_t BitmapAllocator::allocate(
}
for (auto e : *extents) {
ldout(cct, 10) << __func__
<< " 0x" << std::hex << e.offset << "~" << e.length
<< "extent: 0x" << std::hex << e.offset << "~" << e.length
Copy link
Member

Choose a reason for hiding this comment

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

missing space between e.length and 'extent'?

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
@tchaikov
Copy link
Contributor

retest this please.

1 similar comment
@ifed01
Copy link
Contributor Author

ifed01 commented Jun 12, 2019

retest this please.

@tchaikov tchaikov merged commit c036b92 into ceph:master Jun 18, 2019
@ifed01 ifed01 deleted the wip-ifed-fix-40080 branch June 18, 2019 15:37
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.

3 participants