MCPcopy Create free account
hub / github.com/ceph/ceph / copy_with_progress3

Method copy_with_progress3

src/librbd/librbd.cc:2131–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers 1

TEST_FFunction · 0.80

Calls 4

copyFunction · 0.70
c_strMethod · 0.45
get_pool_nameMethod · 0.45
get_idMethod · 0.45

Tested by 1

TEST_FFunction · 0.64