| 212 | }; |
| 213 | |
| 214 | Errata |
| 215 | Cache::allocStripe(Span *span, int vol_idx, const CacheStripeBlocks &len) |
| 216 | { |
| 217 | auto rv = span->allocStripe(vol_idx, len); |
| 218 | std::cout << span->_path.string() << ":" << vol_idx << std::endl; |
| 219 | if (rv.is_ok()) { |
| 220 | _volumes[vol_idx]._stripes.push_back(rv); |
| 221 | } |
| 222 | return std::move(rv.errata()); |
| 223 | } |
| 224 | |
| 225 | #if 0 |
| 226 | void |