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: handle rounding error in cache ratios #15672

Merged
merged 2 commits into from Jun 16, 2017

Conversation

Projects
None yet
2 participants
@liewegas
Member

liewegas commented Jun 13, 2017

No description provided.

os/bluestore: use double in _set_cache_sizes
Freaking floating point imprecision sucks.

Signed-off-by: Sage Weil <sage@redhat.com>
os/bluestore: clean up cache_data_ratio in _set_cache_sizes
Signed-off-by: Sage Weil <sage@redhat.com>

@liewegas liewegas merged commit b8e37dd into ceph:master Jun 16, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@liewegas liewegas deleted the liewegas:wip-bluestore-cache-ratios branch Jun 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment