| 110 | } |
| 111 | |
| 112 | void ECExtentCache::Object::read_done(shard_extent_map_t const &buffers) { |
| 113 | reading = false; |
| 114 | for (auto &&op : reading_ops) { |
| 115 | op->read_done = true; |
| 116 | } |
| 117 | reading_ops.clear(); |
| 118 | insert(buffers); |
| 119 | } |
| 120 | |
| 121 | uint64_t ECExtentCache::Object::line_align(uint64_t x) const { |
| 122 | return x - (x % line_size); |