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: upgrade compression settings to atomics #11244

Merged
merged 1 commit into from Sep 29, 2016

Conversation

xiexingguo
Copy link
Member

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

uint64_t comp_min_blob_size = 0;
uint64_t comp_max_blob_size = 0;
std::atomic<uint64_t> comp_min_blob_size;
std::atomic<uint64_t> comp_max_blob_size;
Copy link
Member

Choose a reason for hiding this comment

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

FWIW I think you can still do initalization here with

std::atomic comp_min_blob_size = {0};'

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, fixed.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@liewegas liewegas merged commit a5706d7 into ceph:master Sep 29, 2016
@xiexingguo xiexingguo deleted the xxg-wip-bluestore-0928 branch September 29, 2016 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants