]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: use different io id when waking up interval wait
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 2 Feb 2018 00:06:22 +0000 (16:06 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 12 Apr 2018 22:38:39 +0000 (15:38 -0700)
Can't use a zero channel id as a wildcard.

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

index e46680a6dc833d7791366f1cb2cd01980f9bd158..9a566ecb1a6a3cc1089fd821b0d0aad0cea1947a 100644 (file)
@@ -127,7 +127,7 @@ void RGWCompletionManager::_wakeup(void *opaque)
   if (iter != waiters.end()) {
     void *user_id = iter->second;
     waiters.erase(iter);
-    _complete(NULL, rgw_io_id() /* no IO id */, user_id);
+    _complete(NULL, rgw_io_id{0, -1} /* no IO id */, user_id);
   }
 }