]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
refactor RGWClientIO
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 10 Sep 2015 17:21:17 +0000 (13:21 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 16:58:01 +0000 (11:58 -0500)
commitdf8f3920c72647dcda8eb6c2972365ea409a4fd0
treeabe54ed491decb3a7e8bcb61dc25b486d6fd8e3d
parent79d3879cf31423a49ec7a89592e2dc80411e6601
refactor RGWClientIO

In order to support direct/library clients, we want to
more fully decouple RGWOp processing from client HTTP
processing, since in the direct case, there is no HTTP
client.

This change tackles essentially just RGWClientIO, by moving
stream operations to a new subclass RGWStreamIO, and updating
the stream backends (e.g., SWIFT, S3) and REST handlers
accordingly.

In addition, the RGWLib backend is incrementally updated, with
RGWLibIO still deriving from the base RGWClientIO.  The RGWLib
path is incomplete as of this change, but is moving in the
direction of its own process_request call path (incomplete,
partly due to header conflicts that will be resolved in
subsequent commits).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
18 files changed:
src/rgw/librgw.cc
src/rgw/rgw_civetweb.cc
src/rgw/rgw_civetweb.h
src/rgw/rgw_client_io.cc
src/rgw/rgw_client_io.h
src/rgw/rgw_fcgi.h
src/rgw/rgw_file.cc
src/rgw/rgw_lib.h
src/rgw/rgw_loadgen.h
src/rgw/rgw_log.cc
src/rgw/rgw_process.cc
src/rgw/rgw_process.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h
src/rgw/rgw_rest_metadata.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_swift_auth.cc