]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove warning
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 6 Nov 2017 23:06:20 +0000 (15:06 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 10 Apr 2018 15:05:39 +0000 (08:05 -0700)
No need to clean io_ids when stack finishes, as list of io_ids is kept inside
the stack object, and will be cleaned up anyway. We also have a list of finished
ios in the completion manager (complete_reqs), but this is a fifo, and will be
cleaned up once pulled out (and we identify that io references an obsolete
stack).

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

index 4e3fed07d8d4ecb011428d9c78259b32dddfb4c3..c93ff816d19d674f524cba97606d19416027053d 100644 (file)
@@ -488,7 +488,6 @@ void RGWCoroutinesStack::init_new_io(RGWIOProvider *io_provider)
 bool RGWCoroutinesStack::try_io_unblock(const rgw_io_id& io_id)
 {
   if (!can_io_unblock(io_id)) {
-#warning io_finish_ids needs to be cleaned up when owning stack finishes
     auto p = io_finish_ids.emplace(io_id.id, io_id);
     auto& iter = p.first;
     bool inserted = p.second;