| 139 | } |
| 140 | |
| 141 | void |
| 142 | PreservationTable::release(Dir const &dir) |
| 143 | { |
| 144 | int bucket = dir_evac_bucket(&dir); |
| 145 | if (EvacuationBlock * b{this->find(dir, bucket)}; nullptr != b) { |
| 146 | if (b->readers && !--b->readers) { |
| 147 | this->evacuate[bucket].remove(b); |
| 148 | free_EvacuationBlock(b); |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | void |
| 154 | PreservationTable::periodic_scan(Stripe *stripe) |
no test coverage detected