]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add rgw::putobj::AioThrottle
authorCasey Bodley <cbodley@redhat.com>
Wed, 10 Oct 2018 19:11:54 +0000 (15:11 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 15 Oct 2018 21:05:12 +0000 (17:05 -0400)
commit9e1292e86e5460bd66472b199a225e5cfa04b6c8
tree3bef413a1fa31adcaddf7febd92a7a6eef818e87
parentdfb16c3fe92ebb41841de08220a10c9bf8161f9f
rgw: add rgw::putobj::AioThrottle

implement the throttling algorithm in terms of rgw::putobj::Aio. this
differs from RGWPutObjProcessor_Aio in that it doesn't wait on the
first pending write to complete before making process on later ones

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt
src/rgw/rgw_putobj_throttle.cc [new file with mode: 0644]
src/rgw/rgw_putobj_throttle.h [new file with mode: 0644]
src/test/rgw/CMakeLists.txt
src/test/rgw/test_rgw_throttle.cc [new file with mode: 0644]