| 264 | |
| 265 | template<typename I> |
| 266 | void 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 | |
| 277 | template<typename I> |
| 278 | void RemoveRequest<I>::handle_remove_header(int r) { |
nothing calls this directly
no test coverage detected