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: fix wrong usage for BlueFS::_allocate. #20708

Merged
merged 2 commits into from Mar 6, 2018

Conversation

Projects
None yet
3 participants
@majianpeng
Copy link
Member

commented Mar 5, 2018

No description provided.

@ifed01

ifed01 approved these changes Mar 5, 2018

@liewegas liewegas changed the title fix wrong usage for BlueFS::_allcoate. os/bluestore: fix wrong usage for BlueFS::_allocate. Mar 5, 2018

@majianpeng majianpeng force-pushed the majianpeng:bluefs-bug-fix branch from f3d3604 to 3e56ecb Mar 5, 2018

@tchaikov tchaikov merged commit ade7193 into ceph:master Mar 6, 2018

3 of 5 checks passed

make check running make check
Details
make check (arm64) running make check
Details
Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details

majianpeng added some commits Mar 2, 2018

os/bluestore/BlueFS: cleanup code for more readable.
And remove the useless judgement.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
os/bluestore: fix wrong usage for BlueFS::_allocate.
In fact, function _allocate is atomic function which don't
allocate less than want space.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
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.