diff options
author | Radoslaw Zarzynski <rzarzynski@mirantis.com> | 2016-07-28 12:59:10 +0200 |
---|---|---|
committer | Radoslaw Zarzynski <rzarzynski@mirantis.com> | 2016-10-21 22:57:17 +0200 |
commit | 18104f194e400c67a79378b380b70efc4a1a3a27 (patch) | |
tree | b91d636f3e92e5f7334a1ebc9d26935e9a33d59c /src/rgw/rgw_client_io.cc | |
parent | rgw: further cleaning in RGWStreamIOBase. (diff) | |
download | ceph-18104f194e400c67a79378b380b70efc4a1a3a27.tar.xz ceph-18104f194e400c67a79378b380b70efc4a1a3a27.zip |
rgw: rename RGWStreamIOBase to RGWStreamIOEngine.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Diffstat (limited to 'src/rgw/rgw_client_io.cc')
-rw-r--r-- | src/rgw/rgw_client_io.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rgw/rgw_client_io.cc b/src/rgw/rgw_client_io.cc index 3aa518fd992..8d867765768 100644 --- a/src/rgw/rgw_client_io.cc +++ b/src/rgw/rgw_client_io.cc @@ -23,7 +23,7 @@ void RGWClientIO::init(CephContext *cct) { } -int RGWStreamIOBase::print(const char *format, ...) +int RGWStreamIOEngine::print(const char *format, ...) { #define LARGE_ENOUGH 128 int size = LARGE_ENOUGH; @@ -49,7 +49,7 @@ int RGWStreamIOBase::print(const char *format, ...) /* not reachable */ } -int RGWStreamIOBase::write(const char *buf, int len) +int RGWStreamIOEngine::write(const char *buf, int len) { if (len == 0) { return 0; @@ -66,7 +66,7 @@ int RGWStreamIOBase::write(const char *buf, int len) } } -int RGWStreamIOBase::read(char *buf, int max, int *actual) +int RGWStreamIOEngine::read(char *buf, int max, int *actual) { int ret = read_data(buf, max); if (ret < 0) { @@ -80,7 +80,7 @@ int RGWStreamIOBase::read(char *buf, int max, int *actual) int RGWStreamIO::write(const char* const buf, const int len) { - const auto ret = RGWStreamIOBase::write(buf, len); + const auto ret = RGWStreamIOEngine::write(buf, len); if (ret >= 0 && account()) { bytes_sent += ret; @@ -91,7 +91,7 @@ int RGWStreamIO::write(const char* const buf, const int len) int RGWStreamIO::read(char *buf, int max, int *actual) { - const auto ret = RGWStreamIOBase::read(buf, max, actual); + const auto ret = RGWStreamIOEngine::read(buf, max, actual); if (ret >= 0) { bytes_received += *actual; } |