diff --git a/backends/v3/src/queue.rs b/backends/v3/src/queue.rs index fc6c5390..f8123b57 100644 --- a/backends/v3/src/queue.rs +++ b/backends/v3/src/queue.rs @@ -364,7 +364,7 @@ impl State { // Add it back to the front tracing::debug!("Over budget: not enough free blocks"); self.entries.push_front((id, entry)); - break; + continue; } Some(block_allocation) => { tracing::debug!("Allocation: {block_allocation:?}"); diff --git a/backends/v3/src/radix.rs b/backends/v3/src/radix.rs index 9b117456..90d3b033 100644 --- a/backends/v3/src/radix.rs +++ b/backends/v3/src/radix.rs @@ -97,6 +97,7 @@ impl Allocator for RadixAllocator { self.cache_blocks .decref(prefix_node) .expect("Failed to decrement refcount"); + tracing::debug!("Cannot allocate {:?}", self.cache_blocks); return None; } }