]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/rbd: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Sun, 27 Oct 2024 12:35:26 +0000 (13:35 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Fri, 14 Feb 2025 15:15:50 +0000 (16:15 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd_client.h
src/cls/rbd/cls_rbd_types.cc
src/cls/rbd/cls_rbd_types.h

index d0d6bd118404270f207b43c502cc6c591e09d89e..8489f0ca818ff2592a9d353f50b22cc427c9a4ad 100644 (file)
 
 #include <algorithm>
 #include <errno.h>
+#include <iomanip>
 #include <sstream>
 
 #include "include/uuid.h"
 #include "common/bit_vector.hpp"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/errno.h"
 #include "objclass/objclass.h"
 #include "osd/osd_types.h"
index 37992203affb5b5e3512fb97811d0892a71be535..2699ed2c4e198260621e6d6cb23d7b9de10f032c 100644 (file)
@@ -10,6 +10,8 @@
 #include "include/types.h"
 #include "include/rados/librados_fwd.hpp"
 
+#include <boost/optional.hpp>
+
 class Context;
 namespace ceph { template <uint8_t> class BitVector; }
 namespace neorados { struct WriteOp; }
index cdaf751d750e554dd64a15ad9be3f7ac6ab94c7a..b6177e85eb84d31520552cd6a9cfc1fb891871b7 100644 (file)
@@ -5,6 +5,8 @@
 #include "cls/rbd/cls_rbd_types.h"
 #include "common/Formatter.h"
 
+#include <iomanip>
+
 namespace cls {
 namespace rbd {
 
index c1d64805ae429984fcac1e8fe6cd07635b5aa3ac..00de0a1e4c78457b1ad546f14db5d97088d24042 100644 (file)
@@ -7,10 +7,12 @@
 #include "include/int_types.h"
 #include "include/buffer.h"
 #include "include/encoding.h"
+#include "include/object.h" // for snapid_t
 #include "include/stringify.h"
 #include "include/utime.h"
 #include "msg/msg_types.h"
 #include <iosfwd>
+#include <map>
 #include <string>
 #include <set>
 #include <variant>