/* this is called with IoCtxImpl::lock held */
int librados::IoCtxImpl::_notify_ack(
const object_t& oid,
- uint64_t notify_id, uint64_t ver,
+ uint64_t notify_id,
uint64_t cookie)
{
::ObjectOperation rd;
prepare_assert_ops(&rd);
- rd.notify_ack(notify_id, ver, cookie);
+ rd.notify_ack(notify_id, 0, cookie);
objecter->read(oid, oloc, rd, snap_seq, (bufferlist*)NULL, 0, 0, 0);
return 0;
}
int watch(const object_t& oid, uint64_t ver, uint64_t *cookie, librados::WatchCtx *ctx);
int unwatch(const object_t& oid, uint64_t cookie);
int notify(const object_t& oid, uint64_t ver, bufferlist& bl);
- int _notify_ack(
- const object_t& oid, uint64_t notify_id, uint64_t ver,
- uint64_t cookie);
+ int _notify_ack(const object_t& oid, uint64_t notify_id, uint64_t cookie);
int set_alloc_hint(const object_t& oid,
uint64_t expected_object_size,
lock.Lock();
// send ACK back to the OSD
- wc->io_ctx_impl->_notify_ack(wc->oid, m->notify_id, m->ver, m->cookie);
+ wc->io_ctx_impl->_notify_ack(wc->oid, m->notify_id, m->cookie);
ldout(cct,10) << __func__ << " notify done" << dendl;
wc->put();