IP Library Granted Patent US 11,106,377
Granted Patent B2
US 11,106,377 · App. 16/861,337 · Granted Aug 31, 2021

Storage management method, device and computer-readable medium

Inventors: Jibing Dong (Beijing, CN); Hongpo Gao (Beijing, CN); Jian Gao (Beijing, CN); Shaoqin Gong (Beijing, CN); Xinlei Xu (Beijing, CN); Ree Sun (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F3/0644G06F3/061G06F3/0604G06F3/0619G06F3/0631G06F3/0665G06F3/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,106,377
App. No.
16/861,337
Granted
Aug 31, 2021
Kind
B2
Abstract

The present disclosure provides a storage management method, a device and a computer-readable medium. The method comprises: receiving a request for creating a storage space, the request at least comprising a storage capacity and a RAID configuration of the storage space, the RAID configuration at least indicating a RAID type; allocating an extent based on the storage capacity; creating a RAID group for the extent based on the RAID type; and storing metadata of the RAID group in the extent, the metadata indicating a configuration of the RAID group and a configuration of a user data region in the extent.

Claims (62)

1. A method of storage management, comprising:

storing metadata into an extent, the metadata indicating a configuration of a RAID group and a configuration of a user data region in the extent, at least in part by:

storing first metadata at a start of the extent, and

storing second metadata at an end of the extent, a region between the start and the end of the extent being the user data region.

2. The method of claim 1 , further comprising:

wherein the first metadata is used for recording configuration information of a RAID unit in the RAID group, the RAID group including a plurality of RAID units; and

wherein second metadata is used for recording an extent to be rebuilt amongst extents mapped by the RAID unit.

3. The method of claim 2 , wherein storing the metadata of the RAID group into the extent further comprises:

storing the first metadata in a mirror stripe created for the extent stored at the start of the extent.

4. The method of claim 1 , further comprising:

maintaining a dynamic mapping, the dynamic mapping including at least one of the following:

a first multi-tuple including identification information of a storage space, a storage capacity of the storage space, and a RAID configuration and reference information of the storage space, the reference information indicating a logic block address (LBA) corresponding to the storage space,

a second multi-tuple including a mapping relationship between a logic unit number (LUN) of the storage space and an address of the RAID group, the second multi-tuple including at least one sub-multi-tuple of a same size, and

a third multi-tuple including a mapping relationship between the RAID group of the storage space and the extent.

5. The method of claim 4 , further comprising:

detecting whether an idle storage unit is present in the second multi-tuple for storing the address of the RAID group;

in response to absence of the idle storage unit in the second multi-tuple, allocating a sub-multi-tuple including a plurality of idle storage units; and

arranging the sub-multi-tuple at an end of the second multi-tuple.

6. The method of claim 4 , further comprising:

receiving a request for creating the storage space, wherein the request for creating the storage space comprises a request for expanding an existing storage space.

7. The method of claim 4 , further comprising:

receiving a reducing request for a storage space to be reduced, the reducing request including indication information for indicating a predetermined RAID group to be reduced;

erasing metadata on an extent corresponding to the predetermined RAID group according to the indication information; and

distributing to an extent pool the extent having the metadata erased, the extent pool including a plurality of extents.

8. The method of claim 7 , further comprising:

marking the third multi-tuple corresponding to the predetermined RAID group in the dynamic mapping as invalid so as to invalid the predetermined RAID group.

9. The method of claim 7 , further comprising:

marking a predetermined storage unit that was used to store the address of the predetermined RAID group in the second multi-tuple of the dynamic mapping, as idle.

10. The method of claim 9 , further comprising:

in response to all storage units in a predetermined sub-multi-tuple where the predetermined storage unit is located are all marked as idle, releasing a corresponding relationship of the predetermined sub-multi-tuple and the second multi-tuple so that a storage space in a memory occupied by the predetermined sub-multi-tuple can be used to store other data.

11. A device, comprising:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions executable by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to perform acts including:

storing metadata into an extent, the metadata indicating a configuration of a RAID group and a configuration of a user data region in the extent, at least in part by:

storing first metadata at a start of the extent, and

storing second metadata at an end of the extent, a region between the start and the end of the extent being the user data region.

12. The device of claim 11 , further comprising:

wherein the first metadata is used for recording configuration information of a RAID unit in the RAID group, the RAID group including a plurality of RAID units; and

wherein second metadata is used for recording an extent to be rebuilt amongst extents mapped by the RAID unit.

13. The device of claim 12 , wherein storing metadata of the RAID group in the extent further comprises:

storing the first metadata in a mirror stripe created for the extent stored at the start of the extent.

14. The device of claim 11 , wherein the acts further include:

maintaining a dynamic mapping, the dynamic mapping including at least one of the following:

a first multi-tuple including identification information of a storage space, a storage capacity of the storage space, and a RAID configuration and reference information of the storage space, the reference information indicating a logic block address (LBA) corresponding to the storage space,

a second multi-tuple including a mapping relationship between a logic unit number (LUN) of the storage space and an address of the RAID group, the second multi-tuple including at least one sub-multi-tuple of a same size, and

a third multi-tuple including a mapping relationship between the RAID group of the storage space and the extent.

15. The device of claim 14 , wherein the acts further include:

detecting whether an idle storage unit is present in the second multi-tuple for storing the address of the RAID group;

in response to absence of the idle storage unit in the second multi-tuple, allocating a sub-multi-tuple including a plurality of idle storage units; and

arranging the sub-multi-tuple at an end of the second multi-tuple.

16. The device of claim 14 , wherein the acts further include:

receiving a request for creating the storage space, wherein the request for creating the storage space is a request for expanding an existing storage space.

17. The device of claim 14 , wherein the acts further include:

receiving a reducing request for a storage space to be reduced, the reducing request including indication information for indicating a predetermined RAID group to be reduced;

erasing metadata on an extent corresponding to the predetermined RAID group according to the indication information; and

distributing to an extent pool the extent having the metadata erased, the extent pool including a plurality of extent.

18. The device of claim 17 , wherein the acts further include:

marking the third multi-tuple corresponding to the predetermined RAID group in the dynamic mapping as invalid so as to invalid the predetermined RAID group.

19. The device of claim 17 , wherein the acts further include:

marking a predetermined storage unit that was used to store the address of the predetermined RAID group in the second multi-tuple of the dynamic mapping, as idle.

20. The device of claim 19 , wherein the acts further include:

in response to all storage units for a predetermined sub-multi-tuple where the predetermined storage unit locates are all marked as idle, releasing a corresponding relationship of the predetermined sub-multi-tuple and the second multi-tuple so that the storage space in a memory occupied by the predetermined sub-multi-tuple can be used to store other data.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052852/0022) Recorded Jun 23, 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 060436/0582 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052851/0917) Recorded Jun 23, 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 060436/0509 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052851/0081) Recorded Jun 23, 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 060436/0441 →
RELEASE OF SECURITY INTEREST AT REEL 052771 FRAME 0906 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0298 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 8, 2020
From: DONG, JIBING; GAO, HONGPO; GAO, JIAN; GONG, SHAOQIN; XU, XINLEI; SUN, REE
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052864/0846 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052852/0022 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052851/0917 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052851/0081 →
SECURITY AGREEMENT Recorded May 28, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 052771/0906 →
Priority Claims (1)
CN 201710250028.4 · Apr 17, 2017 · national
Continuity (2)
Continuation 15954831 · Apr 17, 2018
Related Publication 20200257464A1 · Aug 13, 2020