]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: handle stripe transition when flushing final pending_data_bl 8951/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 5 May 2016 21:02:25 +0000 (14:02 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 6 May 2016 15:48:42 +0000 (08:48 -0700)
commitb7a7d41839558b1a8786a66e27d9d80e606f61c7
treef181d6979819720601741e8d07c8432aad1790b2
parentf2e9a74bce1dc02f6bd5757ffbe104dfb5c5a1d1
rgw: handle stripe transition when flushing final pending_data_bl

Fixes: http://tracker.ceph.com/issues/15745
When complete_writing_data() is called, if pending_data_bl is not empty
we still need to handle stripe transition correctly. If pending_data_bl
has more data that we can allow in current stripe, move to the next one.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc