From b2d16317ba30b4d59662b79d01ac8f58697b7608 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 6 Nov 2017 15:06:20 -0800 Subject: rgw: remove warning 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 --- src/rgw/rgw_coroutine.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/rgw/rgw_coroutine.cc') diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index 4e3fed07d8d..c93ff816d19 100644 --- a/src/rgw/rgw_coroutine.cc +++ b/src/rgw/rgw_coroutine.cc @@ -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; -- cgit v1.2.3