JP2017174494A - Disk storage device - Google Patents

Disk storage device Download PDF

Info

Publication number
JP2017174494A
JP2017174494A JP2017134175A JP2017134175A JP2017174494A JP 2017174494 A JP2017174494 A JP 2017174494A JP 2017134175 A JP2017134175 A JP 2017134175A JP 2017134175 A JP2017134175 A JP 2017134175A JP 2017174494 A JP2017174494 A JP 2017174494A
Authority
JP
Japan
Prior art keywords
data
area
band
write
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017134175A
Other languages
Japanese (ja)
Inventor
芳賀 達也
Tatsuya Haga
達也 芳賀
田中 秀明
Hideaki Tanaka
秀明 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2017134175A priority Critical patent/JP2017174494A/en
Publication of JP2017174494A publication Critical patent/JP2017174494A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Magnetic Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a disk storage device and method with which it is possible to improve processing efficiency when rewriting data.SOLUTION: A disk storage device according to the present embodiment comprises a disk that includes a first area in which data is recorded using a recording system that records data in a track area and records data in a track area that partly overlaps said track area and a second area for caching data, and executes control to receive a first write command including contiguous first address information and first data and record the first data in the second area, control to receive a second write command including a plurality of noncontiguous second address information and a plurality of second data and record the second data in the second area, and control to receive a third write command including contiguous third address information that follows the first address information and third data and record the third data in the first area.SELECTED DRAWING: Figure 1

Description

本発明の実施形態は、シングルドライト機能を有するディスク記憶装置に関する。 Embodiments described herein relate generally to a disk storage device having a single dwrite function.

近年、ハードディスクドライブ(以下、単にディスクドライブと表記する場合がある)の分野では、記録媒体であるディスクの高記録密度化を図る方法として、いわゆるシングルドライト(shingled write、瓦書きとも呼ぶ)方法と呼ばれるデータ書き込み方法が開発されている。 In recent years, in the field of hard disk drives (hereinafter sometimes simply referred to as disk drives), as a method for increasing the recording density of a disk as a recording medium, a so-called single write (also called shingled write) method is used. A so-called data writing method has been developed.

シングルドライト方法では、ディスク上のリードトラック幅より広いライトヘッド幅でデータを重ね書きするため、記録されたトラックの片側が消去される。このため、トラック単位の書き換え動作ができず、複数のトラック分からなる記録領域の単位(後述するバンド)で書き換える必要がある。従って、従来の書き換え処理と比較して、相当の処理時間を要する。 In the single write method, since data is overwritten with a write head width wider than the read track width on the disk, one side of the recorded track is erased. For this reason, rewriting operation in units of tracks cannot be performed, and it is necessary to rewrite in units of recording areas (bands described later) composed of a plurality of tracks. Therefore, a considerable processing time is required as compared with the conventional rewriting process.

このような書き換え処理の効率を向上する方法として、メディアキャッシュ(media cache)及びスペアバンドを併用する方法が提案されている。メディアキャッシュとは、ディスク上の指定の記録領域、またはフラッシュメモリなどの不揮発性メモリを使用する一時的なデータ退避領域(バッファ領域)である。 As a method for improving the efficiency of such rewriting processing, a method using both a media cache and a spare band has been proposed. The media cache is a temporary recording area (buffer area) using a designated recording area on the disk or a non-volatile memory such as a flash memory.

また、スペアバンドは、ディスク上の通常のユーザデータ領域であるバンド(以下、ユーザバンドと表記する場合がある)とは区別されるが、ユーザバンドと同じ容量のユーザデータ領域である。スペアバンドは、論理アドレス(LBA)が割り当てられことによりユーザバンドへの移行が可能である。即ち、スペアバンドに有効なユーザデータが記録されて、そのLBAが割り当てられると、当該スペアバンドはユーザバンドに移行される。一方、他のユーザバンドの中で、LBAが割り当てられていないバンドはスペアバンドとして管理される。 The spare band is a user data area having the same capacity as the user band, although it is distinguished from a band which is a normal user data area on the disk (hereinafter, sometimes referred to as a user band). The spare band can be transferred to the user band by assigning a logical address (LBA). That is, when valid user data is recorded in the spare band and the LBA is assigned, the spare band is transferred to the user band. On the other hand, among other user bands, a band to which no LBA is assigned is managed as a spare band.

特許第4886877号公報Japanese Patent No. 4886877

特にホストから連続的なデータを書き込むライトコマンドを処理する場合に、連続的なデータの一部のLBAのデータをスペアバンドに書き込み、他のLBAのデータをメディアキャッシュに書き込むことにより、書き換え処理の効率を向上することが可能となる。連続的なデータとは、論理アドレス(LBA)がシーケンシャルに連続するライトデータである。 In particular, when processing a write command for writing continuous data from the host, a part of the continuous data is written to the spare band, and another LBA data is written to the media cache so that the rewrite process can be performed. Efficiency can be improved. Continuous data is write data in which logical addresses (LBA) are sequentially consecutive.

しかしながら、新たなスペアバンドが確保されるまでは、メディアキャッシュにデータを書き込むことになるため、必然的にメディアキャッシュに対する負荷が増大する。このため、メディアキャッシュの空き容量が減少した場合に、後続のライトコマンドの応答時間に遅延が発生し、書き換え処理の効率低下をもたらす要因となる。 However, until a new spare band is secured, data is written to the media cache, so the load on the media cache inevitably increases. For this reason, when the free space of the media cache decreases, a delay occurs in the response time of the subsequent write command, which causes a reduction in the efficiency of the rewriting process.

そこで、本発明の目的は、連続的なデータを書き換える場合の処理効率を向上できるディスク記憶装置及び方法を提供することにある。 Accordingly, an object of the present invention is to provide a disk storage device and method capable of improving the processing efficiency when rewriting continuous data.

実施形態の一例は、ヘッドと、前記ヘッドを用いて、トラック領域にデータを記録し、前記ヘッドを用いて、前記トラック領域に一部重なるトラック領域にデータを記録する記録方式を用いてデータが記録される第1の領域と、前記第1の領域と径方向に離間して位置し、前記第1の領域の容量よりも大きい容量を備え、前記第1の領域に記録される前記データをキャッシュするための第2の領域と、を含むディスクと、連続する第1のアドレス情報を含む第1のライトコマンド及び当該第1のライトコマンドにかかる第1のデータを受け取ったことに応じて、前記第1のデータを前記第2の領域に記録する第1の制御と、前記第1のアドレス情報と異なり且つ連続しない複数の第2のアドレス情報を含む複数の第2のライトコマンド及び当該複数の第2のライトコマンドにかかる複数の第2のデータを受け取ったことに応じて、前記複数の第2のデータを前記第2の領域に記録する第2の制御と、前記第1のアドレス情報及び前記第2のアドレス情報と異なり且つ前記第1のアドレス情報よりも後のアドレスであって連続する第3のアドレス情報を含む第3のライトコマンド及び当該第3のライトコマンドにかかる第3のデータを受け取ったことに応じて、前記第3のデータを前記第1の領域に記録する第3の制御と、を少なくとも実行するコントローラと、を具備するディスク記録装置である。 In an embodiment, data is recorded using a head and a recording method in which the head is used to record data in a track area, and the head is used to record data in a track area that partially overlaps the track area. A first area to be recorded, and a space that is radially spaced from the first area, and has a capacity larger than the capacity of the first area, and the data recorded in the first area In response to receiving a disk including a second area for caching, a first write command including continuous first address information and first data relating to the first write command, A first control for recording the first data in the second area; a plurality of second write commands including a plurality of second address information different from the first address information and not continuous; A second control for recording the plurality of second data in the second area in response to receiving a plurality of second data relating to a plurality of second write commands; and the first address. A third write command different from the information and the second address information and including a third address information that is subsequent to the first address information and is continuous, and a third write command. A controller that executes at least a third control for recording the third data in the first area in response to receiving the data.

実施形態に関するディスクドライブの構成を示すブロック図。The block diagram which shows the structure of the disk drive regarding embodiment. 実施形態に関するシングルドライト動作を説明するための図。The figure for demonstrating the single drite operation | movement regarding embodiment. 実施形態に関するユーザバンド及びスペアバンドの構成を説明するための図。The figure for demonstrating the structure of the user band and spare band regarding embodiment. 実施形態に関する第1のシーケンシャルライト動作を説明するための図。The figure for demonstrating the 1st sequential write operation regarding embodiment. 実施形態に関する第2のシーケンシャルライト動作を説明するための図。The figure for demonstrating the 2nd sequential write operation regarding embodiment. 実施形態に関する第3のシーケンシャルライト動作を説明するための図。The figure for demonstrating the 3rd sequential write operation regarding embodiment. 実施形態に関するシーケンシャルライト動作を説明するためのフローチャート。6 is a flowchart for explaining a sequential write operation according to the embodiment.

以下図面を参照して、実施形態を説明する。 Embodiments will be described below with reference to the drawings.

[ディスクドライブの構成]
図1は、本実施形態に関するディスクドライブの要部を示すブロック図である。
[Disk Drive Configuration]
FIG. 1 is a block diagram showing a main part of a disk drive according to the present embodiment.

図1に示すように、ディスクドライブは大別して、ヘッド・ディスクアセンブリ(head -disk assembly:HDA)、ヘッドアンプ集積回路(以下、ヘッドアンプIC)11と、1チップの集積回路から構成されているコントローラ15とから構成されている。 As shown in FIG. 1, the disk drive is roughly divided into a head-disk assembly (HDA), a head amplifier integrated circuit (hereinafter referred to as a head amplifier IC) 11, and a one-chip integrated circuit. And the controller 15.

HDAは、記録媒体であるディスク1と、スピンドルモータ(SPM)2と、ヘッド10を搭載しているアーム3と、ボイスコイルモータ(VCM)4とを有する。ディスク1は、スピンドルモータ2により回転する。アーム3とVCM4は、アクチュエータを構成している。アクチュエータは、VCM4の駆動により、アーム3に搭載されているヘッド10をディスク1上の指定の位置まで移動制御する。 The HDA includes a disk 1 that is a recording medium, a spindle motor (SPM) 2, an arm 3 on which a head 10 is mounted, and a voice coil motor (VCM) 4. The disk 1 is rotated by a spindle motor 2. The arm 3 and the VCM 4 constitute an actuator. The actuator controls the movement of the head 10 mounted on the arm 3 to a designated position on the disk 1 by driving the VCM 4.

ヘッド10はスライダを本体として、当該スライダに実装されているライトヘッド10W及びリードヘッド10Rを有する。リードヘッド10Rは、ディスク1上のデータトラックに記録されているデータを読み出す。ライトヘッド10Rは、ディスク1上にデータを書き込む。 The head 10 has a slider as a main body and a write head 10W and a read head 10R mounted on the slider. The read head 10 </ b> R reads data recorded on the data track on the disk 1. The write head 10R writes data on the disk 1.

ヘッドアンプIC11は、リードアンプ及びライトドライバを有する。リードアンプは、リードヘッド10Rにより読み出されたリード信号を増幅して、リード/ライト(R/W)チャネル12に伝送する。一方、ライトドライバは、R/Wチャネル12から出力されるライトデータに応じたライト電流をライトヘッド10Wに伝送する。 The head amplifier IC 11 has a read amplifier and a write driver. The read amplifier amplifies the read signal read by the read head 10 </ b> R and transmits it to the read / write (R / W) channel 12. On the other hand, the write driver transmits a write current corresponding to the write data output from the R / W channel 12 to the write head 10W.

コントローラ15は、R/Wチャネル12と、ハードディスクコントローラ(HDC)13と、マイクロプロセッサ(MPU)14とを含む。R/Wチャネル12は、リードデータの信号処理を実行するリードチャネル12Rと、ライトデータの信号処理を実行するライトチャネル12Wとを含む。 The controller 15 includes an R / W channel 12, a hard disk controller (HDC) 13, and a microprocessor (MPU) 14. The R / W channel 12 includes a read channel 12R that executes signal processing of read data and a write channel 12W that executes signal processing of write data.

HDC13は、ホスト19とR/Wチャネル12との間のデータ転送を制御する。HDC13はバッファメモリ(DRAM)16を制御して、リードデータ及びライトデータをバッファメモリ16に一時的に格納することでデータ転送制御を実行する。 The HDC 13 controls data transfer between the host 19 and the R / W channel 12. The HDC 13 controls the buffer memory (DRAM) 16 and executes data transfer control by temporarily storing read data and write data in the buffer memory 16.

MPU14はディスクドライブのメインコントローラであり、ドライバIC18を介してVCM4を制御し、ヘッド10の位置決めを行なうサーボ制御を実行する。さらに、MPU14は、後述するように、シングルドライト(shingled write)動作を実行するようにヘッド10を制御する。 The MPU 14 is a main controller of the disk drive, and controls the VCM 4 via the driver IC 18 to execute servo control for positioning the head 10. Furthermore, the MPU 14 controls the head 10 to execute a single write operation as will be described later.

ここで、本実施形態では、ディスク1には、例えば外周側にメディアキャッシュ(media cache)と呼ばれるキャッシュ領域が確保されている。このキャッシュ領域は、ディスク1の内周側や中周の領域、又は、フラッシュメモリ(flash memory)17に確保されていてもよい。 Here, in this embodiment, a cache area called a media cache is secured on the disk 1 on the outer peripheral side, for example. This cache area may be secured in the inner or inner peripheral area of the disk 1 or in a flash memory 17.

[シングルドライト方法]
図2は、本実施形態のディスクドライブに採用されているシングルドライト動作を説明 するための図である。
[Single drite method]
FIG. 2 is a diagram for explaining a single dwrite operation employed in the disk drive of this embodiment.

ディスクドライブでは、ライトヘッド10Wによりディスク1上にデータが書き込まれることにより、ディスク1上の径方向にトラック(データトラック)が構成される。図2に示すように、シングルドライト方法では、各トラック100がシーケンシャルに重ね書きされる。このような複数トラック分(例えば5トラック分)を含むデータ記録領域(またはデータ容量単位)を、バンド(Band0、Band1)200と呼ぶ。ここで、後述するスペアバンド210と区別して、論理アドレス(LBA)が割り当てられ、通常のユーザデータが記録されるバンドをユーザバンド200と表記する。 In the disk drive, tracks (data tracks) are formed in the radial direction on the disk 1 by writing data on the disk 1 by the write head 10W. As shown in FIG. 2, in the single write method, each track 100 is overwritten sequentially. Such a data recording area (or data capacity unit) including a plurality of tracks (for example, 5 tracks) is called a band (Band0, Band1) 200. Here, in distinction from a spare band 210 described later, a band to which a logical address (LBA) is assigned and normal user data is recorded is referred to as a user band 200.

各バンド200(Band0、Band1)間は、データの干渉を避けるためにガードトラック(Guard Track)が配置される。ここでは、各バンド200内のデータは、トラック番号Track0、Track1、Track2、Track3、Track4の順にライトされる。トラック番号Track0〜Track 3の各トラック100は、次にライトされるトラックから片側を干渉されて、データ信号幅が細くなる。一方、トラック番号Track4のトラック100については、ガードトラック には何もデータがライトされないため、他のトラックからの干渉がほとんどない。 A guard track is arranged between each band 200 (Band0, Band1) in order to avoid data interference. Here, the data in each band 200 is written in the order of track numbers Track0, Track1, Track2, Track3, and Track4. Each track 100 of track numbers Track 0 to Track 3 is interfered on one side from the track to be written next, and the data signal width becomes narrow. On the other hand, for track 100 with track number Track4, no data is written in the guard track, so there is almost no interference from other tracks.

このようなシーケンシャルな重ね書きを行なうシングルドライト方法であれば、トラック間隔を狭く設計することができるため、ディスク1上に構成されるデータトラックの高記録密度化を図ることが可能となる。 With such a single write method that performs sequential overwriting, the track interval can be designed to be narrow, so that it is possible to increase the recording density of the data tracks formed on the disk 1.

ここで、ディスク1上では、径方向に構成されるトラック群は複数のゾーン(Zone)300に分割されて管理される。図3に示すように、本実施形態では、ゾーン300(Zone N,Nは番号)毎に、前述のスペアバンド210が設けられている。スペアバンド210は、ユーザバンド200-0〜200-4(Band0-Band4)とは区別されて、後述するように、シーケンシャルライト動作時には、メディアキャッシュを介さずに直接的に書き込む領域として使用される予備記録領域である。 Here, on the disk 1, the track group configured in the radial direction is divided into a plurality of zones 300 and managed. As shown in FIG. 3, in the present embodiment, the aforementioned spare band 210 is provided for each zone 300 (Zone N and N are numbers). The spare band 210 is distinguished from the user bands 200-0 to 200-4 (Band0-Band4) and is used as a direct writing area without a media cache during a sequential write operation, as will be described later. This is a preliminary recording area.

[シーケンシャルライト動作]
次に、図4〜6、及び図7のフローチャートを参照して、本実施形態のシーケンシャルライト動作による書き換え処理を説明する。
[Sequential write operation]
Next, the rewriting process by the sequential write operation of this embodiment will be described with reference to the flowcharts of FIGS.

先ず、MPU14は、ホスト19からのライトコマンド(論理アドレスLBAを含む)に基づいて、要求されるライト動作がシーケンシャルライトであるか否かを判定する(ブロック700)。シーケンシャルライトとは、連続するLBAのデータを連続的に書き込む(書き換える)動作である。本実施形態は、特に複数ファイルをシーケンシャルライトする場合に適用する。 First, the MPU 14 determines whether or not the requested write operation is a sequential write based on a write command (including the logical address LBA) from the host 19 (block 700). Sequential write is an operation of continuously writing (rewriting) continuous LBA data. This embodiment is applied particularly when a plurality of files are sequentially written.

MPU14は、ホスト19からのライトコマンドがシーケンシャルライトではなく、通常のライトであれば、ライト要求のデータをバッファメモリ16を経由してディスク1上のメディアキャッシュ(後述する400)に書き込む(ブロック700のNO,705)。メディアキャッシュは、シングルドライトによるデータ書き込みを行なう場合に、ホスト19からライト要求があったデータを一時的に格納するための領域である。メディアキャッシュは、例えばディスク1上の最外周側に確保される記録領域であり、1個のバンドの容量よりも十分に大きい容量である。MPU14は、一時的にメディアキャッシュに格納したデータを、所定のタイミングでユーザデータ領域であるバンドに移動して書き換える。 If the write command from the host 19 is not a sequential write but a normal write, the MPU 14 writes the write request data to the media cache (400 described later) on the disk 1 via the buffer memory 16 (block 700). NO, 705). The media cache is an area for temporarily storing data requested to be written by the host 19 when writing data by single write. The media cache is a recording area secured on the outermost peripheral side on the disk 1, for example, and has a capacity sufficiently larger than the capacity of one band. The MPU 14 rewrites data temporarily stored in the media cache by moving it to a band which is a user data area at a predetermined timing.

一方、MPU14は、ホスト19からのライトコマンドがシーケンシャルライトの場合 (ブロック700のYES)であり、且つスペアバンド210が使用可能である場合(ブロック701のYES)には、第1のファイルのデータ190Aを、書き換え対象のLBAに該当するゾーン内のスペアバンドに書き込む(ブロック702)。即ち、図4に示すように、MPU14は当該スペアバンド210が使用可能である場合に、第1のファイル(例えばLBAが0xF000から開始)のデータ190Aをシーケンシャルに書き込む(ブロック701のYES,702)。 On the other hand, if the write command from the host 19 is a sequential write (YES in block 700) and the spare band 210 is usable (YES in block 701), the MPU 14 stores the data of the first file. 190A is written into the spare band in the zone corresponding to the LBA to be rewritten (block 702). That is, as shown in FIG. 4, when the spare band 210 is usable, the MPU 14 sequentially writes the data 190A of the first file (for example, LBA starts from 0xF000) (YES in block 701, 702). .

さらに、図4に示すように、MPU14は、ホスト19からの新たなライトコマンドにより、第2のファイル(例えばLBAが0x1000〜0x1FFF)のデータ190Bを連続的に書き込む場合に、既にスペアバンド210が使用されているため、当該データ190Bをスペアバンド210以外に書き込むことになる(ブロック701のNO)。便宜的に第1のシーケンシャルライト動作として、MPU14は、後述するような条件を満たす場合に、当該データ190Bをメディアキャッシュ400に対してシーケンシャルに書き込む(ブロック703のNO,704のNO,705)。 Further, as shown in FIG. 4, when the MPU 14 continuously writes the data 190B of the second file (for example, LBA is 0x1000 to 0x1FFF) by a new write command from the host 19, the spare band 210 has already been set. Since it is used, the data 190B is written to other than the spare band 210 (NO in block 701). For convenience, as a first sequential write operation, the MPU 14 sequentially writes the data 190B to the media cache 400 when a condition described later is satisfied (NO in block 703, NO in 704, 705).

ここで、図4に示すように、メディアキャッシュ400に対してシーケンシャルに書き込まれた場合、当該データ190BのLBA(0x1000〜0x1FFF)に対応するユーザバンド200-1(Band1)のユーザデータ(即ち、書き換え対象データ)は無効化データとなる。この場合、MPU14は、一時的にメディアキャッシュ400に格納したLBA(0x10 00〜0x1FFF)のデータ190Bを、所定のタイミングでユーザバンドに移動して書き換えることになる。このような無効化データが記録されているユーザバンド200-1(Band1)を、便宜的に無効バンドと呼ぶ。即ち、無効バンドとは、新たなスペアバンドとなり得る領域であって、新たなデータの記録が可能な更新用記録領域である。 Here, as shown in FIG. 4, when data is sequentially written to the media cache 400, user data of the user band 200-1 (Band1) corresponding to the LBA (0x1000 to 0x1FFF) of the data 190B (that is, Data to be rewritten) becomes invalidation data. In this case, the MPU 14 rewrites the data 190B of the LBA (0x1000 to 0x1FFF) temporarily stored in the media cache 400 by moving to the user band at a predetermined timing. The user band 200-1 (Band1) in which such invalidation data is recorded is referred to as an invalid band for convenience. In other words, the invalid band is an area that can become a new spare band, and is an update recording area in which new data can be recorded.

次に、図5を参照して、便宜的に第2のシーケンシャルライト動作による書き換え動作を説明する。 Next, with reference to FIG. 5, the rewrite operation by the second sequential write operation will be described for convenience.

即ち、図5に示すように、MPU14は、第2のファイルの後続のデータ(例えばLBAが0x2000から開始)190Cを連続的に書き込む場合に、スペアバンド210以外の記録領域として、メディアキャッシュ400ではなく無効バンド200-1(Band1)に対してシーケンシャルに書き込む(ブロック701のNO、703のNO、7O7)。 That is, as shown in FIG. 5, when the MPU 14 continuously writes subsequent data 190C (for example, LBA starts from 0x2000) 190C in the media cache 400 as a recording area other than the spare band 210. Without being written to the invalid band 200-1 (Band1) sequentially (NO in block 701, NO in 703, 7O7).

ここで、図4に示すように、メディアキャッシュ400にはユーザバンド200-1(Band1)に割り当てられたLBAの全ユーザデータ(LBAが0x1000〜0x1FFF)が存在するため、MPU14は、当該ユーザバンド200-1(Band1)を無効バンドとして設定する(ブロック704のYES,706)。具体的には、MPU14は、ユーザバンド200-0〜200-nを管理するテーブル情報にフラグをセットして、当該ユーザバンド200-1(Band1)を無効バンドとして設定する。 Here, as shown in FIG. 4, since the media cache 400 contains all user data of LBAs (LBA 0x1000 to 0x1FFF) allocated to the user band 200-1 (Band1), the MPU 14 200-1 (Band1) is set as an invalid band (YES in block 704, 706). Specifically, the MPU 14 sets a flag in table information for managing the user bands 200-0 to 200-n, and sets the user band 200-1 (Band1) as an invalid band.

図5に示すように、MPU14は、無効バンドとして設定したユーザバンド200-1(Band1)に対してデータ190Cの書き込みを開始し(ブロック707)、1バンド分のデータ(LBAが0x2000〜0x2FFF)を書き終えるまで継続する(ブロック703のYES,708、709のNO)。MPU14は、設定した無効バンドに対してデータ190Cの書き込みが終了すると、当該ユーザバンド200-1(Band1)に対するアドレス(LBA)の割り付けを実行する(ブロック709のYES、710)。 As shown in FIG. 5, the MPU 14 starts writing data 190C to the user band 200-1 (Band1) set as an invalid band (block 707), and data for one band (LBA is 0x2000 to 0x2FFF). Is continued until the writing is completed (YES in block 703, NO in 708, 709). When the writing of the data 190C to the set invalid band is completed, the MPU 14 assigns an address (LBA) to the user band 200-1 (Band1) (YES in block 709, 710).

この後に、MPU14は、当該ユーザバンド200-1(Band1)に対する無効バンドの設定を解除する切替え処理を実行する(ブロック711)。ここで、図6に示すように、ユーザバンド200-1(Band1)に対してシーケンシャルに書き込まれた場合、当該データ190CのLBA(0x2000〜0x2FFF)に対応するユーザデータ(書き換え対象データ)は無効データとなる。即ち、ユーザバンド200-2(Band2)に記録されているユーザデータは無効データとなる。従って、MPU14は、当該ユーザバンド200-2(Band2)を無効バンドとして設定する(ブロック704のYES,706)。 After this, the MPU 14 executes a switching process for canceling the invalid band setting for the user band 200-1 (Band1) (block 711). Here, as shown in FIG. 6, when data is sequentially written to the user band 200-1 (Band1), the user data (data to be rewritten) corresponding to the LBA (0x2000 to 0x2FFF) of the data 190C is invalid. It becomes data. That is, the user data recorded in the user band 200-2 (Band2) is invalid data. Therefore, the MPU 14 sets the user band 200-2 (Band2) as an invalid band (YES in block 704, 706).

次に、図6を参照して、便宜的に第3のシーケンシャルライト動作による書き換え動作を説明する。 Next, with reference to FIG. 6, the rewrite operation by the third sequential write operation will be described for convenience.

即ち、図6に示すように、MPU14は、第2のファイルの後続のデータ190Dを連続的に書き込む場合に、スペアバンド210以外の記録領域として、メディアキャッシュ400ではなく無効バンド200-2(Band2)に対してシーケンシャルに書き込む(ブロック701のNO、703のNO、7O7)。 That is, as shown in FIG. 6, when the MPU 14 continuously writes the subsequent data 190D of the second file, the MPU 14 uses the invalid band 200-2 (Band2) instead of the media cache 400 as a recording area other than the spare band 210. ) Sequentially (NO in block 701, NO in 703, 7O7).

以下同様にして、MPU14は、無効バンドとして設定したユーザバンド200-2(Band2)に対してデータ190Dの書き込みを開始し(ブロック707)、1バンド分のデータを書き終えるまで継続する(ブロック703のYES,708、709のNO)。MPU14は、設定した無効バンドに対してデータ190Dの書き込みが終了すると、当該ユーザバンド200-2(Band2)に対するアドレスの割り付けを実行する(ブロック709のYES、710)。 Similarly, the MPU 14 starts writing data 190D to the user band 200-2 (Band2) set as an invalid band (block 707) and continues until the writing of data for one band is completed (block 703). NO, 708, NO of 709). When the MPU 14 finishes writing the data 190D to the set invalid band, the MPU 14 assigns an address to the user band 200-2 (Band2) (YES in block 709, 710).

以上のようにして本実施形態によれば、シングルドライト方法により、特に複数のファイルを連続的にシーケンシャルライトする場合に、メディアキャッシュ400に書き込む代わりに無効バンドとして設定されているユーザバンド200-0〜200-nに書き込む。従って、メディアキャッシュ400の使用を節約できる。このため、メディアキャッシュ400の空き容量が減少した場合でも、後続のライトコマンドの応答時間に遅延が発生し、書き換え処理の効率が低下するような事態を回避できる。 As described above, according to the present embodiment, the user band 200-0 set as an invalid band instead of being written in the media cache 400, particularly when a plurality of files are sequentially written sequentially by the single write method. Write to ~ 200-n. Therefore, the use of the media cache 400 can be saved. For this reason, even when the free space of the media cache 400 is reduced, it is possible to avoid a situation in which a delay occurs in the response time of the subsequent write command and the efficiency of the rewriting process decreases.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…ディスク、2…スピンドルモータ(SPM)、3…アーム、4…ボイスコイルモータ(VCM)、10…ヘッド、11…ヘッドアンプ集積回路、12…リード/ライト(R/W)チャネル、13…ハードディスクコントローラ(HDC)、14…マイクロプロセッサ(MPU)、15…コントローラ、16…バッファメモリ(DRAM)、17…フラッシュメモリ、18…ドライバIC、19…ホスト、100…トラック、200…ユーザバンド、210…スペアバンド、400…メディアキャッシュ。 DESCRIPTION OF SYMBOLS 1 ... Disk, 2 ... Spindle motor (SPM), 3 ... Arm, 4 ... Voice coil motor (VCM), 10 ... Head, 11 ... Head amplifier integrated circuit, 12 ... Read / write (R / W) channel, 13 ... Hard disk controller (HDC), 14 ... Microprocessor (MPU), 15 ... Controller, 16 ... Buffer memory (DRAM), 17 ... Flash memory, 18 ... Driver IC, 19 ... Host, 100 ... Track, 200 ... User band, 210 ... spare band, 400 ... media cash.

Claims (1)

ヘッドと、 前記ヘッドを用いて、トラック領域にデータを記録し、前記ヘッドを用いて、前記トラック領域に一部重なるトラック領域にデータを記録する記録方式を用いてデータが記録される第1の領域と、前記第1の領域と径方向に離間して位置し、前記第1の領域の容量よりも大きい容量を備え、前記第1の領域に記録される前記データをキャッシュするための第2の領域と、を含むディスクと、
連続する第1のアドレス情報を含む第1のライトコマンド及び当該第1のライトコマンドにかかる第1のデータを受け取ったことに応じて、前記第1のデータを前記第2の領域に記録する第1の制御と、前記第1のアドレス情報と異なり且つ連続しない複数の第2のアドレス情報を含む複数の第2のライトコマンド及び当該複数の第2のライトコマンドにかかる複数の第2のデータを受け取ったことに応じて、前記複数の第2のデータを前記第2の領域に記録する第2の制御と、前記第1のアドレス情報及び前記第2のアドレス情報と異なり且つ前記第1のアドレス情報よりも後のアドレスであって連続する第3のアドレス情報を含む第3のライトコマンド及び当該第3のライトコマンドにかかる第3のデータを受け取ったことに応じて、前記第3のデータを前記第1の領域に記録する第3の制御と、を少なくとも実行するコントローラと、
を具備するディスク記録装置。
First, data is recorded using a recording method in which data is recorded in a track area using the head, and data is recorded in a track area that partially overlaps the track area using the head. A second area for caching the data recorded in the first area, the area being spaced apart from the first area in the radial direction and having a capacity larger than the capacity of the first area; A disk including:
In response to receiving the first write command including the continuous first address information and the first data relating to the first write command, the first data is recorded in the second area. A plurality of second write commands including a plurality of second address information different from the first address information and different from the first address information, and a plurality of second data relating to the plurality of second write commands. In response to reception, the second control records the plurality of second data in the second area, and differs from the first address information and the second address information, and the first address In response to receiving a third write command that is an address later than the information and includes continuous third address information and the third data related to the third write command, A controller performing at least a third and a control of recording the third data to the first region, and
A disk recording apparatus comprising:
JP2017134175A 2017-07-07 2017-07-07 Disk storage device Pending JP2017174494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017134175A JP2017174494A (en) 2017-07-07 2017-07-07 Disk storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017134175A JP2017174494A (en) 2017-07-07 2017-07-07 Disk storage device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017002766A Division JP6175578B2 (en) 2017-01-11 2017-01-11 Disk storage device and method

Publications (1)

Publication Number Publication Date
JP2017174494A true JP2017174494A (en) 2017-09-28

Family

ID=59971475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017134175A Pending JP2017174494A (en) 2017-07-07 2017-07-07 Disk storage device

Country Status (1)

Country Link
JP (1) JP2017174494A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071537A1 (en) * 2003-09-26 2005-03-31 Hitachi Global Storage Technologies Log-structured file system for disk drives with shingled writing
JP2008134720A (en) * 2006-11-27 2008-06-12 Toshiba Corp Information storage device
JP2010211910A (en) * 2009-03-11 2010-09-24 Hitachi Global Storage Technologies Netherlands Bv Data storage device
JP2011222057A (en) * 2011-08-12 2011-11-04 Toshiba Corp Memory system
JP2017002766A (en) * 2015-06-08 2017-01-05 トヨタ自動車株式会社 Variable valve device of internal combustion engine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071537A1 (en) * 2003-09-26 2005-03-31 Hitachi Global Storage Technologies Log-structured file system for disk drives with shingled writing
JP2008134720A (en) * 2006-11-27 2008-06-12 Toshiba Corp Information storage device
JP2010211910A (en) * 2009-03-11 2010-09-24 Hitachi Global Storage Technologies Netherlands Bv Data storage device
JP2011222057A (en) * 2011-08-12 2011-11-04 Toshiba Corp Memory system
JP2017002766A (en) * 2015-06-08 2017-01-05 トヨタ自動車株式会社 Variable valve device of internal combustion engine

Similar Documents

Publication Publication Date Title
JP5951472B2 (en) Disk storage device and method
JP4886877B2 (en) Recording medium control apparatus and method
JP5681511B2 (en) Information recording apparatus and information recording method
JP5127955B2 (en) Information recording apparatus and information recording method
US7925828B2 (en) Magnetic disk drive refreshing data written to disk and data refreshment method applied to magnetic disk drive
JP4282733B1 (en) Disk storage device and data writing method
US20090103203A1 (en) Recording apparatus and control circuit
JP6419687B2 (en) Magnetic disk device and writing method
US20160378357A1 (en) Hybrid storage device and method for operating the same
JP2012174325A (en) Information recorder and information recording method
US9563397B1 (en) Disk drive using non-volatile cache when garbage collecting log structured writes
JP2014053062A (en) Recording and reproducing device, and recording and reproducing method
US7451261B2 (en) Data storage device and control method with buffer control thereof
JP2015082240A (en) Storage device, cache controller, and method for writing data in nonvolatile storage medium
JP2016157498A (en) Magnetic disk device and rewrite processing method
JP5694210B2 (en) Magnetic disk device, read / write control method, and controller
JP5787839B2 (en) Disk storage device and data protection method
JP2019164854A (en) Magnetic disk device and recording method thereof
JP6077703B2 (en) Disk storage device and method
JP6175578B2 (en) Disk storage device and method
US11024337B1 (en) Magnetic disk device and write processing method
JP2017174494A (en) Disk storage device
JP5713926B2 (en) Magnetic disk device and data buffering method in the magnetic disk device
US11899968B2 (en) Magnetic disk apparatus and method
US20230274765A1 (en) Data recording device and data recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170707

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20170929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20180302

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180831

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20181207