]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types_fmt: Add fmt::formatter<pg_log_entry_t>
authorMatan Breizman <mbreizma@redhat.com>
Sun, 22 Jan 2023 11:32:01 +0000 (11:32 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 21 May 2023 08:12:29 +0000 (08:12 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit f4300d4aa4390f78fe1fc7b09558cfa765ea9260)

src/crimson/osd/pg.h
src/osd/osd_types_fmt.h

index f0aacc2ea16fecd63d6ed81de1a5086cfe92dd62..f128dd5216a437f2f0e5d2cd30e2a00b10c371f5 100644 (file)
@@ -16,6 +16,7 @@
 #include "messages/MOSDOpReply.h"
 #include "os/Transaction.h"
 #include "osd/osd_types.h"
+#include "osd/osd_types_fmt.h"
 #include "crimson/osd/object_context.h"
 #include "osd/PeeringState.h"
 #include "osd/SnapMapper.h"
index 5756abcb0929e23ac8b7419e34bb171ca28c745e..8d48134106ec3b84decc72ec7585a50868f93e1b 100644 (file)
@@ -334,5 +334,6 @@ template <> struct fmt::formatter<ObjectRecoveryProgress> : fmt::ostream_formatt
 template <> struct fmt::formatter<PastIntervals> : fmt::ostream_formatter {};
 template <> struct fmt::formatter<pg_log_op_return_item_t> : fmt::ostream_formatter {};
 template <> struct fmt::formatter<watch_info_t> : fmt::ostream_formatter {};
+template <> struct fmt::formatter<pg_log_entry_t> : fmt::ostream_formatter {};
 template <bool TrackChanges> struct fmt::formatter<pg_missing_set<TrackChanges>> : fmt::ostream_formatter {};
 #endif