# US 2021/0240346 A1 · Dynamic use of segment or zone power loss protection in a flash device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0240346 A1
- Document ID: US20210240346A1
- Status: Published application
- Kind: A1
- Application number: 17/235,062
- Filed: 2021-04-20
- Published: 2021-08-05
- Earliest claimed: 2019-12-12
- Assignees: Pure Storage, Inc.
- Applicants: Pure Storage, Inc.
- Inventors: Andrew R. Bernat; Brandon Davis; Mark L. McAuliffe; Zoltan DeWitt; Benjamin Scholbrock; Phillip Hord; Ronald Karr
- Web page: https://patentgrep.com/patent/US20210240346A1

## CPC

- G06F 1/30: Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations (for resetting only G06F1/24)
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 3/0623: {in relation to content}
- G06F 3/064: {Management of blocks}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/1052: Security improvement
- G06F 2212/214: Solid state disk
- G06F 2212/262: configured as RAID
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system and related method are for operating solid-state storage memory in a storage system. Zones of solid-state storage memory are provided. Each zone includes a portion of the solid-state storage memory. The zone has a data write requirement for the zone for reliability of data reads. The storage system adjusts power loss protection for at least one zone. The adjusting is based on the data write requirement for the zone and responsive to detecting a power loss.

## Claims

### Claim 1

A method, comprising:
providing a plurality of zones of solid-state storage memory, each zone comprising a portion of the solid-state storage memory and having a data write requirement associated with respective zone for reliability of data reads; and
adjusting power loss protection for at least one zone, the adjusting based on the data write requirement for the at least one zone and responsive to detecting a power loss.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
closing each open segment of solid-state storage memory in a zone that has power loss protection activated, responsive to the detecting the power loss.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
issuing one or more credits for activating the power loss protection for one or more zones.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
revoking a credit that was issued and applied in activating the power loss protection for a zone, to deactivate the power loss protection for the zone.

### Claim 5 (depends on 1)

The method of claim 1, wherein the providing the plurality of zones comprises:
issuing a determined amount of credits for the power loss protection of the zones, wherein the determined amount of credits is based on amount of cache memory for data transfers to the solid-state storage memory during power loss.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining an amount of credits for the power loss protection of the zones, based on determination of available time duration for the power loss support as a dynamic determination over a life span of the storage system.

### Claim 7 (depends on 1)

The method of claim 1, wherein the providing the plurality of zones comprises:
tracking how many zones having the power loss protection enabled that a garbage collection process is allowed to use.

### Claim 8 (depends on 1)

The method of claim 1, wherein the providing the plurality of zones comprises:
defining zones as each zone is written with data writes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the providing the plurality of zones comprises:
tracking open zones of the plurality of zones to limit an amount of open zones to have the power loss protection enabled in accordance with available amount of the power loss support.

### Claim 10 (depends on 1)

The method of claim 1, wherein the providing the plurality of zones comprises:
providing credits for the power loss protection, with each of a plurality of processes, each of the plurality of processes arranged to hold or apply one or more of the credits.

### Claim 11

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 plurality of zones of solid-state storage memory, each zone comprising a portion of the solid-state storage memory having a data write requirement for the zone, the data write requirement associated with reliability of data reads;
tracking whether each zone is an open zone having one or more non-durable data segments or a closed zone having one or more durable data segments; and
monitoring power loss protection activation for each zone, the power loss protection comprising arranging to fulfill the data write requirement for the zone.

### Claim 12 (depends on 11)

The computer-readable media of claim 11, wherein the method further comprises:
determining an amount of open zones having the power loss protection activated.

### Claim 13 (depends on 11)

The computer-readable media of claim 11, wherein the tracking comprises:
issuing a credit to a process to activate the power loss protection for a zone.

### Claim 14 (depends on 11)

The computer-readable media of claim 11, wherein the tracking comprises:
determining an amount of credits for the power loss protection of the zones, based on amount of cache memory for data transfers to the solid-state storage memory during power loss or available time duration for the power loss.

### Claim 15 (depends on 11)

The computer-readable media of claim 11, wherein the method further comprises:
performing garbage collection in the solid-state storage memory, with an amount of open zones having the power loss protection enabled limited based on available amount of the power loss support.

### Claim 16

A storage system, comprising:
solid-state storage memory having a plurality of zones, each zone comprising a portion of the solid-state storage memory having a data write requirement for the zone for reliability of data reads; and
a processing device, to:
track, in a data structure, each of the plurality of zones, including indicating open zones having one or more non-durable data segments and closed zones having one or more durable data segments that fulfill the data write requirement for the zone in the solid-state storage memory; and
monitor power loss protection activation for each zone, the power loss protection comprising arranging to fulfill the data write requirement for the zone, in event of power loss.

### Claim 17 (depends on 16)

The storage system of claim 16, wherein the processing device is further to:
close each open zone that has the power loss protection activated, fulfilling the data write requirement for the zone, responsive to the power loss occurring.

### Claim 18 (depends on 16)

The storage system of claim 16, wherein the processing device is further to:
manage credits for activating the power loss protection, limited to an amount of credits based on amount of cache memory for data transfers to the solid-state storage memory during power loss or available time duration for the power loss support.

### Claim 19 (depends on 16)

The storage system of claim 16, wherein the processing device is further to:
monitor how many open zones having the power loss protection enabled that a garbage collection process is allowed to use.

### Claim 20 (depends on 16)

The storage system of claim 16, further comprising the processing device to track, in the data structure, credits for the power loss protection, wherein an open zone has the power loss protection enabled with a credit tracked in the data structure and a closed zone is a durable zone where the power loss protection is disabled.
