]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: call processor->handle_data() again if needed
authorYehuda Sadeh <yehuda@redhat.com>
Sat, 26 Jul 2014 03:33:52 +0000 (20:33 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 4 Aug 2014 16:52:51 +0000 (09:52 -0700)
commit062062479a19378608278f440a34ebb3d2606eea
tree3321b15c8dd9fcb7df493cd4b40f0ddaeaa3f79c
parentb22a8a9e60062a8e85c746186fe963bab2d69345
rgw: call processor->handle_data() again if needed

Fixes: #8937
Following the fix to #8928 we end up accumulating pending data that
needs to be written. Beforehand it was working fine because we were
feeding it with the exact amount of bytes we were writing.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 0553890e79b43414cc0ef97ceb694c1cb5f06bbb)
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h