MCPcopy Create free account
hub / github.com/apache/trafficserver / fillEmptySpans

Method fillEmptySpans

src/traffic_cache_tool/CacheTool.cc:330–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330Errata
331VolumeAllocator::fillEmptySpans()
332{
333 Errata zret;
334 // Walk the spans, skipping ones that are not empty.
335 for (auto span : _cache._spans) {
336 if (span->isEmpty()) {
337 this->allocateFor(*span);
338 }
339 }
340 return zret;
341}
342
343Errata
344VolumeAllocator::allocateSpan(swoc::file::path const &input_file_path)

Callers 1

Cmd_Allocate_Empty_SpansFunction · 0.80

Calls 2

allocateForMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected