summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_client_io.cc
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>2016-07-28 12:59:10 +0200
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>2016-10-21 22:57:17 +0200
commit18104f194e400c67a79378b380b70efc4a1a3a27 (patch)
treeb91d636f3e92e5f7334a1ebc9d26935e9a33d59c /src/rgw/rgw_client_io.cc
parentrgw: further cleaning in RGWStreamIOBase. (diff)
downloadceph-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.cc10
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;
}