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: v16.2.14~23^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5fa4bffc26e90b2220fff451d343e586994b4cbd;p=ceph.git os/bluestore: dump alloc unit size on bluefs allocation failure. Signed-off-by: Igor Fedotov (cherry picked from commit 6a4e328161e4d692bf45605d62ca8fab2fee7670) --- diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index ffa9cd785ecd..ce496bdeb329 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -3624,6 +3624,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) @@ -3670,6 +3671,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)