]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: dump alloc unit size on bluefs allocation failure. 42896/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 23 Aug 2021 14:54:03 +0000 (17:54 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 23 Aug 2021 14:54:03 +0000 (17:54 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/BlueFS.cc

index c991d66c3f7fb93e34b03cce9e257ca3fc5a58a7..914da608f91f27f0cdf8e8e9f56242c058b02ee7 100644 (file)
@@ -3017,6 +3017,7 @@ int BlueFS::_allocate_without_fallback(uint8_t id, uint64_t len,
          << ", allocator type " << alloc[id]->get_type()
          << ", capacity 0x" << alloc[id]->get_capacity()
          << ", block size 0x" << alloc[id]->get_block_size()
+         << ", alloc size 0x" << alloc_size[id]
          << ", free 0x" << alloc[id]->get_free()
          << ", fragmentation " << alloc[id]->get_fragmentation()
          << ", allocated 0x" << (alloc_len > 0 ? alloc_len : 0)
@@ -3060,6 +3061,7 @@ int BlueFS::_allocate(uint8_t id, uint64_t len,
               << ", allocator type " << alloc[id]->get_type()
               << ", capacity 0x" << alloc[id]->get_capacity()
               << ", block size 0x" << alloc[id]->get_block_size()
+              << ", alloc size 0x" << alloc_size[id]
               << ", free 0x" << alloc[id]->get_free()
               << ", fragmentation " << alloc[id]->get_fragmentation()
               << ", allocated 0x" << (alloc_len > 0 ? alloc_len : 0)