From: Igor Fedotov Date: Mon, 23 Aug 2021 14:54:03 +0000 (+0300) Subject: os/bluestore: dump alloc unit size on bluefs allocation failure. X-Git-Tag: v17.1.0~179^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42896%2Fhead;p=ceph.git os/bluestore: dump alloc unit size on bluefs allocation failure. Signed-off-by: Igor Fedotov --- diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index c991d66c3f7..914da608f91 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -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)