Skip to content

nautilus: os/bluestore: fix bitmap allocator issues - #27139

Merged
liewegas merged 6 commits into
ceph:nautilusfrom
ifed01:wip-ifed-bmap-issues-nautilus
Mar 30, 2019
Merged

liewegas merged 6 commits into
ceph:nautilusfrom
ifed01:wip-ifed-bmap-issues-nautilus

Conversation

@ifed01

@ifed01 ifed01 commented Mar 22, 2019 •

Copy link
Copy Markdown
Contributor

ifed01 added 6 commits March 23, 2019 01:11
'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]>
(cherry picked from commit dbc1a78)
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit 80310d9)
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit ed8a93b)
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]>
(cherry picked from commit f775d42)
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]>
(cherry picked from commit d146696)
@liewegas
liewegas merged commit 7f9543c into ceph:nautilus Mar 30, 2019
liewegas added a commit that referenced this pull request Mar 30, 2019
* refs/pull/27139/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]>
@ifed01
ifed01 deleted the wip-ifed-bmap-issues-nautilus branch March 30, 2019 20:34
smithfarm added a commit to smithfarm/ceph that referenced this pull request Mar 30, 2019
When PRs are merged via GitHub web GUI, the merge commit looks like
this:

    Merge pull request ceph#27161 from cbodley/wip-qa-rgw-nautilus

however, nowadays PRs are also getting merged via the "ptl-tool.py" CLI
tool, which generates merge commits that look like this:

    Merge PR ceph#27139 into nautilus

This commit adapts the regex so it matches both.

Signed-off-by: Nathan Cutler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants