]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix rgw_tools get_obj()
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 29 Nov 2012 21:39:22 +0000 (13:39 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 4 Dec 2012 00:02:33 +0000 (16:02 -0800)
commit0639cd9c479d69b077175f0385eb569ebb839349
tree094a54525ef564dcc2db7d5c4db53efb84becb45
parent84983387a220a29540aca64af774bbe7bc6b5ee6
rgw: fix rgw_tools get_obj()

The original implementation broke whenever data exceeded
the chunk size. Also don't keep cache for objects that
exceed the chunk size as cache is not designed for
it. Increased chunk size to 512k.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_cache.h
src/rgw/rgw_tools.cc