| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Move more files into driver/rados for better above- vs below-
the-line. Use #pragma once everywhere (versus fixing all the
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
|
|
|
|
|
|
|
| |
The "struct" is superfluous and makes it harder for those looking for
the definition.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
* add "std::" prefix in headers
* add "using" declarations in .cc files.
so we don't rely on "using namespace std" in one or more included
headers.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
| |
Patch to correct type.
Signed-off-by: Seongyeop Jeong <seongyeop.jeong@snu.ac.kr>
|
|
|
|
|
|
|
| |
This commit replaces boost's string_ref and string_view cpp's in built std::string_view
Fixes: https://tracker.ceph.com/issues/39619
Signed-off-by: Prateek Sachan <psachan@cs.iitr.ac.in>
|
|
|
|
| |
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
| |
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set 218 constructors as explicit to avoid implicit usage.
Fix for cppcheck warning:
Class has a constructor with 1 argument that is
not explicit. Such constructors should in general be explicit for
type safety reasons. Using the explicit keyword in the constructor
means some mistakes when using the class can be avoided.
For more information check:
https://www.codeproject.com/Articles/28663/Explicit-Constructor-in-C
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Since web frontends may signal an error when requests are malformed or so, let
us double check this and raise errors early. The current user of this is
civetweb frontend; which can potentially return null from `parse_http_headers`
when a HTTP header without a ":" is supplied at which point headers.value is
null which can lead to undefined behaviour later in RGW.
Fixes: http://tracker.ceph.com/issues/23039
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
|
|
|
|
| |
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
log bytes sent/received.
add cct to bufferingfilter
add cct to RGWRestfulIO
AccountingFilter - save cct for debugging output
implement AccountingFilter::complete_request() - account for bytes reported here.
BufferingFilter<T>::complete_request() - ignore counts from send_content_length() complete_header();
Code quality note:
this patch makes "cct" available for a lot of newly added debug
statements. The debug statements are mostly not very useful (and should
go away in the future) - *But* the "cct" logic should be redone and
incorporated into some base class (such RestfulClient) so that it is
possible to easily add in debug statements such as these in the future.
Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Without the patch front-ends issueed a lot of small IO operations
leading to increased overhead on syscalls and to the fragmentation
of an HTTP message across multiple TCP segments. The later was
occuring when the Nagle's algorithm hadn't been able to form
a single TCP segment (usually when running on extremely fast
network interfaces like loopback).
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
|
|
| |
Needed for tempest.api.object_storage.test_object_slo.ObjectSloTest.test_delete_large_object.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
|
|
| |
RGWStreamIO.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|
|
|
| |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Conflicts:
src/rgw/rgw_auth_s3.h
src/rgw/rgw_client_io.cc
src/rgw/rgw_client_io.h
src/rgw/rgw_common.h
src/rgw/rgw_main.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_metadata.cc
src/rgw/rgw_rest_s3.cc
|
| |
| |
| |
| | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handle AWS4 auth on requests with positive content-length. It splits the
auth process along several steps to process the body content on the fly
instead of reading the whole body in memory. After that, it completes
the delayed AWS4 auth properly.
Requests with content-length <= 0 are validated as usual. They don't
require any kind of completion.
Requests with content-length > 0 use a streaming approach together with
a completion step.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
|