Add log message to assist in future debugging of the CopyupRequest
state machine.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
// nothing to copyup
return true;
} else if (send_object_map()) {
- return true;
+ return true;
}
break;
}
bool CopyupRequest::send_object_map() {
+ ldout(m_ictx->cct, 20) << __func__ << " " << this
+ << ": oid " << m_oid
+ << ", extents " << m_image_extents
+ << dendl;
+
bool copyup = false;
{
RWLock::RLocker l(m_ictx->owner_lock);
} else if (!m_ictx->image_watcher->is_lock_owner()) {
ldout(m_ictx->cct, 20) << "exclusive lock not held for copy-on-read"
<< dendl;
- return true;
+ return true;
} else {
m_state = STATE_OBJECT_MAP;
if (!m_ictx->object_map.aio_update(m_object_no, OBJECT_EXISTS,