io::ReadResult&& read_result, int op_flags, int read_flags,
const ZTracer::Trace &parent_trace) {
auto cct = m_image_ctx->cct;
- ldout(cct, 20) << "image_extents=" << image_extents << dendl;
+ ldout(cct, 20) << "snap_id=" << snap_id << ", "
+ << "image_extents=" << image_extents << dendl;
auto snapshot_it = m_snapshots.find(snap_id);
if (snapshot_it == m_snapshots.end()) {
void handle_get_image_size(int r) {
auto cct = raw_snapshot->m_image_ctx->cct;
- ldout(cct, 10) << "r=" << r << dendl;
+ ldout(cct, 10) << "r=" << r << ", "
+ << "image_size=" << raw_snapshot->m_snap_info.size << dendl;
if (r < 0) {
lderr(cct) << "failed to open stream: " << cpp_strerror(r) << dendl;
void RawSnapshot<I>::open(SnapshotInterface* previous_snapshot,
Context* on_finish) {
auto cct = m_image_ctx->cct;
- ldout(cct, 10) << dendl;
// special-case for treating the HEAD revision as a snapshot
if (m_index != CEPH_NOSNAP) {
}
}
+ ldout(cct, 10) << "name=" << m_snap_info.name << dendl;
+
int r = m_source_spec_builder->build_stream(m_json_object, &m_stream);
if (r < 0) {
lderr(cct) << "failed to build migration stream handler" << cpp_strerror(r)