IP Library Granted Patent US 11,074,016
Granted Patent B2
US 11,074,016 · App. 16/700,930 · Granted Jul 27, 2021

Using flash storage devices with different sized erase blocks

Inventors: Eric D. Seppanen (Mountain View, CA); Andrew R. Bernat (Mountain View, CA); Timothy W. Brennan (San Francisco, CA); Mark L. McAuliffe (San Francisco, CA); Neil Buda Vachharajani (Menlo Park, CA)
Assignee: Pure Storage, Inc.
G06F3/0659G06F3/0604G06F3/064G06F3/0631G06F3/0652G06F3/0688G06F12/0246G06F12/0253G11C16/16
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,074,016
App. No.
16/700,930
Granted
Jul 27, 2021
Kind
B2
Abstract

A method of using flash storage devices with different sized erase blocks is provided. The method includes allocating a plurality of erase blocks of heterogeneous erase block sizes to a RAID stripe, to form a tile pattern having the heterogeneous erase block sizes in the RAID stripe. The method includes writing the RAID stripe across the flash storage devices in accordance with the allocating, and stopping the writing the RAID stripe, responsive to contents of the RAID stripe reaching a threshold.

Claims (47)

1. A method, comprising:

allocating a plurality of erase blocks of heterogeneous erase block sizes to a RAID stripe, to form a pattern having the heterogeneous erase block sizes in the RAID stripe such that erase blocks from differing flash storage devices are in differing columns in the RAID stripe;

writing the RAID stripe across the flash storage devices in accordance with the allocating; and

stopping the writing the RAID stripe, responsive to contents of the RAID stripe reaching a threshold.

2. The method of claim 1 , further comprising:

re-allocating one or more remaining unwritten portions of the plurality of erase blocks to a further RAID stripe.

3. The method of claim 1 , further comprising:

writing metadata in the RAID stripe at predefined offsets so that each of the plurality of erase blocks begins with a metadata section.

4. The method of claim 1 , further comprising:

performing garbage collection in the flash storage devices, with the RAID stripe as a single element for the garbage collection.

5. The method of claim 1 , further comprising:

erasing at least one of the plurality of erase blocks, responsive to determining all data in the at least one of the plurality of erase blocks is obsoleted.

6. The method of claim 1 , wherein the allocating comprises:

combining a plurality of erase blocks of smaller erase block sizes to form one or more block units each having a combined block size greater than or equal to another of the plurality of erase blocks.

7. The method of claim 1 , wherein the allocating comprises:

allocating the plurality of erase blocks from the flash storage devices such that each column in the RAID stripe has erase blocks from a same flash storage device.

8. A tangible, non-transitory, computer-readable media having instructions thereupon which, when executed by a processor, cause the processor to perform a method comprising:

defining a RAID stripe having a pattern of a plurality of erase blocks with heterogeneous erase block sizes from flash memory storage devices, the defining including assigning erase blocks from differing flash storage devices to differing columns in the RAID stripe;

writing to the RAID stripe, across the flash memory storage devices; and

ceasing the writing the RAID stripe, as full, when one or more of the plurality of erase blocks is full or RAID stripe contents reaches a threshold.

9. The computer-readable media of claim 8 , wherein the method further comprises:

assigning unused portions of the plurality of erase blocks to a further RAID stripe.

10. The computer-readable media of claim 8 , wherein the method further comprises:

writing metadata in the RAID stripe at intervals of an offset, the offset a common divisor of the heterogeneous erase block sizes, to begin each of the plurality of erase blocks with a metadata section.

11. The computer-readable media of claim 8 , wherein the method further comprises:

defining the RAID stripe as a single element for garbage collection.

12. The computer-readable media of claim 8 , wherein the method further comprises:

forming a combined block from two or more of the plurality of erase blocks, of smaller erase block sizes, to have a combined block size greater than or equal to a further one of the plurality of erase blocks.

13. The computer-readable media of claim 8 , wherein the defining the RAID stripe comprises:

assigning erase blocks from each of the differing flash storage devices to a same column in the RAID stripe.

14. A storage system, comprising:

a plurality of flash storage devices having heterogeneous erase block sizes; and

at least one processor, configurable to:

assign erase blocks to one or more RAID stripes, including a RAID stripe having a pattern with heterogeneous erase block sizes, the pattern comprising a plurality of columns of the RAID stripe, each column having erase blocks from a same one of the plurality of flash storage devices; and

write data to the RAID stripe having the heterogeneous erase block sizes, to fill the RAID stripe until contents of the RAID stripe reaches a threshold.

15. The storage system of claim 14 , wherein the at least one processor is further configurable to:

assign unused portions of the erase blocks of the RAID stripe to a further RAID stripe.

16. The storage system of claim 14 , wherein the at least one processor is further configurable to:

write, at predefined offsets, metadata to the RAID stripe having the heterogeneous erase block sizes, to begin each of the erase blocks in the RAID stripe with a metadata section.

17. The storage system of claim 14 , wherein the at least one processor is further configurable to:

performing garbage collection in the plurality of flash storage devices, using the RAID stripe having the heterogeneous erase block sizes as a single element.

18. The storage system of claim 14 , wherein the at least one processor is further configurable to:

perform garbage collection in the plurality of flash storage devices, to collect portions of erase blocks and to erase and reclaim one or more of the plurality of erase blocks having obsoleted data.

19. The storage system of claim 14 , wherein the at least one processor is further configurable to:

form a block unit having a combined block size greater than or equal to erase block size of one of the plurality of erase blocks, from two or more erase blocks of smaller erase block sizes.

20. The storage system of claim 14 , wherein the pattern comprises:

differing columns having erase blocks from differing ones of the plurality of flash storage devices.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 17, 2023
From: BERNAT, ANDREW R.; BRENNAN, TIMOTHY W.; MCAULIFFE, MARK L.; SEPPANEN, ERIC D.; VACHHARAJANI, NEIL BUDA
To: PURE STORAGE, INC.
Reel/Frame 062728/0432 →
Continuity (2)
Continuation 15799950 · Oct 31, 2017
Related Publication 20200104077A1 · Apr 2, 2020
Cited By (4)
US 12,293,111 US 12,561,200 US 12,578,900 US 12,579,031