]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/fifo: Use neorados interface
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 4 Feb 2020 16:33:48 +0000 (11:33 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 9 Sep 2020 02:09:40 +0000 (22:09 -0400)
commit6c950a2c2dbbce84eb287993be95972320a3f695
tree2bbabe9a77d450079ef7391b769149c12ab4970d
parent55255343f786057f6b87d1352473d554cfe68eb2
cls/fifo: Use neorados interface

Rewrite around the asynchronous ASIO-based RADOS interface, and
include support for calls from multiple threads.

`allocate_unique` pattern contributed by
Casey Bodley <cbodley@redhat.com>

Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
16 files changed:
src/cls/CMakeLists.txt
src/cls/fifo/cls_fifo.cc
src/cls/fifo/cls_fifo_client.cc [deleted file]
src/cls/fifo/cls_fifo_client.h [deleted file]
src/cls/fifo/cls_fifo_ops.cc [deleted file]
src/cls/fifo/cls_fifo_ops.h
src/cls/fifo/cls_fifo_types.cc [deleted file]
src/cls/fifo/cls_fifo_types.h
src/common/options.cc
src/neorados/CMakeLists.txt
src/neorados/cls/fifo.cc [new file with mode: 0644]
src/neorados/cls/fifo.h [new file with mode: 0644]
src/test/CMakeLists.txt
src/test/cls_fifo/CMakeLists.txt
src/test/cls_fifo/bench_cls_fifo.cc [new file with mode: 0644]
src/test/cls_fifo/test_cls_fifo.cc