]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: flush pending data when completing multipart part upload
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 23 Aug 2013 22:39:20 +0000 (15:39 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 4 Sep 2013 23:41:46 +0000 (16:41 -0700)
commit9a551296e0811f2b65972377b25bb28dbb42f575
tree4bffcb4635aa1db70c2024b301af2751a77dbaa0
parentc8ec532fadc0df36e4b265fe20a2ff3e35319744
rgw: flush pending data when completing multipart part upload

Fixes: #6111
Backport: dumpling
When completing the part upload we need to flush any data that we
aggregated and didn't flush yet. With earlier code didn't have to deal
with it as for multipart upload we didn't have any pending data.
What we do now is we call the regular atomic data completion
function that takes care of it.

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h