| 2129 | } |
| 2130 | |
| 2131 | int Image::copy_with_progress3(IoCtx& dest_io_ctx, const char *destname, |
| 2132 | ImageOptions& opts, |
| 2133 | librbd::ProgressContext &pctx) |
| 2134 | { |
| 2135 | ImageCtx *ictx = (ImageCtx *)ctx; |
| 2136 | tracepoint(librbd, copy3_enter, ictx, ictx->name.c_str(), ictx->snap_name.c_str(), ictx->read_only, dest_io_ctx.get_pool_name().c_str(), dest_io_ctx.get_id(), destname, opts.opts); |
| 2137 | int r = librbd::copy(ictx, dest_io_ctx, destname, opts, pctx, 0); |
| 2138 | tracepoint(librbd, copy3_exit, r); |
| 2139 | return r; |
| 2140 | } |
| 2141 | |
| 2142 | int Image::copy_with_progress4(IoCtx& dest_io_ctx, const char *destname, |
| 2143 | ImageOptions& opts, |