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 2 commits into from Jun 16, 2017


None yet
2 participants

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 <>
os/bluestore: clean up cache_data_ratio in _set_cache_sizes
Signed-off-by: Sage Weil <>

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

3 checks passed

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

@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