]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Refactor Aio and AioThrottle 26461/head
authorAdam C. Emerson <aemerson@redhat.com>
Sat, 16 Feb 2019 05:57:36 +0000 (00:57 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 8 Apr 2019 16:45:44 +0000 (12:45 -0400)
commit103627e77209203b36bffd9c010d7ec8ea41b593
tree36e07e7641c930f6165e990c1dd10659a9de10b3
parent4771a4cb1eea851ad6b3882f416b6ea730f6aa7e
rgw: Refactor Aio and AioThrottle

To support in-development work on local caching (and in-development
work on having RGW use the 'unleashed' version of RADOS) divorce the
implementation of AioThrottle from the specifics of librados in accord
with a design that Casey Bodley <cbodley@redhat.com> outlined.

Also include a 'support' function to simplify using the aio_operate
machinery on librados. It's a bit ugly given how completions are
implemented, but all that's hidden away.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/CMakeLists.txt
src/rgw/rgw_aio.cc [new file with mode: 0644]
src/rgw/rgw_aio.h
src/rgw/rgw_aio_throttle.cc
src/rgw/rgw_aio_throttle.h
src/rgw/rgw_putobj_processor.cc
src/rgw/rgw_rados.cc
src/test/rgw/test_rgw_throttle.cc