]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: std::recursive_mutex -> ceph::recursive_mutex
authorSage Weil <sage@redhat.com>
Wed, 10 Oct 2018 17:38:06 +0000 (12:38 -0500)
committerSage Weil <sage@redhat.com>
Sun, 14 Oct 2018 17:10:20 +0000 (12:10 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.h

index 19e544fa75e51bb34c9cc899f2952fdb9e152b39..938c3b39c064ccc98374c98c1272f43d61b6989e 100644 (file)
@@ -1070,7 +1070,10 @@ public:
   struct Cache {
     CephContext* cct;
     PerfCounters *logger;
-    std::recursive_mutex lock;          ///< protect lru and other structures
+
+    /// protect lru and other structures
+    ceph::recursive_mutex lock = {
+      ceph::make_recursive_mutex("BlueStore::Cache::lock") };
 
     std::atomic<uint64_t> num_extents = {0};
     std::atomic<uint64_t> num_blobs = {0};