]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: cleanup around allocator calls 29068/head
authorIgor Fedotov <ifedotov@suse.com>
Tue, 16 Jul 2019 14:16:16 +0000 (17:16 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 16 Jul 2019 14:16:16 +0000 (17:16 +0300)
commita1246da5705e2a699656c2561cebc5ed29628c90
tree385d2ed0d9bdbcc35b4c1e09fd0985862932e08d
parentf64c3f6529a35483f7402c8bcc69a04a2a21a710
os/bluestore: cleanup around allocator calls

Both stupid and bitmap allocator returs -ENOSPC if they're
unable to allocate any space. Existing callers aren't always
respect this - hence doing some cleanup.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueStore.cc