]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/os/bluestore/StupidAllocator.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / os / bluestore / StupidAllocator.h
index c994cc718e45ce777edad9f3dfb8e818a645dedd..6c6e7832f7efefd39115a19635209479a982610f 100644 (file)
 #include "include/interval_set.h"
 #include "os/bluestore/bluestore_types.h"
 #include "include/mempool.h"
+#include "common/ceph_mutex.h"
 
 class StupidAllocator : public Allocator {
   CephContext* cct;
-  std::mutex lock;
+  ceph::mutex lock = ceph::make_mutex("StupidAllocator::lock");
 
   int64_t num_free;     ///< total bytes in freelist