IP Library › Granted Patent US 12,265,730
Granted Patent B2
US 12,265,730 · App. 18/467,140 · Granted Apr 1, 2025

Magnetic disk device and cache control method

Inventor: Masachika Hosaka (Komae Tokyo, JP)
Assignees: Kabushiki KaishaToshiba; Toshiba Electronic Devices & Storage Corporation
G06F3/0656G06F3/0604G06F3/0659G06F3/0676G06F12/0802G06F2212/60
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,265,730
App. No.
18/467,140
Granted
Apr 1, 2025
Kind
B2
Abstract

According to one embodiment, a magnetic disk device comprises a control part configured to execute a cache control based on accompanying information included in a command wherein the command includes a data write command to a disk or a data read command from the disk.

Claims (24)

1. A magnetic disk device comprising:

a control part configured to execute a cache control based on accompanying information included in a command; and

a storage part configured to store condition table data defining a corresponding relationship between the accompanying information and an operation of the cache control when receiving the command,

wherein

the command includes a data write command to a disk or a data read command from the disk,

the control part performs the cache control based on the condition table data, and

the accompanying information is a set of one or more Descriptors of a Command Duration Limits (CDL) feature set defined by ATA Command Set-5.

2. The magnetic disk device of claim 1 , comprising an analysis part configured to perform analysis of a plurality of command data received previously, wherein

the control part determines the corresponding relationship based on a result of the analysis.

3. The magnetic disk device of claim 2 , wherein the analysis part performs the analysis with respect to command data for each Descriptor of the set of one or more Descriptors.

4. The magnetic disk device of claim 3 , wherein a second command includes a same command and a same Descriptor as in a first command, and is a command to designate a second block adjacent to a first block designated by the first command on the disk, and

the analysis part calculates a sequential ratio which is a ratio of sequential reception of the second command with the first command.

5. The magnetic disk device of claim 4 , wherein the sequential ratio is calculated for each Descriptor of the set of one or more Descriptors and saved.

6. The magnetic disk device of claim 5 , wherein the control part determines an operation of the cache control based on the sequential ratio acquired by the analysis part and a predetermined threshold with respect to the sequential ratio.

7. The magnetic disk device of claim 6 , wherein the control part determines a read-ahead data amount based on the sequential ratio acquired by the analysis part and the predetermined threshold with respect to the sequential ratio.

8. The magnetic disk device of claim 6 , wherein the control part determines a read-ahead time based on the sequential ratio acquired by the analysis part and the predetermined threshold with respect to the sequential ratio.

9. The magnetic disk device of claim 6 , wherein an operation of the cache control is determined based on Limit Time set in the Descriptor and a predetermined threshold N with respect to the Limit Time.

10. The magnetic disk device of claim 6 , wherein a read-ahead amount of a read-ahead control is determined based on Limit Time set in the Descriptor and a predetermined threshold N with respect to the Limit Time.

11. A cache control method of a magnetic disk device, comprising:

executing a cache control based on accompanying information included in a command;

storing condition table data defining a corresponding relationship between the accompanying information and an operation of the cache control when receiving the command; and

performing the cache control based on the condition table data, wherein

the command includes a data write command to a disk or a data read command from the disk, and

the accompanying information is a set of one or more Descriptors of a Command Duration Limits (CDL) feature set defined by ATA Command Set-5.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 1, 2023
From: HOSAKA, MASACHIKA
To: KABUSHIKI KAISHA TOSHIBA; TOSHIBA ELECTRONIC DEVICES & STORAGE CORPORATION
Reel/Frame 065740/0121 →
Priority Claims (1)
JP 2023-027344 · Feb 24, 2023 · national
Continuity (1)
Related Publication 20240289049A1 · Aug 29, 2024
References Cited (5)
US 7437502B1 · Coker · 2008 [cited by applicant]
US 7487290B2 · Hiratsuka et al. · 2009 [cited by applicant]
US 11194725B2 · Pinho et al. · 2021 [cited by applicant]
US 20140082310A1 · Nakajima · 2014 [cited by examiner]
US 20140149706A1 · Shim · 2014 [cited by examiner]