| 119 | std::string SsdPin::toString() const { |
| 120 | if (empty()) { |
| 121 | return "<empty SsdPin>"; |
| 122 | } |
| 123 | return fmt::format( |
| 124 | "SsdPin(shard {} offset {} size {})", |
| 125 | file_->shardId(), |
| 126 | run_.offset(), |
| 127 | run_.size()); |
| 128 | } |
| 129 | |
| 130 | SsdFile::SsdFile( |
| 131 | const std::string& filename, |
| 132 | int32_t shardId, |
| 133 | int32_t maxRegions, |