IP Library Granted Patent US 8,949,692
Granted Patent B1
US 8,949,692 · App. 14/162,250 · Granted Feb 3, 2015

Method and system for service-aware parity placement in a storage system

Inventor: Jeffrey S. Bonwick (Los Altos, CA)
Assignee: DSSD, Inc.
G06F11/1076
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 8,949,692
App. No.
14/162,250
Filed
Jan 23, 2014
Granted
Feb 3, 2015
Kind
B1
Art Unit
2112
USPC
714/766
Abstract

A method and system for service-aware parity placement in a storage system, including after receiving the service notification specifying a target SD: writing a RAID stripe to the persistent storage, where the parity block of the RAID stripe is stored on the target SD and none of the data blocks in the RAID stripe are stored on the target SD. The method further includes performing a modified garbage collection operation that includes identifying a live RAID stripe in the persistent storage, writing a new RAID stripe to a new location in the persistent storage, where the new RAID stripe includes a copy of at least a portion of data from the live RAID stripe and a parity block in the new RAID stripe is stored on the target SD, and issuing a removal notification when the modified garbage collection operation is completed.

Claims (50)

1. A non-transitory computer readable medium comprising instructions, which when executed by a processor perform a method, the method comprising:

receiving a service notification specifying a target storage device (SD), wherein the target SD is one of plurality of SDs;

after receiving the service notification:

receiving a request to write data to persistent storage, wherein the persistent storage comprises the plurality of SDs;

in response to the request, writing a Redundant Array of Independent Disks (RAID) stripe to the persistent storage wherein the RAID stripe comprises first data blocks and a first parity block, wherein at least one of the first data blocks comprises a portion of the data, wherein the first parity block comprises a parity value calculated using the first data blocks, and wherein the first parity block is stored on the target SD, and wherein none of the first data blocks are stored on the target SD;

performing a modified garbage collection operation, wherein the modified garbage collection operation comprises:

identifying a live RAID stripe in the persistent storage, wherein the live RAID stripe comprises second data blocks and a second parity block;

writing a new RAID stripe to a new location in the persistent storage, wherein the new RAID stripe comprises a third parity block and third data blocks, wherein at least one of the third data blocks stores a copy of a portion of data from the live RAID stripe, wherein the third parity block is stored on the target SD, and wherein none of the third data blocks is stored on the target SD; and

issuing a removal notification when the modified garbage collection operation is completed, wherein the removal notification indicates that the target SD may be removed from the persistent storage.

2. The non-transitory computer readable medium of claim 1 , wherein the live RAID stripe was stored in the persistent storage prior to receiving the service notification.

3. The non-transitory computer readable medium of claim 1 , wherein the second data blocks and the second parity block are arranged according to a RAID stripe geometry.

4. The non-transitory computer readable medium of claim 3 , wherein the RAID stripe geometry specifies that the second parity block is located on the target SD.

5. The non-transitory computer readable medium of claim 4 , wherein the third parity block comprises a third parity value, wherein the third parity value is a copy of a second parity value in the second parity block.

6. The non-transitory computer readable medium of claim 3 , wherein the RAID geometry specifies that the second parity block is not located on the target SD.

7. The non-transitory computer readable medium of claim 6 , wherein the new RAID stripe is associated with a second RAID stripe geometry, wherein the second RAID stripe geometry specifies that the third parity block is located on the target SD.

8. The non-transitory computer readable medium of claim 7 , wherein the third parity block comprises a third parity value calculated using the third data blocks.

9. The non-transitory computer readable medium of claim 1 , wherein the new RAID stripe further comprises a fourth parity block, wherein the fourth parity block is not stored on the target SD.

10. The non-transitory computer readable medium of claim 9 , wherein the third parity block comprises a Q parity value and the fourth parity block comprises a P parity value.

11. The non-transitory computer readable medium of claim 1 , wherein at least one the plurality of SDs is a solid state memory device.

12. The non-transitory computer readable medium of claim 1 , wherein all live RAID stripes in the persistent storage are processed by the modified garbage collection operation, wherein all live RAID stripes were stored in the persistent storage prior to the service notification, and wherein the live RAID stripe is one of the live RAID stripes.

13. A system, comprising:

a storage array comprising a plurality of storage devices (SDs); and

a storage controller operatively connected to the storage array and configured to:

identify a target SD to remove;

after identifying the target SD, wherein the target SD is one of the plurality of SDs:

receive a request to write data to the storage array;

in response to the request, write a Redundant Array of Independent Disks (RAID) stripe to persistent storage, wherein the RAID stripe comprises data blocks and a first parity block, wherein at least one of the data blocks comprises a portion of the data, wherein the first parity block comprises a parity value calculated using the data blocks, and wherein the first parity block is stored on the target SD and wherein none of the data blocks are stored on the target SD;

perform a modified garbage collection operation, wherein the modified garbage collection operation comprises:

identifying a live RAID stripe in the persistent storage, wherein the live RAID stripe comprises second data blocks and a second parity block;

writing a new RAID stripe to a new location in the persistent storage, wherein the new RAID stripe comprises a third parity block and third data blocks, wherein at least one of the third data blocks stores a copy of a portion of data from the live RAID stripe, wherein the third parity block is stored on the target SD, and wherein none of the third data blocks is stored on the target SD; and

issue a removal notification when the modified garbage collection operation is completed, wherein the removal notification indicates that the target SD may be removed from the storage array.

14. The system of claim 13 , wherein the target SD is identified based on input from a user.

15. The system of claim 13 , wherein the target SD is identified based upon an SD service schedule.

16. The system of claim 13 , wherein the target SD is identified based upon the target SD exceeding an error event threshold.

17. The system of claim 13 , wherein each of the plurality of SDs comprises NAND flash.

18. The system of claim 13 , further comprising:

a field programmable gate array (FPGA) configured to calculate the parity value for the RAID stripe.

19. The system of claim 13 , wherein the storage controller is configured to track RAID stripe geometry for each of the plurality of live RAID stripes, wherein the RAID stripe geometry for each of the plurality of live RAID stripes is used to perform the modified garbage collection operation.

20. A non-transitory computer readable medium comprising instructions, which when executed by a processor perform a method, the method comprising:

receiving a service notification specifying a target storage device (SD), wherein the target SD is one of plurality of SDs;

after receiving the service notification:

receiving a request to write data to persistent storage, wherein the persistent storage comprises the plurality of SDs;

in response to the request, writing a Redundant Array of Independent Disks (RAID) stripe to the persistent storage wherein the RAID stripe comprises data blocks and a first parity block, wherein at least one of the data blocks comprises a portion of the data, wherein the first parity block comprises a parity value calculated using the data blocks, and wherein the parity block is stored on the target SD and wherein none of the data blocks are stored on the target SD;

performing a modified garbage collection operation, wherein the modified garbage collection operation comprises:

writing a new RAID stripe to a new location in the persistent storage, wherein the new RAID stripe comprises a copy of a first data from a first live RAID stripe and a copy of second data from a second live RAID stripe in the storage array, and wherein the new RAID stripe comprises a second parity block located on the target SD; and

issuing a removal notification when the modified garbage collection operation is completed, wherein the removal notification indicates that the target SD may be removed from the persistent storage.

21. The non-transitory computer readable medium of claim 20 , wherein the new RAID stripe further comprises a padding data block.

22. The non-transitory computer readable medium of claim 20 , wherein the new RAID stripe further comprises a third parity block, wherein the second parity block comprises a Q parity value and the third parity block comprises a P parity value.

23. The non-transitory computer readable medium of claim 20 , wherein the new RAID stripe further comprises a third parity block, wherein the second parity block comprises a P parity value and the third parity block comprises a Q parity value.

24. The non-transitory computer readable medium of claim 20 , wherein the first live RAID stripe comprises at least one dead data block.

Assignments (11)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045455/0001) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061753/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (040136/0001) Recorded Apr 26, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061324/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 3, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL, L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058216/0001 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2016
From: EMC CORPORATION
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 040203/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 040136/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 040134/0001 →
MERGER Recorded Sep 10, 2016
From: DSSD, INC.
To: EMC CORPORATION
Reel/Frame 039694/0912 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 3, 2014
From: BONWICK, JEFFREY S.
To: DSSD, INC.
Reel/Frame 032120/0403 →