MCPcopy Create free account
hub / github.com/ceph/ceph / remove_id_object

Method remove_id_object

src/librbd/image/RemoveRequest.cc:556–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554
555template<typename I>
556void RemoveRequest<I>::remove_id_object() {
557 ldout(m_cct, 20) << dendl;
558
559 using klass = RemoveRequest<I>;
560 librados::AioCompletion *rados_completion =
561 create_rados_callback<klass, &klass::handle_remove_id_object>(this);
562 int r = m_ioctx.aio_remove(util::id_obj_name(m_image_name), rados_completion);
563 ceph_assert(r == 0);
564 rados_completion->release();
565}
566
567template<typename I>
568void RemoveRequest<I>::handle_remove_id_object(int r) {

Callers

nothing calls this directly

Calls 3

id_obj_nameFunction · 0.85
aio_removeMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected