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: switch spanning_blob_map to std::map #11336

Merged
merged 1 commit into from Oct 5, 2016

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Oct 5, 2016

The intrusive map overhead on Blob is expensive when a tiny fraction of
Blobs actually end up in the spanning_blob_map. Let's pay the extra
allocation overhead (for the map node holding the BlobRef) for those rare
cases.

Signed-off-by: Sage Weil sage@redhat.com

The intrusive map overhead on Blob is expensive when a tiny fraction of
Blobs actually end up in the spanning_blob_map.  Let's pay the extra
allocation overhead (for the map node holding the BlobRef) for those rare
cases.

Signed-off-by: Sage Weil <sage@redhat.com>
@markhpc
Copy link
Member

markhpc commented Oct 5, 2016

This is going to be much better I think! Should let us cache some more onodes at the very least.

@liewegas liewegas merged commit afbcece into ceph:master Oct 5, 2016
@liewegas liewegas deleted the wip-bluestore-spanning-map branch October 5, 2016 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants