]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: cleanup around allocator calls
authorIgor Fedotov <ifedotov@suse.com>
Tue, 16 Jul 2019 14:16:16 +0000 (17:16 +0300)
committerVikhyat Umrao <vikhyat@redhat.com>
Tue, 19 Nov 2019 13:23:55 +0000 (05:23 -0800)
commit1ff043ed30ecd1a8f2822d4dadb9e1f5f1791e7f
treebc2aba27ccfd1197c116ba9597c30d7bab18c398
parent309726cc584d3610a41ca9e922da8b0c54d462d3
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>
(cherry picked from commit a1246da5705e2a699656c2561cebc5ed29628c90)
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueStore.cc