summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_aio_throttle.cc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rgw/aio: YieldingAioThrottle::async_wait() uses async_initiateCasey Bodley2024-05-131-5/+5
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: user correct tags for coverity annotations and add the SUPPRESSVedansh Bhartia2023-06-141-2/+2
| | | | | | keyword Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
* rgw: Add coverity annotations for resource leak false positivesVedansh Bhartia2023-06-071-0/+2
| | | | Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
* rgw/aio: remove RGWSI_RADOS from generic Aio::get()Casey Bodley2023-03-121-6/+4
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* {rgw, cmake}: Remove WITH_BOOST_CONTEXTAdam C. Emerson2020-10-231-4/+0
| | | | | | | As Boost.Context now supports s390, there is no longer any need for the conditional compilation. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* rgw: remove unnecessary #include "rgw_rados.h"Kaleb S. KEITHLEY2020-08-101-1/+0
| | | | | | | | rgw_rados.h not needed for compile see https://tracker.ceph.com/issues/46880 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
* RGW - Make sure editor settings are correct for all filesDaniel Gryniewicz2019-08-191-1/+1
| | | | Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
* rgw: add YieldingAioThrottleCasey Bodley2019-04-241-0/+94
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: add BlockingAioThrottleCasey Bodley2019-04-241-8/+8
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: Refactor Aio and AioThrottleAdam C. Emerson2019-04-081-59/+19
| | | | | | | | | | | | | 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>
* rgw: clean-up -- insure C++ source code files contain editor directivesJ. Eric Ivancich2018-12-111-0/+1
| | | | | | | | | | Most, although not all, source code files have a comment on the first two lines describing the C++ formatting conventions used. This commit adds that directive to the files lacking it. Also, vertical whitespace was made more consistent. Note: this only touches files specifically for RGW. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* rgw: store ref to librados::IoCtx in rgw::AioResultCasey Bodley2018-12-051-4/+2
| | | | | | the IoCtx has to outlive its aio completions Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: add id to distinguish between Aio resultsCasey Bodley2018-12-051-2/+4
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: Aio reads return bufferlist in resultCasey Bodley2018-12-051-2/+2
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: move aio throttles to namespace rgwCasey Bodley2018-12-051-0/+152
they're useful outside of putobj Signed-off-by: Casey Bodley <cbodley@redhat.com>