IP Library Granted Patent US 12,093,527
Granted Patent B2
US 12,093,527 · App. 17/881,667 · Granted Sep 17, 2024

Smart rebuilding of an encoded data slice

Inventors: Jason K. Resch (Warwick, RI); Greg R. Dhuse (Chicago, IL)
Assignee: Pure Storage, Inc.
G06F3/0604G06F3/0629G06F3/064G06F3/0644G06F3/067G06F11/1076G06F11/1092G06F3/0619G06F3/0643G06F2211/1028
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 12,093,527
App. No.
17/881,667
Granted
Sep 17, 2024
Kind
B2
Abstract

A method includes determining an encoded data slice of a first subset of encoded data slices associated with a set of encoded data slices requires rebuilding, where the first subset of encoded data slices is stored in a set of storage units and includes at least a decode threshold number of encoded data slices. The method further includes identifying a second encoded data slice of a second subset of encoded data slices of the set of encoded data slices, where the second subset of encoded data slices is not currently stored in the set of storage units. The method further includes generating the second encoded data slice from the first subset of encoded data slices and sending the second encoded data slice to the set of storage units, where when stored, the second encoded data slice no longer included in the second subset of encoded data slices.

Claims (45)

1. A method for execution by a computing device within a storage network, the method comprises:

determining an encoded data slice of a first subset of encoded data slices associated with a set of encoded data slices requires rebuilding, wherein the first subset of encoded data slices is stored in a set of storage units of the storage network and includes at least a decode threshold number of encoded data slices of the set of encoded data slices;

identifying a second encoded data slice of a second subset of encoded data slices of the set of encoded data slices, wherein the second subset of encoded data slices is not currently stored in the set of storage units;

generating the second encoded data slice from the first subset of encoded data slices; and

sending the second encoded data slice to the set of storage units for storage therein, wherein when the second encoded data slice is stored, the second encoded data slice no longer included in the second subset of encoded data slices.

2. The method of claim 1 further comprises:

error encoding a data segment of data to produce the first subset of encoded data slices; and

sending the first subset of encoded data slices to the set of storage units for storage therein.

3. The method of claim 2 , wherein the error encoding the data segment is in accordance with error encoding parameters, and wherein the error encoding parameters include the decode threshold number and a pillar width number.

4. The method of claim 3 , wherein the set of encoded data slices includes the pillar width number.

5. The method of claim 4 , wherein a number of the second subset of encoded data slices comprises:

the pillar width number minus a number of the first subset of encoded data slices.

6. The method of claim 1 , wherein determining the first subset of encoded data slices comprises:

receiving, from storage units of the set of storage units, favorable listing responses to a listing request for the first subset of encoded data slices, wherein a first favorable listing response of the favorable listing responses indicates a corresponding storage unit is storing a corresponding encoded data slice of the first subset of encoded data slices.

7. The method of claim 6 further comprises:

determining an additional encoded data slice of the set of encoded data slices is stored in the set of storage units, wherein the additional encoded data slice was not included in the favorable listing responses; and

updating the first subset of encoded data slices based on the additional encoded data slice.

8. The method of claim 1 , wherein determining a number of encoded data slices within the first subset of encoded data slices comprises:

obtaining the number by performing a lookup in a lookup table.

9. The method of claim 1 , wherein the identifying the second encoded data slice comprises:

identifying a storage unit of the set of storage units that is mapped to store a respective encoded data slice of the second subset of encoded data slices.

10. The method of claim 9 , wherein the identifying the storage unit is based on determining the storage unit has been recently restored.

11. The method of claim 9 , wherein the identifying the storage unit is based on determining the storage unit has been recently upgraded.

12. The method of claim 9 , wherein the identifying the storage unit is based on determining the storage unit has not been used previously for the set of encoded data slices.

13. The method of claim 9 , wherein the identifying the storage unit is based on determining the storage unit is within a performance range of other storage units in the set of storage units.

14. The method of claim 9 , wherein the identifying the storage unit is based on determining the storage unit has not been used previously for storing any of the first subset of encoded data slices of the set of encoded data slices.

15. The method of claim 1 , wherein the generating the second encoded data slice comprises:

retrieving the decode threshold number of encoded data slices of the first subset of encoded data slices;

error decoding the decode threshold number of encoded data slices to reconstruct a data segment associated with the set of encoded data slices; and

error encoding the reconstructed data segment to produce the second encoded data slice.

16. The method of claim 15 , wherein the error encoding comprises:

arranging the reconstructed data segment into a data matrix;

obtaining an encoding matrix;

selecting a row of the encoding matrix that corresponds to the second encoded data slice of the set of encoded data slices; and

matrix multiplying the selected row of the encoding matrix with the data matrix to produce the second encoded data slice.

17. The method of claim 16 further comprises:

identifying a third encoded data slice of the second subset of encoded data slices; and

generating the third encoded data slice from the first subset of encoded data slices.

18. The method of claim 17 , wherein the generating the third encoded data slice comprises:

error encoding the reconstructed data segment to produce the third encoded data slice.

19. The method of claim 18 , wherein the error encoding to produce the third encoded data slice comprises:

selecting a second row of the encoding matrix that corresponds to the third encoded data slice of the set of encoded data slices; and

matrix multiplying the second row of the encoding matrix with the data matrix to produce the third encoded data slice.

20. The method of claim 18 further comprises:

sending the third encoded data slice to the set of storage units for storage therein, wherein when the third encoded data slice is stored, the third encoded data slice no longer included in the second subset of encoded data slices.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 10, 2022
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: PURE STORAGE, INC.
Reel/Frame 061131/0682 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 9, 2022
From: RESCH, JASON K.; DHUSE, GREG R.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 060753/0405 →
Continuity (6)
Continuation 17248885 · Feb 11, 2021
Continuation 16396399 · Apr 26, 2019
Continuation In Part 15405004 · Jan 12, 2017
Continuation 14088897 · Nov 25, 2013
Provisional Application 61748916 · Jan 4, 2013
Related Publication 20220374311A1 · Nov 24, 2022
Cited By (1)
US 12,619,353