Skip to content
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: gifting bluefs more carefully #10950

Merged
merged 2 commits into from Sep 1, 2016

Conversation

Projects
None yet
2 participants
@xiexingguo
Copy link
Member

commented Sep 1, 2016

No description provided.

xiexingguo added some commits Sep 1, 2016

os/bluestore: end scope of std::hex properly
So it does not extend to the following output stream and
causes unexpected behaviour.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
os/bluestore: don't over-gift if bluefs free is smaller than bluestor…
…e_bluefs_min

- If free space of bluefs is smaller than bluestore_bluefs_min, then raise it
  exactly up to bluestore_bluefs_min.

- Pre-check if bluestore_bluefs_min will exceed bluestore_bluefs_max_ratio * bluefs_total,
  so if free space of bluefs is smaller than bluestore_bluefs_min_ratio * bluefs_total,
  we'll still be able to gift.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>

@xiexingguo xiexingguo added the bluestore label Sep 1, 2016

@liewegas liewegas merged commit e3d1a0d into ceph:master Sep 1, 2016

0 of 2 checks passed

Signed-off-by Build triggered. sha1 is merged.
Details
default Build triggered. sha1 is merged.
Details

@xiexingguo xiexingguo deleted the xiexingguo:xxg-wip-blue-09-01 branch Sep 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.