Method, device, and computer program product for managing access request in storage system
AssigneeEMC IP Holding Company LLC
InventorBing Liu
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method, device and program product for managing an access request in a storage system. In the method, based on an access request to the storage system, an address range of a data object involved in the access request is obtained. An access type of the access request is identified in accordance with determining that a garbage collection operation is performed on a data extent within the address range. The access request is responded to based on the access type by using a data extent within an address range in the storage system on which no garbage collection operation is performed.
Claims16
A method for managing an access request in a storage system, the method comprising:
- obtaining, based on an access request to the storage system, an address range of a data object involved in the access request;
- determining whether a garbage collection operation is performed on any data extent within the address range, based on an association relationship between a group of address ranges and a group of operations being performed on a group of data extents within the group of address ranges;
- identifying an access type of the access request in accordance with determining that the garbage collection operation is performed on the data extent within the address range;
- responding to the access request based on the access type by using a data extent within an address range in the storage system on which no garbage collection operation is performed;
- obtaining a group of performance features associated with the group of data extents and the group of operations being performed on the group of data extents;
- and
- training the association relationship based on the group of operations and the group of performance features associated with the group of data extents, so that a group of operation state estimates obtained based on the trained association relationship and the group of performance features match the group of operations,
- wherein the performance feature in the group of performance features comprises a payload in the data amount,
- wherein determining the payload comprises:
- determining a difference between the data amount accessed in the data extent and a target data object in the storage system, and
- determining the payload based on the difference.
An electronic device, comprising:
- at least one processor;
- and
- a memory coupled to the at least one processor, the memory having instructions stored thereon, the instructions, when executed by the at least one processor, causing the electronic device to perform a method for managing an access request in a storage system, the method comprising:
- obtaining, based on an access request to the storage system, an address range of a data object involved in the access request;
- determining whether a garbage collection operation is performed on a data extent within the address range, based on an association relationship between a group of address ranges and a group of operations being performed on a group of data extents within the group of address ranges;
- identifying an access type of the access request in accordance with determining that the garbage collection operation is performed on the data extent within the address range;
- responding to the access request based on the access type by using a data extent within an address range in the storage system on which no garbage collection operation is performed;
- obtaining a group of performance features associated with the group of data extents and the group of operations being performed on the group of data extents;
- and
- training the association relationship based on the group of operations and the group of performance features associated with the group of data extents, so that a group of operation state estimates obtained based on the trained association relationship and the group of performance features match the group of operations,
- wherein the performance feature in the group of performance features comprises a payload in the data amount,
- wherein determining the payload comprises:
- determining a difference between the data amount accessed in the data extent and a target data object in the storage system, and
- determining the payload based on the difference.
A computer program product, tangibly stored on a non-transitory computer-readable medium and comprising machine-executable instructions, which are used to perform a method, the method comprising:
- obtaining, based on an access request to the storage system, an address range of a data object involved in the access request;
- determining whether a garbage collection operation is performed on any data extent within the address range, based on an association relationship between a group of address ranges and a group of operations being performed on a group of data extents within the group of address ranges;
- identifying an access type of the access request in accordance with determining that the garbage collection operation is performed on the data extent within the address range;
- responding to the access request based on the access type by using a data extent within an address range in the storage system on which no garbage collection operation is performed;
- obtaining a group of performance features associated with the group of data extents and the group of operations being performed on the group of data extents;
- and
- training the association relationship based on the group of operations and the group of performance features associated with the group of data extents, so that a group of operation state estimates obtained based on the trained association relationship and the group of performance features match the group of operations,
- wherein the performance feature in the group of performance features comprises a payload in the data amount,
- wherein determining the payload comprises:
- determining a difference between the data amount accessed in the data extent and a target data object in the storage system, and
- determining the payload based on the difference.
Dependencies are inferred from the claim text.