Repository navigation
os/bluestore: fix bitmap allocator issues - #26939
Merged
Merged
Conversation
liewegas
approved these changes
Mar 14, 2019
Member
|
Is there an open ticket for this? |
Contributor
Author
@liewegas - no. Do you want me to create one? |
Member
|
In the future it would be really helpful to have a short description of what the PR does rather than having to dig through the code to find out. :D |
Member
yes please, so we can ensure it gets backported |
'gift' space is just advisory for allocation, part of it actually requested from BlueFS is mandatory only. Hence do not fail when unable to allocate the whole space. Fixes: https://tracker.ceph.com/issues/38760 Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
We might need intervals at BlueStore with both 32-bit and 64-bit lengths. Having base template eliminates the need for copy/paste Signed-off-by: Igor Fedotov <[email protected]>
This helps to avoid 4Gb+ values wrapping which resulted in allocation failures. Fixes: https://tracker.ceph.com/issues/38761 Signed-off-by: Igor Fedotov <[email protected]>
ifed01
force-pushed
the
wip-ifed-fbmap-fixes
branch
from
March 15, 2019 11:20
4132323 to
d146696
Compare
Contributor
Author
Member
/a/sage-2019-03-19_18:36:56-rados-wip-sage3-testing-2019-03-19-0529-distro-basic-smithi/3747574 |
Signed-off-by: Igor Fedotov <[email protected]>
Contributor
Author
|
@liewegas - fixed, another issue with 32bit wrapping |
liewegas
added a commit
that referenced
this pull request
Mar 22, 2019
* refs/pull/26939/head: os/bluestore: unconditionally cap chunks returned by allocator to 2^31 os/bluestore: start using 64-bit intervals for bitmap allocator os/bluestore: make bluestore interval base template. tests/fastbmap_alloc: UT to reproduce 4G allocation bug os/bluestore: os/bluestore: implement dump for bitmap allocator os/bluestore be more tolerant to lack of space for bluefs. Reviewed-by: Sage Weil <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: https://tracker.ceph.com/issues/38760
Fixes: https://tracker.ceph.com/issues/38761
Signed-off-by: Igor Fedotov [email protected]