]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add rgw::putobj::Aio interface
authorCasey Bodley <cbodley@redhat.com>
Wed, 10 Oct 2018 19:11:53 +0000 (15:11 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 15 Oct 2018 21:05:12 +0000 (17:05 -0400)
commitdfb16c3fe92ebb41841de08220a10c9bf8161f9f
treef3648e987354a77d9b51392be4cd1c5b1544efc1
parent4ba0348611ff52da12e9cf454aa49faf3cd28a62
rgw: add rgw::putobj::Aio interface

the Aio operations return a ResultList of previous completions that can
be inspected for the error code and object name (the latter is needed to
track created objects that need to be removed on cancelation)

returning results in a list avoids the extra locking that may be
required to poll/wait for a single completion at a time

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_putobj_aio.h [new file with mode: 0644]