IP Library Granted Patent US 11,341,055
Granted Patent B2
US 11,341,055 · App. 16/915,440 · Granted May 24, 2022

Method, electronic device, and computer program product for storage management

Inventors: Cheng Wang (Beijing, CN); Bing Liu (Tianjin, CN)
Assignee: EMC IP HOLDING COMPANY LLC
G06F12/0871G06F12/0223G06F12/0875G06F2212/1041G06F2212/604
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,341,055
App. No.
16/915,440
Granted
May 24, 2022
Kind
B2
Abstract

Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for storage management. According to an example implementation of the present disclosure, a method for storage management includes: determining a state of cached data stored in an initial cache space of a storage system including a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space; determining, based on the state, a target cache space of the storage system; and storing at least a part of the cached data into the target cache space to change the size of the initial cache space. Therefore, the management performance can be improved, and the storage costs can be reduced.

Claims (92)

1. A method for storage management, comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is metadata indicating an attribute of backup data stored in a storage space of the storage system and determining the state comprises determining a size of the metadata;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein if the size of the metadata is smaller than a threshold size, determining the target cache space comprises:

determining, in the metadata, a size of a part of metadata to be retained;

determining a first data distribution pattern associated with the part of metadata, the first data distribution pattern indicating a manner in which the part of metadata will be stored in the target cache space; and

determining, based on the size of the part of metadata and the first data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space; and wherein if the size of the metadata is larger than the threshold size, determining the target cache space comprises:

determining a size of metadata to be increased;

determining a second data distribution pattern associated with the metadata to be increased, the second data distribution pattern indicating a manner in which the metadata to be increased will be stored in the target cache space; and

adding, based on the size of the metadata to be increased and the second data distribution pattern, at least one additional cache disk to the target cache space.

2. The method of claim 1 , wherein

if the size of the metadata exceeds the threshold size, the method further comprises:

determining a disk configuration for the initial cache space, the disk configuration indicating whether a user manually controls a change of the size of the initial cache space;

if the disk configuration indicates that the user manually controls the change of the size of the initial cache space:

sending a request message to the user, the message indicating that the size of the initial cache space needs to be changed and an expected duration required to change the size, and

if an indication is received from the user that allows to change the size of the initial cache space, determining the target cache space.

3. The method of claim 1 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the part of metadata into the target cache space in the first data distribution pattern.

4. The method of claim 1 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the metadata to be increased into the target cache space in the second data distribution pattern.

5. A method for storage management, comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is hot data whose access frequency exceeds a threshold frequency, and wherein determining the state comprises:

determining an access pattern for the hot data, the access pattern indicating whether the hot data needs to be updated;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein if the access pattern indicates that the hot data is to be decreased, determining the target cache space comprises:

determining, in the hot data, a size of a part of hot data to be retained;

determining a third data distribution pattern associated with the part of hot data, the third data distribution pattern indicating a manner in which the part of hot data will be stored in the target cache space; and

determining, based on the size of the part of hot data and the third data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space; and wherein if the access pattern indicates that the hot data is to be increased, determining the target cache space comprises:

determining a size of the hot data to be increased;

determining a fourth data distribution pattern associated with the hot data to be increased, the fourth data distribution pattern indicating a manner in which the hot data to be increased will be stored in the target cache space; and

adding, based on the size of the hot data to be increased and the fourth data distribution pattern, at least one additional cache disk to the target cache space.

6. The method of claim 5 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the part of hot data into the target cache space in the third data distribution pattern.

7. The method of claim 5 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the hot data to be increased into the target cache space in the fourth data distribution pattern.

8. An electronic device, comprising:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions configured to be executed by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the device to perform actions comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is metadata indicating an attribute of backup data stored in a storage space of the storage system and determining the state comprises

determining a size of the metadata;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein if the size of the metadata is smaller than a threshold size, determining the target cache space comprises:

determining, in the metadata, a size of a part of metadata to be retained;

determining a first data distribution pattern associated with the part of metadata, the first data distribution pattern indicating a manner in which the part of metadata will be stored in the target cache space; and

determining, based on the size of the part of metadata and the first data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space, and wherein if the size of the metadata is larger than the threshold size, determining the target cache space comprises:

determining a size of metadata to be increased;

determining a second data distribution pattern associated with the metadata to be increased, the second data distribution pattern indicating a manner in which the metadata to be increased will be stored in the target cache space; and

adding, based on the size of the metadata to be increased and the second data distribution pattern, at least one additional cache disk to the target cache space.

9. The device of claim 8 , wherein

if the size of the metadata exceeds the threshold size, the method further comprises:

determining a disk configuration for the initial cache space, the disk configuration indicating whether a user manually controls a change of the size of the initial cache space;

if the disk configuration indicates that the user manually controls the change of the size of the initial cache space:

sending a request message to the user, the message indicating that the size of the initial cache space needs to be changed and an expected duration required to change the size, and

if an indication is received from the user that allows to change the size of the initial cache space, determining the target cache space.

10. The device of claim 8 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the part of metadata into the target cache space in the first data distribution pattern.

11. The device of claim 8 , wherein storing at least a part of the cached data into the target cache space comprises:

storing the metadata to be increased into the target cache space in the second data distribution pattern.

12. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is metadata indicating an attribute of backup data stored in a storage space of the storage system and determining the state comprises

determining a size of the metadata;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein when the size of the metadata is smaller than a threshold size, determining the target cache space comprises:

determining, in the metadata, a size of a part of metadata to be retained;

determining a first data distribution pattern associated with the part of metadata, the first data distribution pattern indicating a manner in which the part of metadata will be stored in the target cache space; and

determining, based on the size of the part of metadata and the first data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space; and if the size of the metadata is larger than the threshold size, determining the target cache space comprises:

determining a size of metadata to be increased;

determining a second data distribution pattern associated with the metadata to be increased, the second data distribution pattern indicating a manner in which the metadata to be increased will be stored in the target cache space; and

adding, based on the size of the metadata to be increased and the second data distribution pattern, at least one additional cache disk to the target cache space.

13. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is hot data whose access frequency exceeds a threshold frequency, and wherein determining the state comprises determining an access pattern for the hot data, the access pattern indicating whether the hot data needs to be updated;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein if the access pattern indicates that the hot data is to be decreased, determining the target cache space comprises:

determining, in the hot data, a size of a part of hot data to be retained;

determining a third data distribution pattern associated with the part of hot data, the third data distribution pattern indicating a manner in which the part of hot data will be stored in the target cache space; and

determining, based on the size of the part of hot data and the third data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space; and wherein if the access pattern indicates that the hot data is to be increased, determining the target cache space comprises:

determining a size of the hot data to be increased;

determining a fourth data distribution pattern associated with the hot data to be increased, the fourth data distribution pattern indicating a manner in which the hot data to be increased will be stored in the target cache space; and

adding, based on the size of the hot data to be increased and the fourth data distribution pattern, at least one additional cache disk to the target cache space.

14. An electronic device, comprising:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions configured to be executed by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the device to perform actions comprising:

determining a state of cached data stored in an initial cache space of a storage system comprising a plurality of cache disks, the state indicating that a size of the cached data does not match a size of the initial cache space, wherein the cached data is hot data whose access frequency exceeds a threshold frequency, and wherein determining the state comprises:

determining an access pattern for the hot data, the access pattern indicating whether the hot data needs to be updated;

determining, based on the state, a target cache space of the storage system; and

storing at least a part of the cached data into the target cache space to change the size of the initial cache space, wherein if the access pattern indicates that the hot data is to be decreased, determining the target cache space comprises:

determining, in the hot data, a size of a part of hot data to be retained;

determining a third data distribution pattern associated with the part of hot data, the third data distribution pattern indicating a manner in which the part of hot data will be stored in the target cache space; and

determining, based on the size of the part of hot data and the third data distribution pattern, at least one cache disk to be retained in the plurality of cache disks as the target cache space; and wherein if the access pattern indicates that the hot data is to be increased, determining the target cache space comprises:

determining a size of the hot data to be increased;

determining a fourth data distribution pattern associated with the hot data to be increased, the fourth data distribution pattern indicating a manner in which the hot data to be increased will be stored in the target cache space; and

adding, based on the size of the hot data to be increased and the fourth data distribution pattern, at least one additional cache disk to the target cache space.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053578/0183) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060332/0864 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053574/0221) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053573/0535) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0106 →
RELEASE OF SECURITY INTEREST AT REEL 053531 FRAME 0108 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0371 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053578/0183 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053573/0535 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053574/0221 →
SECURITY AGREEMENT Recorded Aug 18, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 053531/0108 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2020
From: WANG, CHENG; LIU, BING
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053077/0083 →