Magnetic disk device and method for adjusting guaranteed number of writes

The magnetic disk device addresses the challenge of adjusting the guaranteed number of writes by using a control unit to detect abnormalities and perform refresh operations, effectively reducing data read errors and maintaining performance through dynamic adjustments.

JP2024137169AInactive Publication Date: 2024-10-07KK TOSHIBA +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023048580
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional magnetic disk devices face challenges in adjusting the guaranteed number of writes, leading to potential data read errors due to adjacent track interference (ATI) and varying physical and magnetic states of the recording layer, which can result in inefficient performance and data loss.

Method used

The magnetic disk device incorporates a control unit that detects the state and characteristics of the recording layer and head, adjusts the guaranteed number of writes based on abnormality information, and performs a refresh process when the total number of writes exceeds a predetermined threshold, using a reference table for normal conditions and an adjustment table for finer adjustments.

Benefits of technology

This approach minimizes data read errors by dynamically adjusting the guaranteed number of writes, reducing the need for unnecessary refresh operations and maintaining device performance by anticipating and addressing potential data loss due to ATI and physical wear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137169000001_ABST
    Figure 2024137169000001_ABST
Patent Text Reader

Abstract

To provide a magnetic disk device capable of adjusting guaranteed number of writes and a method for adjusting the guaranteed number of writes.SOLUTION: A magnetic disk device 1 includes a disk DK, a head HD, a storage unit, and a control unit. A reference table has m reference counts, and an adjustment table has n adjustment values. The control unit includes a detection unit 62, an adjustment unit 63 that adjusts corresponding reference number when abnormality information is detected to a guaranteed write number having a numerical value different from the reference number, a counter 64, a determination unit 65, and a refresh processing unit 66.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a magnetic disk device and a method for adjusting a guaranteed write count. [Background technology]

[0002] Known magnetic disk devices include conventional magnetic recording (CMR) type (or conventional recording type) magnetic disk devices that write multiple tracks at intervals in the radial direction of the disk, shingled write magnetic recording (SMR, or shingled write recording (SWR) type magnetic disk devices that overwrite multiple tracks in the radial direction of the disk, and hybrid recording type magnetic disk devices that select between the conventional recording type and the shingled recording type. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] US Patent Application Publication No. 2022 / 0076695 [Patent Document 2] U.S. Pat. No. 10,546,601 [Patent Document 3] US Patent Application Publication No. 2010 / 0188767 Summary of the Invention [Problem to be solved by the invention]

[0004] This embodiment provides a magnetic disk device capable of adjusting the guaranteed write count and a method for adjusting the guaranteed write count. [Means for solving the problem]

[0005] A magnetic disk device according to an embodiment includes: A disk having a recording layer, the recording layer including a plurality of partition areas which correspond to the m areas when the recording layer is partitioned into m areas in at least one of a radial direction and a circumferential direction, and a plurality of adjustment areas which correspond to the n areas when the recording layer is partitioned into n areas, which is greater than the m areas, in the at least one of the radial direction and the circumferential direction; a head that writes data to the recording layer and reads data from the recording layer; a storage unit that stores a reference table having a plurality of reference times corresponding to the recording layer and an adjustment table having a plurality of adjustment values ​​corresponding to the recording layer, the plurality of reference times being m in number and corresponding one-to-one to the plurality of partitioned areas, and the plurality of adjustment values ​​being n in number and corresponding one-to-one to the plurality of adjustment areas; A control unit, The control unit is a detection unit for detecting a state of the recording layer and a characteristic of the head; an adjustment unit that, when the detection unit detects normal information indicating that the state and the characteristic are normal, does not update each of the adjustment values ​​and adjusts each of the reference numbers to a guaranteed write number having the same numerical value as the reference number, and, when the detection unit detects abnormal information indicating that one of the state and the characteristic is abnormal, updates a corresponding adjustment value among the plurality of adjustment values ​​and adjusts the corresponding reference number among the plurality of reference numbers to the guaranteed write number having a numerical value different from the reference number based on the corresponding adjustment value; a counter that counts the number of writes to the target sector each time data is written to an adjacent sector adjacent to the target sector in the radial direction of the recording layer, and records the number of writes to the storage unit; a determination unit that determines whether or not the total number of writes recorded in the storage unit exceeds the guaranteed number of writes; and a refresh processing unit that, when the total exceeds the guaranteed number of writes, reads the target data of the target sector, rewrites the target data to the target sector, and resets the number of writes of the target sector recorded in the memory unit.

[0006] In addition, a method for adjusting the guaranteed write count according to an embodiment includes the following steps: a head for writing data to the recording layer and reading data from the recording layer; and a storage unit for storing a reference table having a reference number of times corresponding to the recording layer and an adjustment table having a reference value of a reference table corresponding to the recording layer, the reference number of times being m, and the adjustment value being n, the reference number of times being one corresponding to the plurality of reference numbers, the reference number being m, and the adjustment value being n, the reference number being one corresponding to the plurality of adjustment numbers, Detecting the state of the recording layer and the characteristics of the head; when detecting normal information indicating that the state and the characteristic are normal, adjusting each of the reference numbers to a guaranteed write number having the same numerical value as the reference number without updating each of the adjustment values, and when detecting abnormal information indicating that one of the state and the characteristic is abnormal, updating a corresponding adjustment value among the plurality of adjustment values ​​and adjusting the corresponding reference number among the plurality of reference numbers to the guaranteed write number having a numerical value different from the reference number based on the corresponding adjustment value, counting the number of writes to the target sector each time data is written to an adjacent sector adjacent to the target sector in the radial direction of the recording layer, and recording the number of writes in the storage unit; determining whether the total number of writes recorded in the storage unit has exceeded the guaranteed number of writes; When the total exceeds the guaranteed number of writes, the target data of the target sector is read, the target data is rewritten to the target sector, and the number of writes of the target sector recorded in the storage unit is reset. [Brief description of the drawings]

[0007] [Figure 1]FIG. 1 is a block diagram showing the configuration of a magnetic disk device according to an embodiment. [Diagram 2] FIG. 2 is a perspective view showing a part of the magnetic disk device, showing a plurality of disks and a plurality of heads. [Diagram 3] FIG. 3 is a schematic diagram showing some of the tracks on which normal recording processing is performed. [Figure 4] FIG. 4 is a schematic diagram showing three sectors aligned in the radial direction in the magnetic disk device, and is a diagram for explaining a case where the ATI effect on the target sector is small. [Diagram 5] FIG. 5 is a schematic diagram showing three sectors aligned in the radial direction in the magnetic disk device, and is a diagram for explaining a case where the ATI effect on the target sector is large. [Figure 6] FIG. 6 is a plan view showing the recording layer of the disk of the magnetic disk device, showing a state in which the recording layer is scratched. [Figure 7] FIG. 7 is a diagram showing a part of the reference table shown in FIG. 1, showing a plurality of reference counts corresponding to the first recording layer, etc. In FIG. [Figure 8] FIG. 8 is a diagram showing a part of the adjustment table shown in FIG. 1, showing a plurality of adjustment values ​​etc. corresponding to the first recording layer. [Figure 9] FIG. 9 is a diagram showing a part of the first recording layer of the disk of the magnetic disk device, showing a state in which a specific range overlaps one or more adjustment regions. [Figure 10] FIG. 10 is a flow chart for explaining the refresh processing method applied to the above magnetic disk device. [Figure 11] FIG. 11 is a flowchart for explaining the refresh processing method following FIG. [Figure 12] FIG. 12 is a flowchart for explaining a method for adjusting the guaranteed number of writes applied to the magnetic disk device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] A magnetic disk device 1 and a method for adjusting the guaranteed number of writes according to an embodiment will be described in detail below with reference to the drawings. First, the configuration of the magnetic disk device 1 will be described. FIG. 1 is a block diagram showing the configuration of the magnetic disk device 1 according to this embodiment. In this embodiment, the magnetic disk device 1 is a magnetic disk device of a normal recording type. However, the technology described below may be applied to a magnetic disk device of a shingled recording type and a magnetic disk device of a hybrid recording type that selectively executes the normal recording type and the shingled recording type.

[0009] 1, the magnetic disk device 1 includes a plurality of, for example, one to six disks (magnetic disks) DK as recording media, a spindle motor (SPM) 20 as a drive motor, a head stack assembly 22, a driver IC 120, a head amplifier integrated circuit (hereinafter, head amplifier IC or preamplifier) ​​130, a volatile memory 70, a buffer memory (buffer) 80, a non-volatile memory 90, and a system controller 110 which is a one-chip integrated circuit. The magnetic disk device 1 is also connected to a host system (hereinafter, simply referred to as a host) 100.

[0010] Each disk DK is formed to have a diameter of, for example, 95 mm (3.5 inches) and has a recording layer (magnetic recording layer) Y on both sides. In this embodiment, the magnetic disk device 1 includes one to six disks DK, but the number of disks DK is not limited to this. Also, the magnetic disk device 1 may include a single disk DK.

[0011] The head stack assembly 22 is driven by a voice coil motor (hereinafter referred to as VCM) 24 to control the movement of a head HD mounted on an arm 30 to a target position on the disk DK.

[0012] The disk DK is allocated with a user data area U available to the user and a system area S to which information required for system management is written as areas where data can be written. Here, any track among the multiple tracks of the disk DK is defined as a target track, and a track adjacent to the target track in the radial direction of the disk DK is defined as an adjacent track. Any sector among multiple sectors aligned in the circumferential direction of the disk DK in the target track is defined as a target sector. In the adjacent track, a sector adjacent to the target sector in the radial direction of the disk DK among multiple sectors aligned in the circumferential direction of the disk DK is defined as an adjacent sector.

[0013] The head HD records and reproduces information on the disk DK. The head HD has a slider as its main body, and is equipped with a write head WHD and a read head RHD mounted on the slider. The write head WHD writes data to the recording layer Y of the disk DK. The read head RHD reads data from the data tracks on the recording layer Y of the disk DK.

[0014] The driver IC 120, under the control of the system controller 110 (more specifically, the MPU 60 described below), controls the driving of the SPM 20 and the VCM 24. The SPM 20 supports and rotates a plurality of disks DK.

[0015] The head amplifier IC 130 includes a read amplifier and a write driver. The read amplifier amplifies a read signal read from the disk DK and outputs it to the system controller 110 (more specifically, a read / write (R / W) channel 140, which will be described later). The write driver outputs a write current corresponding to the signal output from the R / W channel 140 to the head HD.

[0016] The volatile memory 70 is a semiconductor memory in which stored data is lost when the power supply is cut off. The volatile memory 70 stores data and the like required for processing in each part of the magnetic disk device 1. The volatile memory 70 is, for example, a dynamic random access memory (DRAM) or a synchronous dynamic random access memory (SDRAM).

[0017] The buffer memory 80 is a semiconductor memory that temporarily records data and the like transmitted and received between the magnetic disk device 1 and the host 100. The buffer memory 80 may be configured integrally with the volatile memory 70. The buffer memory 80 is, for example, a DRAM, a static random access memory (SRAM), a SDRAM, a ferroelectric random access memory (FeRAM), or a magnetoresistive random access memory (MRAM).

[0018] The non-volatile memory 90 is a semiconductor memory that records stored data even if the power supply is cut off. The non-volatile memory 90 is, for example, a NOR type or NAND type flash ROM (Flash Read Only Memory: FROM).

[0019] In this embodiment, the non-volatile memory 90 functions as a storage unit that stores various tables, etc. For example, the non-volatile memory 90 stores a reference table TL1 having a plurality of reference numbers of times, an adjustment table TL2 having a plurality of adjustment values, a read retry table TL3 having a read retry threshold value, and a head characteristic table TL4 having a head characteristic threshold value.

[0020] The storage unit for storing the various tables and the like is not limited to the non-volatile memory 90, but may be any recording unit within the magnetic disk device 1, such as the system area S.

[0021] The system controller (controller) 110 is realized, for example, by using a large scale integrated circuit (LSI) called a System-on-a-Chip (SoC) in which multiple elements are integrated on a single chip. The system controller 110 includes a read / write (R / W) channel 140, a hard disk controller (HDC) 150, and a microprocessor (MPU) 60. The system controller 110 is electrically connected to a driver IC 120, a head amplifier IC 130, a volatile memory 70, a buffer memory 80, a non-volatile memory 90, and a host 100.

[0022] The R / W channel 140 executes signal processing of read data transferred from the disk DK to the host 100 and write data transferred from the host 100 in response to instructions from the MPU 60 described later. The R / W channel 140 has a circuit or function for modulating write data. The R / W channel 140 also has a circuit or function for measuring the signal quality of the read data. The R / W channel 140 is electrically connected to, for example, the head amplifier IC 130, the HDC 150, the MPU 60, etc.

[0023] The HDC 150 controls data transfer between the host 100 and the R / W channel 140 in response to instructions from the MPU 60, which will be described later. The HDC 150 is electrically connected to, for example, the R / W channel 140, the MPU 60, the volatile memory 70, the buffer memory 80, the non-volatile memory 90, and the like.

[0024] The MPU 60 is a control unit that controls each part of the magnetic disk device 1, and is a main controller. The MPU 60 controls the VCM 24 via the driver IC 120, and executes servo control for positioning the head HD. The MPU 60 controls the write operation of data to the disk DK, and selects a storage destination for write data transferred from the host 100. The MPU 60 also controls the read operation of data from the disk DK, and controls the processing of read data transferred from the disk DK to the host 100. The MPU 60 is connected to each part of the magnetic disk device 1. The MPU 60 is electrically connected to, for example, the driver IC 120, the R / W channel 140, the HDC 150, and the like.

[0025] The MPU 60 includes a read / write processing unit 61, a detection unit 62, an adjustment unit 63, a counter 64, a judgment unit 65, and a refresh processing unit 66. The MPU 60 executes the processing of each of these units, for example, the read / write processing unit 61, the detection unit 62, the adjustment unit 63, the counter 64, the judgment unit 65, the refresh processing unit 66, etc., on firmware. Note that the MPU 60 may include each of these units as a circuit.

[0026] The read / write processing unit 61 has a write processing unit 61a and a read processing unit 61b. In accordance with a command from the host 100, the write processing unit 61a controls the write processing of data to the recording layer Y of the disk DK, and the read processing unit 61b controls the read processing of data from the recording layer Y of the disk DK. The read / write processing unit 61 controls the VCM 24 via the driver IC 120, positions the head HD at a target position (predetermined radial position) on the disk DK, and executes the read processing or the write processing.

[0027] The detection unit 62 can detect the state of the recording layer Y of the disk DK and the characteristics of the head HD. For example, the detection unit 62 can detect normality information indicating that the state of the recording layer Y and the characteristics of the head HD are normal. The detection unit 62 may detect abnormality information indicating that one of the state of the recording layer Y and the characteristics of the head HD is abnormal.

[0028] The state of the recording layer Y of the disk DK refers to the ease of reading data from the recording layer Y, which is based on both the physical and magnetic states of the recording layer Y and the characteristics of the head HD. For example, the detection unit 62 can detect whether the data on the recording layer Y is recoverable. That the data on the recording layer Y is recoverable means that the refresh process can be performed satisfactorily (the original data on the recording layer Y can be read and the original data can be rewritten to the recording layer Y). That the data on the recording layer Y is unrecoverable means that the refresh process cannot be performed satisfactorily (the original data on the recording layer Y cannot be read). Furthermore, the detection section 62 can detect whether or not the data requires a read retry when it is read. Furthermore, the detection section 62 can detect whether or not the data requires a read retry during refresh processing.

[0029] The detection unit 62 detecting the characteristics of the head HD means detecting the read characteristic value and the write characteristic value of the head HD. The read characteristic value is a value indicating the characteristics of the read process of the head HD, and the write characteristic value is a value indicating the characteristics of the write process of the head HD. For example, the read characteristic value can be obtained by measuring the error rate of the read process, and the write characteristic value can be obtained by measuring the error rate of the write process. The characteristics of the head HD change when the head HD comes into contact with the disk DK and is damaged, or when the head HD deteriorates over time. Therefore, the detection unit 62 can detect the characteristics (e.g., error rate) of the head HD. The detection unit 62 can detect the characteristics of the head HD immediately (initial stage) after the magnetic disk device 1 starts to be used. In addition, after the magnetic disk device 1 starts to be used, the detection unit 62 can periodically detect the characteristics of the head HD. In this way, the detection unit 62 can periodically detect the amount of deterioration in the characteristics of the head HD.

[0030] The detection section 62 can detect the first abnormality information when the data on the recording layer Y becomes unrecoverable. The detection unit 62 can detect the second abnormality information when the number of times the read processing unit 61b reads the same data on the recording layer Y exceeds the read retry threshold value of the read retry table TL3. For example, the first read retry can be performed under the same conditions, and the second read retry can be performed with an offset. The detection section 62 can detect the third abnormality information when the refresh processing section 66 retries reading the data on the recording layer Y. The detection section 62 can detect the fourth abnormality information when the deterioration amount α of the characteristics of the head HD exceeds the head characteristic threshold value of the head characteristic table TL4.

[0031] When the adjustment unit 63 detects normal information, it does not update each adjustment value in the adjustment table TL2, but adjusts each reference number in the reference table TL1 to the guaranteed write number. In this case, the guaranteed write number has the same value as the reference number. When abnormality information is detected, the adjustment unit 63 updates the corresponding adjustment value among the multiple adjustment values ​​in the adjustment table TL2, and adjusts the corresponding reference number among the multiple reference numbers in the reference table TL1 to the guaranteed write number based on the corresponding adjustment value. In this case, the guaranteed write number has a different value from the reference number.

[0032] For example, when abnormality information is detected by the detection unit 62, the guaranteed write count adjusted based on the updated adjustment value is a smaller value than the corresponding reference count. By detecting the abnormality information, the MPU 60 can predict the area of ​​the recording layer Y where a read error is likely to occur. Here, the occurrence of a read error means an unrecovery state. The MPU 60 can adjust only the guaranteed write count corresponding to the area where a read error is expected to occur, out of the multiple guaranteed write counts, to a smaller value. This allows the MPU 60 to avoid read errors in the data of the recording layer Y while minimizing performance degradation caused by the initiation of a refresh.

[0033] 1 and 4, the counter 64 counts the number of writes to the target sector (sector SCav) every time data is written to adjacent sectors (sector SCa(v-1) and sector SCa(v+1)) adjacent to the target sector (sector SCav) in the recording layer Y in the radial direction dr1, and records the number of writes in the non-volatile memory 90 (storage unit). In other words, the counter 64 can update the total number of writes to the target sector (sector SCav).

[0034] For example, the non-volatile memory 90 (storage unit) may further store a plurality of count addition coefficients. In this case, the counter 64 can count the number of writes based on the plurality of count addition coefficients. For example, when data is written to an adjacent sector (sector SCa(v-1)), if the influence of ATI (Adjacent Track Interference) on the target sector (sector SCav) is small, the counter 64 can select a count addition coefficient of "1" from the non-volatile memory 90 and count the number of writes of the target sector (sector SCav) as "1".

[0035] As shown in Figures 1 and 5, on the other hand, if the ATI effect on the target sector (sector SCav) is large when data is written to an adjacent sector (sector SCa(v-1)), the counter 64 can select a count addition coefficient of "1.5" from the non-volatile memory 90 and count the number of writes to the target sector (sector SCav) as "1.5". When data is written to sector SCa(v-1), counter 64 increments the total number of writes to sector SCav, for example by adding "1", but updates the total number of writes to sector SCa(v-1) to "1".

[0036] As shown in FIG. 1, the judgment unit 65 can judge whether or not the total number of writes recorded in the non-volatile memory 90 (storage unit) has exceeded the guaranteed number of writes. 1 and 4, the refresh processing unit 66 can perform a refresh process when the total number of writes to the target sector (sector SCav) exceeds the above-mentioned guaranteed number of writes. That is, the refresh processing unit 66 can read the target data of the target sector (sector SCav), rewrite the target data to the target sector, and reset the number of writes of the target sector recorded in the non-volatile memory 90 (storage unit) to "0".

[0037] FIG. 2 is a perspective view showing a part of the magnetic disk device 1, and shows a plurality of disks DK and a plurality of heads HD. As shown in FIG. 2, the direction in which the disk DK rotates in the circumferential direction is referred to as the rotation direction dr3. In the example shown in FIG. 2, the rotation direction is shown counterclockwise, but it may be the opposite direction (clockwise). The moving direction dr2 of the head HD relative to the disk DK is opposite to the rotation direction dr3. The moving direction dr2 is the direction in which the head HD sequentially writes and reads data to the disk DK in the circumferential direction, that is, the direction in which the head HD moves relative to the disk DK in the circumferential direction. In the radial direction dr1 of the disk DK, the direction toward the outer periphery of the disk DK is referred to as the outward direction (outside), and the opposite direction to the outward direction is referred to as the inward direction (inside).

[0038] The magnetic disk device 1 includes i disks, disks DK1 through DKi, and j heads, heads HD1 through HDj. In this embodiment, the number of heads HD is twice the number of disks DK (j=2·i). The disks DK1 to DKi are provided coaxially and stacked with a gap between them. The disks DK1 to DKi have the same diameter. Here, terms such as "same," "identical," "matched," and "equivalent" not only mean exactly the same, but also mean different enough to be considered substantially the same. The disks DK1 to DKi may have different diameters.

[0039] Each of the disks DK has a recording layer Y on both sides. For example, the disk DK1 has a first recording layer Ya1 and a second recording layer Yb1 on the opposite side of the first recording layer Ya1. The disk DK2 has a first recording layer Ya2 and a second recording layer Yb2 on the opposite side of the first recording layer Ya2. The disk DKi has a first recording layer Yai and a second recording layer Ybi on the opposite side of the first recording layer Yai. Each of the first recording layers Ya may be referred to as a front surface or a recording surface. Each of the second recording layers Yb may be referred to as a back surface or a recording surface.

[0040] As described above, the magnetic disk device 1 of the present embodiment is a normal recording type magnetic disk device. Therefore, the user data area U of each recording layer Y is a normal recording area. In the normal recording type magnetic disk device, it is permitted to randomly write data in the user data area U, that is, normal recording is permitted.

[0041] Each recording layer Y has a user data area U and a system area S. The first recording layer Ya1 has a user data area Ua1 and a system area Sa1. The second recording layer Yb1 has a user data area Ub1 and a system area Sb1. The first recording layer Ya2 has a user data area Ua2 and a system area Sa2. The second recording layer Yb2 has a user data area Ub2 and a system area Sb2. The first recording layer Yai has a user data area Uai and a system area Sai. The second recording layer Ybi has a user data area Ubi and a system area Sbi.

[0042] In the user data area Ua1 (first recording layer Ya1), the track between the double dashed lines in the figure is designated as track Ta1. In the user data area Ub1 (second recording layer Yb1), the track located on the opposite side of track Ta1 is designated as track Tb1. In the user data area Ua2 (first recording layer Ya2), the track between the double dashed lines in the figure is designated as track Tc1. In the user data area Ub2 (second recording layer Yb2), the track located on the opposite side of track Tc1 is designated as track Td1. In the user data area Uai (first recording layer Yai), the track between the double dashed lines in the figure is designated as track Te1. In the user data area Ubi (second recording layer Ybi), the track located on the opposite side of track Te1 is designated as track Tf1. In this embodiment, the tracks Ta1, Tb1, Tc1, Td1, Te1, and Tf1 are located on the same cylinder.

[0043] The head HD faces the disk DK. In this embodiment, one head HD faces each recording layer Y of the disk DK. For example, the head HD1 faces the first recording layer Ya1 of the disk DK1, writes data to the first recording layer Ya1, and reads data from the first recording layer Ya1. The head HD2 faces the second recording layer Yb1 of the disk DK1, writes data to the second recording layer Yb1, and reads data from the second recording layer Yb1. The head HD3 faces the first recording layer Ya2 of the disk DK2, writes data to the first recording layer Ya2, and reads data from the first recording layer Ya2. The head HD4 faces the second recording layer Yb2 of the disk DK2, writes data to the second recording layer Yb2, and reads data from the second recording layer Yb2. The head HDj-1 faces the first recording layer Yai of the disk DKi, writes data to the first recording layer Yai, and reads data from the first recording layer Yai. The head HDj faces the second recording layer Ybi of the disk DKi, writes data to the second recording layer Ybi, and reads data from the second recording layer Ybi.

[0044] FIG. 3 is a schematic diagram showing some of the tracks on which normal recording processing is performed. 3, the first recording layer Ya1 of the disc DK1 has tracks Ta1, Ta2, Ta3, ..., Ta(v-1), Tav, Ta(v+1), etc. aligned in the radial direction dr1. In the figure, track Ta1 is located on the outermost OD side of the disc DK1, and track Ta(v+1) is located on the innermost ID side of the disc DK1.

[0045] The track Ta1 has a track width W1 in the radial direction dr1, and a track center C1 at the center of the radial direction dr1. Like the track Ta1, the track Ta2 has a track width W2 and a track center C2, the track Ta3 has a track width W3 and a track center C3, the track Ta(v-1) has a track width W(v-1) and a track center C(v-1), the track Tav has a track width Wv and a track center Cv, and the track Ta(v+1) has a track width W(v+1) and a track center C(v+1). The track widths W1 to W(v+1) are the same. However, the track widths W1 to W(v+1) may be different from each other.

[0046] The tracks Ta1 to Ta(v+1) are arranged at a pitch (normal recording track pitch) Pt in the radial direction dr1. For example, the track center C1 and the track center C2 are separated by a pitch Pt in the radial direction dr1, and the track center C2 and the track center C3 are separated by a pitch Pt in the radial direction dr1. Also, the track center C(v-1) and the track center Cv are separated by a pitch Pt in the radial direction dr1, and the track center Cv and the track center C(v+1) are separated by a pitch Pt in the radial direction dr1. Note that the tracks Ta1 to Ta(v+1) may be arranged at different pitches in the radial direction dr1.

[0047] In a normal recording type magnetic disk device, high density can be achieved by designing the pitch Pt to be narrow in order to increase the storage capacity.

[0048] 3, tracks Ta1 to Ta(v+1) are arranged with gaps g in the radial direction dr1. For example, tracks Ta1 and Ta2 are separated by gap g in the radial direction dr1, and tracks Ta2 and Ta3 are separated by gap g in the radial direction dr1. Tracks Ta(v-1) and Tav are separated by gap g in the radial direction dr1, and tracks Tav and Ta(v+1) are separated by gap g in the radial direction dr1. Tracks Ta1 to Ta(v+1) may be arranged with different gaps between them.

[0049] 3, for convenience of explanation, each track Ta is shown as a rectangle, but in reality, each track Ta is curved along the circumferential direction. Also, each track may be wavy, extending in the circumferential direction while fluctuating in the radial direction dr1.

[0050] When performing normal write processing, the write processing unit 61a positions head HD1 at track center C1 and writes data to track Ta1, positions head HD1 at track center C2 and writes data to track Ta2, positions head HD1 at track center C3 and writes data to track Ta3, positions head HD1 at track center C(v-1) and writes data to track Ta(v-1), positions head HD1 at track center Cv and writes data to track Tav, and positions head HD1 at track center C(v+1) and writes data to track Ta(v+1).

[0051] In the example shown in Figure 3, the write processing unit 61a may perform write processing sequentially on tracks Ta1 to Ta(v+1), or may perform write processing randomly on specified sectors of each of tracks Ta1 to Ta(v+1).

[0052] Fig. 4 is a schematic diagram showing three sectors SCa(v-1), SCav, and SCa(v+1) arranged in the radial direction dr1 of the magnetic disk device 1, and is a diagram for explaining a case where the ATI effect on sector SCav is small. Fig. 5 is a schematic diagram showing the three sectors SCa(v-1), SCav, and SCa(v+1), and is a diagram for explaining a case where the ATI effect on sector SCav is large.

[0053] In Figures 4 and 5, the area where the write process of data for sector SCav was performed is indicated with diagonal lines, and the area where the write process of data for sector SCa(v-1) was performed and the area where the write process of data for sector SCa(v+1) was performed are indicated with dot patterns.

[0054] 4 and 5, the track Tav has a sector SCav. The track Ta(v-1) has a sector SCa(v-1) adjacent to the sector SCav in the radial direction dr1. The track Ta(v+1) has a sector SCa(v+1) adjacent to the sector SCav in the radial direction dr1.

[0055] Hereinafter, the track Tav is referred to as the target track Tav, the track Ta(v-1) is referred to as the adjacent track Ta(v-1), and the track Ta(v+1) is referred to as the adjacent track Ta(v+1). The adjacent track Ta(v+1) is an inner adjacent track located inside the target track Tav. The adjacent track Ta(v-1) is an outer adjacent track located outside the target track Tav.

[0056] Also, sector SCav is called target sector SCav, sector SCa(v-1) is called adjacent sector SCa(v-1), and sector SCa(v+1) is called adjacent sector SCa(v+1). Adjacent sector SCa(v+1) is an inner adjacent sector adjacent to target sector SCav in the radial direction dr1. Adjacent sector SCa(v-1) is an outer adjacent sector adjacent to target sector SCav in the radial direction dr1.

[0057] As shown in FIG. 4, even if a data write process is performed on adjacent sector SCa(v-1) or adjacent sector SCa(v+1), the ATI effect on the data of the target sector SCav may be small.

[0058] As shown in FIG. 5, however, when a write process of data targeted to adjacent sector SCa(v-1) is performed, or when a write process of data targeted to adjacent sector SCa(v+1) is performed, the ATI impact on the data of the target sector SCav or its adjacent areas may become significant.

[0059] Furthermore, when data is written to adjacent sectors SCa(v-1) and SCa(v+1) many times, data is also written (overwritten) to the target sector SCav near the boundary with adjacent sectors SCa(v-1) and SCa(v+1) each time. If the number of writes to adjacent sectors SCa(v-1) and SCa(v+1) increases, there is a risk that the original target data in the target sector SCav cannot be read.

[0060] As described above, the magnetic disk device 1 takes into consideration the ATI effect and performs a refresh process called an ATI refresh operation when the total number of writes to the adjacent sectors SCa(v-1) and SCa(v+1) exceeds the guaranteed number of writes. The process of refreshing the target sector SCav is a process of reading the data of the target sector SCav and rewriting the read data to the target sector SCav. This makes it possible to prevent in advance a situation where the original target data of the target sector SCav cannot be read due to the ATI effect.

[0061] FIG. 6 is a plan view showing the recording layer Y of the disk DK of the magnetic disk device 1, showing a state in which the recording layer Y has a scratch SR. As shown in Fig. 6, ideally, the recording layer Y would have uniform characteristics overall. However, in reality, the recording layer Y may have scratches SR, or the layers that make up the recording layer Y may not be formed to have a uniform thickness overall, resulting in variation in the physical state of the recording layer Y (surface unevenness).

[0062] FIG. 7 is a diagram showing a part of the reference table TL1 shown in FIG. 1, showing a plurality of reference counts etc. corresponding to the first recording layer Ya1. As shown in Fig. 7, the first recording layer Ya1 is divided into m sections in at least one of the radial direction dr1 and the circumferential direction (track direction). The first recording layer Ya1 includes a plurality of partition areas Ad, which are m sections. In this embodiment, the first recording layer Ya1 is divided into m sections in the radial direction dr1 and the circumferential direction (track direction).

[0063] The first recording layer Ya1 is divided into x+1 zones from zone 0 to zone x in the radial direction dr1. The first recording layer Ya1 is divided into p regions from division 1 to division p in the track direction (circumferential direction). Therefore, m=(x+1)×p. Note that p may be any natural number (p≧1).

[0064] The reference table TL1 has m reference counts corresponding to the first recording layer Ya1, which correspond one-to-one to the partition areas Ad. For example, the reference count corresponding to the partition area Ad belonging to division 1 of zone 0 on the first recording layer Ya1 is "1503".

[0065] The values ​​of the multiple reference numbers of times corresponding to the first recording layer Ya1 are not the same. This is because there is variation in the physical state within the surface of the first recording layer Ya1 during the manufacture of the magnetic disk device 1. The values ​​of the multiple reference numbers of times reflect the result of measuring the ATI resistance of some zones of the first recording layer Ya1 during the manufacture. The reference table TL1 is a table set during the manufacture. The values ​​of the multiple reference numbers of times do not reflect the result of measuring the ATI resistance of all zones. In the above example, the ATI resistance of zones 3 to x-1 was not measured.

[0066] For example, by measuring the ATI resistance of the entire plurality of tracks (all circumferences of some tracks) in Zone 0 of the first recording layer Ya1, it is possible to independently set the reference number of times in the p segmented areas Ad of Zone 0. Similarly, by measuring the ATI resistance of the entire plurality of tracks (all circumferences of some tracks) in Zone 1 of the first recording layer Ya1, it is possible to independently set the reference number of times in the p segmented areas Ad of Zone 1, by measuring the ATI resistance of the entire plurality of tracks (all circumferences of some tracks) in Zone 2 of the first recording layer Ya1, it is possible to independently set the reference number of times in the p segmented areas Ad of Zone 2, and by measuring the ATI resistance of the entire plurality of tracks (all circumferences of some tracks) in Zone x of the first recording layer Ya1, it is possible to independently set the reference number of times in the p segmented areas Ad of Zone x. The reference number of times for zones 3 to (x-1) can be set by linearly changing the reference number of times in the radial direction dr1. For example, when focusing on division 1 of the first recording layer Ya1, the reference number of times can be gradually decreased in the radial direction dr1 from the reference number of times "1488" for division 1 of zone 2 to the reference number of times "1202" for division 1 of zone x, thereby setting the reference number of times from the reference number of times for division 1 of zone 3 to the reference number of times for division 1 of zone (x-1).

[0067] ATI resistance is resistance to ATI. By measuring the ATI resistance of a track, it is possible to obtain the number of writes that may cause a read error on the track. At the timing when the power is first turned on to the MPU 60 of the magnetic disk device 1, the reference number in FIG. 7 is the same as the guaranteed number of writes, and the reference number in FIG. 7 is used as the guaranteed number of writes as is. Assuming that the reference number in FIG. 7 is continued to be used as the guaranteed number of writes, a read error may occur. This is because the reference number in FIG. 7 is difficult to cover (1) surface unevenness of the first recording layer Ya1, (2) minor scratches and protrusions that are not registered as bad sectors, (3) scratches on the first recording layer Ya1 after the manufacturing of the magnetic disk device 1 is completed, (4) aging, and (5) concentrated use of a marginal area of ​​the first recording layer Ya1. Here, the marginal area is an area that is about to reach the guaranteed number of writes, an area that is about to be refreshed in time, and an area that is likely to become defective. Sectors in marginal areas are easily damaged and become defective sectors. For example, when read operations are concentrated in a marginal area, the marginal area is physically damaged. When write operations are concentrated in a marginal area, the marginal area is magnetically and physically damaged.

[0068] FIG. 8 is a diagram showing a part of the adjustment table TL2 shown in FIG. 1, showing a plurality of adjustment values ​​corresponding to the first recording layer Ya1, etc. As shown in Fig. 8, the first recording layer Ya1 is divided into n sections in at least one of the radial direction dr1 and the circumferential direction (track direction). The first recording layer Ya1 includes a plurality of adjustment areas Aa, which are n regions. In this embodiment, the first recording layer Ya1 is divided into n sections in the radial direction dr1 and the circumferential direction (track direction). The n is a value greater than the m (n>m).

[0069] The first recording layer Ya1 is divided into x+1 zones from zone 0 to zone x in the radial direction dr1. Each zone is further divided into k+1 regions from division Div0 to division Divk in the radial direction dr1. The first recording layer Ya1 is divided into q regions from division 1 to division q in the track direction (circumferential direction). Therefore, n={(x+1)×(k+1)}×q. Note that the above q is an integer and is a numerical value equal to or greater than the above p (q≧p).

[0070] The adjustment table TL2 has n adjustment values ​​corresponding to the first recording layer Ya1, which correspond one-to-one to the adjustment areas Aa. When the MPU 60 of the magnetic disk device 1 is first powered on, all the adjustment values ​​in the adjustment table TL2 are the same, i.e., "1.00". Therefore, in the example of FIG. 8, the adjustment values ​​are all initially set to "1.00".

[0071] As described above, the magnetic disk device 1 has the adjustment table TL2, which has a higher resolution than the reference table TL1. In other words, the adjustment table TL2 divides the first recording layer Ya1 into smaller parts than the reference table TL1.

[0072] After the timing when the MPU 60 is first powered on, the adjustment unit 63 can update the multiple adjustment values ​​in the adjustment table TL2. When the detection unit 62 detects the first abnormality information, the second abnormality information, the third abnormality information, and the fourth abnormality information, the adjustment unit 63 can update one or more corresponding adjustment values ​​in the adjustment table TL2. Therefore, compared to the case where the reference number of times in the reference table TL1 is adjusted, the guaranteed number of writes of the first recording layer Ya1 can be finely adjusted, and the situation in which refresh is triggered more than necessary can be reduced. In addition, since the guaranteed number of writes can be adjusted based on various abnormality information, read errors of the data of the recording layer Y can be suppressed.

[0073] Next, a case where the detection unit 62 detects the first to fourth abnormality information will be described. Fig. 9 is a diagram showing a part of the first recording layer Ya1 of the disk DK1 of the magnetic disk device 1, and shows a state in which a specific range RA overlaps with one or more adjustment areas Aa.

[0074] First, a case where the detection unit 62 detects the second abnormality information will be described. As shown in FIG. 9 and FIG. 1, the non-volatile memory 90 (storage unit) further stores a weighting coefficient, a length r, and a width l. For example, the weighting coefficient is a second weighting coefficient b, the length r is a second length r2, and the width l is a second width l2. The range RA has a center of gravity CE. The range RA is, for example, a second range RA2. The second range RA2 is a range of the first recording layer Ya1 that has a second length r2 in the radial direction dr1 and a second width l2 in the circumferential direction (track direction).

[0075] The detection unit 62 can detect a severe read retry. A severe read retry is when the number of retries of the read process exceeds a threshold (read retry threshold). A read retry occurs when data written to a track is not written centered on the track center. If the first read process fails, first, the first read retry is performed without offsetting the head HD. If the first read retry also fails, the head HD is offset and the position of the head HD is changed while performing the second and subsequent read retries. In this way, read retries are attempted by changing the conditions of the read process. If the read process fails even after a specific number of read retries, a special recovery read is attempted. If the read process fails even after the special recovery read is attempted, that is, if the number of retries of the read process exceeds the read retry threshold, the data on the recording layer Y becomes unrecoverable.

[0076] For example, the detection unit 62 detects second abnormality information indicating that the number of times the target data of the target sector SCav is read exceeds the read retry threshold of the read retry table TL3. In this case, the adjustment unit 63 positions the second range RA2 so that the center of gravity CE of the second range RA2 is located in the target sector SCav. Then, the adjustment unit 63 multiplies all adjustment values ​​corresponding to all adjustment areas Aa that overlap the second range RA2 among the multiple adjustment areas Aa by the second weighting factor b, and updates each adjustment value multiplied by the second weighting factor b to the second adjustment value.

[0077] In this embodiment, the position of the target sector SCav is located at an address represented by a combination of the head number of "HD1", the track number (cylinder number) of "1000", and the track division (sector number) of "200".

[0078] When a severe read retry occurs in the target sector SCav, the adjustment unit 63 can update the adjustment values ​​of all adjustment areas Aa overlapping with the second range RA2 extending in the radial direction dr1 and circumferential direction around the target sector SCav to the second adjustment value.

[0079] 9, the range RA (second range RA2) overlaps with a total of six adjustment areas Aa in zone 0 of the first recording layer Ya1, including three adjustment areas Aa belonging to divisions 1, 2, and 3 of division Div0, and three adjustment areas Aa belonging to divisions 1, 2, and 3 of division Div1. In the figure, the six adjustment areas Aa are marked with dot patterns.

[0080] The adjustment unit 63 updates the adjustment values ​​corresponding to the six adjustment regions Aa to second adjustment values. Since the adjustment value in the initial state is "1.00", the second adjustment value is an updated value obtained by multiplying the adjustment value in the initial state by b. That is, the second adjustment value = (the adjustment value in the initial state, 1.00) x the second weighting coefficient, b = b. The adjustment unit 63 can update only the second adjustment values ​​corresponding to the six adjustment regions Aa to b. Note that the adjustment unit 63 does not update the adjustment values ​​corresponding to the remaining adjustment regions Aa, and leaves the adjustment values ​​as "1.00".

[0081] For example, if a severe read retry occurs in the target sector SCav, the adjustment unit 63 can update the adjustment value to the second adjustment value, thereby making it possible to suppress the occurrence of severe read retries in the surrounding area of ​​the target sector SCav.

[0082] Next, a case where the detection unit 62 detects the first abnormality information will be described. 9 and 1, for example, the non-volatile memory 90 (storage unit) further stores a first weighting coefficient a, a first length r1, and a first width l1. For example, the weighting coefficient is the first weighting coefficient a, the length r is the first length r1, the width l is the first width l1, and the range RA is the first range RA1. The first range RA1 is a range of the first recording layer Ya1 that has a first length r1 in the radial direction dr1 and a first width l1 in the circumferential direction (track direction).

[0083] The detection unit 62 can detect sectors that have become unrecovered. Here, the unrecovered state refers to a state in which the data on the recording layer Y is unrecoverable. The data on the recording layer Y being unrecoverable means that the refresh process cannot be performed satisfactorily (the original data on the recording layer Y cannot be read). For example, the detection unit 62 detects first abnormality information indicating that the target data of the target sector SCav has become unrecoverable. In this case, the adjustment unit 63 positions the first range RA1 so that the center of gravity CE of the first range RA1 is located in the target sector SCav. Then, the adjustment unit 63 multiplies all adjustment values ​​corresponding to all adjustment areas Aa that overlap the first range RA1 among the multiple adjustment areas Aa by the first weighting coefficient a, and updates each adjustment value multiplied by the first weighting coefficient a to the first adjustment value.

[0084] If a read error occurs in the target sector SCav, the adjustment unit 63 can update the adjustment values ​​of all adjustment areas Aa that overlap with the first range RA1 that extends in the radial direction dr1 and circumferential direction around the target sector SCav to the first adjustment value.

[0085] The adjustment unit 63 updates the adjustment value corresponding to the adjustment area Aa overlapping the first range RA1 to the first adjustment value. Since the adjustment value is "1.00" in the initial state, the first adjustment value is an updated value obtained by multiplying the adjustment value in the initial state by a. That is, the first adjustment value = (1.00, which is the adjustment value in the initial state) x a, which is the first weighting coefficient, = a. The adjustment unit 63 can update only the adjustment value corresponding to the adjustment area Aa overlapping the first range RA1 to a. Note that the adjustment unit 63 does not update the adjustment value corresponding to the remaining adjustment areas Aa, and leaves the adjustment value at "1.00".

[0086] For example, when the target sector SCav becomes unrecovered, the target sector SCav is excluded from the targets of read and write processes thereafter, and the target sector SCav is replaced by an alternative sector in the spare area. Although the target sector SCav cannot be restored, the adjustment unit 63 can update the adjustment value to the first adjustment value. This can suppress the occurrence of sectors in the surrounding area of ​​the target sector SCav becoming unrecovered. For example, when the target sector SCav is in an area with a scratch SR in FIG. 6, it can suppress the occurrence of other sectors in the area with the scratch SR becoming unrecovered. Scratches on the disk DK can include scratches SR that are already present at the beginning of use of the magnetic disk device 1, and scratches that occur after the magnetic disk device 1 starts to be used. There may be other reasons besides scratches that the surrounding area of ​​the target sector SCav may be prone to an unrecovered state. For example, the characteristics of the head HD may deteriorate, making it difficult to read data from the recording layer Y as a whole. In that case, the area of ​​the recording layer Y that did not originally have good characteristics may be prone to an unrecovered state. Alternatively, the write process may be concentrated in a specific area of ​​the recording layer Y.

[0087] Next, a case where the detection unit 62 detects the third abnormality information will be described. 9 and 1, for example, the non-volatile memory 90 (storage unit) further stores a third weighting factor c, a third length r3, and a third width l3. For example, the weighting factor is the third weighting factor c, the length r is the third length r3, the width l is the third width l3, and the range RA is the third range RA3. The third range RA3 is a range of the first recording layer Ya1 that has the third length r3 in the radial direction dr1 and the third width l3 in the circumferential direction (track direction).

[0088] The detection unit 62 can detect that a read retry has occurred during the refresh process. For example, the detection unit 62 detects third abnormality information indicating that the read of the target data of the target sector SCav has been retried. In this case, the adjustment unit 63 positions the third range RA3 so that the center of gravity CE of the third range RA3 is located in the target sector SCav. Then, the adjustment unit 63 multiplies all adjustment values ​​corresponding to all adjustment areas Aa that overlap the third range RA3 among the multiple adjustment areas Aa by the third weighting factor c, and updates each adjustment value multiplied by the third weighting factor c to the third adjustment value.

[0089] If a read retry occurs during the refresh process of the target sector SCav, the adjustment unit 63 can update the adjustment values ​​of all adjustment areas Aa that overlap with the third range RA3 extending in the radial direction dr1 and circumferential direction around the target sector SCav to the third adjustment value.

[0090] The adjustment unit 63 updates the adjustment value corresponding to the adjustment area Aa overlapping the third range RA3 to the third adjustment value. Since the adjustment value is "1.00" in the initial state, the third adjustment value is an updated value obtained by multiplying the adjustment value in the initial state by c. That is, the third adjustment value = (1.00, which is the adjustment value in the initial state) x c, which is the third weighting coefficient, = c. The adjustment unit 63 can update only the adjustment value corresponding to the adjustment area Aa overlapping the third range RA3 to c. Note that the adjustment unit 63 does not update the adjustment value corresponding to the remaining adjustment areas Aa, and leaves the adjustment value at "1.00".

[0091] For example, if a read retry occurs during the refresh process of the target sector SCav, the adjustment unit 63 can update the adjustment value to the third adjustment value. This can suppress the occurrence of read retries during the refresh process in the surrounding area of ​​the target sector SCav. For example, if the target sector SCav is in the area with the damaged SR in FIG. 6, it can suppress the occurrence of read retries during the refresh process in other sectors in the area with the damaged SR.

[0092] The guaranteed write count is a value obtained by dividing the reference count in the reference table TL1 by the adjustment value in the adjustment table TL2. The guaranteed write count adjusted based on the above-mentioned first adjustment value is set as the first guaranteed write count. The guaranteed write count adjusted based on the above-mentioned third adjustment value is set as the third guaranteed write count. Then, for example, the first guaranteed write count is less than the third guaranteed write count. In this case, the relationship between the first weighting coefficient a and the third weighting coefficient c is a>c>+1.00. However, the magnitude relationship between the first weighting coefficient a and the third weighting coefficient c, and the magnitude relationship between the first guaranteed write count and the third guaranteed write count are not limited to the above examples, and can be modified in various ways.

[0093] Next, a case where the detection section 62 detects the fourth abnormality information will be described. 9 and 1, for example, the non-volatile memory 90 (storage unit) further stores a fourth weighting factor d, a fourth length r4, and a fourth width l4. For example, the weighting factor is the fourth weighting factor d, the length r is the fourth length r4, the width l is the fourth width l4, and the range RA is the fourth range RA4. The fourth range RA4 is a range of the first recording layer Ya1 that has a fourth length r4 in the radial direction dr1 and a fourth width l4 in the circumferential direction (track direction).

[0094] The detection unit 62 can detect an error in the head HD. For example, the detection unit 62 detects fourth abnormality information indicating that the deterioration amount of the characteristics of the head HD1 exceeds the head characteristic threshold value of the head characteristic table TL4. In this case, the adjustment unit 63 positions the fourth range RA4 so that the center of gravity CE of the fourth range RA4 is located in a specific sector SCa. Then, the adjustment unit 63 multiplies all adjustment values ​​corresponding to all adjustment areas Aa that overlap the fourth range RA4 among the multiple adjustment areas Aa by a fourth weighting factor d, and updates each adjustment value multiplied by the fourth weighting factor d to a fourth adjustment value.

[0095] The detection unit 62 can detect errors in the head HD by measuring the characteristics of the head HD at regular intervals.

[0096] If an error occurs in head HD1, the adjustment unit 63 can update the adjustment values ​​of all adjustment areas Aa that overlap with a fourth range RA4 extending in the radial direction dr1 and circumferential direction around a specific sector SCa to a fourth adjustment value.

[0097] The adjustment unit 63 updates the adjustment value corresponding to the adjustment area Aa overlapping the fourth range RA4 to a fourth adjustment value. Since the adjustment value is "1.00" in the initial state, the fourth adjustment value is an updated value obtained by multiplying the adjustment value in the initial state by d. That is, the fourth adjustment value = (1.00, which is the adjustment value in the initial state) x d, which is the fourth weighting coefficient, = d. The adjustment unit 63 can update only the adjustment value corresponding to the adjustment area Aa overlapping the fourth range RA4 to d. Note that the adjustment unit 63 does not update the adjustment value corresponding to the remaining adjustment areas Aa, and leaves the adjustment value at "1.00".

[0098] In this embodiment, the fourth range RA4 overlaps all of the adjustment areas Aa of the first recording layer Ya1. Therefore, when the detection unit 62 detects the fourth abnormality information, the adjustment unit 63 can update all of the adjustment values ​​in the adjustment table TL2 to the fourth adjustment value. As described above, it is possible to suppress the occurrence of head errors. In this embodiment, the fourth range RA4 is the largest among the first range RA1 to the fourth range RA4.

[0099] Here, the deterioration amount of the characteristics of the head HD is denoted as α. The guaranteed write count adjusted based on the above-mentioned fourth adjustment value is denoted as the fourth guaranteed write count. The fourth guaranteed write count is a value obtained by dividing the reference count in the reference table TL1 by the product of the fourth adjustment value (e.g., d) and the above-mentioned α.

[0100] As described above, the adjustment unit 63 can update the adjustment value every time the detection unit 62 detects the first to fourth abnormality information. For example, if the detection unit 62 detects the first abnormality information again in the adjustment area Aa where the adjustment value has already been updated to the first adjustment value "a", the adjustment unit 63 multiplies the first adjustment value "a" by the first weighting coefficient a and updates the first adjustment value to "a". 2 " can be further updated. Furthermore, since the timing for initiating refresh can be accelerated around the area where the abnormality has occurred, errors in reading data from the first recording layer Ya1 can be avoided. The magnetic disk device 1 of this embodiment is configured as described above.

[0101] 10 and 11 are flow charts for explaining the refresh processing method applied to the magnetic disk device 1. 10, 1, and 4, when the refresh processing method is started, first, in step St1, the write processing unit 61a performs a write process on the sector SCa(v-1), and in step St2, the detection unit 62 acquires information on the sector SCa(v-1) that has been written. Then, in step St3, the counter 64 acquires a write counter value, and in step St4, the adjustment unit 63 acquires an adjustment value (ATI addition value) from the adjustment table TL2.

[0102] Next, in step St5, the counter 64 obtains a reference number from the reference table TL1, and obtains a count addition coefficient from the non-volatile memory 90 (storage unit). As a result, in step St6, the counter 64 counts the number of writes to the sector SCav as "1.0", "1.5", etc., as described above, and updates the total number of writes to the sector SCav (write count value).

[0103] As shown in Figures 11, 1, and 4, in step St7, it is then determined whether the total number of writes to the sector SCav exceeds the guaranteed number of writes (the value obtained by dividing the reference number by the adjustment value). If the total number of writes does not exceed the guaranteed number of writes (step St7), the refresh processing method is terminated without initiating a refresh.

[0104] On the other hand, if the total number of writes exceeds the guaranteed number of writes (step St7), the process proceeds to step St8, where the refresh processing unit 66 acquires information about the sector SCa for which the number of writes has been counted. Then, in step St9, the refresh processing unit 66 performs a read verify and acquires data to be rewritten to the sector SCa. Then, in step St10, the refresh processing unit 66 rewrites the original data of the sector SCa to the sector SCa.

[0105] Then, in step St10, the refresh processing unit 66 resets the write count of the sector SCa recorded in the non-volatile memory 90 (storage unit) to "0" times, and ends the refresh processing method. The total write count of the sector SCa also becomes "0". As described above, if the total write count exceeds the guaranteed write count, a refresh can be initiated and the refresh processing method can be ended.

[0106] A method for adjusting the guaranteed number of writes will now be described with reference to a flowchart shown in FIG. 12 and 1, when an event occurs and the method for adjusting the guaranteed write count is started, first, in step Sp1, the adjustment value of the adjustment table TL2 is "1.00" and the range RA is not set. Next, in step Sp2, it is determined whether the detection unit 62 has detected first abnormality information.

[0107] If the detection unit 62 detects the first abnormality information (step Sp2), the process proceeds to step Sp3, in which the adjustment unit 63 updates the weighting coefficient to a first weighting coefficient a, updates the length r to a first length r1, and updates the width l to a first width l1, and the process proceeds to step Sp10. On the other hand, if the detection unit 62 has not detected the first abnormality information (step Sp2), the process proceeds to step Sp4, where it is determined whether the detection unit 62 has detected the second abnormality information.

[0108] If the detection unit 62 detects second abnormality information (step Sp4), the process proceeds to step Sp5, where the adjustment unit 63 updates the weighting coefficient to a second weighting coefficient b, updates the length r to a second length r2, and updates the width l to a second width l2, and then proceeds to step Sp10. On the other hand, if the detection unit 62 has not detected the second abnormality information (step Sp4), the process proceeds to step Sp6, where it is determined whether the detection unit 62 has detected the third abnormality information.

[0109] If the detection unit 62 detects third abnormality information (step Sp6), the process proceeds to step Sp7, in which the adjustment unit 63 updates the weighting coefficient to a third weighting coefficient c, updates the length r to a third length r3, and updates the width l to a third width l3, and the process proceeds to step Sp10. On the other hand, if the detection unit 62 has not detected the third abnormality information (step Sp6), the process proceeds to step Sp8, where it is determined whether the detection unit 62 has detected the fourth abnormality information.

[0110] If the detection unit 62 detects the fourth abnormality information (step Sp8), the process proceeds to step Sp9, in which the adjustment unit 63 updates the weighting coefficient to a fourth weighting coefficient d, updates the length r to a fourth length r4, and updates the width l to a fourth width l4, and the process proceeds to step Sp10. On the other hand, if the detection unit 62 does not detect the fourth abnormality information (step Sp8), the process proceeds to step Sp10.

[0111] Next, in step Sp10, the adjustment unit 63 extracts all adjustment values ​​within the range RA around the location where the event occurred. After that, in step Sp11, the adjustment unit 63 updates all the extracted adjustment values ​​to "a", "b", "c", or "d". This ends the adjustment method for the guaranteed write count. Note that if the detection unit 62 does not detect any of the first to fourth abnormality information (step Sp8), the adjustment method for the guaranteed write count may end as it is without proceeding to step Sp10.

[0112] According to the magnetic disk device 1 and the method for adjusting the guaranteed write count configured as described above, the magnetic disk device 1 has a reference table TL1 having a plurality of reference counts. If the reference counts are continued to be used as the guaranteed write count, there is a risk that the ATI refresh operation will not be able to keep up.

[0113] Therefore, the magnetic disk device 1 further includes an adjustment table TL2 having a plurality of adjustment values. The adjustment table TL2 has a higher resolution than the reference table TL1. After the manufacture of the magnetic disk device 1 is completed and during the period when the magnetic disk device 1 is being used by a user, the adjustment unit 63 can update the adjustment table TL2 and adjust the guaranteed number of writes based on the first to fourth abnormality information detected by the detection unit 62. The adjustment unit 63 can independently adjust the guaranteed number of writes for each subdivided region (adjustment region Aa) of the recording layer Y. When any one of the first to fourth abnormality information is detected, the adjustment unit 63 can adjust the guaranteed number of writes for all adjustment regions Aa that overlap the range RA among the plurality of adjustment regions Aa. The adjustment unit 63 can increase the frequency of the refresh process only in areas where read errors are likely to occur (adjustment areas Aa). This makes it possible to avoid read errors in the data on the recording layer Y. Furthermore, when adjusting the guaranteed write count, the adjustment unit 63 adjusts the guaranteed write count only for the minimum adjustment area Aa among the multiple adjustment areas Aa. Since the guaranteed write count is not adjusted more than necessary, it is possible to minimize the initiation of refresh processes that cause delays in command processing, and to minimize performance deterioration of the magnetic disk device 1. From the above, it is possible to obtain a magnetic disk device 1 capable of adjusting the guaranteed write count and a method for adjusting the guaranteed write count.

[0114] Although the above embodiment of the present invention has been described, the above embodiment is presented as an example and is not intended to limit the scope of the invention. The above novel embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. The above embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims.

[0115] For example, the above-mentioned technology may be applied to a magnetic disk device of a shingled recording type and a magnetic disk device of a hybrid recording type that selectively executes a normal recording type and a shingled recording type. For example, in the hybrid recording type, the user data area U of the recording layer Y has a shingled recording area on the inner circumference side, and a normal recording area on the outer circumference side of the shingled recording area. This normal recording area may be called a conventional zone, and may be an area where data that is frequently rewritten, such as system files and metadata, is recorded. [Explanation of symbols]

[0116] 1...magnetic disk device, 60...MPU, 61...read / write processing unit, 62...detection unit, 63...adjustment unit, 64...counter, 65...judgment unit, 66...refresh processing unit, 70...volatile memory, 80...buffer memory, 90...non-volatile memory, 100...host, 110...system controller, 120...driver IC, 130...head amplifier IC, 140...R / W channel, 150...HDC, DK...disk, Y...recording layer, SCa...sector, Aa...adjustment area, Ad...division area, HD...head, RA...range, l...width, r...length, CE...center of gravity, TL1...reference table, TL2...adjustment table, TL3...read retry table, TL4...head characteristics table, a,b,c,d...weighting coefficients, dr1...radial direction, dr2...traveling direction, dr3...rotational direction.

Claims

1. A disk having a recording layer, the recording layer including a plurality of partition areas which correspond to the m areas when the recording layer is partitioned into m areas in at least one of a radial direction and a circumferential direction, and a plurality of adjustment areas which correspond to the n areas when the recording layer is partitioned into n areas, which is greater than the m areas, in the at least one of the radial direction and the circumferential direction; a head that writes data to the recording layer and reads data from the recording layer; a storage unit that stores a reference table having a plurality of reference times corresponding to the recording layer and an adjustment table having a plurality of adjustment values ​​corresponding to the recording layer, the plurality of reference times being m in number and corresponding one-to-one to the plurality of partitioned areas, and the plurality of adjustment values ​​being n in number and corresponding one-to-one to the plurality of adjustment areas; A control unit, The control unit is a detection unit for detecting a state of the recording layer and a characteristic of the head; an adjustment unit that, when the detection unit detects normal information indicating that the state and the characteristic are normal, does not update each of the adjustment values ​​and adjusts each of the reference numbers to a guaranteed write number having the same numerical value as the reference number, and, when the detection unit detects abnormal information indicating that one of the state and the characteristic is abnormal, updates a corresponding adjustment value among the plurality of adjustment values ​​and adjusts the corresponding reference number among the plurality of reference numbers to the guaranteed write number having a numerical value different from the reference number based on the corresponding adjustment value; a counter that counts the number of writes to the target sector each time data is written to an adjacent sector adjacent to the target sector in the radial direction of the recording layer, and records the number of writes to the storage unit; a determination unit that determines whether or not the total number of writes recorded in the storage unit exceeds the guaranteed number of writes; a refresh processing unit that, when the total exceeds the guaranteed number of writes, reads the target data of the target sector, rewrites the target data to the target sector, and resets the number of writes of the target sector recorded in the storage unit. Magnetic disk device.

2. The storage unit further stores a first weighting factor; the detection unit detects first abnormality information when data in the recording layer becomes unrecoverable, In the recording layer, a range having a first length in the radial direction and a first width in the circumferential direction is defined as a first range, When the detection unit detects the first abnormality information indicating that the target data of the target sector has become unrecoverable, the adjustment unit positions the first range so that a center of gravity of the first range is located in the target sector, multiplies all adjustment values ​​corresponding to all adjustment areas among the plurality of adjustment areas that overlap the first range by the first weighting coefficient, and updates each of the adjustment values ​​multiplied by the first weighting coefficient to a first adjustment value.

2. The magnetic disk drive according to claim 1.

3. The control unit is a read processing unit that reads data from the recording layer, the storage unit further stores a second weighting factor and a read retry table having a read retry threshold; the detection unit detects second abnormality information when the number of times the read processing unit reads the same data of the recording layer exceeds the read retry threshold; In the recording layer, a range having a second length in the radial direction and a second width in the circumferential direction is defined as a second range, When the detection unit detects the second abnormality information indicating that the number of times the target data of the target sector is read has exceeded the read retry threshold, the adjustment unit positions the second range so that a center of gravity of the second range is located in the target sector, multiplies all adjustment values ​​corresponding to all adjustment areas among the plurality of adjustment areas that overlap the second range by the second weighting coefficient, and updates each of the adjustment values ​​multiplied by the second weighting coefficient to a second adjustment value.

2. The magnetic disk drive according to claim 1.

4. The storage unit further stores a third weighting factor; the detection unit detects third abnormality information when the refresh processing unit retries reading the data of the recording layer, In the recording layer, a range having a third length in the radial direction and a third width in the circumferential direction is defined as a third range, When the detection unit detects the third abnormality information indicating that reading of the target data in the target sector has been retried, the adjustment unit positions the third range so that a center of gravity of the third range is located in the target sector, multiplies all adjustment values ​​corresponding to all adjustment areas among the plurality of adjustment areas that overlap the third range by the third weighting coefficient, and updates each of the adjustment values ​​multiplied by the third weighting coefficient to a third adjustment value.

2. The magnetic disk drive according to claim 1.

5. The storage unit further stores a first weighting factor; the detection unit detects first abnormality information when data in the recording layer becomes unrecoverable, In the recording layer, a range having a first length in the radial direction and a first width in the circumferential direction is defined as a first range, When the detection unit detects the first abnormality information indicating that the target data of the target sector has become unrecoverable, the adjustment unit positions the first range so that a center of gravity of the first range is located in the target sector, multiplies all adjustment values ​​corresponding to all adjustment areas among the plurality of adjustment areas that overlap the first range by the first weighting coefficient, and updates each of the adjustment values ​​multiplied by the first weighting coefficient to a first adjustment value; the guaranteed write count is a numerical value obtained by dividing the reference count by the adjustment value, Let a be the first weighting coefficient, c be the third weighting coefficient, the guaranteed write count adjusted based on the first adjustment value be the first guaranteed write count, and the guaranteed write count adjusted based on the third adjustment value be the third guaranteed write count, a>c>+1, the first guaranteed number of writes is less than the third guaranteed number of writes; 5. The magnetic disk drive according to claim 4.

6. the storage unit further stores a fourth weighting coefficient and a head characteristic table having a head characteristic threshold value; the detection unit detects fourth abnormality information when an amount of deterioration in the characteristics of the head exceeds the head characteristic threshold value; In the recording layer, a range having a fourth length in the radial direction and a fourth width in the circumferential direction is defined as a fourth range, When the detection unit detects the fourth abnormality information indicating that the deterioration amount of the head characteristics has exceeded the head characteristic threshold value, the adjustment unit positions the fourth range so that a center of gravity of the fourth range is located in a specific sector, multiplies all adjustment values ​​corresponding to all adjustment areas among the plurality of adjustment areas that overlap the fourth range by the fourth weighting coefficient, and updates each of the adjustment values ​​multiplied by the fourth weighting coefficient to a fourth adjustment value.

2. The magnetic disk drive according to claim 1.

7. the fourth area overlaps all the adjustment areas of the recording layer, When the detection unit detects the fourth abnormality information, The adjustment unit updates all adjustment values ​​in the adjustment table to the fourth adjustment value.

7. The magnetic disk drive according to claim 6.

8. Let d be the fourth weighting coefficient, α be the amount of deterioration in the characteristics of the head, and the guaranteed number of writes adjusted based on the fourth adjustment value be a fourth guaranteed number of writes. the fourth guaranteed write count is a numerical value obtained by dividing the reference count by the product of the fourth adjustment value and α, 7. The magnetic disk drive according to claim 6.

9. When the detection unit detects abnormality information, the guaranteed write count adjusted based on the updated adjustment value is a smaller value than the corresponding reference count.

2. The magnetic disk drive according to claim 1.

10. a head for writing data to the recording layer and reading data from the recording layer; and a storage unit for storing a reference table having a reference number of times corresponding to the recording layer and an adjustment table having a reference value of a reference value corresponding to the recording layer, the reference number being m, and the adjustment value being n, the reference number being one of the reference numbers and corresponding to the partitioned areas, and the adjustment value being one of the reference numbers and corresponding to the adjustment areas, Detecting the state of the recording layer and the characteristics of the head; when detecting normal information indicating that the state and the characteristic are normal, adjusting each of the reference numbers to a guaranteed write number having the same numerical value as the reference number without updating each of the adjustment values, and when detecting abnormal information indicating that one of the state and the characteristic is abnormal, updating a corresponding adjustment value among the plurality of adjustment values ​​and adjusting the corresponding reference number among the plurality of reference numbers to the guaranteed write number having a numerical value different from the reference number based on the corresponding adjustment value, counting the number of writes to the target sector each time data is written to an adjacent sector adjacent to the target sector in the radial direction of the recording layer, and recording the number of writes in the storage unit; determining whether the total number of writes recorded in the storage unit has exceeded the guaranteed number of writes; when the total exceeds the guaranteed number of writes, reading the target data of the target sector, rewriting the target data to the target sector, and resetting the number of writes of the target sector recorded in the storage unit; How to adjust the guaranteed write count.

Citation Information

Patent Citations

  • Method of setting upper limit value of number of write times and magnetic disk device

    US10546601B1

  • Disk drive and write control method therein

    US20100188767A1

  • Magnetic disk device and control method for magnetic disk device

    US20220076695A1