From: Adam C. Emerson Date: Wed, 10 Jun 2020 16:14:36 +0000 (-0400) Subject: rgw: Datalog with selectable backends, FIFO and Omap X-Git-Tag: v16.1.0~1154^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0819f57474a015991e0cbcb89680b1807fa4ad15;p=ceph.git rgw: Datalog with selectable backends, FIFO and Omap By default, use whatever is present (and use FIFO if nothing is present.) Signed-off-by: Adam C. Emerson --- diff --git a/src/cls/log/cls_log_types.h b/src/cls/log/cls_log_types.h index b5ab8f3cb132..c5c00766d815 100644 --- a/src/cls/log/cls_log_types.h +++ b/src/cls/log/cls_log_types.h @@ -61,6 +61,10 @@ struct cls_log_header { DECODE_FINISH(bl); } }; +inline bool operator ==(const cls_log_header& lhs, const cls_log_header& rhs) { + return (lhs.max_marker == rhs.max_marker && + lhs.max_time == rhs.max_time); +} WRITE_CLASS_ENCODER(cls_log_header) diff --git a/src/common/options.cc b/src/common/options.cc index b94a4715174e..847f979ef729 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7125,6 +7125,17 @@ std::vector