# US 2025/0094059 A1 · Storage system and storage control method

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

- Number: US 2025/0094059 A1
- Document ID: US20250094059A1
- Status: Published application
- Kind: A1
- Application number: 18/962,133
- Filed: 2024-11-27
- Published: 2025-03-20
- Earliest claimed: 2022-03-31
- Assignees: Hitachi Vantara, Ltd.
- Applicants: Hitachi Vantara, Ltd.
- Inventors: Shintaro ITO; Yoshinori OHIRA; Hiroto EBARA
- Web page: https://patentgrep.com/patent/US20250094059A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system having high performance and high reliability includes a non-volatile storage device, a storage controller configured to control data to be read and written from and to the storage device using a storage function; and a volatile memory. In the reading and writing, the storage controller generates a log and stores the log in a log memory, writes the log stored in the memory to the storage device, and collects a capacity of the storage area of the memory storing the log written to the storage device. In collecting a free area of the memory, the storage controller executes a base image saving method of writing in the storage device in units of storage areas having a plurality of logs and collecting a free area, and a garbage collection method of writing in the storage device in units of logs and collecting a free area.

## Claims

### Claim 1

A storage system comprising:
a non-volatile storage device;
a storage controller configured to process data to be read and written from and to the storage device using a storage function; and
a volatile memory,
wherein the storage controller is configured to, when receiving a data write request,
store data related to the received data write request in the memory,
create a log related to the data stored in the memory and store the log in the memory,
store the log, which is stored in the memory, in the storage device,
execute a completion response to a source of the data write request after the log is stored in the storage device, and
process the data stored in the memory using the storage function and destage the data in the storage device,
wherein when the log is stored in the storage device, the log in the memory related to the log in the storage device is invalidated, and
wherein when the data is destaged, the log in the storage device related to the destaged data is invalidated.

### Claim 2 (depends on 1)

The storage system according to claim 1, wherein
the storage of the log related to the data in the storage device is a process having a lighter load than that of the destage of the data.

### Claim 3 (depends on 2)

The storage system according to claim 2, wherein
the log stored in the storage device is a log for restoring the data in the memory, and
the destage of the data in the storage device is for exerting the storage function and writing or updating the data stored in the storage system.

### Claim 4 (depends on 1)

The storage system according to claim 1, wherein when data obtained by updating data related to the log is written, a log in the storage device related to data before the update is invalidated.

### Claim 5 (depends on 4)

The storage system according to claim 4, wherein
the storage controller is configured to manage a control information log and a user data log by assigning order control information indicating a process order to the control information log and the user data log, so that consistency in an order of the control information log and the user data log is secured.

### Claim 6 (depends on 4)

The storage system according to claim 4, wherein
the storage controller is configured to manage a control information log and a user data log by assigning order control information indicating a process order to the control information log and the user data log, so that consistency in an order of the control information log and the user data log is secured.

### Claim 7 (depends on 4)

The storage system according to claim 4, wherein
the data related to the received write request is compressed and stored in the memory,
the compressed log related to the compressed data is stored in the storage device, and
the compressed data is subjected to the destage.

### Claim 8 (depends on 1)

The storage system according to claim 1, wherein the log includes a control information log and a cache data log, and
wherein the control information log and the cache data log are separately and collectively stored in the storage device for each of a plurality of control information logs and each of a plurality of cache data logs.

### Claim 9 (depends on 8)

The storage system according to claim 8, wherein
the cache data log has a size larger than that of the control information log,
the cache data log is compressed and stored in the storage device, and
the control information log is not compressed and is stored in the storage device.

### Claim 10 (depends on 8)

The storage system according to claim 8, wherein
the storage controller is configured to execute, when collecting a capacity related to a storage area of the memory storing the log written to the storage device, a base image saving method of writing the control information log in the storage device in units of storage areas having a plurality of logs and collecting a free area, and a garbage collection method of writing the cache data log in the storage device in units of logs and collecting a free area.

### Claim 11 (depends on 10)

The storage system according to claim 10, wherein
the storage controller is configured to
store, when updating the log, an after-update log in a storage area different from a storage area in which a before-update log is stored, and invalidate the before-update log,
in the base image saving method, store, in the storage device, a plurality of logs that are not invalidated in the storage area, and collect the storage area as a free area, and
in the garbage collection method, asynchronously execute a process of collecting a storage area of the invalidated log as a free area and a process of storing a log that is not invalidated in the storage device and invalidating a log of a storage area in which the log is stored.
