| 2140 | } |
| 2141 | |
| 2142 | int Image::copy_with_progress4(IoCtx& dest_io_ctx, const char *destname, |
| 2143 | ImageOptions& opts, |
| 2144 | librbd::ProgressContext &pctx, |
| 2145 | size_t sparse_size) |
| 2146 | { |
| 2147 | ImageCtx *ictx = (ImageCtx *)ctx; |
| 2148 | tracepoint(librbd, copy4_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, sparse_size); |
| 2149 | int r = librbd::copy(ictx, dest_io_ctx, destname, opts, pctx, sparse_size); |
| 2150 | tracepoint(librbd, copy4_exit, r); |
| 2151 | return r; |
| 2152 | } |
| 2153 | |
| 2154 | int Image::deep_copy(IoCtx& dest_io_ctx, const char *destname, |
| 2155 | ImageOptions& opts) |
no test coverage detected