IP Library › Granted Patent US 12,282,672
Granted Patent B2
US 12,282,672 · App. 18/451,404 · Granted Apr 22, 2025

Magnetic disk device

Inventors: Ling Lin (Yokohama Kanagawa, JP); Tatsuya Haga (Fujisawa Kanagawa, JP); Tatsuo Nitta (Machida Tokyo, JP)
Assignees: KABUSHIKI KAISHA TOSHIBA; TOSHIBA ELECTRONIC DEVICES & STORAGE CORPORATION
G06F3/064G06F3/0614G06F3/0676G11B5/012G11B20/10388G11B2005/0021
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,282,672
App. No.
18/451,404
Granted
Apr 22, 2025
Kind
B2
Abstract

According to one embodiment, a magnetic disk device includes a plurality of magnetic disks including a first recording surface and a second recording surface, a first magnetic head that writes data to the first recording surface, a second magnetic head that writes data to the second recording surface and a controller that includes a counter configured to detect the number of writes of each of the first magnetic head and the second magnetic head, an unwritten detection unit configured to detect an unwritten block from the blocks, and a memory configured to store a first threshold for the number of writes of each of the first magnetic head and the second magnetic head and a second threshold less than or equal to the first threshold.

Claims (77)

1. A magnetic disk device comprising:

a plurality of magnetic disks, at least one of the plurality of magnetic disks including a first recording surface including a plurality of blocks to which logical block addresses are allocated and at least one of the plurality of magnetic disks including a second recording surface including a plurality of blocks to which logical block addresses are allocated;

a first magnetic head that writes data to the first recording surface;

a second magnetic head that writes data to the second recording surface; and

a controller that includes a counter configured to detect the number of writes of each of the first magnetic head and the second magnetic head, an unwritten detection unit configured to detect an unwritten block from the blocks, and a memory configured to store a first threshold for the number of writes of each of the first magnetic head and the second magnetic head and a second threshold less than or equal to the first threshold,

the controller performing control to

determine whether or not the number of writes of the first magnetic head configured to write data to a first block exceeds the first threshold when a command to write data to the first block of the first recording surface among the blocks is received,

write data to the first block by the first magnetic head in a case where the number of writes of the first magnetic head does not exceed the first threshold,

determine whether or not the number of writes of the second magnetic head exceeds the second threshold in a case where the number of writes of the first magnetic head exceeds the first threshold,

write data to the first block by the first magnetic head in a case where the number of writes of the second magnetic head exceeds the second threshold,

determine whether or not there is an unwritten second block on the second recording surface in a case where the number of writes of the second magnetic head does not exceed the second threshold,

write data to the first block by the first magnetic head in a case where there is no second block, and

exchange a logical block address allocated to the first block and a logical block address allocated to the second block, and write data to the second block by the second magnetic head in a case where there is the second block.

2. The magnetic disk device according to claim 1 ,

wherein the first recording surface and the second recording surface are provided on one magnetic disk among the plurality of magnetic disks.

3. The magnetic disk device according to claim 1 ,

wherein the first recording surface and the second recording surface are provided on surfaces of different magnetic disks.

4. The magnetic disk device according to claim 1 ,

wherein the controller

stores, in the memory, a flag indicating whether or not each of the blocks is unwritten in association with a logical block address, and

determines whether or not there is the second block based on the flag.

5. A magnetic disk device comprising:

a plurality of magnetic disks, at least one of the plurality of magnetic disks including a first recording surface including a plurality of blocks to which logical block addresses are allocated and at least one of the plurality of magnetic disks including a second recording surface including a plurality of blocks to which logical block addresses are allocated;

a first magnetic head that writes data to the first recording surface;

a second magnetic head that writes data to the second recording surface; and

a controller that includes a counter configured to detect the number of writes of each of the first magnetic head and the second magnetic head, a pattern detection unit configured to detect whether or not written data has a periodic repeated pattern, and a memory configured to store a first threshold for the number of writes of each of the first magnetic head and the second magnetic head and a second threshold less than or equal to the first threshold,

the controller performing control to

determine whether or not the number of writes of the first magnetic head configured to write data to a first block exceeds the first threshold when a command to write data to the first block of the first recording surface among the blocks is received,

write data to the first block by the first magnetic head in a case where the number of writes of the first magnetic head does not exceed the first threshold,

determine whether or not the number of writes of the second magnetic head exceeds the second threshold in a case where the number of writes of the first magnetic head exceeds the first threshold,

write data to the first block by the first magnetic head in a case where the number of writes of the second magnetic head exceeds the second threshold,

determine whether or not first data written to the first block has a periodic repeated pattern in a case where the number of writes of the second magnetic head does not exceed the second threshold,

write data to the first block by the first magnetic head in a case where the first data does not have the periodic repeated pattern,

determine whether or not there is a third block to which third data having a periodic repeated pattern is written on the second recording surface in a case where the first data has the periodic repeated pattern,

write data to the first block by the first magnetic head in a case where there is no third block,

determine whether or not the first data and the third data are identical in a case where there is the third block,

write data to the first block by the first magnetic head in a case where the first data and the third data are not identical, and

exchange a logical block address allocated to the first block and a logical block address allocated to the third block and write data to the third block by the second magnetic head in a case where the first data and the third data are identical.

6. The magnetic disk device according to claim 5 ,

wherein the first recording surface and the second recording surface are provided on one magnetic disk among the plurality of magnetic disks.

7. The magnetic disk device according to claim 5 ,

wherein the first recording surface and the second recording surface are provided on surfaces of different magnetic disks.

8. The magnetic disk device according to claim 5 ,

wherein the controller

stores, in the memory, a flag indicating whether or not data written to each of the blocks has a periodic repeated pattern in association with a logical block address, and

determines whether or not there is the third block based on the flag.

9. The magnetic disk device according to claim 5 ,

wherein the data having the periodic repeated pattern is data including only 0 or data including only 1.

10. A magnetic disk device comprising:

a plurality of magnetic disks, at least one of the plurality of magnetic disks including a first recording surface including a plurality of blocks to which logical block addresses are allocated and at least one of the plurality of magnetic disks including a second recording surface including a plurality of blocks to which logical block addresses are allocated;

a first magnetic head that writes data to the first recording surface;

a second magnetic head that writes data to the second recording surface; and

a controller that includes a counter configured to detect a number of writes of each of the first magnetic head and the second magnetic head, an unwritten detection unit configured to detect an unwritten block from the blocks, a pattern detection unit configured to detect whether or not data written to each of the blocks has a periodic repeated pattern, and a memory configured to store a first threshold for the number of writes of each of the first magnetic head and the second magnetic head and a second threshold less than or equal to the first threshold,

the controller performing control to

determine whether or not the number of writes of the first magnetic head configured to write data to a first block exceeds the first threshold when a command to write data to the first block of the first recording surface among the blocks is received,

write data to the first block by the first magnetic head in a case where the number of writes of the first magnetic head does not exceed the first threshold,

determine whether or not the number of writes of the second magnetic head exceeds the second threshold in a case where the number of writes of the first magnetic head exceeds the first threshold,

write data to the first block by the first magnetic head in a case where the number of writes of the second magnetic head exceeds the second threshold,

determine whether or not there is an unwritten second block on the second recording surface in a case where the number of writes of the second magnetic head does not exceed the second threshold,

exchange a logical block address allocated to the first block and a logical block address allocated to the second block and write data to the second block by the second magnetic head in a case where there is the second block,

determine whether or not first data written to the first block has a periodic repeated pattern in a case where there is no second block,

write data to the first block by the first magnetic head in a case where the first data does not have the periodic repeated pattern,

determine whether or not there is a third block to which third data having a periodic repeated pattern is written on the second recording surface in a case where the first data has the periodic repeated pattern,

write data to the first block by the first magnetic head in a case where there is no third block,

determine whether or not the first data and the third data are identical in a case where there is the third block,

write data to the first block by the first magnetic head in a case where the first data and the third data are not identical, and

exchange a logical block address allocated to the first block and a logical block address allocated to the third block and write data to the third block by the second magnetic head in a case where the first data and the third data are identical.

11. The magnetic disk device according to claim 10 ,

wherein the first recording surface and the second recording surface are provided on one magnetic disk among the plurality of magnetic disks.

12. The magnetic disk device according to claim 10 ,

wherein the first recording surface and the second recording surface are provided on surfaces of different magnetic disks.

13. The magnetic disk device according to claim 1 ,

wherein the first magnetic head and the second magnetic head output energy to corresponding recording surfaces, and write data.

14. The magnetic disk device according to claim 5 ,

wherein the first magnetic head and the second magnetic head output energy to corresponding recording surfaces, and write data.

15. The magnetic disk device according to claim 10 ,

wherein the first magnetic head and the second magnetic head output energy to corresponding recording surfaces, and write data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2023
From: LIN, LING; HAGA, TATSUYA; NITTA, TATSUO
To: KABUSHIKI KAISHA TOSHIBA; TOSHIBA ELECTRONIC DEVICES & STORAGE CORPORATION
Reel/Frame 064686/0113 →
Priority Claims (1)
JP 2023-041176 · Mar 15, 2023 · national
Continuity (1)
Related Publication 20240311026A1 · Sep 19, 2024
References Cited (6)
US 9218849B1 · Trantham et al. · 2015 [cited by applicant]
US 11023352B2 · Gaertner et al. · 2021 [cited by applicant]
US 20150279416A1 · Tabata · 2015 [cited by examiner]
US 20180012627A1 · Burkhardt · 2018 [cited by examiner]
US 20210065744A1 · Ito · 2021 [cited by applicant]
US 20220301589A1 · Obuchi · 2022 [cited by examiner]