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

Method remove_object_map

src/librbd/image/CreateRequest.cc:729–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728template<typename I>
729void CreateRequest<I>::remove_object_map() {
730 if ((m_features & RBD_FEATURE_OBJECT_MAP) == 0) {
731 remove_header_object();
732 return;
733 }
734
735 ldout(m_cct, 15) << dendl;
736
737 using klass = CreateRequest<I>;
738 librados::AioCompletion *comp =
739 create_rados_callback<klass, &klass::handle_remove_object_map>(this);
740 int r = m_io_ctx.aio_remove(m_objmap_name, comp);
741 ceph_assert(r == 0);
742 comp->release();
743}
744
745template<typename I>
746void CreateRequest<I>::handle_remove_object_map(int r) {

Callers

nothing calls this directly

Calls 2

aio_removeMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected