IP Library Granted Patent US 11,442,639
Granted Patent B2
US 11,442,639 · App. 16/989,029 · Granted Sep 13, 2022

Method, apparatus, and storage medium for managing stripe in storage system

Inventors: Chi Chen (Chengdu, CN); Huijuan Fan (Chengdu, CN)
Assignee: EMC IP Holding Company LLC
G06F3/064G06F3/0604G06F3/0689
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,442,639
App. No.
16/989,029
Granted
Sep 13, 2022
Kind
B2
Abstract

Techniques manage stripes in a storage system. In accordance with such techniques, in the storage system including a plurality of storage devices, a device correlation of a storage device in the plurality of storage devices is determined according to a request for creating a stripe in the storage system. The device correlation indicates distribution of a set of stripes created in the storage system between the storage device and other storage devices than the storage device. One storage device is selected from the plurality of storage devices based on the determined device correlation. One extent in the selected storage device is added to the stripe. As such, all extents in the stripe can be distributed as evenly as possible in the plurality of storage devices in the storage system, thus ensuring load balancing of the storage system and more effective management of the stripes in the storage system.

Claims (45)

1. A method for managing stripes in a storage system, the storage system comprising a plurality of storage devices, and the method comprising:

for each storage device in the plurality of storage devices, determining a device correlation of the storage device according to a request for creating a stripe in the storage system, at least in part by determining a correlation between the storage device and each other storage device in the plurality of storage devices equal to a number of stripes which involve both the storage device and the other storage device, wherein the device correlation of each storage device in the plurality of storage devices comprises a sum of the correlations determined between that storage device and the other storage devices in the plurality of storage devices;

selecting one storage device from the plurality of storage devices based on the determined device correlations; and

adding one extent in the selected storage device to the stripe.

2. The method of claim 1 , wherein determining the device correlation of each storage device further comprises:

setting the device correlation to be positively proportional to the correlation between the storage device and each of the other storage devices.

3. The method of claim 1 , wherein selecting one storage device from the plurality of storage devices comprises:

selecting a storage device according to determination that a device correlation of the selected storage device is lower than a device correlation of at least one other storage device in the plurality of storage devices.

4. The method of claim 1 , further comprising:

in the plurality of storage devices, for a first set of storage devices which do not comprise any extent used in the stripe, determining a stripe correlation between a given storage device in the first set of storage devices and the stripe;

selecting one storage device from the first set of storage devices based on the determined stripe correlation; and

adding one extent in the selected storage device to the stripe.

5. The method of claim 4 , wherein determining the stripe correlation between the given storage device and the stripe comprises:

determining, in the plurality of storage devices, a second set of storage devices comprising each extent used in the stripe respectively; and

determining the stripe correlation between the given storage device and the stripe based on a correlation between the given storage device and each storage device in the second set of storage devices.

6. The method of claim 4 , wherein selecting the storage device from the first set of storage devices based on the determined stripe correlation comprises:

selecting a first storage device according to determination that a first stripe correlation of the first storage device in the first set of storage devices is lower than a second stripe correlation of a second storage device in the first set of storage devices.

7. The method of claim 4 , wherein selecting the storage device from the first set of storage devices based on the determined stripe correlation comprises:

selecting the storage device based on the stripe correlation and a device correlation of the storage device.

8. The method of claim 4 , wherein determining the stripe correlation between the given storage device in the first set of storage devices and the stripe further comprises:

determining the stripe correlation between the given storage device in the first set of storage devices and the stripe according to determination that the number of extents in the stripe does not satisfy a width of the stripe.

9. An electronic device, comprising:

at least one processor; and

a memory coupled to the at least one processor, the memory having instructions stored therein, when executed by the at least one processor, the instructions cause the device to execute actions for managing stripes in a storage system, the storage system comprising a plurality of storage devices, and the actions comprising:

for each storage device in the plurality of storage devices, determining a device correlation of the storage device according to a request for creating a stripe in the storage system, at least in part by determining a correlation between the storage device and each other storage device in the plurality of storage devices equal to a number of stripes which involve both the storage device and the other storage device, wherein the device correlation of each storage device in the plurality of storage devices comprises a sum of the correlations determined between that storage device and the other storage devices in the plurality of storage devices;

selecting one storage device from the plurality of storage devices based on the determined device correlations; and

adding one extent in the selected storage device to the stripe.

10. The device of claim 9 , wherein determining the device correlation of each storage device further comprises: setting the device correlation to be positively proportional to the correlation between the storage device and each of the other storage devices.

11. The device of claim 9 , wherein selecting one storage device from the plurality of storage devices comprises:

selecting a storage device according to determination that a device correlation of the selected storage device is lower than a device correlation of at least one other storage device in the plurality of storage devices.

12. The device of claim 9 , wherein the actions further comprise:

in the plurality of storage devices, for a first set of storage devices which do not comprise any extent used in the stripe, determining a stripe correlation between a given storage device in the first set of storage devices and the stripe;

selecting one storage device from the first set of storage devices based on the determined stripe correlation; and

adding one extent in the selected storage device to the stripe.

13. The device of claim 12 , wherein determining the stripe correlation between the given storage device and the stripe comprises:

determining, in the plurality of storage devices, a second set of storage devices comprising each extent used in the stripe respectively; and

determining the stripe correlation between the given storage device and the stripe based on a correlation between the given storage device and each storage device in the second set of storage devices.

14. The device of claim 12 , wherein selecting the storage device from the first set of storage devices based on the determined stripe correlation comprises:

selecting a first storage device according to determination that a first stripe correlation of the first storage device in the first set of storage devices is lower than a second stripe correlation of a second storage device in the first set of storage devices.

15. The device of claim 12 , wherein selecting the storage device from the first set of storage devices based on the determined stripe correlation comprises:

selecting the storage device based on the stripe correlation and a device correlation of the storage device.

16. A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage stripes in a storage system, the storage system comprising a plurality of storage devices; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

for each storage device in a plurality of storage devices, determining a device correlation of the storage device according to a request for creating a stripe in the storage system, at least in part by determining a correlation between the storage device and each other storage device in the plurality of storage devices equal to a number of stripes which involve both the storage device and the other storage device, wherein the device correlation of each storage device in the plurality of storage devices comprises a sum of the correlations determined between that storage device and the other storage devices in the plurality of storage devices;

selecting one storage device from the plurality of storage devices based on the determined device correlations; and

adding one extent in the selected storage device to the stripe.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2020
From: CHEN, CHI; FAN, HUIJUAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053657/0049 →