X-Git-Url: https://git.proxmox.com/?p=ceph.git;a=blobdiff_plain;f=ceph%2Fsrc%2Fos%2Fbluestore%2FStupidAllocator.cc;h=65d7baf59d8b1b31cfdbc5d05af9f6f3367c6dc5;hp=7e3402a720b6daf09c762a17dd91f125cfbe783f;hb=28e407b858acd3bddc89f68583571f771bb42e46;hpb=dfcb7b53b2e4fcd2a5af0240d4975adc711ab96e diff --git a/ceph/src/os/bluestore/StupidAllocator.cc b/ceph/src/os/bluestore/StupidAllocator.cc index 7e3402a72..65d7baf59 100644 --- a/ceph/src/os/bluestore/StupidAllocator.cc +++ b/ceph/src/os/bluestore/StupidAllocator.cc @@ -306,9 +306,9 @@ void StupidAllocator::init_rm_free(uint64_t offset, uint64_t length) ldout(cct, 30) << __func__ << " demoting1 0x" << std::hex << off << "~" << len << std::dec << " to bin " << newbin << dendl; _insert_free(off, len); - return false; + return true; } - return true; + return false; }); ++it; }