A computer program product for performing garbage collection in a data storage system having a redundant array of independent drive (RAID) configuration with an old geometry addressable region and a new geometry addressable region, wherein the new geometry addressable region exists subsequent to restriping occurring over a relatively larger RAID set of the RAID configuration, wherein the old geometry addressable region exists prior to restriping occurring over the relatively larger RAID set of the RAID configuration, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a controller to cause the controller to:
- determine, by the controller, on which geometry addressable region of the RAID configuration extents of data are stored;
- determine, by the controller, an order for performing garbage collection on the extents of data, wherein extents of data determined to be stored on the old geometry addressable region are assigned a higher priority within the order than extents of data determined to be stored on the new geometry addressable region;
- and
- perform, by the controller, garbage collection on the data storage system according to the order for performing garbage collection.