JP2743705B2 - Retry control method for disk controller - Google Patents

Retry control method for disk controller

Info

Publication number
JP2743705B2
JP2743705B2 JP12239092A JP12239092A JP2743705B2 JP 2743705 B2 JP2743705 B2 JP 2743705B2 JP 12239092 A JP12239092 A JP 12239092A JP 12239092 A JP12239092 A JP 12239092A JP 2743705 B2 JP2743705 B2 JP 2743705B2
Authority
JP
Japan
Prior art keywords
record
head
track
cylinder
address
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.)
Expired - Lifetime
Application number
JP12239092A
Other languages
Japanese (ja)
Other versions
JPH05324215A (en
Inventor
英樹 山中
広美 菅原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP12239092A priority Critical patent/JP2743705B2/en
Publication of JPH05324215A publication Critical patent/JPH05324215A/en
Application granted granted Critical
Publication of JP2743705B2 publication Critical patent/JP2743705B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はディスク制御装置に係
り、特にディスク装置の或るレコードを処理中にエラー
が発生した場合に、ヘッドを該エラーの発生したレコー
ドに再度位置付けするまでの時間を短縮させるディスク
制御装置のリトライ制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control apparatus, and more particularly, to a time required for relocating a head to a record where an error has occurred when an error occurs while processing a certain record of the disk apparatus. The present invention relates to a retry control method of a disk control device to be shortened.

【0002】磁気ディスク制御装置は磁気ディスク装置
の或るレコードを処理中にエラーが発生すると、一旦磁
気ディスク装置との結合を解除し、エラーの発生したレ
コードの処理が可能な状態となると、再結合してエラー
の発生したレコードの処理を行う。
When an error occurs while processing a certain record in the magnetic disk device, the magnetic disk controller temporarily disconnects the connection with the magnetic disk device, and when it becomes possible to process the record in which the error has occurred, the magnetic disk controller re-executes the processing. Combine and process the records with errors.

【0003】そして、一般に、処理中に記憶したエラー
の発生したレコードの一つ前のレコードのアドレスを用
いて、エラーの発生したレコードを探索している。即
ち、記憶しているエラーの発生したレコードの一つ前の
レコードのアドレスで、この一つ前のレコードを読取
り、次に読出されるレコードがエラーの発生したレコー
ドであると認識して、一つ前のレコードの処理は行わ
ず、この次に読出されるレコードから処理を開始する。
In general, an error record is searched for by using an address of a record immediately before an error record stored during processing. That is, the previous record is read at the address of the record immediately before the stored record in which the error occurred, and the next record to be read is recognized as the record in which the error occurred, and The processing of the immediately preceding record is not performed, and the processing is started from the record to be read next.

【0004】ところで、一つ前のレコードと、エラーの
発生したレコードとが、異なるシリンダに存在する場
合、エラーの発生したレコードの処理を開始するまでの
時間が長くならないことが必要である。
When the immediately preceding record and the record in which the error has occurred are present in different cylinders, it is necessary that the time required to start processing the record in which the error has occurred does not become long.

【0005】[0005]

【従来の技術】図4は従来技術の一例を説明する図で、
図5は従来のリトライ処理を説明する図である。
2. Description of the Related Art FIG. 4 is a diagram for explaining an example of the prior art.
FIG. 5 is a diagram illustrating a conventional retry process.

【0006】図4(A) は同一トラック上のレコードと
レコードとを処理する場合を示し、レコードは正常
に処理されたが、レコードを処理中にエラーが発生す
ると、磁気ディスク制御装置は一旦磁気ディスク装置を
切離し、リトライ処理の準備を行う。
FIG. 4A shows a case where a record and a record on the same track are processed. The record is processed normally. However, if an error occurs during the processing of the record, the magnetic disk control device temporarily stops the magnetic recording. Disconnect the disk device and prepare for retry processing.

【0007】そして、リトライ準備が整うと、磁気ディ
スク制御装置は磁気ディスク装置と再結合して、サーチ
動作に示す如く、記憶しているレコードのアドレスに
より、レコードを検出すると、このレコードの処理
は行わず、処理再開に示す如く、次に読出されたレコー
ドから処理を再開する。
When the retry preparation is completed, the magnetic disk controller reconnects with the magnetic disk device and, as shown in the search operation, detects the record by the address of the stored record, and the processing of this record is started. Without performing the processing, the processing is restarted from the next read record as shown in the processing restart.

【0008】図4(B) は同一シリンダにおいて、レコー
ドとレコードが異なるトラックに存在する場合を示
し、トラック(1) の最終レコードとトラック(2) の先
頭レコードを連続して処理する時、レコードの処理
が終わった後、インデックスを検出すると、ヘッドを
切替えて、トラック(2) の先頭レコードの処理を行う
が、この処理中にエラーが発生した場合、磁気ディスク
制御装置はヘッドを切替えて、上記同様にレコード(1)
の最終レコードを検出した後、インデックスを検出
すると、ヘッドを切替えてトラック(2) の先頭レコード
から処理を再開する。
FIG. 4B shows a case where records are present on different tracks in the same cylinder. When the last record on track (1) and the first record on track (2) are processed continuously, the record When the index is detected after the end of the process, the head is switched to process the first record of the track (2) .If an error occurs during this process, the magnetic disk controller switches the head, Record (1) as above
When the index is detected after the last record of the track (2) is detected, the head is switched and the processing is restarted from the first record of the track (2).

【0009】図4(C) はレコードとレコードが異な
るシリンダに存在する場合を示し、磁気ディスク制御装
置は、シリンダ(1) の最終トラック(1) の最終レコード
を処理した後、ヘッドの位置付け制御を行い、ヘッド
をシリンダ(2) に位置付けした後、シリンダ(2) の先頭
トラック(2) のインデックスを検出すると、このイン
デックス直後のレコードを処理する。
FIG. 4C shows a case where a record and a record exist in different cylinders. The magnetic disk control device processes the last record of the last track (1) of the cylinder (1) and then controls the positioning of the head. After the head is positioned at cylinder (2), if the index of the first track (2) of cylinder (2) is detected, the record immediately after this index is processed.

【0010】そして、レコードの処理中にエラーが発
生すると、磁気ディスク制御装置は、シリンダ(1) に再
びヘッドを位置付けし、レコードを検出すると、シリ
ンダ(2) に再びヘッドを位置付けして、レコードの処
理を再開する。
If an error occurs during the processing of the record, the magnetic disk control device repositions the head on the cylinder (1). When a record is detected, the magnetic disk control device repositions the head on the cylinder (2). Is restarted.

【0011】即ち、図5の制御装置に示す如く、磁気デ
ィスク制御装置は、例えば、ディスク装置からレコード
を読出した後、インデックス検出に示す如く、インデ
ックスを検出すると、シリンダ境界を認識し、シーク命
令に示す如く、磁気ディスク装置にヘッドをシリンダ
(2) に位置付けすることを指示する。
That is, as shown in the control device of FIG. 5, the magnetic disk control device, for example, reads a record from the disk device and, after detecting an index as shown in index detection, recognizes a cylinder boundary and performs a seek command. As shown in the figure, the head
Instruct (2) to position.

【0012】従って、図5のディスク装置のシークに示
す如く、磁気ディスク装置はヘッドをシリンダ(2) に位
置付けするシーク動作を行う。そして、シリンダ(2) の
トラック(2) のインデックスを検出すると、レコード
を読出す。そして、図5のエラー発生に示す如く、レ
コードのエラーを検出すると、磁気ディスク装置を切
離し、リトライ準備が整うと再結合する。
Therefore, as shown in the seek operation of the disk drive in FIG. 5, the magnetic disk drive performs a seek operation for positioning the head on the cylinder (2). When the index of the track (2) of the cylinder (2) is detected, the record is read. Then, as shown in FIG. 5, when the error of the record is detected, the magnetic disk device is disconnected, and when the retry preparation is completed, it is reconnected.

【0013】そして、リトライを実行するため、シーク
命令を送出し、磁気ディスク装置はシリンダ(1) にヘッ
ドを位置付けする。そして、レコードが読出される
と、磁気ディスク制御装置は、図5のサーチに示す如
く、レコードの探索を行い、レコードがシリンダ
(2) に存在するため、シーク命令を送出する。
Then, in order to execute the retry, a seek command is transmitted, and the magnetic disk drive positions the head at the cylinder (1). When the record is read, the magnetic disk control device searches for the record as shown in the search of FIG.
Since it exists in (2), a seek instruction is sent.

【0014】従って、磁気ディスク装置はシークを実行
し、トラック(2) のインデックスが検出されることに
より、レコードが読出される。
Therefore, the magnetic disk drive performs a seek, and the record is read by detecting the index of the track (2).

【0015】[0015]

【発明が解決しようとする課題】図4(A) (B) に示すリ
トライ処理では、レコードのアドレスから、レコード
を検出し、レコードを認識するまでの処理時間に無
駄は無いが、図4(C) に示すリトライ処理では、図5の
リトライ以後にシーク命令が2回送出されているよう
に、ヘッドの位置付け制御が2回実行される。
In the retry processing shown in FIGS. 4A and 4B, there is no waste in processing time from the detection of a record to the recognition of the record from the address of the record. In the retry process shown in (C), the head positioning control is executed twice as if the seek command was sent twice after the retry in FIG.

【0016】ヘッドの位置付け動作は機械的動作が含ま
れるため、多くの時間を必要としている。従って、リト
ライに必要な時間が長くなり、磁気ディス装置を使用す
る計算機システムの処理効率を低下させるという問題が
ある。
The positioning operation of the head requires a lot of time because it includes a mechanical operation. Therefore, there is a problem that the time required for the retry becomes longer and the processing efficiency of the computer system using the magnetic disk device is reduced.

【0017】本発明はこのような問題点に鑑み、異なる
シリンダに跨がってレコードを処理した時に、図4(C)
に示す如きリトライ処理が発生した場合、ヘッド位置付
け制御を行う必要を無くして、リトライ処理に必要な時
間を短縮することを目的としている。
The present invention has been made in view of such a problem, and when a record is processed across different cylinders, the processing shown in FIG.
It is an object of the present invention to reduce the time required for the retry processing by eliminating the need to perform head positioning control when the retry processing as shown in FIG.

【0018】[0018]

【課題を解決するための手段】そして、この目的は図1
に示されるように、ディスク制御装置13は、同一シリ
ンダを構成する各トラックのレコードを、夫々各トラッ
クを追従するヘッド1〜3を切替えて処理し、異なるシ
リンダのトラックのレコードに対しては、ヘッド1〜3
の位置付け制御を行った後、夫々各トラックを追従する
ヘッド1〜3を切替えて処理し、処理中のレコードにエ
ラーが発生してリトライを行う時は、エラーの発生した
レコードの一つ前のレコードのアドレスをリトライ用ア
ドレス19として使用し、エラーの発生したレコードを
検出する。
Means for Solving the Problems The purpose of the present invention is shown in FIG.
As shown in the figure, the disk control device 13 processes the records of the respective tracks constituting the same cylinder by switching the heads 1 to 3 which follow the respective tracks, and processes the records of the tracks of different cylinders. Heads 1-3
After performing the positioning control, the heads 1 to 3 that follow each track are switched and processed, and when an error occurs in the record being processed and a retry is performed, the record immediately before the record in which the error occurred is performed. The address of the record is used as the retry address 19, and the record in which the error has occurred is detected.

【0019】そして、一つのシリンダの最終トラックの
最終レコードを正常に処理した後、ヘッドの位置付け制
御を行って他のシリンダにヘッドを位置付けする場合に
は、フラグ18をセットすると共に、前記リトライ用ア
ドレス19を他のシリンダの先頭トラックのアドレスに
更新し、この他のシリンダの先頭トラックの先頭レコー
ドを処理中にエラーが発生した場合は、前記フラグ18
が設定されていることにより、更新されたリトライ用ア
ドレス19と、ヘッド1〜3が追従中のシリンダの先頭
トラックのアドレスとの一致を確認した後、このヘッド
1〜3が追従中のシリンダの先頭トラックの先頭レコー
ドの処理を行い、正常に処理された時は、前記フラグ1
8をリセットすることにより達成される。
After the last record of the last track of one cylinder is processed normally, the head is controlled to be positioned in another cylinder by controlling the positioning of the head. The address 19 is updated to the address of the head track of another cylinder, and if an error occurs while processing the head record of the head track of this other cylinder, the flag 18
Is set, after confirming that the updated retry address 19 matches the address of the head track of the cylinder that the heads 1 to 3 are following, the head 1 to 3 Processing of the first record of the first track is performed.
8 is achieved by resetting.

【0020】[0020]

【作用】上記の如く構成することにより、異なるシリン
ダに跨がってレコードを処理した時に、インデックス直
後のレコードを処理中にエラーが検出された場合、ヘッ
ド位置付け動作を2回実行することを防止することが出
来る。
With the above arrangement, when a record is processed across different cylinders, if an error is detected during processing of a record immediately after indexing, it is possible to prevent the head positioning operation from being executed twice. You can do it.

【0021】従って、磁気ディスク装置を外部記憶装置
として使用する計算機システムの処理効率低下を防止す
ることが出来る。
Therefore, it is possible to prevent the processing efficiency of the computer system using the magnetic disk device as the external storage device from being lowered.

【0022】[0022]

【実施例】図1は本発明の一実施例を示す回路のブロッ
ク図で、図2は各機能単位の詳細ブロック図である。
1 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 2 is a detailed block diagram of each functional unit.

【0023】図1(A) はディスク装置の一例を示し、図
1(B) はディスク制御装置の一例を示す。ディスク制御
装置13は、複数の機能単位で構成されており、チャネ
ルアダプタ14は、図2(A) に示す如き構成で、プロセ
ッサ23は制御記憶24に格納されたプログラムを読出
して動作し、インタフェース回路21を経て、図示省略
した上位装置、例えば、チャネルからのスタートI/O
命令の受領と、チャネルとの間のデータ転送を行うと共
に、共通バス制御回路22を制御して、共通バス20を
経て他の機能単位との間のデータ転送を行う。
FIG. 1A shows an example of a disk device, and FIG. 1B shows an example of a disk control device. The disk controller 13 is composed of a plurality of functional units. The channel adapter 14 has a configuration as shown in FIG. 2A, and the processor 23 operates by reading a program stored in the control storage 24. Start I / O from a higher-level device, not shown, for example, a channel via the circuit 21
Receiving the instruction and transferring data to and from the channel, and controlling the common bus control circuit 22 to transfer data to and from other functional units via the common bus 20.

【0024】デバイスアダプタ15は、図2(A) に示す
如き構成で、プロセッサ23は制御記憶24に格納され
たプログラムを読出して動作し、インタフェース回路2
1を経て、ディスク装置の制御回路11に命令を送出
し、ディスク装置との間のデータ転送を行うと共に、共
通バス制御回路22を制御して、共通バス20を経て他
の機能単位との間のデータ転送を行う。
The device adapter 15 has a configuration as shown in FIG. 2A, and the processor 23 operates by reading out a program stored in the control memory 24 and operating.
1 to send a command to the control circuit 11 of the disk device to transfer data to and from the disk device, and to control the common bus control circuit 22 to communicate with other functional units via the common bus 20. Data transfer.

【0025】リソースマネージャ16は、図2(B) に示
す如き構成で、プロセッサ26は制御記憶25に格納さ
れているプログラムを読出して動作し、共通バス制御回
路27を制御して共通バス20を経由し、チャネルから
の総てのスタートI/O命令を受領してRAM28に格
納し、このスタートI/O命令を集中管理すると共に、
各スタートI/O命令毎に、チャネルアダプタ14と、
デバイスアダプタ15にデータ転送処理の指示を行う。
The resource manager 16 has a configuration as shown in FIG. 2B. The processor 26 operates by reading out a program stored in the control storage 25, and controls the common bus control circuit 27 to control the common bus 20. All the start I / O commands from the channel are received and stored in the RAM 28, and the start I / O commands are centrally managed.
For each start I / O command, a channel adapter 14
An instruction for data transfer processing is issued to the device adapter 15.

【0026】又、受領した全スタートI/O命令毎の制
御情報や、チャネル経路毎の制御情報、ディスク装置の
制御情報をRAM28に格納し、他の機能単位がRAM
アクセス制御回路29を経て、このRAM28をアクセ
スし、上記情報を読出すことを可能として、この情報を
集中管理する。
The control information for each received start I / O command, the control information for each channel path, and the control information for the disk drive are stored in the RAM 28, and the other functional units are stored in the RAM 28.
The RAM 28 is accessed via the access control circuit 29, and the information can be read, and the information is centrally managed.

【0027】チャネルがチャネルアダプタ14にスター
トI/O命令を送出し、例えば、ディスク装置に対する
データの読出しを指示すると、チャネルアダプタ14は
リソースマネージャ16に共通バス20の使用権を要求
し、許可されるとリソースマネージャ16のRAM28
にシリンダアドレスとヘッドアドレスとレコードアドレ
スを格納する。
When the channel sends a start I / O command to the channel adapter 14 and instructs, for example, to read data from the disk device, the channel adapter 14 requests the resource manager 16 to use the common bus 20 and is granted permission. Then, the RAM 28 of the resource manager 16
, The cylinder address, the head address, and the record address are stored.

【0028】デバイスアダプタ15はリソースマネージ
ャ16の指示により、リソースマネージャ16のRAM
28に格納されたシリンダアドレスとヘッドアドレスと
レコードアドレスを読出し、ディスク装置の制御回路1
1に指示して、サーボ回路7を制御させ、ヘッド1〜4
を指定されたシリンダに位置付けさせる。
The device adapter 15 operates according to the instruction of the resource manager 16 and
Read out the cylinder address, head address, and record address stored in the disk drive control circuit 1;
1 to control the servo circuit 7,
To the specified cylinder.

【0029】サーボ回路7はサーボヘッド4が読出すサ
ーボ情報に基づき、サーボヘッド4の現在位置から指定
されたシリンダ位置にヘッド1〜3を位置付けするた
め、モータ6に駆動電流を供給し、キャリッジ5を移動
させる。
The servo circuit 7 supplies a drive current to the motor 6 to position the heads 1 to 3 at the specified cylinder positions from the current position of the servo head 4 based on the servo information read by the servo head 4, Move 5

【0030】デバイスアダプタ15は、制御回路11か
ら指定されたシリンダにヘッド1〜3が位置付けされた
ことを通知されると、指定されたトラックをヘッド1が
追従している場合、制御回路11を経て増幅回路8をイ
ネーブルとして、ヘッド1が読出すレコードを復調回路
12を経て受領する。
When the device adapter 15 is notified by the control circuit 11 that the heads 1 to 3 have been positioned on the specified cylinder, the device adapter 15 controls the control circuit 11 when the head 1 is following the specified track. After that, the amplifier 8 is enabled, and the record read by the head 1 is received via the demodulation circuit 12.

【0031】又、指定されたトラックをヘッド2が追従
していると、制御回路11を経て増幅回路9をイネーブ
ルとして、ヘッド2が読出すレコードを復調回路12を
経て受領し、指定されたトラックをヘッド3が追従して
いると、制御回路11を経て増幅回路10をイネーブル
として、ヘッド3が読出すレコードを復調回路12を経
て受領する。
When the head 2 is following the specified track, the amplifier 9 is enabled via the control circuit 11 and the record read by the head 2 is received via the demodulation circuit 12 to receive the specified track. When the head 3 is following, the amplifier circuit 10 is enabled via the control circuit 11, and the record read by the head 3 is received via the demodulation circuit 12.

【0032】そして、受領したレコードのデータのエラ
ーチェックを行って、正常であれば、共用メモリ17に
書込む。そして、デバイスアダプタ15は、共用メモリ
17にリトライ用アドレス19として、この正常処理さ
れたレコードのアドレスを格納する。
The data of the received record is checked for errors. If the data is normal, the data is written to the shared memory 17. Then, the device adapter 15 stores the address of the normally processed record in the shared memory 17 as the retry address 19.

【0033】従って、リトライ用アドレス19は、常に
正常処理された最後のレコードのアドレスが格納されて
順次更新される。共用メモリ17にデータが書込まれる
と、リソースマネージャ16の指示により、チャネルア
ダプタ14は、この共用メモリ17に書込まれたデータ
を読出し、チャネルに転送する。
Accordingly, the retry address 19 is always updated with the address of the last record processed normally. When data is written to the shared memory 17, the channel adapter 14 reads the data written to the shared memory 17 and transfers it to the channel in accordance with the instruction of the resource manager 16.

【0034】デバイスアダプタ15は、制御回路11か
らサーボヘッド4がインデックスを読出したことを通知
されると、受領したアドレスから、シリンダ境界を認識
し、一つのシリンダから他のシリンダにヘッド1〜3を
位置付けするシーク動作が必要であることを認識する
と、共用メモリ17にフラグ18をセットすると共に、
シーク先のシリンダの先頭トラックのアドレスをリトラ
イ用アドレス19として格納して、それまで格納されて
いたレコードのアドレスを更新する。
When the device adapter 15 is notified by the control circuit 11 that the servo head 4 has read the index, the device adapter 15 recognizes the cylinder boundary from the received address, and transfers the heads 1 to 3 from one cylinder to another cylinder. Recognizing that the seek operation for positioning is necessary, sets the flag 18 in the shared memory 17 and
The address of the head track of the seek destination cylinder is stored as the retry address 19, and the address of the record stored so far is updated.

【0035】そして、制御回路11にシーク命令を送出
して、他のシリンダにヘッド1〜3を位置付けさせる。
例えば、ヘッド1が図4(C) のシリンダ(2) のトラック
(2) を追従しているものとすると、デバイスアダプタ1
5は制御回路11を経て増幅回路8をイネーブルとし、
制御回路11からインデックスの読出しを通知される
と、レコードの読出しを認識し、レコードのデータ
のエラーチェックを行う。
Then, a seek command is sent to the control circuit 11 to position the heads 1 to 3 on other cylinders.
For example, the head 1 is a track of the cylinder (2) in FIG.
Assuming that (2) is followed, device adapter 1
5 enables the amplifier circuit 8 via the control circuit 11,
When the control circuit 11 notifies the reading of the index, the reading of the record is recognized, and the error of the data of the record is checked.

【0036】この時、前記の如くエラーが検出される
と、デバイスアダプタ15は共用メモリ17のリトライ
用アドレス19を読出し、シリンダ(2) のトラック(2)
であることを認識し、制御回路11を経てサーボヘッド
4が読出すサーボ情報から、ヘッド1が追従中のトラッ
クが、シリンダ(2) のトラック(2) であることを確認す
る。
At this time, if an error is detected as described above, the device adapter 15 reads the retry address 19 of the shared memory 17 and reads the track (2) of the cylinder (2).
The servo information read by the servo head 4 via the control circuit 11 confirms that the track that the head 1 is following is the track (2) of the cylinder (2).

【0037】そして、共用メモリ17のフラグ18がセ
ットされているか調べ、セットされていることから、イ
ンデックスを検出すると、直後のレコード、即ちレコ
ードが読出されると、このレコードのデータのエラ
ーチェックを行い、エラーが無ければ共用メモリ17に
格納すると共に、フラグ18をリセットする。
Then, it is checked whether or not the flag 18 of the shared memory 17 is set. Since the index is detected because the flag 18 is set, when the immediately following record, that is, the record is read, an error check of the data of this record is performed. If there is no error, the data is stored in the shared memory 17 and the flag 18 is reset.

【0038】そして、共用メモリ17のリトライ用アド
レス19として、レコードのアドレスを格納する。図
3は図1の動作を説明する図である。
Then, the address of the record is stored as the retry address 19 of the shared memory 17. FIG. 3 is a diagram illustrating the operation of FIG.

【0039】ディスク制御装置13のデバイスアダプタ
15は、図3の制御装置に示す如く、(1) の処理でディ
スク装置の復調回路12を経て、図4(C) に示すシリン
ダ(1) のトラック(1) のレコードを受領する。
As shown in the control device of FIG. 3, the device adapter 15 of the disk control device 13 passes through the demodulation circuit 12 of the disk device in the processing of (1), and the track of the cylinder (1) shown in FIG. Receive the record of (1).

【0040】そして、(2) の処理で制御回路11を経て
トラック(1) のインデックスを検出を通知されると、シ
リンダ境界を認識し、ディスク装置の制御回路11にシ
ーク命令を送出し、図4(C) のシリンダ(2) にヘッドの
位置付けを指示する。
When the detection of the index of the track (1) is notified via the control circuit 11 in the process (2), the cylinder boundary is recognized, and a seek command is sent to the control circuit 11 of the disk device. Instruct the cylinder (2) of 4 (C) to position the head.

【0041】そして、ディスク装置の切離しを行い、他
の処理を実行する。この間にディスク装置の制御回路1
1は、指定されたシリンダ(2) にヘッドを位置付けする
シークを実行し、シークが完了したことにより、ディス
ク制御装置13は、再結合して処理(3) に移行する。
Then, the disk device is disconnected, and another process is executed. During this time, the control circuit 1 of the disk device
1 executes a seek for positioning the head at the designated cylinder (2), and when the seek is completed, the disk controller 13 rejoins and proceeds to the processing (3).

【0042】そして、シリンダ(2) のトラック(2) のイ
ンデックスを検出すると、レコードの読出しを認識
し、レコードのデータエラーをチェックする。ここ
で、図示する如く、エラー発生が検出されると、リトラ
イを実行する。
When the index of the track (2) of the cylinder (2) is detected, the reading of the record is recognized, and the data error of the record is checked. Here, as shown in the figure, when an error occurrence is detected, a retry is executed.

【0043】即ち、処理(4) でヘッド1が追従中のトラ
ックが、シリンダ(2) のトラック(2) であることを確認
し、フラグ18がセットされていることから、インデッ
クスの直後のレコードを処理し、エラーがなければ
フラグ18をリセットして正常終了する。
That is, in the process (4), it is confirmed that the track that the head 1 is following is the track (2) of the cylinder (2), and the flag 18 is set. Is processed, and if there is no error, the flag 18 is reset and the process ends normally.

【0044】図3では、図5に示される、リトライ時に
2回のシーク命令を送出する処理は不要となっている。
In FIG. 3, the process of transmitting the seek instruction twice at the time of retry, which is shown in FIG. 5, is not required.

【0045】[0045]

【発明の効果】以上説明した如く、本発明は一つのシリ
ンダから他のシリンダに跨がって、レコードが処理され
る場合、他のシリンダの先頭レコードにエラーが発生し
た時のリトライ時に、シーク動作を2回繰り返す必要が
無いため、リトライ時間を短縮することが出来ると共
に、リトライ処理を簡略化することが出来る。
As described above, according to the present invention, when a record is processed from one cylinder to another cylinder, a seek operation is performed at the time of retry when an error occurs in the first record of another cylinder. Since it is not necessary to repeat the operation twice, the retry time can be shortened and the retry processing can be simplified.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施例を示す回路のブロック図FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention.

【図2】 各機能単位の詳細ブロック図FIG. 2 is a detailed block diagram of each functional unit.

【図3】 図1の動作を説明する図FIG. 3 is a view for explaining the operation of FIG. 1;

【図4】 従来技術の一例を説明する図FIG. 4 is a diagram illustrating an example of a conventional technique.

【図5】 従来のリトライ処理を説明する図FIG. 5 illustrates a conventional retry process.

【符号の説明】[Explanation of symbols]

1〜3 ヘッド 4 サーボヘッド 5 キャリッジ 6 モータ 7 サーボ回路 8〜10 増幅回路 11 制御回路 12 復調回路 13 ディスク制御装置 14 チャネルアダプタ 15 デバイスアダプタ 16 リソースマネージャ 17 共用メモリ 18 フラグ 19 リトライ用アドレス 20 共通バス 21 インタフェース回路 22、27 共通バス制御回路 23、26 プロセッサ 24、25 制御記憶 28 RAM 29 RAMアクセス制御回路 1-3 head 4 servo head 5 carriage 6 motor 7 servo circuit 8-10 amplifying circuit 11 control circuit 12 demodulation circuit 13 disk controller 14 channel adapter 15 device adapter 16 resource manager 17 shared memory 18 flag 19 retry address 20 common bus 21 Interface circuit 22, 27 Common bus control circuit 23, 26 Processor 24, 25 Control memory 28 RAM 29 RAM access control circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一シリンダを構成する各トラックのレ
コードは、夫々各トラックを追従するヘッド(1) 〜(3)
を切替えて処理し、異なるシリンダのトラックのレコー
ドに対しては、ヘッド(1) 〜(3) の位置付け制御を行っ
た後、夫々各トラックを追従するヘッド(1) 〜(3) を切
替えて処理し、処理中のレコードにエラーが発生してリ
トライを行う時は、エラーの発生したレコードの一つ前
のレコードのアドレスをリトライ用アドレス(19)として
使用し、該エラーの発生したレコードを検出するディス
ク制御装置(13)のリトライ制御方法において、 一つのシリンダの最終トラックの最終レコードを正常に
処理した後、ヘッドの位置付け制御を行って他のシリン
ダにヘッドを位置付けする場合には、フラグ(18)をセッ
トすると共に、前記リトライ用アドレス(19)を該他のシ
リンダの先頭トラックのアドレスに更新し、該他のシリ
ンダの先頭トラックの先頭レコードを処理中にエラーが
発生した場合は、該フラグ(18)が設定されていることに
より、該更新されたリトライ用アドレス(19)と、ヘッド
(1) 〜(3) が追従中のシリンダの先頭トラックのアドレ
スとの一致を確認した後、該ヘッド(1) 〜(3) が追従中
のシリンダの先頭トラックの先頭レコードの処理を行
い、正常に処理された時は、該フラグ(18)をリセットす
ることを特徴とするディスク制御装置のリトライ制御方
法。
1. A record for each track constituting the same cylinder includes heads (1) to (3) that follow each track, respectively.
After controlling the positioning of the heads (1) to (3) for records on tracks of different cylinders, the heads (1) to (3) that follow each track are switched, respectively. When an error occurs in the record being processed and a retry is performed, the address of the record immediately before the record in which the error occurred is used as the retry address (19), and the record in which the error occurred is used. In the retry control method of the disk controller (13) for detecting, in the case where the last record of the last track of one cylinder is normally processed, the head positioning control is performed and the head is positioned in another cylinder, the flag is set. While setting (18), the retry address (19) is updated to the address of the head track of the other cylinder, and the head record of the head track of the other cylinder is updated. If an error occurs during sense, by the flag (18) is set, and the updated retry address (19), the head
After confirming that (1) to (3) match the address of the head track of the following cylinder, the heads (1) to (3) process the head record of the head track of the following cylinder, A retry control method for a disk controller, wherein the flag (18) is reset when the processing is normally performed.
JP12239092A 1992-05-15 1992-05-15 Retry control method for disk controller Expired - Lifetime JP2743705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12239092A JP2743705B2 (en) 1992-05-15 1992-05-15 Retry control method for disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12239092A JP2743705B2 (en) 1992-05-15 1992-05-15 Retry control method for disk controller

Publications (2)

Publication Number Publication Date
JPH05324215A JPH05324215A (en) 1993-12-07
JP2743705B2 true JP2743705B2 (en) 1998-04-22

Family

ID=14834616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12239092A Expired - Lifetime JP2743705B2 (en) 1992-05-15 1992-05-15 Retry control method for disk controller

Country Status (1)

Country Link
JP (1) JP2743705B2 (en)

Also Published As

Publication number Publication date
JPH05324215A (en) 1993-12-07

Similar Documents

Publication Publication Date Title
JPH0748195B2 (en) Channel-Direct Access Storage Asynchronous Communication System
US5841598A (en) Information recording/reproducing apparatus and data processing method
JPH04282731A (en) Method of error recovery in the asynchronous control unit
JP2743705B2 (en) Retry control method for disk controller
CN101201725A (en) Tape recording apparatus and method
JPS6160149A (en) Control system for block identification number
JPS5940309A (en) Memory controller
JP2732951B2 (en) Data transfer control method
JPS58114152A (en) Back up device for magnetic disc
JPH05257609A (en) Method for continuous writing process of disk device
JP2737555B2 (en) Disk controller
JPH04275675A (en) Data base processing system
JPH03164843A (en) Optical disk processing device
JPH0743673B2 (en) Writing control method to auxiliary storage device
JPH064449A (en) Disk controller
JPS623321A (en) Optical disk controller
JPH09320209A (en) Disk storage device and its accessing method
JPH041931A (en) Optical disk processor
JPS63195726A (en) Semiconductor disk controller
JPS6041123A (en) Magnetic disc control device
JPH036614A (en) Magnetic disk controller
JPS61208534A (en) Control system for semiconductor disk
JPH0652035A (en) Filing device
JPS63155473A (en) Magnetic disk controller
JPH03259319A (en) Writing system for disk device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980106