Magnetic disk device and magnetic disk device control method
By setting the Plist area and the Plist surrounding area in the disk device, and adjusting the write count and refresh process, the problem of insufficient accuracy in detecting minor defects was solved, and the reliability and capacity of data storage were improved.
Patent Information
- Application Number
- CN202110676747.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-04
- Filing Date
- 2021-06-18
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-06-18
AI Technical Summary
In the existing technology, the detection accuracy of minor defects in disk devices is insufficient, leading to data read and write errors. Furthermore, the detection time increases with the number of adjacent writes, which may result in read errors in areas with unregistered minor defects.
By setting the Plist area and Plist perimeter area in the disk device, and adjusting the write count and flush processing, data can be rewritten promptly when minor defects are detected, thus avoiding read/write errors.
It improves the detection accuracy of minute defects, reduces the occurrence of read/write errors, and optimizes the data storage capacity and reliability of the disk.
Smart Images

Figure CN114138172B_ABST
Abstract
Description
[0001] This application claims priority based on Japanese Patent Application No. 2020-149251 (filing date: September 4, 2020), and the present application incorporates the entire contents of the basic application by reference. Technical Field
[0002] Embodiments of the present invention relate to a magnetic disk device and a method for controlling the magnetic disk. Background Art
[0003] There are defects such as tiny scratches (concave parts) and / or tiny protrusions (convex parts) such as sputter flakes on the surface (recording surface) of the disk mounted on the magnetic disk device. These defects become the main cause of obstacles to the normal writing and reading of data on the disk, and also become the main cause of head damage. Therefore, in the magnetic disk device, the location of the defect is pre-registered as defect information. For example, the area registered as having defects is excluded from the recording area of the disk by not allocating LBA (Logical Block Addressing) to the area. The location of the defect on the disk surface is detected by, for example, a tone scanning method that reads out data after writing it to the disk and detects the difference in these data, a scanning method using an HDI (Head Disk Interface) sensor, a scanning method using adjacent writing, etc.
[0004] In the method using adjacent writing, by writing data to the adjacent track of the predetermined track, defects are detected in a state that promotes read errors of data from the predetermined track. Therefore, in the method using adjacent writing, the greater the number of adjacent writing times, that is, the greater the number of writing times of adjacent tracks, the higher the defect detection accuracy. On the other hand, if the number of adjacent writing times increases, the detection time will be correspondingly longer and the feasibility will decrease. Therefore, depending on the number of adjacent writing times, there may be tiny defects in areas other than the area where the defect information is registered, such as tiny scratches (slight scratches) that are not registered as defect information.
[0005] A sector having such a minute defect will not cause a read error in a single data write, but when the number of adjacent writes increases, it may cause a read error earlier than a sector without a flaw. Summary of the invention
[0006] An embodiment of the present invention is to provide a magnetic disk device and a control method of the magnetic disk, which can suppress data read errors caused by a minute defect such as a slight scratch even when the minute defect exists in an area other than an area where defect information is registered.
[0007] The magnetic disk device of the embodiment comprises: a magnetic disk; a head for writing data to the magnetic disk and reading data from the magnetic disk; and a controller for temporarily reading data written in a predetermined recording area of the magnetic disk according to the number of times data corresponding to the predetermined recording area of the magnetic disk is written, and rewriting the read data to the predetermined recording area. The controller adjusts the added value of the number of times of writing based on whether there is a defect in the recording surface of the magnetic disk. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a block diagram showing a schematic configuration of a magnetic disk device according to an embodiment.
[0009] Figure 2 This is a diagram schematically showing an example of setting of a normal recording area, a Plist area, and a Plist peripheral area when defects are continuous in the radial direction on the recording surface of the disk of the magnetic disk device according to the embodiment.
[0010] Figure 3 This is a diagram schematically showing an example of setting of a normal recording area, a Plist area, and a Plist peripheral area when defects continue in a direction inclined with respect to a radial direction on a recording surface of a disk of a magnetic disk device according to an embodiment.
[0011] Figure 4 This is a diagram showing the relationship between the number of writes and the error rate for a track including a sector having a deep flaw as a defect in the magnetic disk device according to the embodiment.
[0012] Figure 5 This is a diagram showing the relationship between the number of writes and the error rate for a track including a sector having an extremely shallow flaw as a defect in the magnetic disk device according to the embodiment.
[0013] Figure 6 This is a diagram showing the relationship between the number of writes and the error rate for a track having only appropriate sectors without defects in the magnetic disk device according to the embodiment.
[0014] Figure 7 This is a flowchart showing control executed by the system controller when performing a refresh process in the magnetic disk device according to the embodiment. DETAILED DESCRIPTION
[0015] Below, refer to Figure 1 to Figure 7 , a magnetic disk device according to an embodiment of the present invention is described.
[0016] Figure 1 1 is a block diagram showing a schematic structure of a magnetic disk device 1 according to an embodiment of the present invention. Figure 1As shown, the magnetic disk device 1 includes: a head disk assembly (HDA) described later, a driver IC 20, a head amplifier integrated circuit (hereinafter referred to as head amplifier IC) 30, a volatile memory 70, a buffer memory (buffer) 80, a nonvolatile memory 90, and a system controller 100. In addition, the magnetic disk device 1 is connected to a host system (hereinafter referred to as a host) 200.
[0017] The HDA includes a magnetic disk (hereinafter referred to as a disk) 10, a spindle motor (hereinafter referred to as an SPM) 12, an arm 13 on which a head 15 is mounted, and a voice coil motor (hereinafter referred to as a VCM) 14. The disk 10 is mounted on the spindle motor 12 and rotated by the drive of the spindle motor 12. The arm 13 and the VCM 14 constitute an actuator. The actuator controls the head 15 mounted on the arm 13 to move to a target position on the disk 10 by the drive of the VCM 14. The number of disks 10 and heads 15 is not limited to one, and may be multiple.
[0018] The disk 10 has a data writable area in which a user data area 10a usable by a user and a system area 10b in which information required for system management is written. Hereinafter, the direction perpendicular to the radial direction of the disk 10 is referred to as the circumferential direction.
[0019] The head 15 mainly includes a slider, and includes a write head 15W and a read head 15R attached to the slider. The write head 15W writes data on the disk 10. The read head 15R reads data recorded on a data track on the disk 10.
[0020] The driver IC 20 controls the driving of the SPM 12 and the VCM 14 in accordance with the control of the system controller 100 (specifically, the MPU 60 described later).
[0021] The head amplifier IC 30 includes a read amplifier and a write driver. The read amplifier amplifies the read signal read from the disk 10 and outputs it to the system controller 100 (more specifically, the read / write (R / W) channel 40 described later). The write driver outputs a write current corresponding to the signal output from the R / W channel 40 to the head 15.
[0022] The volatile memory 70 is a semiconductor memory in which the stored data is lost when the power supply is cut off. The volatile memory 70 stores data required for processing of each part of the magnetic disk device 1, etc. The volatile memory 70 is, for example, a DRAM (Dynamic Random Access Memory) or an SDRAM (Synchronous Dynamic Random Access Memory).
[0023] 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 200. In addition, the buffer memory 80 may be formed integrally with the volatile memory 70. The buffer memory 80 is, for example, a DRAM, an SRAM (Static Random Access Memory), an SDRAM, a FeRAM (Ferroelectric Random Access Memory), or an MRAM (Magnetoresistive Random Access Memory).
[0024] The nonvolatile memory 90 is a semiconductor memory that records stored data even when power supply is cut off. The nonvolatile memory 90 is, for example, a NOR type or NAND type flash ROM (Flash Read Only Memory: FROM).
[0025] Defect information (hereinafter referred to as Plist) is maintained in the non-volatile memory 90. Plist is a collection of information indicating the location of defects existing on the surface (recording surface) of the disk 10. The presence or absence of defects is detected, for example, in the quality inspection of the disk 10 before the product (disk device 1) is shipped. In Plist, various information such as the cylinder number, sector number, sector length, and head number of the defect are registered in association with each other. The cylinder number (address) indicates the cylinder position of the track on the disk 10 where the corresponding defect exists. The sector number and sector length indicate the position of the sector where the corresponding defect exists (the position of the first sector when the defect extends over multiple sectors) and the number of sectors. The head number indicates the recording surface of the disk 10 where the corresponding defect exists.
[0026] In Plist, not only the sector where the defect actually exists, but also the predetermined sector (adjacent sector) adjacent to the sector is registered as a margin. Therefore, the sector number and sector length registered in Plist are set to a value larger than the sector number and sector length of the sector where the defect is actually detected. That is, the area registered in Plist includes predetermined sectors adjacent to the sector on the basis of the sector where the defect is actually detected. The area registered in Plist is divided into the first area of the recording area of the disk 10, hereinafter referred to as the Plist area. In addition, the above-mentioned adjacent sectors where no defects are detected, but there are actually or there may be defects smaller than the defect (hereinafter referred to as micro defects), such as micro scratches, are added to the Plist area as margins.
[0027] The Plist area is excluded from the recording area of the disk 10 by, for example, not allocating LBA to the area. That is, the Plist area has defects and is not used as a recording area of the disk 10. This suppresses data writing and reading failures on the disk 10 and damage to the head 15.
[0028] As described above, in the Plist, not only the sectors where defects actually exist but also predetermined sectors adjacent to the sectors are registered as margins. However, defects such as concave scratches sometimes gradually change from deep scratches that can be easily detected to shallow scratches that are continuous across multiple sectors and adjacent tracks. According to this view, the Plist has a margin, but depending on the degree of the scratch, sectors having shallow parts that are continuous with deep scratch parts and parts that are shallower than the deep scratch parts (micro scratches) may deviate from the Plist area. Therefore, in the present embodiment, on the basis of the Plist area, an area is set adjacent to the Plist area that includes sectors where such shallow scratches, that is, micro defects, may exist. This area adjacent to the Plist area is divided into the second area of the recording area of the disk 10, hereinafter referred to as the Plist peripheral area.
[0029] As will be described in detail later, the Plist peripheral area is an area where the added value of the number of writes is adjusted and the execution timing of the refresh process is advanced compared to an area composed of appropriate sectors without defects (hereinafter referred to as a normal recording area). The normal recording area is an area other than the Plist area (first area) and the Plist peripheral area (second area), and is divided into the third area of the recording area of the disk 10.
[0030] That is, the recording surface of the disk 10 is mixed with a normal recording area, a Plist area, and a Plist peripheral area. The Plist peripheral area is an area adjacent to the Plist area and sandwiched between the Plist area and the normal recording area. These areas are set to cover one or more sectors. In addition, these areas can include the entire area of a sector or a part of a sector.
[0031] exist Figure 2 and Figure 3 An example of the setting of the normal recording area, the Plist area, and the Plist peripheral area on the recording surface of the disk 10 is schematically shown. Figure 2 This is a diagram showing an example in which defects are continuous along the radial direction (Media Track Direction) of the disk 10 . Figure 3 1 is a diagram showing an example in which defects continue in a direction inclined relative to the radial direction of the disk 10. Figure 2 and Figure 3 In the embodiment, the radial direction of the disk 10 corresponds to the horizontal direction, the circumferential direction (media rotation direction) corresponds to the vertical direction, and one block divided in the vertical and horizontal directions is an area of one sector of one track. Figure 2 and Figure 3 The figure shows a recording area of 8 sectors of 29 tracks continuous in the circumferential direction as a part of the recording surface of the disk 10. In each figure, the × sign, the + sign, and the - sign all represent defects, and the degree of the defect (the degree of influence on data reading and writing) becomes lighter in this order. For example, the × sign represents a deep scratch, the + sign represents a shallow scratch, and the - sign represents an extremely shallow scratch. An extremely shallow scratch is equivalent to a defect that is smaller than a defect including a deep scratch and a shallow scratch. In addition, the unmarked sector is a suitable sector without a defect.
[0032] exist Figure 2 In the example shown, area R21 is a Plist area, area R22 is a Plist peripheral area, and area R23 other than these is a normal recording area. Areas R21 and R22 are areas surrounded by thick lines, respectively, and area R23 is an area other than these. R21, which is a Plist area, contains sectors with deep scratches, shallow scratches, and very shallow scratches as defects. R22, which is a Plist peripheral area, contains sectors with very shallow scratches. Area R22 is set to sandwich area R21 along the radial direction of the disk 10, which is the continuous direction of the defect. Area R23, which is a normal recording area, is set to surround these areas R21 and R22.
[0033] exist Figure 3 In the example shown, area R31 is a Plist area, area R32 is a Plist peripheral area, and area R33 other than these is a normal recording area. Areas R31 and R32 are areas surrounded by thick lines, respectively, and area R33 is an area other than these. R31, which is a Plist area, contains sectors having deep scratches, shallow scratches, and very shallow scratches as defects. R32, which is a Plist peripheral area, contains sectors having very shallow scratches. Area R32 is set to sandwich area R31 in a direction inclined relative to the radial direction of the disk 10, which is the continuous direction of the defect. Area R33, which is a normal recording area, is set to surround these areas R31 and R32.
[0034] also, Figure 2 and Figure 3The setting ranges of the Plist area and the Plist surrounding area shown, such as the partition shapes with other areas, are examples, and the setting ranges (division shapes) of these areas can be arbitrarily set according to the existence state of the defect. For example, the Plist surrounding area can also be set to surround the Plist area. In addition, the Plist area sometimes exists in multiple locations. In this case, the Plist surrounding area is set adjacent to each Plist area.
[0035] The information of the Plist peripheral area (hereinafter referred to as the Plist peripheral area information) is stored in the non-volatile memory 90. As the Plist peripheral area information, for example, each piece of information such as the corresponding cylinder number, sector number, sector length, and head number is registered in association. The cylinder number (address) indicates the cylinder position of the track on the disk 10 where the corresponding Plist peripheral area is set. The sector number is the position of the sector where the corresponding Plist peripheral area is set. When the set sector is continuous over a plurality of sectors, it is the position of the beginning sector. The sector length is the number of sectors included in the set Plist peripheral area.
[0036] The system controller (controller) 100 is implemented, for example, using a large-scale integrated circuit (LSI) called a system-on-a-Chip (SoC) in which a plurality of components are integrated on a single chip. The system controller 100 includes a read / write (R / W) channel 40, a hard disk controller (HDC) 50, and a microprocessor (MPU) 60. The system controller 100 is electrically connected to a driver IC 20, a head amplifier IC 30, a volatile memory 70, a buffer memory 80, a nonvolatile memory 90, and a host 200.
[0037] The R / W channel 40 performs signal processing of read data transmitted from the disk 10 to the host 200 and write data transmitted from the host 200 according to instructions from the MPU 60 described later. The R / W channel 40 has a circuit or function for measuring the signal quality of the write data. The R / W channel 40 is electrically connected to, for example, the head amplifier IC 30, the HDC 50, and the MPU 60.
[0038] The HDC 50 controls data transfer between the host 200 and the R / W channel 40 according to instructions from the MPU 60 described later. The HDC 50 is electrically connected to the R / W channel 40, the MPU 60, the volatile memory 70, the buffer memory 80, and the nonvolatile memory 90, for example.
[0039] The MPU 60 is a main controller that controls each part of the magnetic disk device 1. The MPU 60 controls the VCM 14 via the driver IC 20, and performs servo control for positioning the head 15. The MPU 60 controls the writing action of writing data to the disk 10, and selects the storage destination of the written data. In addition, the MPU 60 controls the reading action of reading data from the disk 10, and controls the processing of the read data. The MPU 60 is connected to each part of the magnetic disk device 1. For example, the MPU 60 is electrically connected to the driver IC 20, the R / W channel 40, and the HDC 50.
[0040] The MPU 60 includes a read / write control unit 61, a management unit 62, and a refresh processing unit 63. The MPU 60 executes processing of each of these units, such as the read / write control unit 61, the management unit 62, and the refresh processing unit 63, on firmware. Alternatively, the MPU 60 may include each of these units as a circuit.
[0041] The read / write control unit 61 controls data reading and writing according to commands from the host 200. The read / write control unit 61 controls the VCM 14 via the driver IC 20 to position the head 15 at a target position on the disk 10 to read or write data.
[0042] The management unit 62 counts the number of times data is written to a predetermined recording area in the disk 10 (hereinafter referred to as the number of writes). In this case, the number of writes is the number of adjacent writes to the predetermined recording area, and the adjacent write is the writing of data to an area adjacent to the predetermined recording area in the radial direction (hereinafter referred to as the adjacent area). The predetermined recording area is, for example, a predetermined track, and the adjacent area is, for example, a track adjacent to the predetermined track (hereinafter also referred to as the adjacent track). The management unit 62 counts the number of writes by track in the disk 10, for example. In addition, the management unit 62 counts the number of writes when data is written to the adjacent area, but the number of writes may also be counted when data is written to an area that is radially away from the adjacent area.
[0043] The management unit 62 maintains the number of writes per track. Whenever the management unit 62 writes data to an adjacent track of a predetermined track (adjacent write), the management unit 62 adds a predetermined value (hereinafter referred to as the added value) to the number of writes corresponding to the predetermined track. In addition, the management unit 62 maintains a threshold value (hereinafter referred to as the refresh threshold value) for performing refresh processing per track. The refresh processing is a process in which, according to the number of writes (write count) of data corresponding to a predetermined recording area (e.g., a track) of the disk 10, the data written in the storage area is temporarily read out, and the read data is rewritten to the predetermined recording area. The refresh threshold value is set to, for example, a number of writes below a guaranteed number. The guaranteed number is, for example, a number of writes that guarantees that the data of the predetermined track will not be erased due to side erase, that is, an upper limit value of the number of writes that does not cause an error in the reading of the data. Side erase is, for example, a phenomenon in which, when data is written to an adjacent track of a predetermined track, the data of the predetermined track is erased due to the influence of leakage flux from the head 15 (Adjacent Track Interference: ATI). The guaranteed number of times is set by measuring a plurality of error rates (Bit Error Rate: BER) corresponding to a plurality of write times in a predetermined track, for example, and based on the measured plurality of error rates. The management unit 62 stores the guaranteed number of times for each track.
[0044] The management unit 62 divides the recording area of the disk 10 into a Plist area as a first area, a Plist peripheral area as a second area, and a normal recording area as a third area, and manages the recording surface. In addition, the management unit 62 adjusts the sum of the number of write times of the track based on whether there are defects in the recording surface of the disk 10. At this time, the management unit 62 determines whether the predetermined track contains sectors of the Plist peripheral area, and adjusts the sum to change it according to the determination. Specifically, in the case of sectors containing the Plist peripheral area, the sum of the number of write times is increased compared to the sum of the normal recording area. As a result, the degree of increase in the number of write times in the Plist peripheral area becomes greater than that in the normal recording area, and the refresh threshold is reached earlier. The sum of the number of write times in the Plist peripheral area can be either a fixed value or a variable value, for example, it can be arbitrarily set according to the degree of defects that may exist in the Plist peripheral area (the degree of influence on data reading and writing). On the other hand, when a predetermined track does not include sectors in the Plist peripheral area, the management unit 62 sets the added value of the number of writes of the predetermined track as the added value of the normal recording area.
[0045] Here, adjustment of the added value of the number of write times in the Plist peripheral area will be described.
[0046] exist Figures 4 to 69 shows the relationship between the number of writes to a track (target track) of the disk 10 and the error rate in the quality inspection of the disk 10 . Figure 4 It means that it contains deep scars (in Figure 2 and Figure 3 : The defect is indicated by an × mark in the middle) as the track of the defective sector, in other words, the relationship in the area surrounding Plist. Figure 5 It means that it contains very shallow scars (in Figure 2 and Figure 3 : The diagram shows the relationship between the tracks of the defective sectors (in other words, the defects are indicated by a - sign) in the Plist area. Figure 6 It means that only appropriate sectors without scratches (defects) are present (in Figure 2 and Figure 3 2 is a diagram showing the relationship between tracks (sectors are indicated by no symbols), in other words, a normal recording area.
[0047] In each figure, the 0 mark, △ mark, and □ mark all represent the state in which an error occurs when reading data from the target track. For example, the 0 mark represents a state in which no error occurs, the △ mark represents a state in which an error occurs but data can be restored by refresh processing even if side erasure occurs, and the □ mark represents a state in which an error occurs but data cannot be restored if side erasure occurs. Figures 4 to 6 As shown, as the number of writes increases, the error rate, that is, the frequency of errors (read errors) occurring when reading data increases.
[0048] exist Figure 4 In the example shown, the target track includes sectors with deep scratches registered in Plist. Figure 4 As shown, when reading data from a track including the sector, an error (read error) that data cannot be recovered when side erasure occurs always occurs regardless of the number of writes. Therefore, the sector of the target track is excluded from the recording area of the disk by, for example, not allocating an LBA to the sector.
[0049] exist Figure 5 In the example shown, the target track contains a sector with a very shallow scratch (a tiny defect) registered in the Plist peripheral area information. Figure 5 As shown, if the number of writes exceeds about 300 times, when reading data from the track containing the sector, an error (read error) will occur in which data cannot be restored when side erasure occurs. Therefore, the guaranteed number of times for the Plist peripheral area becomes about 300 times.
[0050] In contrast, Figure 6In the example shown, the target track contains only appropriate sectors without any scratches (defects). Figure 6 As shown, if the number of writes exceeds about 500, when reading data from the track containing the sector, in other words, the normal recording area, an error (read error) in which data cannot be recovered when side erasure occurs will occur. Therefore, the guaranteed number of times for the normal recording area becomes about 500.
[0051] according to Figure 5 and Figure 6 In the example shown, the number of writes required until an error occurs in which data cannot be recovered due to side erasure is approximately 1.7 times (500 / 300 ≒ 1.7) when compared to a track containing sectors with extremely shallow scratches (micro defects).
[0052] If the guaranteed number of times in the normal recording area is set to Tn and the guaranteed number of times in the Plist peripheral area is set to Tx, the added value of the number of writes to the Plist peripheral area can be set to about Tn / Tx times the added value of the number of writes to the normal recording area. Figure 5 and Figure 6 In the case of the example shown, the added value of the number of writes to the Plist peripheral area can be set to about 1.7 times the added value of the number of writes to the normal recording area. That is, if the added value of the normal recording area is 1, the added value of the Plist peripheral area can be about 1.7. As a result, the apparent number of writes in the Plist peripheral area and the normal recording area until the refresh threshold is reached is adjusted to the same degree. Therefore, it is possible to perform refresh processing in the Plist peripheral area in a data writing state of approximately the same degree as that of the normal recording area.
[0053] The management unit 62 compares and determines the number of writes to the target track with the refresh threshold. When it is determined that the number of writes to the target track exceeds the refresh threshold, the management unit 62 outputs a signal (hereinafter referred to as a refresh signal) for executing a refresh process on the target track to the refresh processing unit 63. When receiving a signal that the refresh process has been completed, the management unit 62 restores the number of writes to the target track on which the refresh process has been executed to an initial value. The initial value is, for example, the number of counts when no data is written to the adjacent tracks of the target track (for example, zero).
[0054] The management unit 62 manages the write count and refresh threshold of each track, and the guaranteed count of the normal recording area and the Plist peripheral area in each track using a table, etc. The management unit 62 records the table in a memory, such as the nonvolatile memory 90, the system area 10b, etc., and reads these values from the table as parameters when executing the refresh process.
[0055] The refresh processing unit 63 performs refresh processing. For example, when receiving a refresh signal from the management unit 62, the refresh processing unit 63 performs refresh processing on the target track corresponding to the refresh signal. When the refresh processing is performed, the refresh processing unit 63 outputs a signal to the management unit 62 indicating that the refresh processing has been completed.
[0056] Hereinafter, control executed by the system controller 100 when refreshing a predetermined track will be described according to a flowchart. Figure 7 2 is a flowchart of control executed by the system controller 100 when performing such a refresh process.
[0057] like Figure 7 As shown, during the refresh process, the system controller 100, specifically, the management unit 62 of the MPU 60 determines whether adjacent writing is performed on a predetermined track (hereinafter referred to as a target track) (S101).
[0058] When adjacent writing is not performed, the refresh process is not performed and the process ends. In this case, the management unit 62 does not output a refresh signal for the target track to the refresh processing unit 63. However, in this case, the management unit 62 may output a signal to the refresh processing unit 63 indicating that the refresh process is not performed on the target track.
[0059] On the other hand, when adjacent writing is performed, the management unit 62 determines whether the target track includes sectors in the Plist peripheral area (S102). When determining, the management unit 62 reads the Plist peripheral information stored in the non-volatile memory 90, for example, and determines whether the sector number of the target track is consistent with the sector number registered in the Plist peripheral information.
[0060] When the sector is included, the management unit 62 adjusts the added value of the number of writes to the target track (S103). For example, the management unit 62 adjusts the added value of the number of writes to the target track to about Tn / Tx times the added value of the number of writes to the normal recording area based on the guaranteed number of times (Tn) in the normal recording area and the guaranteed number of times (Tx) in the Plist peripheral area. Figure 5 and Figure 6 In the case of the example shown, the added value of the number of writes to the target track is adjusted to be approximately 1.7 times the added value of the number of writes to the normal recording area.
[0061] If the target track does not include sectors in the Plist peripheral area in S102, the management unit 62 does not adjust the added value of the number of writes of the target track. In this case, the target track has only sectors in the normal recording area, and the added value of the number of writes of the target track is set to the added value of the number of writes for the normal recording area.
[0062] Then, the management unit 62 adds the number of writes of the target track (S104). For example, when the target track includes sectors in the Plist peripheral area, the number of writes is added according to the added value adjusted in S103. On the other hand, when the target track does not include the sector, the number of writes is added according to the unadjusted added value (for example, 1).
[0063] Next, the management unit 62 compares the number of writes to the target track with the refresh threshold value and makes a determination (S105). Here, as an example, the management unit 62 determines whether the number of writes exceeds the refresh threshold value.
[0064] When the number of writes to the target track does not exceed the refresh threshold, the management unit 62 determines again whether adjacent writes have been performed on the target track (S101). In this case, the control from S101 is appropriately repeated as the refresh process for the target track is not necessary at the current time point.
[0065] On the other hand, when the number of writes to the target track exceeds the refresh threshold, a refresh process is performed on the target track (S106). Specifically, the management unit 62 outputs a refresh signal to the refresh processing unit 63, and the refresh processing unit 63 receives the refresh signal and performs the refresh process. When the refresh process is performed, for example, a signal indicating that the refresh process is completed is received from the refresh processing unit 63, the management unit 62 restores the number of writes to the target track to an initial value (for example, zero). Thus, a series of controls for the refresh process on the target track are completed.
[0066] Thus, according to the magnetic disk device 1 involved in the embodiment, the added value of the number of writes to the track can be adjusted according to whether the predetermined track of the disk 10 includes the sector of the Plist peripheral area. Specifically, in the case of the sector including the Plist peripheral area, the added value of the number of writes can be increased compared with the added value of the normal recording area. Thus, the number of writes to the track including the sector of the Plist peripheral area can reach the refresh threshold earlier than the track not including the sector. In other words, the apparent number of writes until the refresh threshold is reached can be adjusted to the same degree in both.
[0067] Therefore, before an error (read error) occurs when data cannot be restored due to side erasure, refresh processing can be appropriately performed on the track including the sector in the Plist peripheral area, thereby improving the guaranteed accuracy of side-erased data.
[0068] In addition, the Plist peripheral area is set as a sector deviated from the Plist area and including a small defect, for example, a very shallow scratch portion continuous with a deep scratch portion of the sector of the Plist area, that is, a small scratch (slight scratch). That is, in the embodiment, as such an area including a sector where a small defect may exist, the Plist peripheral area is set adjacent to the Plist area.
[0069] Therefore, even in the case where a predetermined track includes a sector with a minor defect that deviates from the Plist area, as long as the sector is included in the Plist peripheral area, the track can be appropriately refreshed. The Plist area is excluded from the recording area of the disk 10, and the larger the Plist area is, the lower the recording capacity of the disk 10 will be. According to an embodiment, the Plist peripheral area is set on the basis of the Plist area, and in the Plist peripheral area, the guaranteed accuracy of the side-erased data is improved. Therefore, from the perspective of data guarantee, the Plist area can be reduced, and the recording area of the disk 10 can be expanded accordingly to reduce the Plist area.
[0070] The Plist area is an area that includes predetermined sectors adjacent to the sector where the defect is actually detected, and the Plist peripheral area is set to be adjacent to the Plist area. In the magnetic disk device 1, the Plist area may be dispersed in multiple locations, and therefore, the Plist peripheral area may also be dispersed in multiple locations. As described above, according to the present embodiment, the added value of the number of write times for the track can be adjusted according to whether the predetermined track of the disk 10 includes a sector of the Plist peripheral area, and the refresh processing can be appropriately performed on the track. Therefore, it is also possible to reduce the number of Plist areas and then the number of Plist peripheral areas on the basis of reducing the Plist area and the Plist peripheral area.
[0071] The embodiments of the present invention are described above, but the above embodiments are provided as examples and are not intended to limit the scope of the invention. The new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the invention. These embodiments and / or their modifications are included in the scope and purpose of the invention, and are included in the invention described in the claims and their equivalents.
[0072] In the above-mentioned embodiment, the sum of the number of write times for the predetermined track is adjusted, but the refresh threshold value may be adjusted instead of or on the basis of this. In this case, the refresh threshold value for the predetermined track of the disk 10 may be adjusted accordingly to whether the predetermined track of the disk 10 includes sectors of the Plist peripheral area. For example, in the case where the predetermined track includes sectors of the Plist peripheral area, the refresh threshold value of the predetermined track is made lower than the refresh threshold value of the track that does not include the sector, that is, the normal recording area. Thus, even if the sum of the number of write times is set to the same value without adjustment, the track that includes the sector of the Plist peripheral area can be refreshed with a fewer number of writes than the track that does not include the sector. Therefore, as in the above-mentioned embodiment, the guaranteed accuracy of the side-erased data in the track that includes the sector of the Plist peripheral area can be improved.
Claims
1. A magnetic disk device comprising: disk; a head that writes data to the disk and reads data from the disk; and a controller that temporarily reads out the data written in the predetermined recording area of the magnetic disk according to the number of times the data corresponding to the predetermined recording area is written, and rewrites the read data into the predetermined recording area, The controller divides the recording area of the disk into a first area which has defects and is not used as the recording area, a second area which is adjacent to the first area, and a third area other than these areas, and uses the second area and the third area as the recording area, so that the added value of the number of write times of data corresponding to the second area is greater than the added value of the number of write times of data corresponding to the third area.
2. The magnetic disk device according to claim 1, The predetermined recording area is a predetermined track of the magnetic disk, The controller determines whether the track includes the sector of the second area. If it is determined that the track includes the sector, the controller increases the sum of the number of write times of the data corresponding to the track compared to the sum of the number of write times of the data corresponding to the third area. If it is determined that the track does not include the sector, the controller sets the sum of the number of write times of the data corresponding to the track to the sum of the number of write times of the data corresponding to the third area.
3. The magnetic disk device according to claim 1 or 2, The controller maintains a guaranteed number of data writes. If the guaranteed number of times in the second area is set to Tx and the guaranteed number of times in the third area is set to Tn, the added value of the number of data writes corresponding to the second area is set to Tn / Tx times the added value of the number of data writes corresponding to the third area. The guaranteed number of times is a guaranteed number of data writes to ensure that the data in the predetermined recording area will not be erased due to leakage magnetic flux from the head when writing data to an area adjacent to the predetermined recording area.
4. The magnetic disk device according to claim 3, The second region has defects that are continuous from the defects in the first region and are smaller than the defects, and is disposed adjacent to each other on both sides sandwiching the first region along a continuous direction of the defects.
5. A method for controlling a magnetic disk device, The recording area of the magnetic disk is divided into a first area which has a defect and is not used as the recording area of the magnetic disk, a second area which is adjacent to the first area, and a third area other than these areas. When writing data corresponding to the track of the magnetic disk, it is determined whether the track includes the sector of the second area. If it is determined that the track includes the sector, the added value of the number of write times of the data corresponding to the track is increased compared with the added value of the number of write times of the data corresponding to the third area. If it is determined that the track does not include the sector, the added value of the number of write times of the data corresponding to the track is set to the added value of the number of write times of the data corresponding to the third area. According to the added value, the number of times the data corresponding to the track is written is added. According to the number of times data corresponding to the track is written, the data written to the track is temporarily read out, and the read data is overwritten to the track.
Citation Information
Patent Citations
Method of managing defects in recording medium and storage apparatus
CN106504779A
Magnetic Disk Device And Write Method
CN106920561A
Magnetic disk device and write processing method
CN106960675A
Magnetic disk device and write processing method
CN110910915A
Data write control method and data read control method for array disk device
JP1991063971A
