|
@ -152,7 +152,7 @@ func vacuumOneVolumeLayout(volumeLayout *VolumeLayout, c *Collection, garbageThr |
|
|
if batchVacuumVolumeCheck(volumeLayout, vid, locationlist, garbageThreshold) { |
|
|
if batchVacuumVolumeCheck(volumeLayout, vid, locationlist, garbageThreshold) { |
|
|
if batchVacuumVolumeCompact(volumeLayout, vid, locationlist, preallocate) { |
|
|
if batchVacuumVolumeCompact(volumeLayout, vid, locationlist, preallocate) { |
|
|
batchVacuumVolumeCommit(volumeLayout, vid, locationlist) |
|
|
batchVacuumVolumeCommit(volumeLayout, vid, locationlist) |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
batchVacuumVolumeCleanup(volumeLayout, vid, locationlist) |
|
|
batchVacuumVolumeCleanup(volumeLayout, vid, locationlist) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|