| 1136 | } |
| 1137 | |
| 1138 | void |
| 1139 | Simulate_Span_Allocation() |
| 1140 | { |
| 1141 | VolumeAllocator va; |
| 1142 | |
| 1143 | if (VolumeFile.empty()) { |
| 1144 | err.note("Volume config file not set"); |
| 1145 | } |
| 1146 | if (SpanFile.empty()) { |
| 1147 | err.note("Span file not set"); |
| 1148 | } |
| 1149 | |
| 1150 | if (err) { |
| 1151 | if ((err = va.load(SpanFile, VolumeFile)).is_ok()) { |
| 1152 | err = va.fillAllSpans(); |
| 1153 | va.dumpVolumes(); |
| 1154 | } |
| 1155 | } |
| 1156 | } |
| 1157 | |
| 1158 | void |
| 1159 | Clear_Spans() |
nothing calls this directly
no test coverage detected