IP Library Granted Patent US 12,153,518
Granted Patent B2
US 12,153,518 · App. 18/112,675 · Granted Nov 26, 2024

Storage device

Inventors: Kenichi Betsuno (Tokyo, JP); Norio Shimozono (Tokyo, JP); Tomohiro Yoshihara (Tokyo, JP)
Assignee: Hitachi, Ltd.
G06F12/0253G06F12/08G06F2212/702
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 12,153,518
App. No.
18/112,675
Granted
Nov 26, 2024
Kind
B2
Abstract

Logical hierarchies include an append hierarchy in a storage device. The storage device writes user data received in the append hierarchy to a free area, select a garbage collection operation mode for a first logical area in the append hierarchy from operation modes including first and second operation modes. Conditions of executing the garbage collection in the first operation mode include a capacity of the free area in the append hierarchy being less than a threshold, and an amount of garbage that is invalid data after update in the first logical area being equal to or greater than a threshold. Conditions of executing the garbage collection in the second operation mode include the amount of garbage in the first logical area being equal to or greater than a threshold value, while excluding the condition of the capacity of the free area in the append hierarchy.

Claims (35)

1. A storage device that manages data stored in a storage drive in a plurality of logical hierarchies, comprising:

a host interface for communicating with a host; and

a processor,

wherein the plurality of logical hierarchies include an append hierarchy,

the processor is configured to:

write user data received in the append hierarchy through the host interface to a free area where data can be written; and

select a garbage collection operation mode for a first logical area in the append hierarchy from a plurality of operation modes including a first operation mode and a second operation mode,

conditions of executing the garbage collection in the first operation mode include a capacity of the free area in the append hierarchy being less than a threshold; and an amount of garbage that is invalid data after update in the first logical area being equal to or greater than a threshold,

conditions of executing the garbage collection in the second operation mode include the amount of garbage in the first logical area being equal to or greater than a threshold value, while excluding the condition of the capacity of the free area in the append hierarchy, and

the garbage collection selects valid data before update from the first logical area, and copies the selected valid data to another logical area in the append hierarchy, freeing up the first logical area.

2. The storage device of claim 1 ,

wherein the processor selects the garbage collection operation mode according to endurance determined based on specifications of a storage drive that provides the first logical area.

3. The storage device of claim 2 ,

wherein the processor determines the endurance of the storage drive that provides the first logical area based on a total data amount that can be written to the storage drive.

4. The storage device of claim 1 ,

wherein the processor adjusts processing resources of the processor allocated to the garbage collection based on the capacity of the free area of the append hierarchy.

5. The storage device of claim 1 ,

wherein the processor selects the garbage collection operation mode according to a designation from an external device.

6. The storage device of claim 5 ,

wherein the processor receives the designation from the external device for each append hierarchy included in the plurality of logical hierarchies.

7. The storage device of claim 5 ,

wherein the processor receives the designation from the external device for each RAID group of the storage drive.

8. The storage device of claim 1 ,

wherein the plurality of operation modes include a third operation mode, and

the processor in the third operation mode determines a threshold of the amount of garbage in the first logical area based on a remaining lifetime of a storage drive that provides the first logical area.

9. The storage device of claim 8 ,

wherein the remaining lifetime is determined based on an amount of data written to the storage drive and a total amount of data that can be written to the storage drive.

10. A method for controlling garbage collection in a storage device, the storage device managing data stored in the storage drive in a plurality of logical hierarchies,

the plurality of logical hierarchies including an append hierarchy, the method comprising:

writing, by the storage device, user data received in the append hierarchy to a free area where data can be written;

and selecting, by the storage device, a garbage collection operation mode for a first logical area in the append hierarchy from either a first operation mode or a second operation mode of

a plurality of operation modes,

wherein conditions of executing the garbage collection in the first operation mode include a capacity of the free area in the append hierarchy being less than a threshold; and an amount of garbage that is invalid data after update in the first logical area being equal to or greater than a threshold,

conditions of performing garbage collection in the second operation mode include the amount of garbage in the first logical area being equal to or greater than a threshold value, while excluding the condition of the capacity of the free area in the append hierarchy,

and the garbage collection selects valid data before update from the first logical area, and copies the selected valid data to another logical area in the append hierarchy, freeing up the first logical area.

Assignments (2)
DE-MERGER EFFECTIVE APRIL 1, 2024 Recorded Oct 1, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069083/0345 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 22, 2023
From: BETSUNO, KENICHI; SHIMOZONO, NORIO; YOSHIHARA, TOMOHIRO
To: HITACHI, LTD.
Reel/Frame 062772/0603 →
Priority Claims (1)
JP 2022-168328 · Oct 20, 2022 · national
Continuity (2)
Related Publication 20240134789A1 · Apr 25, 2024
Related Publication 20240232072A9 · Jul 11, 2024