| 100 | } |
| 101 | |
| 102 | void 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 | |
| 112 | void ECExtentCache::Object::read_done(shard_extent_map_t const &buffers) { |
| 113 | reading = false; |
no test coverage detected