Writing adjacent tracks to a stride, based on a comparison of a destaging of tracks to a defragmentation of the stride
AssigneeInternational Business Machines Corporation
InventorLokesh M. Gupta
Life of this patent
Estimating the term…
Abstract
Compressed data is maintained in a plurality of strides of a redundant array of independent disks, wherein a stride is configurable to store a plurality of tracks. A request is received to write one or more tracks. The one or more tracks are written to a selected stride of the plurality of strides, based on comparing the number of operations required to destage selected tracks from the selected stride to the number of operations required to defragment the compressed data in the selected stride.
Claims18
A cloud computing system, comprising:
- a redundant array of independent disks maintaining compressed data in a plurality of strides, wherein a track represents one of a series of concentric rings on a disk on which the compressed data is stored;
- and
- a controller controlling the redundant array of independent disks, the controller performing operations, the operations comprising:
- receiving a request to write one or more tracks;
- and
- writing the one or more tracks to a stride of the plurality of strides by creating contiguous free space on the stride either via destaging of selected tracks or via defragmentation of the stride, in response to determining whether the destaging or the defragmentation is faster.
A method implemented in a cloud computing system, the method comprising:
- configuring a redundant array of independent disks to maintain compressed data in a plurality of strides, wherein a track represents one of a series of concentric rings on a disk on which the compressed data is stored, and wherein a controller is configured to control the redundant array of independent disks;
- receiving a request to write one or more tracks;
- and
- writing the one or more tracks to a stride of the plurality of strides by creating contiguous free space on the stride either via destaging of selected tracks or via defragmentation of the stride, in response to determining whether the destaging or the defragmentation is faster.
A computer program product, the computer program product comprising:
- a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations in a cloud computing system, the operations comprising:
- configuring a redundant array of independent disks to maintain compressed data in a plurality of strides, wherein a track represents one of a series of concentric rings on a disk on which the compressed data is stored, and wherein a controller is configured to control the redundant array of independent disks;
- receiving a request to write one or more tracks;
- and
- writing the one or more tracks to a stride of the plurality of strides by creating contiguous free space on the stride either via destaging of selected tracks or via defragmentation of the stride, in response to determining whether the destaging or the defragmentation is faster.
Dependencies are inferred from the claim text.