Magnetic disk device and recording area setting method
By dividing and setting non-overlapping normal recording and tile recording areas in the user data area by different widths, the problem of reducing the upper limit of data writing capacity in the prior art is solved, and efficient data writing efficiency is achieved.
Patent Information
- Application Number
- CN202011636744.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-09
- Filing Date
- 2020-12-31
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2040-12-31
AI Technical Summary
When existing disk devices set up the usual recording area and the tile recording area, the upper limit of data write capacity is greatly reduced.
Efficient data writing is achieved by dividing the normal record division area and the tile record division area by different widths in the user data area, and setting non-overlapping configuration methods for them respectively.
It effectively improves the data writing efficiency of the disk device in the radial direction, reduces the non-use area, and avoids the reduction of the upper limit of data writing capacity.
Smart Images

Figure CN114242117B_ABST
Abstract
Description
[0001] This application claims priority based on Japanese Patent Application No. 2020-151375 (filing date: September 9, 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 setting a recording area. Background Art
[0003] In recent years, magnetic disk devices with technologies for achieving high recording density have been developed. As magnetic disk devices for achieving high recording density, there are magnetic disk devices of shingled write magnetic recording (SMR or SWR) that writes multiple tracks in a radial direction of the disk in an overlapping manner. In addition, there are also magnetic disk devices that can select and execute a normal recording mode and a shingled recording mode. The normal recording mode is a recording mode that writes multiple tracks at intervals in the radial direction of the disk. The magnetic disk device that can select and execute a normal recording mode and a shingled recording mode configures, for example, an area written in the normal recording mode (hereinafter, sometimes referred to as a normal recording area) and an area written in the shingled recording mode (hereinafter, sometimes referred to as a shingled recording area) in units of a certain number of blocks managed by the host system. Since the radial width of the normal recording area is different from the radial width of the shingled recording area, the upper limit of the capacity of data that can be written to the disk may be greatly reduced depending on the method of setting the normal recording area and the shingled recording area in the disk. Summary of the invention
[0004] Embodiments of the present invention provide a magnetic disk device and a method for setting a recording area that can efficiently write data.
[0005] The magnetic disk device involved in this embodiment comprises: a disk having a user data area; a head that writes data to the disk and reads data from the disk; and a controller that arranges a plurality of normal recording division areas obtained by dividing the user data area according to a first width in a radial direction and a plurality of shingle recording division areas obtained by dividing the user data area according to a second width different from the first width in the radial direction in a non-overlapping manner in the user data area, and when receiving a command to write data to a first LBA (logical block address) in a normal recording method in which a plurality of tracks are written at intervals in the radial direction, the first normal recording area corresponding to the first LBA is set in the first normal recording division area of the plurality of normal recording division areas, and when receiving a command to write data to a second LBA in a shingle recording method in which a plurality of tracks are written overlappingly in the radial direction, the first shingle recording area corresponding to the second LBA is set in the first shingle recording division area of the plurality of shingle recording division areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 This is a block diagram showing the structure of the magnetic disk device according to the first embodiment.
[0007] Figure 2 This is a schematic diagram showing an example of a disk according to the first embodiment.
[0008] Figure 3 This is a schematic diagram showing an example of normal recording processing.
[0009] Figure 4 It is a schematic diagram showing an example of tile recording processing.
[0010] Figure 5 This is a schematic diagram showing an example of a logical array of a normal recording area and a tile recording area.
[0011] Figure 6 It is a schematic diagram showing an example of the validation processing of the SMR division area and the CMR division area.
[0012] Figure 7 This is a schematic diagram showing an example of the physical arrangement of a CMR zone and an SMR zone according to the first embodiment.
[0013] Figure 8 This is a flowchart showing an example of a method for setting a recording area according to the first embodiment.
[0014] Fig. 9 This is a schematic diagram showing an example of the physical configuration of the CMR partition and the SMR partition involved in the modification example 1.
[0015] Fig.10 This is a flowchart showing an example of a method for setting a tile recording area according to Modification Example 1.
[0016] Fig.11 This is a schematic diagram showing an example of the physical configuration of the CMR partition involved in the second modification.
[0017] Fig.12 This is a schematic diagram showing an example of the physical configuration of the SMR partition involved in the second modification.
[0018] Fig.13 This is a flowchart showing an example of a method for setting a normal recording area and a tile recording area according to Modification Example 2.
[0019] Fig.14 This is a schematic diagram showing an example of a disk according to Modification 3.
[0020] Fig.15 This is a schematic diagram showing an example of the physical configuration of the CMR partition and the SMR partition involved in the modification example 3.
[0021] Fig.16 This is a schematic diagram showing an example of the arrangement of the head with respect to the disk according to the second embodiment.
[0022] Fig.17 This is a flowchart showing an example of a method for setting a recording area according to the second embodiment.
[0023] Fig.18 This is a flowchart showing an example of a method for setting a recording area according to Modification 4. DETAILED DESCRIPTION
[0024] Hereinafter, the embodiments will be described with reference to the drawings. Note that the drawings are merely examples and do not limit the scope of the invention.
[0025] (First embodiment)
[0026] Figure 1 It is a block diagram showing the structure of the magnetic disk device 1 according to the first embodiment.
[0027] 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 a head amplifier IC or a preamplifier) 30, a volatile memory 70, a nonvolatile memory 80, a buffer memory (cache) 90, and a system controller 130 as a single-chip integrated circuit. In addition, the magnetic disk device 1 is connected to a host system (hereinafter referred to as a host) 100. For example, the magnetic disk device 1 may also support a zoned domain feature set.
[0028] 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 SPM 12 and rotated by the drive of the SPM 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 predetermined position of the disk 10 by the drive of the VCM 14. Two or more disks 10 and heads 15 may be provided.
[0029] The disk 10 has a user data area 10a that can be used by the user, a media cache (or sometimes also called a media cache area) 10b that temporarily holds data (or commands) transmitted from a host or the like before writing the data to a predetermined area of the user data area 10a, and a system area 10c that writes information required for system management. Hereinafter, the direction from the inner periphery toward the outer periphery of the disk 10 or the direction from the outer periphery toward the inner periphery of the disk 10 is referred to as a radial direction. In the radial direction, the direction from the inner periphery toward the outer periphery is referred to as an outer direction (outer side), and the direction from the outer periphery toward the inner periphery is referred to as an inner direction (inner side). The direction orthogonal to the radial direction of the disk 10 is referred to as a circumferential direction (circumferential direction). The circumferential direction is equivalent to the direction along the circumference of the disk 10. In addition, a predetermined position in the radial direction of the disk 10 is sometimes referred to as a radial position, and a predetermined position in the circumferential direction of the disk 10 is sometimes referred to as a circumferential position. The radial position and the circumferential position are sometimes referred to as positions. In addition, the term "track" is used to mean one of the multiple areas divided in the radial direction of the disk 10, the path of the head 15 at a predetermined radial position, data extending in the circumferential direction of the disk 10, data written to a circle of the track at a predetermined radial position, data written to a predetermined track of the disk 10, a part of the data written to a predetermined track of the disk 10, and various other meanings. The term "sector" is used to mean one of the multiple areas divided in the circumferential direction of the predetermined track of the disk 10, data written to a predetermined circumferential position at a predetermined radial position of the disk 10, data written to a predetermined sector of a predetermined track of the disk 10, and various other meanings. Sometimes, the "radial width of the track" is referred to as the "track width". The "path passing through the center position of the track width on the predetermined track" is referred to as the "track center".
[0030] The head 15 has a slider as its main body, and includes a write head 15W and a read head 15R mounted on the slider. The write head 15W writes data to the disk 10. The read head 15R reads the data written to the disk 10. In addition, there are cases where the "write head 15W" is simply called the "head 15", and there are cases where the "read head 15R" is simply called the "head 15", and there are cases where the "write head 15W and the read head 15R" are collectively called the "head 15". Sometimes, the "center of the head 15" is called the "head 15", the "center of the write head 15W" is called the "write head 15W", and the "center of the read head 15R" is called the "read head 15R". There are cases where the "center of the write head 15W" is simply called the "head 15", and there are cases where the "center of the read head 15R" is simply called the "head 15". “Positioning the center of the head 15 at the center of the predetermined track” is sometimes expressed as “positioning the head 15 at the predetermined track”, “arrange the head 15 at the predetermined track” or “place the head 15 at the predetermined track”.
[0031] Figure 2 Schematic diagram showing an example of the disk 10 involved in this embodiment. Figure 2 As shown, in the circumferential direction, the direction in which the disk 10 rotates is referred to as the rotation direction. Figure 2 In the example shown, the direction of rotation is indicated by counterclockwise, but the opposite direction (clockwise) is also possible. Figure 2 In the embodiment, the disk 10 is divided into an inner peripheral region IR located inwardly, an outer peripheral region OR located in outwardly, and a middle peripheral region MR located between the inner peripheral region IR and the outer peripheral region OR.
[0032] exist Figure 2 In the example shown, the disk 10 includes a user data area 10a, a media cache 10b, and a system area 10c. Figure 2 In FIG. 1 , the user data area 10a, the media cache 10b, and the system area 10c are arranged from the inner direction to the outer direction in the order described. Figure 2 In the embodiment, the media cache 10b is arranged adjacent to the user data area 10a in the outer direction. In other words, the media cache 10b is arranged between the user data area 10a and the system area 10c. Here, the term "adjacent" includes, of course, data, objects, areas, and spaces arranged in contact with each other, and also includes being arranged at predetermined intervals. Figure 2 In the embodiment, the system area 10c and the media cache 10b are arranged adjacent to each other in the outer direction. In addition, the arrangement order of the user data area 10a, the media cache 10b and the system area 10c is not limited to this. Figure 2 , but can be in any order.
[0033] exist Figure 2In the example shown, the user data area 10a is configured in the radial direction from the inner circumference area IR to the outer circumference area OR. In other words, the user data area 10a is configured in the radial direction from the radial position IMRP of the innermost circumference of the disk 10 to the predetermined radial position OMRP of the outer circumference area OR. The radial position IMRP may also be the radial position of the inner circumference area IR except for the innermost circumference. The radial position OMRP may also be equivalent to the radial position of the outermost circumference. The radial position OMRP may also be the radial position of the middle circumference area MR or the inner circumference area IR. Figure 2 In the example shown, the radius position OMRP corresponds to the boundary between the user data area 10a and the media cache area 10b. In addition, the radius position OMRP may not be the boundary between the user data area 10a and the media cache area 10b. Figure 2 In the example shown, the media cache 10b is arranged in the outer region OR in the radial direction. Alternatively, the media cache 10b may be located in the inner region IR or the middle region MR. Alternatively, the media cache 10b may be distributed in the outer region OR, the middle region MR, and the inner region IR. Figure 2 In the example shown, the system zone 10c is arranged in the outer region OR in the radial direction. In other words, the system zone 10c is arranged from a predetermined position in the outer region OR to the outermost circumference of the disk 10. Alternatively, the system zone 10c may be arranged in the middle region MR or the inner region IR.
[0034] For the user data area 10a of the disk 10, data can be written in a shingled recording (SMR or SWR) format or a conventional magnetic recording (CMR) format. The shingled recording format is a recording format in which a part of a predetermined track in the radial direction is overlapped with the track to be written next, and the conventional recording format is a recording format in which data is written to a track adjacent to the predetermined track in the radial direction (hereinafter, sometimes referred to as an adjacent track) at a predetermined interval in the radial direction from the predetermined track, or data can be written randomly. "Adjacent tracks" include "tracks adjacent to the predetermined track in the outer direction", "tracks adjacent to the predetermined track in the inner direction", and "multiple tracks adjacent to the predetermined track in the outer and inner directions". Hereinafter, "writing data in a shingled recording format" is sometimes referred to as "performing shingle recording", "performing shingle recording processing", or simply as "performing writing". A write process other than the "conventional recording process" is sometimes referred to as a "shingle recording process". In addition, “writing data in a normal recording format” may be simply referred to as “performing normal recording”, “executing a normal recording process”, or simply referred to as “performing writing”.
[0035] like Figure 2 As shown, the head 15 is driven by the VCM 14 to rotate about the rotation axis so as to move from the inner direction to the outer direction relative to the disk 10 and be arranged at a predetermined position, or move from the outer direction to the inner direction and be arranged at a predetermined position.
[0036] The driver IC 20 controls the driving of the SPM 12 and the VCM 14 in accordance with the control of the system controller 130 (more specifically, the MPU 60 described later).
[0037] The head amplifier IC (preamplifier) 30 includes a read amplifier and a write driver, etc. The read amplifier amplifies the read signal read from the disk 10 and outputs it to the system controller 130 (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.
[0038] The volatile memory 70 is a semiconductor memory that loses stored data when the power supply is disconnected. The volatile memory 70 stores data required for processing in various parts of the magnetic disk device 1. The volatile memory 70 is, for example, a DRAM (Dynamic Random Access Memory) or an SDRAM (Synchronous Dynamic Random Access Memory).
[0039] The nonvolatile memory 80 is a semiconductor memory that records stored data even when power supply is turned off. The nonvolatile memory 80 is, for example, a NOR-type or NAND-type flash memory (Flash Read Only Memory: FROM).
[0040] The buffer memory 90 is a semiconductor memory that temporarily records data transmitted and received between the magnetic disk device 1 and the host 100. In addition, the buffer memory 90 may be formed integrally with the volatile memory 70. The buffer memory 90 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).
[0041] The system controller (controller) 130 is implemented, for example, using a large-scale integrated circuit (LSI) called a system-on-a-Chip (Soc) in which multiple components are integrated into a single chip. The system controller 130 includes a read / write (R / W) channel 40, a hard disk controller (HDC) 50, and a microprocessor or microprocessing unit (MPU) 60. The R / W channel 40, the HDC 50, and the MPU 60 are electrically connected to each other. The system controller 130 is electrically connected to, for example, a driver IC 20, a head amplifier IC 30, a volatile memory 70, a non-volatile memory 80, a buffer memory 90, and a host system 100.
[0042] The R / W channel 40 performs signal processing of read data and write data according to instructions from the MPU 60. The R / W channel 40 has a circuit or function for modulating write data. In addition, the R / W channel 40 has a circuit or function for measuring the signal quality of read data. The R / W channel 40 is electrically connected to, for example, the head amplifier IC 30 or the like.
[0043] The HDC 50 controls data transfer between the host 100 and the R / W channel 40 in accordance with instructions from the MPU 60 described later. The HDC 50 is electrically connected to, for example, a volatile memory 70, a nonvolatile memory 80, a buffer memory 90, and the like.
[0044] 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 to perform positioning of the head 15. The MPU 60 controls the write action (work) of writing data to the disk 10, and selects the storage destination of the write data transmitted from the host 100. In addition, the MPU 60 controls the read action of reading data from the disk 10, and controls the processing of the read data transmitted from the disk 10 to the host 100. In addition, the MPU 60 manages the area for recording 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.
[0045] The MPU 60 includes a read / write control unit 610 and a recording area management unit 620. The MPU 60 executes processing of each unit, such as the read / write control unit 610 and the recording area management unit 620, on firmware. In addition, the MPU 60 may include each unit, such as the read / write control unit 610 and the recording area management unit 620, as a circuit.
[0046] The read / write control unit 610 controls data reading and writing according to commands from the host 100. The read / write control unit 610 controls the VCM 14 via the driver IC 20 to position the head 15 at a predetermined radial position on the disk 10 and executes reading or writing.
[0047] The read / write control unit 610 performs normal recording processing or shingle recording processing according to instructions from the host 100. In other words, the read / write control unit 610 selectively performs normal recording processing and shingle recording processing according to instructions from the host 100. In addition, the read / write control unit 610 can perform only normal recording processing or only shingle recording processing. In the following, the term "access" is sometimes used to include the following situations: recording or writing data in a predetermined area; reading or reading data from a predetermined area; moving the head 15, etc. to a predetermined area.
[0048] Figure 3 This is a schematic diagram showing an example of normal recording processing. Figure 3 Tracks CTR1, CTR2 and CTR3 are shown in FIG. Figure 3 For example, the track widths of tracks CTR1, CTR2, and CTR3 are the same. In addition, the track widths of tracks CTR1 to CTR3 may be different. The terms "same", "identical", "consistent", and "equivalent" include the meaning of being completely the same as well as the meaning of being different to the extent that they are considered to be substantially the same. Figure 3 , the track center CTC1 of the track CTR1, the track center CTC2 of the track CTR2, and the track center CTC3 of the track CTR3 are shown. Figure 3 In the example shown, tracks CTR1, CTR2, and CTR3 are written with a track pitch CTP. The track center CTC1 of track CTR1 and the track center CTC2 of track CTR2 are separated by the track pitch CTP. The track center CTC2 of track CTR2 and the track center CTC3 of track CTR3 are separated by the track pitch CTP. Track CTR1 and track CTR2 are separated by a gap GP. Track CTR2 and track CTR3 are separated by a gap GP. In addition, tracks CTR1 to CTR3 may also be written with different track pitches. Figure 3 In the figure, for the convenience of explanation, each track is shown as a rectangular shape extending in the circumferential direction with a predetermined track width, but in fact it is curved along the circumferential direction. In addition, each track can also be in a wave shape extending in the circumferential direction while changing in the radial direction.
[0049] exist Figure 3In the example shown, the read / write control unit 610 positions the head 15 at the track center CTC1 in a predetermined area of the disk 10, for example, the user data area 10a, and performs normal recording on the track CTR1 or a predetermined sector of the track CTR1. The read / write control unit 610 positions the head 15 at the track center CTC2 spaced inwardly from the track center CTC1 of the track CTR1 by the track pitch CTP in the user data area 10a, and performs normal recording on the track CTR2 or a predetermined sector of the track CTR2. The read / write control unit 610 positions the head 15 at the track center CTC3 spaced inwardly from the track center CTC2 of the track CTR2 by the track pitch CTP in the user data area 10a, and performs normal recording on the track CTR3 or a predetermined sector of the track CTR3. The read / write control unit 610 can normally record tracks CTR1, CTR2, and CTR3 sequentially in a predetermined area of the disk 10, such as the user data area 10a, or can randomly record a predetermined sector of track CTR1, a predetermined sector of track CTR2, and a predetermined sector of track CTR3.
[0050] Figure 4 It is a schematic diagram showing an example of tile recording processing. Figure 4 , multiple tracks STR1, STR2, and STR3 are continuously written in an overlapping manner in a radial direction. Hereinafter, in tile recording, the area where data is written by the write head 15W is sometimes referred to as a write track, and the remaining area of a predetermined track except for the area where overlapping writing of other write tracks is performed is referred to as a read track. Figure 4 The center of track STC1 of track STR1 without overlapping writing of other tracks, the center of track STC2 of track STR2 without overlapping writing of other tracks, and the center of track STC3 of track STR3 without overlapping writing of other tracks are shown in FIG. Figure 4 In the example shown, tracks STR1, STR2, and STR3 are written with a track pitch STP. The track center STC1 of track STR1 and the track center STC2 of track STR2 are separated by a track pitch STP. The track center STC2 of track STR2 and the track center STC3 of track STR3 are separated by a track pitch STP. Tracks STR1 to STR3 can also be written with different track pitches. Figure 4In the embodiment, the radial width of the area in track STR1 where the overlapping writing of track STR2 is not performed is the same as the radial width of the area in track STR2 where the overlapping writing of track STR3 is not performed. In addition, the radial width of the area in track STR1 where the overlapping writing of track STR2 is not performed is different from the radial width of the area in track STR2 where the overlapping writing of track STR3 is not performed. Figure 4 In the figure, for the sake of convenience, each track is shown as a rectangular shape extending in the circumferential direction with a predetermined track width, but in fact it is curved along the circumferential direction. In addition, each track can also be in a wavy shape extending in the circumferential direction while changing in the radial direction. Figure 4 In the example, overlapping writing of 3 tracks is performed, but overlapping writing of less than 3 or more than 3 tracks can also be performed.
[0051] exist Figure 4 In the example shown, the read / write control unit 610 performs tile recording on tracks STR1 to STR3 sequentially at a track pitch STP in the inner direction. In addition, the read / write control unit 610 may also perform tile recording on tracks STR1 to STR3 sequentially at a track pitch STP in the outer direction. The read / write control unit 610 writes to track STR2 at a track pitch STP in the inner direction of track STR1, and writes track STR2 overlappingly to a portion of track STR1 in the inner direction. The read / write control unit 610 writes to track STR3 at a track pitch STP in the inner direction of track STR2, and writes track STR3 overlappingly to a portion of track STR2 in the inner direction.
[0052] The recording area management unit 620 manages the recording area of the disk 10 (hereinafter, sometimes referred to as the disk 10) according to instructions from the host 100, etc. The recording area management unit 620 sets, changes or switches the predetermined radial area (hereinafter, sometimes referred to as the radial area) in the user data area 10a of the disk 10 according to instructions from the host 100, etc., such as the data capacity (hereinafter, referred to as the data capacity), the radial range (hereinafter, sometimes referred to as the radial range), the area and / or the recording type. In addition, the "radial area" includes the following meanings: "the area from the predetermined radial position to other radial positions", "the distance from the predetermined radial position to other radial positions", "the area from the predetermined track to other tracks", "at least one track arranged continuously in the radial direction", "the distance from the predetermined track to other tracks", "the area from the predetermined sector to other sectors separated in the radial direction", "the distance from the predetermined sector to other sectors separated in the radial direction", "at least one sector arranged continuously in the radial direction" and "the predetermined radial position", etc. In addition, the radial areas in the media cache area 10b and the system area 10c of the disk 10 may be set, changed, or switched according to instructions from the host 100, such as the data capacity (hereinafter referred to as data capacity), the range in the radial direction (hereinafter referred to as the radial range), the area, and / or the recording type. In addition, the recording area management unit 620 may store the settings of the respective radial areas of the user data area 10a, the media cache 10b, and the system area 10c as a table in a predetermined recording area, such as the system area 10c of the disk 10 or the nonvolatile memory 80. For example, the recording area management unit 620 sets, changes, or switches the settings of the respective radial areas of the user data area 10a, the media cache 10b, and the system area 10c recorded in the table to set the respective radial areas of the user data area 10a, the media cache 10b, and the system area 10c.
[0053] The recording area management unit 620 sets, changes or switches the predetermined recording area of the disk 10 to an area for writing data in a normal recording format (hereinafter sometimes referred to as a normal recording area, a CMR area or a SOBR (Sequential Or Before Required)) or an area for writing data in a tile recording format (hereinafter sometimes referred to as a tile recording area or an SMR area) according to instructions from the host 100, etc. In the ZAC-2 (Zoned Device ATA Command Set-2) proposed by T13 and the ZBC-2 (Zoned Block Commands-2) proposed by T10, the normal recording area and the tile recording area can be switched according to predetermined specifications and predetermined actions. For example, the recording area management unit 620 can set, change or switch the normal recording area and the tile recording area according to the specifications and actions of ZAC-2 and ZBC-2. Hereinafter, the normal recording area and the tile recording area are sometimes collectively referred to as the recording area. In addition, the normal recording area or the tile recording area is sometimes simply referred to as the recording area.
[0054] The recording area management unit 620 sets, changes or switches the normal recording area and the tile recording area in units of a certain number of blocks or a certain amount of data managed by the host 100. Sometimes, the physical and logical areas of the normal recording area corresponding to the certain number of blocks or the amount of data managed by the host 100 are also referred to as CMR partitions. In addition, the data written to the CMR partition is sometimes referred to as a CMR partition. The CMR partition may also include at least one track. Sometimes, the physical and logical areas of the tile recording area corresponding to the certain number of blocks or the amount of data managed by the host 100 are also referred to as SMR partitions. In addition, the data written to the SMR partition is sometimes referred to as an SMR partition. The SMR partition may also include at least one track. For example, the upper limit value of the capacity of data that can be written to the CMR partition and the SMR partition (hereinafter, sometimes also referred to as data capacity) is the same. In other words, the data capacity of the CMR partition and the SMR partition is the same. In addition, the area (hereinafter, sometimes also referred to as area) of the CMR partition and the SMR partition is different. In other words, the length in the radial direction (hereinafter, sometimes referred to as the length) or the width in the radial direction (hereinafter, sometimes referred to as the width) of the CMR partition and the SMR partition are different. The area of the CMR partition is larger than the area of the SMR partition. The length or width of the CMR partition is larger than the length or width of the SMR partition. In other words, the length or width of the SMR partition is smaller than the length or width of the CMR partition.
[0055] The recording area management unit 620 has information (hereinafter sometimes referred to as CMR partition configuration information) associated with the configuration (hereinafter sometimes referred to as CMR partition configuration information) of a plurality of physical radial areas (hereinafter sometimes referred to as CMR partition areas) divided in the radial direction of the disk 10, for example, the entire area of the user data area 10a according to the width of the CMR partition, and information (hereinafter sometimes referred to as SMR partition configuration information) associated with the configuration (hereinafter sometimes referred to as SMR partition configuration information) of a plurality of physical radial areas (hereinafter sometimes referred to as SMR partition areas) divided in the radial direction of the disk 10, for example, the entire area of the user data area 10a according to the width of the SMR partition. For example, the recording area management unit 620 may also record the CMR partition configuration information and the SMR partition configuration information in a predetermined recording area, such as the system area 10c of the disk 10 or the non-volatile memory 80.
[0056] When the recording area management unit 620 sets or changes a predetermined radius area to a CMR division area according to the instruction of the host 100, etc., the radius area is not set or changed to an SMR division area corresponding to the CMR division area. In other words, when the recording area management unit 620 validates a predetermined CMR division area according to the instruction of the host 100, etc., the SMR division area corresponding to the CMR division area is invalidated. For example, when the recording area management unit 620 validates CMR division areas corresponding to two SMR division areas arranged continuously in the radial direction according to the instruction of the host 100, etc., the two SMR division areas are invalidated.
[0057] When the recording area management unit 620 sets or changes a predetermined radius area to an SMR division area according to the instruction of the host 100, etc., the radius area is not set or changed to a CMR division area corresponding to the SMR division area. In other words, when the recording area management unit 620 validates a predetermined SMR division area according to the instruction of the host 100, etc., the CMR division area corresponding to the SMR division area is invalidated. For example, when the recording area management unit 620 validates the SMR division areas corresponding to two CMR division areas arranged continuously in the radial direction according to the instruction of the host 100, etc., the two CMR division areas are invalidated.
[0058] The recording area management unit 620 may also set, change or switch a radius area that is not set as a CMR division area and an SMR division area, or that does not validate (or invalidate) a CMR division area and an SMR division area in the user data area 10a to an invalidated area, an unused area or an empty area. Hereinafter, an "invalidated area", "unused area" and "empty area" may also be referred to as an "unused area".
[0059] The recording area management unit 620 sets a predetermined radius area as a CMR division area, and sets other radius areas different from the radius area as SMR division areas to minimize the unused area in the user data area 10a. In other words, the recording area management unit 620 validates the CMR division area and the SMR division area to minimize the unused area in the user data area 10a. For example, the recording area management unit 620 validates the CMR division area from the radius position IMRP to the predetermined radius position in the outer direction, and validates the SMR division area from the radius position OMRP to the radius position in the inner direction that does not overlap with the validated CMR division area. For another example, the recording area management unit 620 may also validate the SMR division area from the radius position IMRP to the predetermined radius position in the outer direction, and validate the CMR division area from the radius position OMRP to the radius position in the inner direction that does not overlap with the validated SMR division area. When validating or invalidating the CMR division area and the SMR division area, the recording area management unit 620 may output (or reply) information on the validation or invalidation of the CMR division area and the SMR division area to the host 100 or the like.
[0060] The recording area management unit 620 configures (sets or validates) CMR partitions in an arbitrary logical address, such as LBA (Logical block Address) order within a validated CMR partition area (hereinafter, sometimes also referred to as a validated CMR area), and configures (sets or validates) SMR partitions in an arbitrary LBA order within a validated SMR partition area (hereinafter, sometimes also referred to as a validated SMR area).
[0061] When receiving a command to write data to a CMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 configures (sets or validates) a CMR partition corresponding to the predetermined LBA in the validated CMR area in an arbitrary LBA order. When receiving a command to write data to an SMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 configures (sets or validates) an SMR partition corresponding to the predetermined LBA in the validated SMR area in an arbitrary LBA order. The recording area management unit 620 writes data to a CMR partition set in the validated CMR area and writes data to an SMR partition set in the validated SMR area.
[0062] When the recording area management unit 620 receives an instruction to write data to a CMR partition corresponding to a predetermined LBA from the host 100, etc., the CMR partition corresponding to the predetermined LBA is appropriately configured (set or validated) in the validated CMR area according to the order of LBAs specified by the instruction from the host 100. When the recording area management unit 620 receives an instruction to write data to an SMR partition corresponding to a predetermined LBA from the host 100, etc., the SMR partition corresponding to the predetermined LBA is appropriately configured (set or validated) in the validated SMR area according to the order of LBAs specified by the instruction from the host 100. In other words, when the recording area management unit 620 receives an instruction to write data to a CMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 configures (sets or validates) the CMR partition corresponding to the predetermined LBA in the validated CMR area in the order of write data specified by the instruction from the host 100, and when the recording area management unit 620 receives an instruction to write data to an SMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 configures (sets or validates) the SMR partition corresponding to the predetermined LBA in the validated SMR area in the order of write data specified by the instruction from the host 100. The recording area management unit 620 writes data to the CMR partition set in the validated CMR area and writes data to the SMR partition set in the validated SMR area.
[0063] For example, when the recording area management unit 620 receives an instruction to write data to a CMR partition corresponding to a predetermined LBA from the host 100, etc., the CMR partition of the next LBA corresponding to the predetermined LBA is configured (set or validated) in the validated CMR area, and when the recording area management unit 620 receives an instruction to write data to an SMR partition corresponding to a predetermined LBA from the host 100, etc., the SMR partition of the next LBA corresponding to the predetermined LBA is configured (set or validated) in the validated SMR area. The recording area management unit 620 writes data to the CMR partition set in the validated CMR area, and writes data to the SMR partition set in the validated SMR area.
[0064] Figure 5 It is a schematic diagram showing an example of a logic array LA including a normal recording area and a tile recording area.
[0065] exist Figure 5 In the logical array LA shown, the logical address of the SMR area SR, for example, the LBA of the SMR area SR, is a later LBA than the logical address of the normal recording area CR, for example, the LBA of the normal recording area CR. Figure 5 In the logical array LA shown, the recording area CR generally includes CMR partitions CZ0, CZ1, ..., CZn-1, CZn. The CMR partitions CZ0, CZ1, ..., CZn-1, CZn are assigned LBAs in the order in which they are recorded. For example, the LBA of CMR partition CZ1 is the LBA after the LBA of CMR partition CZ0, the LBA of CMR partition CZn-1 is the LBA after the LBA of CMR partition CZ1, and the LBA of CMR partition CZn is the LBA after the LBA of CMR partition CZn-1. Figure 5 In the logical array LA shown, the tile recording area SR includes SMR partitions SZ0, SZ1, ..., SZn-1, and SZn. The SMR partitions SZ0, SZ1, ..., SZn-1, and SZn are assigned LBAs in the order in which they are recorded. For example, the LBA of the SMR partition SZ1 is the LBA after the LBA of the SMR partition SZ0, the LBA of the SMR partition SZn-1 is the LBA after the LBA of the SMR partition SZ1, and the LBA of the SMR partition SZn is the LBA after the LBA of the SMR partition SZn-1.
[0066] Figure 6 It is a schematic diagram showing an example of the validation processing of the SMR division area and the CMR division area. Figure 6IMRP, RP601, RP602, RP603, and OMRP are shown in FIG. 6 . RP601 is located in the outer direction of IMRP, RP602 is located in the outer direction of RP601, RP603 is located in the outer direction of RP602, and OMRP is located in the outer direction of RP603. Figure 6 In the example shown, a normal recording area CR and a tile recording area SR are shown. Figure 6 In the physical configuration of the normal recording area CR and the tile recording area SR in the user data area 10a shown, the normal recording area CR includes a plurality of CMR division areas CDR0, CDR1, CDR2, ..., CDRn that divide the user data area 10a. The plurality of CMR division areas CDR0, CDR1, CDR2, ..., CDRn are arranged continuously in the outward direction from the radial position IMRP to the radial position OMRP in the order of the records. In addition, the plurality of CMR division areas CDR0, CDR1, CDR2, ..., CDRn may also be arranged continuously in the inward direction from the radial position OMRP to the radial position IMRP in the order of the records. Figure 6 In the embodiment, CMR divided area CDR1 is adjacent to CMR divided area CDR0 in the outer direction, and CMR divided area CDR2 is adjacent to CMR divided area CDR1 in the outer direction. Multiple CMR divided areas CDR0, CDR1, CDR2, ..., CDRn have the same width CDRW. In addition, multiple CMR divided areas CDR0, CDR1, CDR2, ..., CDRn can also have different widths. Figure 6 In the physical configuration of the normal recording area CR and the tile recording area SR within the user data area 10a shown, the tile recording area SR includes a plurality of SMR division areas SDR0, SDR1, SDR2, SDR3, ..., SDRn that divide the user data area 10a. The plurality of SMR division areas SDR0, SDR1, SDR2, SDR3, ..., SDRn are arranged continuously in the outward direction from the radial position IMRP to the radial position OMRP in the order of the records. In addition, the plurality of SMR division areas SDR0, SDR1, SDR2, SDR3, ..., SDRn may also be arranged continuously in the inward direction from the radial position OMRP to the radial position IMRP in the order of the records. Figure 6In the figure, the SMR divided area SDR1 is adjacent to the SMR divided area SDR0 in the outer direction, the SMR divided area SDR2 is adjacent to the SMR divided area SDR1 in the outer direction, and the SMR divided area SDR3 is adjacent to the SMR divided area SDR2 in the outer direction. The multiple SMR divided areas SDR0, SDR1, SDR2, SDR3, ..., SDRn have the same width SDRW. In addition, the multiple SMR divided areas SDR0, SDR1, SDR2, ..., SDRn can also have different widths. The width of the SMR divided area is smaller than the width of the CMR divided area. Figure 6 , the width SDRW is smaller than the width CDRW. The boundary between the SMR division areas SDR1 and SDR2 is equivalent to the radius position RP601, corresponding to the CMR division area CDR1. The boundary between the CMR division areas CDR1 and CDR2 is equivalent to the radius position RP602, corresponding to the SMR division area SDR2. The boundary between the SMR division areas SDR2 and SDR3 is equivalent to the radius position RP603, corresponding to the CMR division area CDR2.
[0067] exist Figure 6 In the example shown, the recording area management unit 620 validates the SMR division area SDR2. When the SMR division area SDR2 is validated, the recording area management unit 620 invalidates the CMR division areas CDR1 and CDR2. The recording area management unit 620 validates the CMR division areas other than the CMR division areas CDR1 and CDR2. In this case, to validate one SMR division area SDR2, two CMR division areas CDR1 and CDR2 have to be invalidated, so the upper limit of the data capacity that can be written to the user data area 10a may be greatly reduced.
[0068] exist Figure 6 In the example shown, the recording area management unit 620 validates the CMR division area CDR1. When the CMR division area CDR1 is validated, the recording area management unit 620 invalidates the SMR division areas SDR1 and SDR2. The recording area management unit 620 validates the SMR division areas other than the SMR division areas SDR1 and SDR2. In this case, to validate one CMR division area CDR1, two SMR division areas SDR1 and SDR2 have to be invalidated, so the upper limit of the data capacity that can be written to the user data area 10a may be greatly reduced.
[0069] exist Figure 6In the example shown, the recording area management unit 620 enables the CMR division areas CDR0 and CDR1. When the CMR division areas CDR0 and CDR1 are enabled, the recording area management unit 620 can enable the SMR division areas SDR3 to SDRn. When the SMR division areas SDR3 to SDRn are enabled, the recording area management unit 620 disables the SMR division areas SDR0 to SDR2. The recording area management unit 620 sets the radius area from the radius position RP602 to the radius position RP603 between the CMR division area CDR1 and the SMR division area SDR3 as an unused area. In this case, the reduction in the upper limit value of the data capacity that can be written to the user data area 10a can be suppressed.
[0070] Figure 7 It is a schematic diagram showing an example of the physical configuration of the CMR partition and the SMR partition involved in this embodiment. Figure 7 and Figure 5 as well as Figure 6 corresponds to a part of . Figure 7 1 shows the physical configuration of the normal recording area CR and the tile recording area SR indicated, transmitted or stored by the magnetic disk device 1, such as the head amplifier IC 30, the R / W channel 40, the HDC 50, the MPU 60, the volatile memory 70, the non-volatile memory 80, the buffer memory 90, etc., and the logical array LA. Figure 7 In the logical array LA shown, the recording area CR generally also includes a CMR partition CZ2. The CMR partitions CZ0, CZ1, CZ2, ..., CZn-1, CZn are assigned LBAs in the order in which they are recorded. For example, the LBA of the CMR partition CZ2 is the LBA that follows the LBA of the CMR partition CZ1. Figure 7 In the logical array LA shown, the tile recording area SR also includes SMR partitions SZ2 and SZ3. The SMR partitions SZ0, SZ1, SZ2, SZ3, ..., SZn-1, SZn are assigned LBAs in the order of the records. For example, the LBA of the SMR partition SZ2 is the LBA after the LBA of the SMR partition SZ1, the LBA of the SMR partition SZ3 is the LBA after the LBA of the SMR partition SZ2, and the LBA of the SMR partition SZn-1 is the LBA after the LBA of the SMR partition SZ3.
[0071] Figure 7IMRP, RP701, RP702, and OMRP are shown in FIG. 7 . RP701 is located in the outer direction of IMRP, RP702 is located in the outer direction of RP701, and OMRP is located in the outer direction of RP702. Figure 7 In the physical arrangement of the normal recording area CR and the tile recording area SR in the user data area 10a shown in the figure, the normal recording area CR also includes the CMR division area CDRk divided from the user data area 10a. Figure 6 The CMR division area CDRn shown is located in the inner direction. The end of the CMR division area CDRk in the outer direction corresponds to the radius position RP701. Multiple CMR division areas CDR0, CDR1, ..., CDRk are arranged continuously in the outer direction from the radius position IMRP to the radius position RP701 in the order of the records. In addition, multiple CMR division areas CDR0, CDR1, ..., CDRk can also be arranged continuously in the inner direction from the radius position RP701 to the radius position IMRP in the order of the records. Figure 7 In the embodiment, the CMR divided region CDR1 is adjacent to the CMR divided region CDR0 in the outer direction. Figure 7 In the physical arrangement of the normal recording area CR and the tile recording area SR in the user data area 10a shown in the figure, the tile recording area SR also includes a plurality of SMR division areas SDRm and SDRm+1 divided from the user data area 10a. Figure 6 The SMR division area SDR3 shown is located in the outer direction. The SMR division area SDRm+1 is located in the outer direction than the SMR division area SDRm. The SMR division area SDRn is located in the outer direction than the SMR division area SDRm+1. The inner end of the SMR division area SDRm corresponds to the radius position RP702. Multiple SMR division areas SDRm, SDRm+1, ..., SDRn are arranged continuously in the outer direction from the radius position RP702 to the radius position OMRP in the order of the records. In addition, multiple SMR division areas SDRm, SDRm+1, ..., SDRn can also be arranged continuously in the inner direction from the radius position OMRP to the radius position RP702 in the order of the records. Figure 7 In the embodiment, the SMR divided region SDRm+1 is adjacent to the SMR divided region SDRm in the outer direction.
[0072] exist Figure 7In the example shown, the recording area management unit 620 enables the CMR partition areas CDR0 to CDRk and enables the SMR partition areas SDRm to SDRn to minimize the unused areas. The recording area management unit 620 sets the CMR partitions of the next LBA in the logical array LA to the CMR partition areas, and sets the SMR partitions of the next LBA in the logical array LA to the SMR partition areas.
[0073] exist Figure 7 In the example shown, when receiving an instruction to write data to a CMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 sets (or configures) the CMR partition CZ0 in the CMR partition area CDR0, sets (or configures) the CMR partition CZ2 in the CMR partition area CDR1, and sets (or configures) the CMR partition CZn-1 in the CMR partition area CDRk. The recording area management unit 620 writes data to the CMR partition CZ0 set in the user data area 10a, writes data to the CMR partition CZ2 set in the user data area 10a, and writes data to the CMR partition CZn-1 set in the user data area 10a.
[0074] exist Figure 7 In the example shown, when receiving an instruction to write data to an SMR partition corresponding to a predetermined LBA from the host 100 or the like, the recording area management unit 620 sets (or configures) the SMR partition SZ3 to the SMR partition area SDRm, sets (or configures) the SMR partition SZ1 to the SMR partition area SDRm+1, and sets (or configures) the SMR partition SZn to the SMR partition area SDRn. The recording area management unit 620 writes data to the SMR partition SZ3 set in the user data area 10a, writes data to the SMR partition SZ1 set in the user data area 10a, and writes data to the SMR partition SZn set in the user data area 10a.
[0075] Figure 8 This is a flowchart showing an example of a method for setting a recording area according to the present embodiment.
[0076] The MPU 60 validates the CMR division area and the SMR division area of the user data area 10a according to the command or instruction from the host 100, etc., so as to minimize the unused area (B801), and replies to the host 100. The MPU 60 receives the write data (or command) transmitted from the host 100, etc. (B802). The MPU 60 determines whether the recording area of the LBA corresponding to the received write data (or command) has been set in the physical area, for example, the user data area 10a (B803).
[0077] When the recording area of the LBA corresponding to the received write data (or command) has been set in the physical area, such as the user data area 10a (B803: Yes), the MPU 60 proceeds to the processing of B807. When the recording area of the LBA corresponding to the received write data (or command) is not set in the physical area, such as the user data area 10a (B803: No), the MPU 60 determines whether to write to the tile recording area SR (B804). In other words, when the recording area of the LBA corresponding to the received write data (or command) is not set in the user data area 10a, the MPU 60 determines whether to write to the tile recording area SR or to the normal recording area CR.
[0078] When it is determined that the data is to be written to the normal recording area CR (B804: No), the MPU 60 sets the CMR partition of the LBA corresponding to the write data (or command) to the predetermined CMR partition area (B805), and proceeds to the processing of B807. When it is determined that the data is to be written to the tile recording area SR (B804: Yes), the MPU 60 sets the SMR partition of the LBA corresponding to the write data (or command) to the predetermined SMR partition area (B806), writes the data (B807), and ends the processing.
[0079] According to the first embodiment, the magnetic disk device 1 activates the CMR partition area and the SMR partition area of the user data area 10a according to the instructions or instructions from the host 100, etc., so as to minimize the unused area. When the magnetic disk device 1 receives write data (or instructions) from the host 100, etc., it sets the CMR partition or SMR partition of the LBA corresponding to the write data (or instructions) in the CMR partition area or SMR partition area of the user data area 10a, and writes data to the CMR partition or SMR partition set in the user data area 10a. The magnetic disk device 1 can minimize the unused area, so it can suppress the reduction of the upper limit value of the data capacity that can be written to the disk 10. Therefore, the magnetic disk device 1 can efficiently write data to the disk 10.
[0080] Next, magnetic disk devices according to other embodiments and other modified examples of the first embodiment described above will be described. In other embodiments and other modified examples, the same reference numerals are given to the same parts as those in the first embodiment described above, and detailed description thereof will be omitted.
[0081] (Variant 1)
[0082] The magnetic disk device 1 of the first modification is different from the magnetic disk device 1 of the first embodiment described above in the method of setting the recording area.
[0083] The recording area management unit 620 sets (configures or validates) a plurality of CMR partitions corresponding to a plurality of LBAs corresponding to the write data (or command) in one direction in the order in which the write data (or command) is received, for a plurality of validated CMR areas arranged continuously from a validated CMR area located at one end of the user data area 10a in the radial direction (hereinafter, sometimes referred to as the one end of the user data area 10a) to a validated CMR area located at the other end opposite to the one end of the user data area 10a in the radial direction (hereinafter, sometimes referred to as the other end of the user data area 10a). In addition, the recording area management unit 620 sets (configures or validates) a plurality of SMR partitions corresponding to a plurality of LBAs corresponding to the write data (or command) in one direction in the order in which the write data (or command) is received, for a plurality of validated SMR areas arranged continuously from a validated SMR area located at the other end of the user data area 10a to a validated SMR area located at the one end of the user data area 10a.
[0084] Fig. 9 This is a schematic diagram showing an example of the physical configuration of the CMR partition and the SMR partition involved in the modification example 1. Fig. 9 and Figure 5 as well as Figure 6 corresponds to a part of . Fig. 9 The radial position IMRP, the radial position RP901, the radial position RP902, and the radial position OMRP are shown in FIG. The radial position RP901 is located in the outer direction of the radial position IMRP, the radial position RP902 is located in the outer direction of the radial position RP901, and the radial position OMRP is located in the outer direction of the radial position RP902. Fig. 9 In the example shown, the outer end of the CMR divided area CDR1 corresponds to the radius position RP901 and corresponds to the SMR divided area SDR2. The inner end of the SMR divided area SDR3 corresponds to the radius position RP902 and corresponds to the CMR divided area CDR2. Fig. 9 In the example, the CMR division area and the SMR division area are enabled in the white background portion and disabled in the hatched portion.
[0085] exist Fig. 9 In the example shown, when MPU60 receives an instruction (or indication) to write data to CMR partition CZ0 from host 100, etc., MPU60 sets (or configures) CMR partition CZ0 in CMR partition area CDR0; when MPU60 receives an instruction (or indication) to write data to CMR partition CZ1 from host 100, etc., MPU60 sets (or configures) CMR partition CZ1 in CMR partition area CDR1.
[0086] exist Fig. 9 In the example shown, when MPU60 receives an instruction (or indication) to write data to SMR partition SZn from host 100, etc., MPU60 sets (or configures) SMR partition SZn in SMR partition area SDRn; when MPU60 receives an instruction (or indication) to write data to SMR partition SZ3 from host 100, etc., MPU60 sets (or configures) SMR partition SZ3 in SMR partition area SDR3.
[0087] Fig.10 This is a flowchart showing an example of a method for setting a tile recording area according to Modification Example 1.
[0088] The MPU 60 validates the CMR division area and the SMR division area of the user data area 10a according to the command or instruction from the host 100 or the like (B801), and responds to the host 100. The MPU 60 receives the write data (or command) transmitted from the host 100 or the like (B802). The MPU 60 determines whether the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803).
[0089] If the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803: Yes), the MPU 60 proceeds to the processing of B807. If the recording area of the LBA corresponding to the received write data (or command) has not been set in the user data area 10a (B803: No), the MPU 60 determines whether to write to the tile recording area SR or the normal recording area CR (B804).
[0090] When it is determined that the data is to be written to the normal recording area CR (B804: No), the MPU 60 sets the CMR partition of the LBA corresponding to the write data (or command) received from the host 100 etc. in the CMR partition area in order from one end of the user data area 10a to the other end side opposite to the one end (B1001), and proceeds to the processing of B807. When it is determined that the data is to be written to the tile recording area SR (B804: Yes), the MPU 60 sets the SMR partition of the LBA corresponding to the write data (or command) received from the host 100 etc. in order from the other end of the user data area 10a to one end side in the SMR partition area (B1002), writes the data (B807), and ends the processing.
[0091] According to the first modification, the magnetic disk device 1 sets the CMR partition of the LBA corresponding to the write data (or command) received from the host 100 in the CMR partition area in order from one end of the user data area 10a to the other end side opposite to the one end, sets the SMR partition of the LBA corresponding to the write data (or command) received from the host 100 in the SMR partition area in order from the other end of the user data area 10a to the one end side, and writes data to the CMR partition and the SMR partition set in the user data area 10a. Therefore, the magnetic disk device 1 can efficiently write data to the disk 10.
[0092] (Variant 2)
[0093] The magnetic disk device 1 of the modification example 2 is different from the magnetic disk devices 1 of the first embodiment and the modification example 1 described above in the method of setting the normal recording area CR and the tile recording area SR.
[0094] The recording area management unit 620 sets (configures or validates) multiple CMR partitions of multiple LBAs corresponding to the write data (or instructions) in a valid CMR area in a continuous arrangement in the order of LBA, and sets (configures or validates) multiple SMR partitions of multiple LBAs corresponding to the write data (or instructions) in a valid SMR area in a continuous arrangement in the order of LBA.
[0095] Fig.11 This is a schematic diagram showing an example of the physical configuration of the CMR partition involved in the second modification. Fig.11 and Figure 5 , Figure 6 as well as Figure 7 corresponds to a part of Fig.11 In the logical array LA shown, the recording area CR generally also includes a CMR partition CZ3. The CMR partitions CZ0, CZ1, CZ2, CZ3, ..., CZn-1, CZn are assigned LBAs in the order in which they are recorded. For example, the LBA of the CMR partition CZ3 is the LBA after the LBA of the CMR partition CZ2, and is the LBA before the CMR partition CZn-1. Fig.11 In the example, the CMR division area is enabled in the white background portion and disabled in the hatched portion.
[0096] exist Fig.11In the physical configuration of the normal recording area CR in the user data area 10a shown, the normal recording area CR also includes CMR division areas CDR3 and CDR4 that divide the user data area 10a. The CMR division area CDR3 is located in the outer direction than the CMR division area CDR2. The CMR division area CDR3 is adjacent to the CMR division area CDR2 in the outer direction. The CMR division area CDR4 is located in the outer direction than the CMR division area CDR3 and in the inner direction than the CMR division area CDRn. The CMR division area CDR4 is adjacent to the CMR division area CDR3 in the outer direction. A plurality of CMR division areas CDR0, CDR1, CDR2, CDR3, CDR4, ..., CDRn are arranged continuously in the outer direction from the radial position IMRP to the radial position OMRP in the order of the records. In addition, a plurality of CMR division areas CDR0, CDR1, CDR2, CDR3, CDR4, ..., CDRn may also be arranged continuously in the inner direction from the radial position OMRP to the radial position IMRP in the order of the records.
[0097] exist Fig.11 In the example shown, when MPU60 receives an instruction to write data in the order of CMR partitions CZ0, CZ1 and CZ3 from the host 100, etc. in the order of LBA of CMR partition CZ0, LBA of CMR partition CZ1 and LBA of CMR partition CZ3, CMR partition CZ0 is set (or configured) in CMR partition area CDR0, CMR partition CZ1 is set (or configured) in CMR partition area CDR1, CMR partition CZ2 is set (or configured) in CMR partition area CDR2, and CMR partition CZ3 is set (or configured) in CMR partition area CDR3.
[0098] Fig.12 This is a schematic diagram showing an example of the physical configuration of the SMR partition involved in the second modification. Fig.12 and Figure 5 , Figure 6 as well as Figure 7 corresponds to a part of Fig.12 In the logical array LA shown, the tile recording area SR also includes SMR partitions SZn-2 and SZn-3. SMR partitions SZ0, SZ1, ..., SZn-3, SZn-2, SZn-1, SZn are assigned LBAs in the order of recording. For example, the LBA of SMR partition SZn-2 is the LBA before the LBA of SMR partition SZn-1, and the LBA of SMR partition SZn-3 is the LBA before the LBA of SMR partition SZn-2. The LBA of SMR partition SZn-3 is the LBA before the LBA of SMR partition SZn-2, and the LBA after the LBA of SMR partition SZ1. Fig.12 In the example, the SMR division area is enabled in the white background portion and disabled in the shadow portion.
[0099] exist Fig.12 In the physical configuration of the tile recording area SR in the user data area 10a shown, the tile recording area SR also includes SMR divided areas SDRn-1, SDRn-2 and SDRn-3 that divide the user data area 10a. The SMR divided area SDRn-1 is located in the inner direction than the SMR divided area SDRn. The SMR divided area SDRn-1 is adjacent to the SMR divided area SDRn in the inner direction. The SMR divided area SDRn-2 is located in the inner direction than the SMR divided area SDRn-1. The SMR divided area SDRn-2 is adjacent to the SMR divided area SDRn-1 in the inner direction. The SMR divided area SDRn-3 is located in the inner direction than the SMR divided area SDRn-2 and in the outer direction than the SMR divided area SDR0. The SMR divided area SDRn-3 is adjacent to the SMR divided area SDRn-2 in the inner direction. A plurality of SMR division areas SDR0, ..., SDRn-3, SDRn-2, SDRn-1, SDRn are arranged continuously in the outward direction from the radial position IMRP to the radial position OMRP in the order of the records. In addition, a plurality of SMR division areas SDR0, ..., SDRn-3, SDRn-2, SDRn-1, SDRn can also be arranged continuously in the inward direction from the radial position OMRP to the radial position IMRP in the order of the records.
[0100] exist Fig.12 In the example shown, when MPU60 receives an instruction to write data in the order of SMR partitions SZn, SZn-1 and SZn-3 from the host 100, etc. in the order of LBA of SMR partition SZn, LBA of SMR partition SZn-1 and LBA of SMR partition SZn-3, SMR partition SZn is set (or configured) in SMR partition area SDRn, SMR partition SZn-1 is set (or configured) in SMR partition area SDRn-1, SMR partition SZn-2 is set (or configured) in SMR partition area SDRn-2, and SMR partition SZn-3 is set (or configured) in SMR partition area SDRn-3.
[0101] Fig.13 This is a flowchart showing an example of a method for setting a normal recording area and a tile recording area according to Modification Example 2.
[0102] The MPU 60 validates the CMR division area and the SMR division area of the user data area 10a according to the command or instruction from the host 100 or the like (B801), and responds to the host 100. The MPU 60 receives the write data (or command) transmitted from the host 100 or the like (B802). The MPU 60 determines whether the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803).
[0103] If the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803: Yes), the MPU 60 proceeds to the processing of B807. If the recording area of the LBA corresponding to the received write data (or command) has not been set in the user data area 10a (B803: No), the MPU 60 determines whether to write to the tile recording area SR or the normal recording area CR (B804).
[0104] When it is determined that the data is to be written to the normal recording area CR (B804: No), the MPU 60 sets the CMR partitions in the valid CMR area in a continuous arrangement according to the order of LBA (B1301), and proceeds to the processing of B807. When it is determined that the data is to be written to the tile recording area SR (B804: Yes), the MPU 60 sets the SMR partitions in the valid SMR area in a continuous arrangement according to the order of LBA (B1302), writes the data (B807), and ends the processing.
[0105] According to variation 2, the magnetic disk device 1 sets the CMR partitions in a continuous arrangement in the CMR partition area according to the order of LBA, and sets the SMR partitions in a continuous arrangement in the SMR partition area according to the order of LBA. The magnetic disk device 1 sets the CMR partitions and SMR partitions of LBAs of similar values in similar physical areas, and can reduce the delay time until access when receiving an instruction to write data to the CMR partitions and SMR partitions of LBAs of similar values. Therefore, the magnetic disk device 1 can efficiently write data to the disk 10.
[0106] (Variant 3)
[0107] The magnetic disk device 1 of Modification 3 is different from the magnetic disk devices 1 of the first embodiment, Modification 1, and Modification 2 described above in the method of setting the recording area.
[0108] The MPU 60 sets a predetermined radius area of the set unit area as a CMR division area, and sets other radius areas of the set unit area different from the radius area as SMR division areas, in such a manner that the unused area is minimized within the predetermined radius area (hereinafter, sometimes referred to as the set unit area) of the user data area 10a. In other words, the MPU 60 validates the CMR division area per set unit area and validates the SMR division area per set unit area, in such a manner that the unused area is minimized within the set unit area of the user data area 10a.
[0109] MPU60 sets CMR partitions in the order of LBAs in the validated CMR area of the set unit area, and sets SMR partitions in the order of LBAs in the validated SMR area of the set unit area. For example, MPU60 sets a plurality of CMR partitions corresponding to a plurality of LBAs of close values in the validated CMR area of the predetermined set unit area, and sets a plurality of SMR partitions corresponding to a plurality of LBAs of close values in the validated SMR area of the predetermined set unit area. For example, MPU60 sets a CMR partition corresponding to a small LBA in the validated CMR area of the set unit area located in the outer peripheral area OR, and sets an SMR partition corresponding to a small LBA in the validated SMR area of the set unit area located in the outer peripheral area OR. For another example, MPU60 sets a CMR partition corresponding to a large LBA in the validated CMR area of the set unit area located in the inner peripheral area IR, and sets an SMR partition corresponding to a large LBA in the validated SMR area of the set unit area located in the inner peripheral area IR.
[0110] Fig.14 This is a schematic diagram showing an example of a disk 10 according to Modification 3. Fig.14 and Figure 2 corresponds to a part of .
[0111] Fig.14 The radial position OMB and MIB are shown in FIG. The radial position OMB is located inward of the radial position OMRP. The radial position OMB corresponds to the boundary between the outer peripheral region OR and the middle peripheral region MR. Fig.14 In FIG. 1 , the radius region from the radius position OMRP to the radius position OMB corresponds to the outer region OR. The radius position MIB is located inward of the radius position OMB and outward of the radius position IMRP. The radius position MIB is equivalent to the boundary between the middle region MR and the inner region IR. Fig.14 In the figure, the radius area from the radius position OMB to the radius position MIB corresponds to the middle circumference area MR, and the radius area from the radius position MIB to the radius position IMRP corresponds to the inner circumference area IR.
[0112] Fig.15 This is a schematic diagram showing an example of the physical configuration of the CMR partition and the SMR partition involved in the modification example 3. Fig.15 and Fig.14 Corresponding. Fig.15 The radial position IMRP, the radial position RP1501, the radial position RP1502, the radial position MIB, the radial position RP1503, the radial position RP1504, the radial position OMB, the radial position RP1505, the radial position RP1506 and the radial position OMRP are shown. The radial position RP1501 is located in the outer direction of the radial position IMRP. The radial position RP1502 is located in the outer direction of the radial position RP1501 and in the inner direction of the radial position MIB. The radial position RP1503 is located in the outer direction of the radial position MIB. The radial position RP1504 is located in the outer direction of the radial position RP1503 and in the inner direction of the radial position OMB. The radial position RP1505 is located in the outer direction of the radial position OMB. The radial position RP1506 is located in the outer direction of the radial position RP1505 and in the inner direction of the radial position OMRP. Fig.15 In the embodiment, the radius area from the radius position IMRP to the radius position MIB corresponds to the inner peripheral area IR. The radius area from the radius position MIB to the radius position OMB corresponds to the middle peripheral area MR. The radius area from the radius position OMB to the radius position OMRP corresponds to the outer peripheral area OR. Fig.15 In the figure, the inner region IR, the middle region MR, and the outer region OR correspond to the set unit region. In addition, the set unit region may be a region with a smaller radius than the inner region IR, the middle region MR, and the outer region OR.
[0113] exist Fig.15 In the example shown, the MPU 60 validates the CMR partition area from the radius position IMRP to the radius position RP1501, and validates the SMR partition area from the radius position RP1502 to the radius position MIB, in the inner peripheral area IR of the user data area 10a. The MPU 60 validates the CMR partition area from the radius position MIB to the radius position RP1503, and validates the SMR partition area from the radius position RP1504 to the radius position OMB, in the middle peripheral area MR of the user data area 10a. The MPU 60 validates the CMR partition area from the radius position OMB to the radius position RP1505, and validates the SMR partition area from the radius position RP1506 to the radius position OMRP, in the outer peripheral area OR of the user data area 10a.
[0114] exist Fig.15In the example shown, MPU60 sets a CMR partition corresponding to a large LBA in the valid CMR area of the inner area IR of the user data area 10a, and sets an SMR partition corresponding to a large LBA in the valid SMR area of the inner area IR of the user data area 10a.
[0115] exist Fig.15 In the example shown, the MPU 60 sets a CMR partition corresponding to an LBA smaller than the LBA of the CMR partition set in the valid CMR area of the inner area IR and larger than the LBA of the CMR partition set in the valid CMR area of the outer area OR in the validated CMR area of the middle area MR of the user data area 10a. The MPU 60 sets an SMR partition corresponding to an LBA smaller than the LBA of the SMR partition set in the valid SMR area of the inner area IR and larger than the LBA of the SMR partition set in the valid SMR area of the outer area OR in the validated SMR area of the middle area MR of the user data area 10a.
[0116] exist Fig.15 In the example shown, the MPU 60 sets a CMR partition corresponding to a small LBA in the valid CMR area in the outer area OR of the user data area 10a, and sets an SMR partition corresponding to a small LBA in the valid SMR area in the inner area IR of the user data area 10a.
[0117] According to variant 3, the magnetic disk device 1 validates the CMR partition area by the set unit area and validates the SMR area by the set unit area in a manner that minimizes the unused area in the set unit area of the user data area 10a. The magnetic disk device 1 sets a plurality of CMR partitions corresponding to a plurality of LBAs of close values in the validated CMR area of the predetermined set unit area, and sets a plurality of SMR partitions corresponding to a plurality of LBAs of close values in the validated SMR area of the predetermined set unit area. The magnetic disk device 1 can reduce the seek time when receiving an instruction to write data to the CMR partition and the SMR partition of the LBA of close values from the host 100 or the like. Therefore, the magnetic disk device 1 can efficiently write data to the disk 10.
[0118] (Second embodiment)
[0119] The magnetic disk device 1 involved in the second embodiment is different from the magnetic disk device 1 of the aforementioned first embodiment, variant 1, variant 2 and variant 3 in that the setting method of the normal recording area CR and the tile recording area SR is different for each disk 10 and each head 15.
[0120] The disk 10 includes a plurality of disks 10. The head 15 includes a plurality of heads 15. One head 15 is opposed to one surface of the disk 10.
[0121] Fig.16 It is a schematic diagram showing an example of the arrangement of the head 15 with respect to the disk 10 according to the second embodiment.
[0122] exist Fig.16 In the example shown, the disk 10 includes a disk 10-1, a disk 10-2, ..., and a disk 10-N. The disks 10-1 to 10-N are coaxial and overlapped at intervals in one direction. The disks 10-1 to 10-N have the same radius. In addition, the disks 10-1 to 10-N may also have different radii.
[0123] The disk 10-1 has a surface 10-1S and a back side 10-1B on the opposite side of the surface 10-1S. The surface 10-1S has a user data area 10-1aS, a media cache 10-1bS, and a system area 10-1cS. The back side 10-1B has a user data area 10-1aB, a media cache 10-1bB, and a system area 10-1cB.
[0124] The disk 10-2 has a surface 10-2S and a back side 10-2B on the opposite side of the surface 10-2S. The surface 10-2S faces the back side 10-1B. The surface 10-2S has a user data area 10-2aS, a media cache 10-2bS, and a system area 10-2cS. The back side 10-2B has a user data area 10-2aB, a media cache 10-2bB, and a system area 10-2cB.
[0125] The disk 10-N has a surface 10-NS and a back side 10-NB on the opposite side of the surface 10-NS. The surface 10-NS has a user data area 10-NaS, a media cache 10-NbS, and a system area 10-NcS. The back side 10-NB has a user data area 10-NaB, a media cache 10-NbB, and a system area 10-NcB.
[0126] exist Fig.16, the head 15 includes a head 15-0, a head 15-1, a head 15-2, a head 15-3, ..., a head 15-(N-1), and a head 15-N. The head 15-0 is opposite to the surface 10-1S. The head 15-0 writes data to the surface 10-1S and reads data from the surface 10-1S. The head 15-1 is opposite to the back side 10-1B. The head 15-1 writes data to the back side 10-1B and reads data from the back side 10-1B. The head 15-2 is opposite to the surface 10-2S. The head 15-2 writes data to the surface 10-2S and reads data from the surface 10-2S. The head 15-3 is opposite to the back side 10-2B. The head 15-1 writes data to the back side 10-2B and reads data from the back side 10-2B. The head 15-(N-1) is opposite to the surface 10-NS. The head 15-(N-1) writes data to the front surface 10-NS and reads data from the front surface 10-NS. The head 15-N faces the back surface 10-NB. The head 15-N writes data to the back surface 10-NB and reads data from the back surface 10-NB.
[0127] The MPU 60 preferentially sets a CMR partition in a validated CMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having a smaller cumulative number of written sectors (hereinafter, sometimes referred to as the cumulative number of written sectors) or a smaller cumulative number of written times (hereinafter, sometimes referred to as the cumulative number of write times) among a plurality of heads 15, and preferentially sets an SMR partition in a validated SMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having a smaller cumulative number of written sectors or a smaller cumulative number of write times among a plurality of heads 15. For example, the MPU 60 preferentially sets a CMR partition in a validated CMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having the smallest cumulative number of written sectors or a smallest cumulative number of write times among a plurality of heads 15, and preferentially sets an SMR partition in a validated SMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having the smallest cumulative number of written sectors or a smallest cumulative number of write times among a plurality of heads 15.
[0128] Fig.17 This is a flowchart showing an example of a method for setting a recording area according to the second embodiment.
[0129] The MPU 60 validates the CMR division area and the SMR division area of the user data area 10a according to the command or instruction from the host 100 or the like (B801), and responds to the host 100. The MPU 60 receives the write data (or command) transmitted from the host 100 or the like (B802). The MPU 60 determines whether the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803).
[0130] If the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803: Yes), the MPU 60 proceeds to the processing of B807. If the recording area of the LBA corresponding to the received write data (or command) has not been set in the user data area 10a (B803: No), the MPU 60 determines whether to write to the tile recording area SR or the normal recording area CR (B804).
[0131] When it is determined that the data is to be written to the normal recording area CR (B804: No), the MPU 60 preferentially sets a CMR partition in a valid CMR area of the user data area 10a of the disk 10 among the multiple disks 10 corresponding to the head 15 with a small cumulative number of written sectors among the multiple heads 15 (B1701), and proceeds to the process of B807. When it is determined that the data is to be written to the tile recording area SR (B804: Yes), the MPU 60 preferentially sets an SMR partition in a valid SMR area of the user data area 10a of the disk 10 among the multiple disks 10 corresponding to the head 15 with a small cumulative number of written sectors among the multiple heads 15 (B1702), writes the data (B807), and ends the process.
[0132] According to the second embodiment, the magnetic disk device 1 preferentially sets a CMR partition for a valid CMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having a small cumulative number of written sectors among a plurality of heads 15, and preferentially sets an SMR partition for a valid SMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 having a small cumulative number of written sectors among a plurality of heads 15. The magnetic disk device 1 can make the cumulative number of written sectors of each head 15 uniform, so that the quality (hereinafter sometimes referred to as write quality) of a specific head 15 among a plurality of heads 15 when writing data can be suppressed. Therefore, the magnetic disk device 1 can improve reliability.
[0133] (Variant 4)
[0134] The magnetic disk device 1 involved in variant example 4 is different from the magnetic disk device 1 of the aforementioned first embodiment, variant example 1, variant example 2, variant example 3 and second embodiment in that the setting method of the normal recording area CR and the tile recording area SR is different for each disk 10 and each head 15.
[0135] The plurality of disks (10-1 to 10-N) and the plurality of heads 15 (15-0 to 15-N) may have different characteristics of the disks 10 and heads 15, such as the characteristics of the influence of leakage flux on the recording area located in the radial direction (Adjacent Track Interference: ATI). The characteristics of the disk 10 and the characteristics of the head 15 may also be measured during the manufacturing process and recorded in a predetermined recording area, such as the system area of the disk 10 or the non-volatile memory 80.
[0136] The MPU 60 preferentially sets CMR partitions for the validated CMR areas of the user data areas 10a of the disks 10 among the plurality of disks 10 corresponding to the heads 15 of the plurality of heads 15 with predetermined characteristics, and preferentially sets SMR partitions for the validated SMR areas of the user data areas 10a of the disks 10 among the plurality of disks 10 corresponding to the heads 15 of the plurality of heads 15 with predetermined characteristics. For example, since data can be repeatedly written to the predetermined recording area in normal recording, the MPU 60 preferentially sets CMR partitions for the validated CMR areas of the user data areas 10a of the disks 10 among the plurality of disks 10 corresponding to the heads 15 of the plurality of heads 15 with small ATI (effect of leakage flux, etc.) with respect to the recording area located in the radial direction, and since data is less repeatedly written in shingle recording than in normal recording, the MPU 60 preferentially sets SMR partitions for the validated SMR areas of the user data areas 10a of the disks 10 among the plurality of disks 10 corresponding to the heads 15 of the plurality of heads 15 with large ATI (effect of leakage flux, etc.) with respect to the recording area located in the radial direction. For example, MPU60 gives priority to setting a CMR partition for a validated CMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 among a plurality of heads 15 having the smallest characteristic of the ATI with respect to the recording area located in the radial direction, and gives priority to setting an SMR partition for a validated SMR area of a user data area 10a of a disk 10 among a plurality of disks 10 corresponding to a head 15 among a plurality of heads 15 having the largest characteristic of the ATI with respect to the recording area located in the radial direction.
[0137] Fig.18 This is a flowchart showing an example of a method for setting a recording area according to Modification 4.
[0138] The MPU 60 validates the CMR division area and the SMR division area of the user data area 10a according to the command or instruction from the host 100 or the like (B801), and responds to the host 100. The MPU 60 receives the write data (or command) transmitted from the host 100 or the like (B802). The MPU 60 determines whether the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803).
[0139] If the recording area of the LBA corresponding to the received write data (or command) has been set in the user data area 10a (B803: Yes), the MPU 60 proceeds to the processing of B807. If the recording area of the LBA corresponding to the received write data (or command) has not been set in the user data area 10a (B803: No), the MPU 60 determines whether to write to the tile recording area SR or the normal recording area CR (B804).
[0140] When it is determined that the data is to be written to the normal recording area CR (B804: No), the MPU 60 preferentially sets the CMR partition to the valid CMR area of the user data area 10a of the disk 10 among the multiple disks 10 corresponding to the head 15 with a small ATI (effect of leakage flux, etc.) with respect to the recording area located in the radial direction among the multiple heads 15 (B1801), and proceeds to the processing of B807. When it is determined that the data is to be written to the tile recording area SR (B804: Yes), the MPU 60 preferentially sets the SMR partition to the valid SMR area of the user data area 10a of the disk 10 among the multiple disks 10 corresponding to the head 15 with a large ATI (effect of leakage flux, etc.) with respect to the recording area located in the radial direction among the multiple heads 15 (B1802), writes the data (B807), and ends the processing.
[0141] According to variation 4, the magnetic disk device 1 preferentially sets CMR partitions for the validated CMR areas of the user data areas 10a of the disks 10 among the multiple disks 10 corresponding to the heads 15 among the multiple heads 15 having a small ATI (effect of leakage flux, etc.) with respect to the recording areas located in the radial direction, and preferentially sets SMR partitions for the validated SMR areas of the user data areas 10a of the disks 10 among the multiple disks 10 corresponding to the heads 15 among the multiple heads 15 having a large ATI (effect of leakage flux, etc.) with respect to the recording areas located in the radial direction. The magnetic disk device 1 can reduce the cases where data is lost due to ATI, etc. Therefore, the magnetic disk device 1 can improve reliability.
[0142] Several embodiments are described, but these embodiments are presented as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and / or their variations are included in the scope and / or gist of the invention, and are included in the invention recorded in the technical solution and the scope equivalent thereto.
Claims
1. A magnetic disk device comprising: a disk having a user data area; a head that writes data to and reads data from the disk; and A controller that arranges a plurality of normal recording division areas obtained by dividing the user data area according to a first width in a radial direction and a plurality of shingle recording division areas obtained by dividing the user data area according to a second width different from the first width in the radial direction in the user data area, sets a predetermined radius area as the normal recording division area in a manner that minimizes an unused area in the user data area, sets other radius areas different from the radius area as the shingle recording division areas, arranges a first normal recording division area corresponding to the first logical block address in the first normal recording division area among the plurality of normal recording division areas when receiving an instruction to write data to a first logical block address in a normal recording method in which a plurality of tracks are written at intervals in the radial direction, and arranges a first shingle recording division area corresponding to the second logical block address in the first shingle recording division area among the plurality of shingle recording division areas when receiving an instruction to write data to a second logical block address in a shingle recording method in which a plurality of tracks are written in an overlapping manner in the radial direction, The first normal recording area corresponding to the first logical block address and the first tile recording area corresponding to the second logical block address do not overlap with each other.
2. The magnetic disk device according to claim 1, The controller continuously configures the plurality of normal recording division areas from the first end in the radial direction of the user data area to the second end opposite to the first end, and continuously configures the plurality of tile recording division areas from the second end to the first end of the user data area.
3. The magnetic disk device according to claim 2, The first normal recording divided area is located at the first end portion, and the first tile recording divided area is located at the second end portion.
4. The magnetic disk device according to claim 3, When the controller receives an instruction to write data to the third logical block address in the normal recording method, the controller configures the second normal recording area corresponding to the third logical block address in the second normal recording division area among the multiple normal recording division areas that is adjacent to the first normal recording division area in the radial direction. When the controller receives an instruction to write data to the fourth logical block address in the tile recording method, the controller configures the second tile recording area corresponding to the fourth logical block address in the second tile recording division area among the multiple tile recording division areas that is adjacent to the first tile recording division area in the radial direction.
5. The magnetic disk device according to claim 3, When the controller receives an instruction to write data to the third logical block address following the first logical block address in the normal recording mode, the controller configures the second normal recording area corresponding to the third logical block address in the second normal recording partition area among the multiple normal recording partition areas that is adjacent to the first normal recording partition area in the radial direction. When the controller receives an instruction to write data to the fourth logical block address following the second logical block address in the tile recording mode, the controller configures the second tile recording area corresponding to the fourth logical block address in the second tile recording partition area among the multiple tile recording partition areas that is adjacent to the first tile recording partition area in the radial direction.
6. The magnetic disk device according to claim 1, The disk has a plurality of disks, The head has a plurality of heads, The first normal recording area is set for the first disk among the plurality of disks corresponding to the head that has performed the least number of writing among the plurality of heads, and the first tile recording area is set for the first disk corresponding to the head that has performed the least number of writing among the plurality of heads.
7. The magnetic disk device according to claim 1, The disk has a plurality of disks, The head has a plurality of heads, The first normal recording area is set for the first disk among the multiple disks corresponding to the head least affected by the leakage flux among the multiple heads, and the first watt recording area is set for the second disk among the multiple disks corresponding to the head most affected by the leakage flux among the multiple heads.
8. A method for setting a recording area, the method being applied to a magnetic disk device, the magnetic disk device comprising a disk and a head, the disk having a user data area, the head writing data to the disk and reading data from the disk, the method for setting a recording area comprising: a plurality of normal recording divided areas obtained by dividing the user data area in a radial direction according to a first width and a plurality of tile recording divided areas obtained by dividing the user data area in the radial direction according to a second width different from the first width are arranged in the user data area, A predetermined radius area is set as the normal recording partition area in a manner that minimizes the unused area in the user data area, and other radius areas different from the predetermined radius area are set as the tile recording partition area. When receiving an instruction to write data to a first logical block address in a normal recording method of writing to a plurality of tracks at intervals in the radial direction, a first normal recording area corresponding to the first logical block address is arranged in a first normal recording partition area among the plurality of normal recording partition areas, When receiving an instruction to write data to a second logical block address by a tile recording method in which overlapping writing is performed on a plurality of tracks in the radial direction, a first tile recording area corresponding to the second logical block address is arranged in a first tile recording area among the plurality of tile recording areas. The first normal recording area corresponding to the first logical block address and the first tile recording area corresponding to the second logical block address do not overlap with each other.
Citation Information
Patent Citations
Game machine
JP2020151375A
Data management method for storage media
US20190278594A1