]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: collect skips a specific coroutine stack 10274/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 13 Jul 2016 03:36:35 +0000 (20:36 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 13 Jul 2016 18:39:43 +0000 (11:39 -0700)
commit5a2e8f0526db92a290c711f82627fc5042c290ea
treee97c5133316f3ba124ad0d7e1cc7f2c8113c6375
parent8912e0ef5b4bd6ecf6127b00d73c92a45b1efd8f
rgw: collect skips a specific coroutine stack

Fixes: http://tracker.ceph.com/issues/16665
Instead of drain_all_but() that specifies number of stacks to leave behind,
added drain_all_but_stack() that has a specific stack specified. This is needed
so that we don't call wakeup() through lease_cr->go_down() on a cr stack that
was already collected.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_coroutine.cc
src/rgw/rgw_coroutine.h
src/rgw/rgw_data_sync.cc
src/rgw/rgw_sync.cc