]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/os/bluestore/StupidAllocator.cc
update sources to 12.2.7
[ceph.git] / ceph / src / os / bluestore / StupidAllocator.cc
index 7e3402a720b6daf09c762a17dd91f125cfbe783f..65d7baf59d8b1b31cfdbc5d05af9f6f3367c6dc5 100644 (file)
@@ -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;
       }