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

Method send_reads

src/osd/ECExtentCache.cc:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void ECExtentCache::Object::send_reads() {
103 if (reading || requesting.empty())
104 return; // Read busy
105
106 reading_ops.swap(requesting_ops);
107 pg.backend_read.backend_read(oid, requesting, current_size);
108 requesting.clear();
109 reading = true;
110}
111
112void ECExtentCache::Object::read_done(shard_extent_map_t const &buffers) {
113 reading = false;

Callers 1

read_doneMethod · 0.80

Calls 4

emptyMethod · 0.45
swapMethod · 0.45
backend_readMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected