From: Casey Bodley Date: Sat, 24 Nov 2018 00:28:49 +0000 (-0500) Subject: rgw: RGWSI_RADOS::Obj::notify() takes optional_yield X-Git-Tag: v15.0.0~26^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c33eee4e640c21dfe3a45540dd3d4b63814bc936;p=ceph-ci.git rgw: RGWSI_RADOS::Obj::notify() takes optional_yield Signed-off-by: Casey Bodley --- diff --git a/src/rgw/services/svc_rados.cc b/src/rgw/services/svc_rados.cc index b66f0d1ba7b..80f75e95dc0 100644 --- a/src/rgw/services/svc_rados.cc +++ b/src/rgw/services/svc_rados.cc @@ -157,11 +157,10 @@ int RGWSI_RADOS::Obj::unwatch(uint64_t handle) return ref.ioctx.unwatch2(handle); } -int RGWSI_RADOS::Obj::notify(bufferlist& bl, - uint64_t timeout_ms, - bufferlist *pbl) +int RGWSI_RADOS::Obj::notify(bufferlist& bl, uint64_t timeout_ms, + bufferlist *pbl, optional_yield y) { - return ref.ioctx.notify2(ref.obj.oid, bl, timeout_ms, pbl); + return rgw_rados_notify(ref.ioctx, ref.obj.oid, bl, timeout_ms, pbl, y); } void RGWSI_RADOS::Obj::notify_ack(uint64_t notify_id, diff --git a/src/rgw/services/svc_rados.h b/src/rgw/services/svc_rados.h index 0453eb0cded..89817f317b0 100644 --- a/src/rgw/services/svc_rados.h +++ b/src/rgw/services/svc_rados.h @@ -79,9 +79,8 @@ public: int watch(uint64_t *handle, librados::WatchCtx2 *ctx); int aio_watch(librados::AioCompletion *c, uint64_t *handle, librados::WatchCtx2 *ctx); int unwatch(uint64_t handle); - int notify(bufferlist& bl, - uint64_t timeout_ms, - bufferlist *pbl); + int notify(bufferlist& bl, uint64_t timeout_ms, + bufferlist *pbl, optional_yield y); void notify_ack(uint64_t notify_id, uint64_t cookie, bufferlist& bl);