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: fix Allocator::allocate() int truncation #13010

Merged
merged 1 commit into from Jan 20, 2017

Conversation

Projects
None yet
3 participants
@liewegas
Member

liewegas commented Jan 20, 2017

Introduced in 5ab0343.

Fixes: http://tracker.ceph.com/issues/18595
Signed-off-by: Sage Weil sage@redhat.com

os/bluestore: fix Allocator::allocate() int truncation
An allocation of size 0x80000000 gets truncated to 0.  Larger values can
break things in similar ways.

Introduced in 5ab0343.

Fixes: http://tracker.ceph.com/issues/18595
Signed-off-by: Sage Weil <sage@redhat.com>
@ifed01

ifed01 approved these changes Jan 20, 2017

@liewegas liewegas merged commit 4b7258a into ceph:master Jan 20, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@liewegas liewegas deleted the liewegas:wip-bluestore-allocator branch Jan 20, 2017

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