]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: fix wrong usage for BlueFS::_allocate.
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 5 Mar 2018 16:54:14 +0000 (00:54 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Tue, 6 Mar 2018 08:11:17 +0000 (16:11 +0800)
commit3e56ecb7b1d3a735b75d0ddcc541616dbb52617a
tree9f5bbc8ff3d24257a2c0449881f48ddda8806474
parentd1af5b060c5ed12db83f65a9eb951edf31ebf910
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>
src/os/bluestore/BlueFS.cc