Patent ID: 8904137

Claim:
A method comprising: identifying a data segment from a plurality of data segments within a storage object, wherein the data segment represents data stored in a storage device, at least a portion of the data is stored in a data block associated with the data segment, and the plurality of data segments comprises active data segments, and deleted data segments; determining whether compaction of the storage object can be performed using address manipulation on a data block address of the data block; and in response to a determination that the compaction of the storage object can be performed using the address manipulation on the data block address of the data block, compacting the storage object, wherein the compacting comprises reordering a set of data segments of the plurality of data segments within the storage object, the reordering the set of data segments comprises performing the address manipulation on the data block address of the data block, the reordering the set of data segments changes an order of the set of data segments within the storage object, the reordering results in the active data segments being stored contiguously within the storage object, the set of data segments comprises the data segment, and the data block address is an address of the data block within the storage device.