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

Method remove_header

src/librbd/image/RemoveRequest.cc:266–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264
265template<typename I>
266void RemoveRequest<I>::remove_header() {
267 ldout(m_cct, 20) << dendl;
268
269 using klass = RemoveRequest<I>;
270 librados::AioCompletion *rados_completion =
271 create_rados_callback<klass, &klass::handle_remove_header>(this);
272 int r = m_ioctx.aio_remove(m_header_oid, rados_completion);
273 ceph_assert(r == 0);
274 rados_completion->release();
275}
276
277template<typename I>
278void RemoveRequest<I>::handle_remove_header(int r) {

Callers

nothing calls this directly

Calls 2

aio_removeMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected