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

Method get_data_io_context

src/librbd/ImageCtx.cc:1026–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 }
1025
1026 IOContext ImageCtx::get_data_io_context() const {
1027#ifdef __cpp_lib_atomic_shared_ptr
1028 return data_io_context.load();
1029#else
1030 return atomic_load(&data_io_context);
1031#endif
1032 }
1033
1034 IOContext ImageCtx::duplicate_data_io_context() const {
1035 auto ctx = get_data_io_context();

Callers 14

copyFunction · 0.45
read_iterateFunction · 0.45
aio_readMethod · 0.45
read_headerMethod · 0.45
readMethod · 0.45
migrate_objectsMethod · 0.45
flatten_objectsMethod · 0.45
send_copyup_objectsMethod · 0.45
send_clean_boundaryMethod · 0.45
read_from_parentMethod · 0.45
copyupMethod · 0.45
read_parentFunction · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected