]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd/bench: include used headers 39123/head
authorKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 08:08:43 +0000 (16:08 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 28 Jan 2021 11:05:32 +0000 (12:05 +0100)
should help with fixing following failure:

src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool>
terminating' has incomplete type and cannot be defined

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f16ac13c13eceed7adb5a4a04a3372b921e63031)

src/tools/rbd/action/Bench.cc

index d96380782a9aa8217ef0c3cbab81095be6b3c427..27843c7bb579fc48a64f06ff50f6540120095517 100644 (file)
@@ -9,6 +9,8 @@
 #include "common/Cond.h"
 #include "common/Mutex.h"
 #include "global/signal_handler.h"
+#include <atomic>
+#include <chrono>
 #include <iostream>
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/accumulators/statistics/stats.hpp>