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

Method remove_header_v2

src/librbd/image/RemoveRequest.cc:290–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288
289template<typename I>
290void RemoveRequest<I>::remove_header_v2() {
291 ldout(m_cct, 20) << dendl;
292
293 if (m_header_oid.empty()) {
294 m_header_oid = util::header_name(m_image_id);
295 }
296
297 using klass = RemoveRequest<I>;
298 librados::AioCompletion *rados_completion =
299 create_rados_callback<klass, &klass::handle_remove_header_v2>(this);
300 int r = m_ioctx.aio_remove(m_header_oid, rados_completion);
301 ceph_assert(r == 0);
302 rados_completion->release();
303}
304
305template<typename I>
306void RemoveRequest<I>::handle_remove_header_v2(int r) {

Callers

nothing calls this directly

Calls 4

header_nameFunction · 0.85
emptyMethod · 0.45
aio_removeMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected