]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add buffering filter to compression for fetch_remote_obj 21758/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 13 Apr 2018 20:01:48 +0000 (16:01 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 1 May 2018 20:39:14 +0000 (16:39 -0400)
commit5d755dacc025ea24b98e87b5e94e68708783c63c
treef1a5c4abb07e717a2854091adbe72b808c466355
parent1f81f7810ad20374e7f761d2ab26a1131d3a51cc
rgw: add buffering filter to compression for fetch_remote_obj

fetch_remote_obj() only gets 16k blocks from libcurl, which leads to a
much worse compression ratio than the 4m blocks in normal PUT requests

Fixes: http://tracker.ceph.com/issues/23547
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 13160222fd6894a2851e61fd909d7332747ecdca)

 Conflicts:
src/rgw/rgw_rados.cc (template functions for intarith macros
were added in c06b97b3d7e36b5b3be38f1ffa121611bea61a52,
and RGWGetDataCB was changed in
b2143cded0e971361cdb089db19a6f69ce5b74dd)
src/rgw/rgw_rados.cc