]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/fifo: Journal is flat_set, not multimap
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 30 Nov 2022 22:43:15 +0000 (17:43 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 9 Jan 2023 22:42:20 +0000 (17:42 -0500)
commitbe98337670a03f0fc2fbbb9eb955ea39fb610177
tree1ca6c207205e80184bee524f2a14ed9a4fd36408
parent8dfbcb763b5058a8c30365a5806cbf94cd688345
cls/fifo: Journal is flat_set, not multimap

We don't really need the overhead and complexity of a multimap.

Fixes: https://tracker.ceph.com/issues/57562
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit fcaa45d32d22653c6c8272a7a43af41bf3dc7e88)
Conflicts:
src/rgw/cls_fifo_legacy.cc
src/cls/fifo/cls_fifo_types.h
 - Upstream C++20
 - Have to write our own less-than since upstream uses the Spaceship Operator
Fixes: https://tracker.ceph.com/issues/58402
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/cls/fifo/cls_fifo_types.h
src/rgw/cls_fifo_legacy.cc