]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/TrackedOp.h
update sources to v12.1.0
[ceph.git] / ceph / src / common / TrackedOp.h
index 899e0b6fec914dae824b179c23ab1dbdaa68a4d8..1ee81075d23f95e280888fec61787b9680a99404 100644 (file)
 
 #ifndef TRACKEDREQUEST_H_
 #define TRACKEDREQUEST_H_
-#include <sstream>
-#include <stdint.h>
-#include <boost/intrusive/list.hpp>
-#include <atomic>
 
-#include "include/utime.h"
-#include "common/Mutex.h"
+#include <atomic>
 #include "common/histogram.h"
-#include "common/zipkin_trace.h"
 #include "msg/Message.h"
-#include "include/memory.h"
 #include "common/RWLock.h"
 
 #define OPTRACKER_PREALLOC_EVENTS 20
@@ -70,7 +63,7 @@ public:
 struct ShardedTrackingData;
 class OpTracker {
   friend class OpHistory;
-  atomic64_t seq;
+  std::atomic<int64_t> seq = { 0 };
   vector<ShardedTrackingData*> sharded_in_flight_list;
   uint32_t num_optracker_shards;
   OpHistory history;