IP Library Granted Patent US 12704967
Granted Patent B2
US 12704967 · App. 18/962,133 · Granted Aug 11, 2026

Storage system and storage control method including storing a log related to the stored data

Inventors: Shintaro Ito (Tokyo, JP); Yoshinori Ohira (Tokyo, JP); Hiroto Ebara (Tokyo, JP)
Assignee: HITACHI VANTARA, LTD.
G06F3/0616G06F3/0659G06F3/0679G06F12/0253G06F2212/7205
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 12704967
App. No.
18/962,133
Granted
Aug 11, 2026
Kind
B2
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 (39)

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.

2 . 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.

3 . 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.

4 . 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.

5 . 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.

6 . 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.

7 . 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.

8 . 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.

9 . 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.

10 . 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.

11 . 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.