IP Library Granted Patent US 11,341,003
Granted Patent B2
US 11,341,003 · App. 16/855,142 · Granted May 24, 2022

Availability of a storage system

Inventors: Bing Liu (Tianjin, CN); Man Lv (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F11/1662G06F3/064G06F3/065G06F3/0617G06F3/0653G06F3/0659G06F3/0689G06F11/1076G06F11/1088G06F11/2058G06F11/2069G06F11/2087G06F11/3034G06F11/3055G06F2201/86
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,003
App. No.
16/855,142
Granted
May 24, 2022
Kind
B2
Abstract

Embodiments of the present disclosure provide a method for a storage system, a storage system and a computer program product. The method comprises determining a first drive in a drive array is temporarily unavailable. The method further comprises setting the first drive in a frozen state. The method further comprises: in response to receiving a write request for the first drive during the frozen state, pending the write request or recording the write request in a second drive in the drive array. The method further comprises: in response to receiving a read request for the first drive during the frozen state, reconstructing data to which the read request is directed through data stored in a third drive in the drive array.

Claims (94)

1. A method for a storage system including a drive array, the method comprising:

determining that a first drive in the drive array is temporarily unavailable;

setting the first drive in a frozen state;

in response to receiving a write request for the first drive during the frozen state, putting the write request in a buffer area of memory; and

in response to a number of write requests previously put in the buffer area exceeding a threshold number while the first drive is in the frozen state, recording data to be written by the write requests previously put in the buffer area into a log file that is associated with the first drive and stored in a second drive.

2. The method according to claim 1 , further comprising:

suspending the received write request; and

wherein the buffer area comprises a first in first out queue for storing suspended write requests.

3. The method according to claim 2 , further comprising:

determining whether the number of write requests previously put in the buffer area exceeds the threshold number by determining whether a number of suspended write requests previously put in the buffer area exceeds a predetermined threshold.

4. The method according to claim 1 , wherein determining that the first drive is temporarily unavailable comprises:

determining that the first drive is temporarily unavailable by detecting a predetermined event including at least one of the following:

the first drive starting an online firmware update process,

the first drive being performing a garbage collection process,

input/output latency of the first drive exceeding a threshold,

an error occurring on the first drive,

the first drive being removed,

all paths to the first drive being missing, and

a network traffic burst.

5. The method according to claim 1 , further comprising:

in response to the first drive becoming available:

setting the first drive in a synchronized state; and

synchronizing data recorded in the log file to the first drive.

6. The method according to claim 5 , further comprising:

in response to receiving a second write request for the first drive during the synchronization, determining whether target data in the log file corresponding to an address to which the second write request is directed has been synchronized to the first drive; and

in response to determining that the target data in the log file corresponding to the address to which the second write request is directed has not been synchronized to the first drive:

discarding the target data in the log file corresponding to an address to which the second write request is directed;

setting a synchronization indication that a block corresponding to the address to which the second write request is directed needn't be synchronized; and

writing data in the second write request into the first drive.

7. The method according to claim 1 , further comprising:

in response to timeout of the frozen state, reconstructing data stored in the first drive.

8. The method according to claim 1 , wherein recording the data to be written by the write requests previously put in the buffer area into the log file comprises recording data to be written by all the write requests previously put in the buffer area into the log file.

9. A storage system, comprising:

a drive array; and

a controller configured to:

determine that a first drive in the drive array is temporarily unavailable;

setting the first drive in a frozen state;

in response to receiving a write request for the first drive during the frozen state, put the write request in a buffer area of memory; and

in response to a number of write requests previously put in the buffer area exceeding a threshold number while the first drive is in the frozen state, record data to be written by the write requests previously put in the buffer area into a log file that is associated with the first drive and stored in a second drive.

10. The storage system according to claim 9 , wherein the controller is configured to:

suspend the received write request; and

wherein the buffer area comprises a first in first out queue for storing suspended write requests.

11. The storage system according to claim 10 , wherein the controller is configured to:

determine whether the number of write requests previously put in the buffer area exceeds the threshold number by determining whether a number of suspended write requests previously put in the buffer area exceeds a predetermined threshold.

12. The storage system according to claim 9 , wherein the controller is configured to determine that the first drive is temporarily unavailable by detecting a predetermined event including at least one of the following:

the first drive starting an online firmware update process,

the first drive being performing a garbage collection process,

input/output latency of the first drive exceeding a threshold,

an error occurring on the first drive,

the first drive being removed,

all paths to the first drive being missing, and

a network traffic burst.

13. The storage system according to claim 9 , wherein the controller is further configured to:

in response to the first drive becoming available:

set the first drive in a synchronized state; and

synchronize data recorded in the log file to the first drive.

14. The storage system according to claim 13 , wherein the controller is further configured to:

in response to receiving a second write request for the first drive during the synchronization, determine whether target data in the log file corresponding to an address to which the second write request is directed has been synchronized to the first drive; and

in response to determining that the target data in the log file corresponding to the address to which the second write request is directed has not been synchronized to the first drive:

discard the target data in the log file corresponding to the address to which the second write request is directed;

set a synchronization indication that a block corresponding to the address to which the second write request is directed needn't be synchronized; and

write data in the second write request to the first drive.

15. The storage system according to claim 9 , wherein the controller is further configured to:

in response to timeout of the frozen state, reconstruct data stored in the first drive.

16. A computer program product for a storage system including a drive array, the computer program product comprising:

a non-transitory computer readable medium encoded with computer-executable code, the code configured for the execution of:

determining that a first drive in the drive array is temporarily unavailable;

setting the first drive in a frozen state;

in response to receiving a write request for the first drive during the frozen state, putting the write request in a buffer area of memory; and

in response to a number of write requests previously put in the buffer area exceeding a threshold number while the first drive is in the frozen state, recording data to be written by the write requests previously put in the buffer area into a log file that is associated with the first drive and stored in a second drive.

17. The computer program product of claim 16 , wherein the code is further configured for the execution of:

suspending the received write request; and

wherein the buffer area comprises a first in first out queue for storing suspended write requests.

18. The computer program product of claim 17 , wherein the code is further configured for the execution of:

determining whether the number of write requests previously put in the buffer area exceeds the threshold number by determining whether a number of suspended write requests previously put in the buffer area exceeds a predetermined threshold.

19. The computer program product of claim 16 , wherein determining that the first drive is temporarily unavailable comprises:

determining that the first drive is temporarily unavailable by detecting a predetermined event including at least one of the following:

the first drive starting an online firmware update process,

the first drive being performing a garbage collection process,

input/output latency of the first drive exceeding a threshold,

an error occurring on the first drive,

the first drive being removed,

all paths to the first drive being missing, and

a network traffic burst.

20. The computer program product of claim 16 , wherein the code is further configured for the execution of:

in response to the first drive becoming available:

setting the first drive in a synchronized state; and

synchronizing data recorded in the log file to the first drive.

21. The computer program product of claim 20 , wherein the code is further configured for the execution of:

in response to receiving a second write request for the first drive during the synchronization, determining whether target data in the log file corresponding to an address to which the second write request is directed has been synchronized to the first drive; and

in response to determining that the target data in the log file corresponding to the address to which the second write request is directed has not been synchronized to the first drive,

discarding the target data in the log file corresponding to the address to which the second write request is directed;

setting a synchronization indication that a block corresponding to the address to which the second write request is directed needn't be synchronized; and

writing data in the second write request into the first drive.

Assignments (9)
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 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 (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 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: LIU, BING; LV, MAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052864/0716 →
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 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
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052852/0022 →
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 →