]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: handle stripe transition when flushing final pending_data_bl 9053/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 5 May 2016 21:02:25 +0000 (14:02 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 10 May 2016 18:33:24 +0000 (11:33 -0700)
commitf071d8c6885786ac5fd5400381369945704abaa8
tree9d867e92bbf2719b025bc1c6557969c6a16b54ce
parentfdf8dcb772d8313a3a801bf265f022505dba934d
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>
(cherry picked from commit b7a7d41839558b1a8786a66e27d9d80e606f61c7)
src/rgw/rgw_rados.cc