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

Function Cmd_Allocate_Empty_Spans

src/traffic_cache_tool/CacheTool.cc:1127–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125}
1126
1127void
1128Cmd_Allocate_Empty_Spans()
1129{
1130 VolumeAllocator va;
1131
1132 // OPEN_RW_FLAG = O_RDWR;
1133 if ((err = va.load(SpanFile, VolumeFile))) {
1134 va.fillEmptySpans();
1135 }
1136}
1137
1138void
1139Simulate_Span_Allocation()

Callers

nothing calls this directly

Calls 2

fillEmptySpansMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected