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

osd: os: skip checking pg_meta object existance in FileStore #6870

Merged
merged 1 commit into from Dec 23, 2015

Conversation

mslovy
Copy link
Contributor

@mslovy mslovy commented Dec 9, 2015

pg_meta object in FileStore is actually a logical object without any significant information.
All it data writes to omap (leveldb), and actually no competition condition for the real object in FileStore
Based on the optimazation, we further reduce _omap_setkeys() execution time (123.784us to 108.444us, about 15%), and save cpu usage 0.5% globally

Signed-off-by: Ning Yao zay11022@gmail.com

pg_meta object in FileStore is actually a logical object without any significant information.
All it data writes to omap (leveldb), and actually no competition condition for the real object in FileStore
Based on the optimazation, we further reduce _omap_setkeys() execution time (123.784us to 108.444us, about 15%), and save cpu usage 0.5% globally

Signed-off-by: Ning Yao <zay11022@gmail.com>
liewegas added a commit that referenced this pull request Dec 23, 2015
osd: os: skip checking pg_meta object existance in FileStore

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 8ca07f4 into ceph:master Dec 23, 2015
@ghost ghost changed the title os: skip checking pg_meta object existance in FileStore osd: os: skip checking pg_meta object existance in FileStore Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants