]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/FuturizedCollection: use thread_safe_counter
authorSamuel Just <sjust@redhat.com>
Thu, 22 Sep 2022 20:15:29 +0000 (13:15 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 27 Sep 2022 02:35:41 +0000 (19:35 -0700)
This should work for now, long term we probably want to get
rid of FuturizedCollection entirely from the interface.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/futurized_collection.h

index 06f7d2f47d5f27f104eafd74ee699894383ea29e..7b460dffe3e920e0fbf39d3335513219fe76c26c 100644 (file)
@@ -14,7 +14,7 @@ class FuturizedStore;
 
 class FuturizedCollection
   : public boost::intrusive_ref_counter<FuturizedCollection,
-                                        boost::thread_unsafe_counter>
+                                        boost::thread_safe_counter>
 {
 public:
   FuturizedCollection(const coll_t& cid)