JP2737555B2 - Disk controller - Google Patents

Disk controller

Info

Publication number
JP2737555B2
JP2737555B2 JP4203269A JP20326992A JP2737555B2 JP 2737555 B2 JP2737555 B2 JP 2737555B2 JP 4203269 A JP4203269 A JP 4203269A JP 20326992 A JP20326992 A JP 20326992A JP 2737555 B2 JP2737555 B2 JP 2737555B2
Authority
JP
Japan
Prior art keywords
disk
offset amount
adapter
command
disk device
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 - Fee Related
Application number
JP4203269A
Other languages
Japanese (ja)
Other versions
JPH0651916A (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 JP4203269A priority Critical patent/JP2737555B2/en
Publication of JPH0651916A publication Critical patent/JPH0651916A/en
Application granted granted Critical
Publication of JP2737555B2 publication Critical patent/JP2737555B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 controller for controlling a disk drive having a data plane offset function for improving the positioning accuracy of a head, and more particularly to a disk control apparatus for correcting the position of the head by using the data plane offset function. The present invention relates to a disk control device capable of reliably executing a patrol servo command for collecting an offset amount to be performed.

【0002】ディスク装置に対する高密度記録の要求に
対応して、トラックの記録密度が向上するに伴い、ヘッ
ドのトラックに対する位置付け精度の向上が要求される
ようになって来た。
In response to the demand for high-density recording for disk devices, as the recording density of tracks increases, it has been required to improve the positioning accuracy of heads relative to tracks.

【0003】このため、サーボ面から読取るサーボ情報
に基づき、各ヘッドを指定されたトラックに位置付けす
る際に、データ面オフセット機能によって収集したオフ
セット量で、各ヘッドのトラックの中心からの位置ずれ
を夫々補正するディスク装置が提供されている。
Therefore, when positioning each head on a designated track based on the servo information read from the servo surface, the displacement of each head from the center of the track is determined by the offset amount collected by the data surface offset function. A disk device for correcting each is provided.

【0004】ところで、このデータ面オフセット機能と
は、データ面に記録されたサーボ情報を予め所定の間隔
で読取ることで、全ヘッドのオフセット量を測定してお
き、このオフセット量を用いて、サーボ面から読取られ
たサーボ情報に基づき、ヘッドが位置付けされた時のト
ラックの中心からの位置ずれを補正することにより、各
ヘッドをトラックの中心に位置付けさせる機能である。
By the way, the data surface offset function is to read the servo information recorded on the data surface at predetermined intervals to measure the offset amounts of all the heads, and use this offset amount to perform servo control. This is a function of positioning each head at the center of the track by correcting the positional deviation from the center of the track when the head is positioned based on the servo information read from the surface.

【0005】従って、常に正確にヘッドがトラックの中
心に位置付けされるためには、このオフセット量は最新
のものであることが必要である。
Therefore, in order to always accurately position the head at the center of the track, this offset amount needs to be the latest.

【0006】[0006]

【従来の技術】図5は従来技術の一例を説明するブロッ
ク図で、図6は各機能単位の詳細ブロック図である。
2. Description of the Related Art FIG. 5 is a block diagram for explaining an example of the prior art, and FIG. 6 is a detailed block diagram of each functional unit.

【0007】図5において、ディスク制御装置2は、複
数の機能単位で構成されており、チャネルアダプタ5と
6は、図6(A) に示す如き構成で、プロセッサ13は制
御記憶14に格納されたプログラムを読出して動作し、
インタフェース回路12を経て、チャネル1又は11か
らのスタートI/O命令の受領と、チャネル1又は11
との間のデータ転送を行うと共に、共通バス制御回路1
5を制御して、共通バス10を経て他の機能単位との間
のデータ転送を行う。
In FIG. 5, the disk controller 2 is composed of a plurality of functional units. The channel adapters 5 and 6 have the configuration shown in FIG. 6A, and the processor 13 is stored in the control storage 14. Reads and operates the program
Receiving a start I / O command from the channel 1 or 11 via the interface circuit 12;
And the common bus control circuit 1
5 to transfer data to and from other functional units via the common bus 10.

【0008】デバイスアダプタ7と8は、図6(A) に示
す如き構成で、プロセッサ13は制御記憶14に格納さ
れたプログラムを読出して動作し、インタフェース回路
12を経て、アダプタ28又は29を介してディスク装
置3又は4に命令を送出し、ディスク装置3又は4との
間のデータ転送を行うと共に、共通バス制御回路15を
制御して、共通バス10を経て他の機能単位との間のデ
ータ転送を行う。
The device adapters 7 and 8 are configured as shown in FIG. 6 (A). The processor 13 reads out the program stored in the control memory 14 and operates. The processor 13 operates via the interface circuit 12 and the adapter 28 or 29. Sends a command to the disk device 3 or 4 to transfer data to and from the disk device 3 or 4, and controls the common bus control circuit 15 to communicate with other functional units via the common bus 10. Perform data transfer.

【0009】リソースマネージャ9は、図6(B) に示す
如き構成で、プロセッサ17は制御記憶16に格納され
ているプログラムを読出して動作し、共通バス制御回路
18を制御して共通バス10を経由し、チャネル1及び
11からの総てのスタートI/O命令を受領してRAM
19に格納し、このスタートI/O命令を集中管理する
と共に、各スタートI/O命令毎に、チャネルアダプタ
5又は6及び、デバイスアダプタ7又は8にデータ転送
処理の指示を行う。
The resource manager 9 has a configuration as shown in FIG. 6B. A processor 17 operates by reading a program stored in a control memory 16 and controlling a common bus control circuit 18 to control the common bus 10. And receives all start I / O commands from channels 1 and 11
19 and centrally manages the start I / O command, and instructs the channel adapter 5 or 6 and the device adapter 7 or 8 for data transfer processing for each start I / O command.

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

【0011】例えば、チャネル1がチャネルアダプタ5
にスタートI/O命令を送出し、ディスク装置3に対す
るデータの書込みを指示すると、チャネルアダプタ5は
リソースマネージャ9に共通バス10の使用を要求し、
許可されるとリソースマネージャ9のRAM19にシリ
ンダアドレスとヘッドアドレスとレコードアドレスを格
納する。
For example, if the channel 1 is a channel adapter 5
When the channel adapter 5 sends a start I / O command to the disk device 3 to write data to the disk device 3, the channel adapter 5 requests the resource manager 9 to use the common bus 10,
When permitted, the cylinder address, head address, and record address are stored in the RAM 19 of the resource manager 9.

【0012】デバイスアダプタ7又は8はリソースマネ
ージャ9の指示により、リソースマネージャ9のRAM
19に格納された前記アドレスを読出すと、このアドレ
スによってアダプタ28又は29を介してディスク装置
3を選択した後制御して、ヘッドを指定されたシリンダ
に位置付けさせる。
The device adapter 7 or 8 is operated by the resource manager 9 in accordance with an instruction from the resource manager 9.
When the address stored in the address 19 is read, the disk device 3 is selected via the adapter 28 or 29 according to the address and controlled to position the head at the designated cylinder.

【0013】そして、デバイスアダプタ7又は8は、デ
ィスク装置3のシーク動作が完了し、データの書込みが
可能となると、チャネルアダプタ5と結合し、ディスク
装置3の指定されたヘッドにチャネルアダプタ5が送出
するデータを送出して、指定されたレコードから順次デ
ータの書込みを行わせる。
When the seek operation of the disk device 3 is completed and data writing becomes possible, the device adapter 7 or 8 is connected to the channel adapter 5 and the channel adapter 5 is attached to the designated head of the disk device 3. The data to be transmitted is transmitted, and the data is sequentially written from the designated record.

【0014】又、チャネルアダプタ5は、チャネル1か
らデータの読出しを指示された時は、デバイスアダプタ
7又は8がディスク装置3の指定されたヘッドが指定さ
れたレコードから読出させたデータをチャネル1に転送
する。
When the channel adapter 5 is instructed to read data from the channel 1, the device adapter 7 or 8 transmits the data read from the designated record by the designated head of the disk drive 3 to the channel 1. Transfer to

【0015】チャネル1がチャネルアダプタ5とデバイ
スアダプタ7又は8を経て、アダプタ28又は29を介
し、ディスク装置4をアクセスする場合と、チャネル1
1がチャネルアダプタ6とデバイスアダプタ7又は8を
経て、アダプタ28又は29を介し、ディスク装置3又
はディスク装置4をアクセスする場合も上記同様である
ため詳細説明は省略する。
The channel 1 accesses the disk device 4 via the channel adapter 5 and the device adapter 7 or 8 and the adapter 28 or 29, and the channel 1
The same applies to the case where the device 1 accesses the disk device 3 or the disk device 4 via the channel adapter 6 and the device adapter 7 or 8 via the adapter 28 or 29, and the detailed description is omitted.

【0016】ディスク制御装置2のリソースマネージャ
9は、所定の時間毎にデバイスアダプタ7又は8に対し
パトロールサーボ命令を送出し、ディスク装置3と4の
データ面オフセット機能を稼働させ、全ヘッドのオフセ
ット量の測定を指示する。
The resource manager 9 of the disk control device 2 sends a patrol servo command to the device adapter 7 or 8 at predetermined time intervals, activates the data surface offset function of the disk devices 3 and 4, and sets the offset of all heads. Instruct the measurement of the amount.

【0017】図7はパトロールサーボの動作を説明する
シーケンスである。リソースマネージャ(RM)はパト
ロールサーボ命令の発行時間が来ると、図7のSTA
RT OPERATIONに示す如く、デバイスアダプ
タ(DA)にスタートオペレーションを発行する。
FIG. 7 is a sequence for explaining the operation of the patrol servo. When the issue time of the patrol servo command comes, the resource manager (RM) sets the STA in FIG.
A start operation is issued to the device adapter (DA) as shown in RT PERATION.

【0018】スタートオペレーションを受信したデバイ
スアダプタ(DA)は、図7のTCBに示す如く、リ
ソースマネージャ(RM)からタスク制御ブロック(T
CB)を読出して、タスクコードによって、パトロール
サーボの実行を指示されたことを認識する。
Upon receiving the start operation, the device adapter (DA) receives a task control block (T) from the resource manager (RM) as shown in TCB of FIG.
CB) is read, and it is recognized that execution of the patrol servo is instructed by the task code.

【0019】そして、更に図7のDCBに示す如く、
リソースマネージャ(RM)からデバイス制御ブロック
(DCB)を読出して、ディスク装置(DV)のヘッド
位置等を認識すると、図7のDEVICE SELE
CTに示す如く、ディスク装置(DV)を選択して図7
のPATROL SERVOに示す如く、選択したデ
ィスク装置(DV)にパトロールサーボ命令を送出す
る。
Further, as shown in the DCB of FIG.
When the device control block (DCB) is read from the resource manager (RM) to recognize the head position and the like of the disk device (DV), the DEVICE SELECT of FIG.
As shown in CT, a disk device (DV) is selected and FIG.
Patroll servo command is sent to the selected disk device (DV) as shown in CONTROL SERVO.

【0020】続いて、デバイスアダプタ(DA)は図7
のRESET INTERRUPTに示す如く、ディ
スク装置(DV)からの割込みによる報告を不要とする
指示を行い、図7のDCBに示す如く、リソースマネ
ージャ(RM)が記憶しているデバイス制御ブロックの
内容を書替える。即ち、処理対象ディスク装置のヘッド
の位置は0シリンダに位置付けられていることを記録す
る。
Next, the device adapter (DA) is shown in FIG.
As shown in RESET INTERRUPT of FIG. 7, an instruction is made that the report by the interruption from the disk device (DV) is unnecessary, and as shown in DCB of FIG. 7, the contents of the device control block stored by the resource manager (RM) are written. Replace. That is, it is recorded that the position of the head of the disk device to be processed is positioned at 0 cylinder.

【0021】そして、図7のDEVICE DISC
ONNECTに示す如く、ディスク装置(DV)との結
合を切り離す。
Then, the DEVICE DISC shown in FIG.
As shown in ONCONNECT, the connection with the disk device (DV) is disconnected.

【0022】[0022]

【発明が解決しようとする課題】上記の如く、従来はリ
ソースマネージャ9が、所定の時間毎にパトロールサー
ボ命令を送出している。
As described above, conventionally, the resource manager 9 sends out patrol servo commands at predetermined time intervals.

【0023】しかし、デバイスアダプタ7とアダプタ2
8の間と、デバイスアダプタ8とアダプタ29の間に
は、アダプタ28と29とをディセーブル状態とするス
イッチが設けられており、このスイッチが装置をディセ
ーブル状態としている場合には、デバイスアダプタ7又
は8がディスク装置3又は4に対し、図7に示す如
く、DEVICE SELECTを送出しても、ディス
ク装置3又は4を選択することが出来ない。
However, the device adapter 7 and the adapter 2
8, a switch for disabling the adapters 28 and 29 is provided between the device adapter 8 and the adapter 29. When this switch disables the device, the device adapter is disabled. Even if the device 7 or 8 sends out the DEVICE SELECT to the disk device 3 or 4 as shown in FIG. 7, the disk device 3 or 4 cannot be selected.

【0024】従って、ディスク装置3と4にパトロール
サーボ命令を送出することが出来ないため、ディスク装
置3と4はそれまでに収集したオフセット量を保持した
ままとなる。
Therefore, since the patrol servo command cannot be sent to the disk devices 3 and 4, the disk devices 3 and 4 keep the offset amount collected so far.

【0025】このディセーブル状態が長く続いた後、ス
イッチがイネーブル状態に切替えられてから、次のパト
ロールサーボ命令が送出される前に、このディスク装置
3又は4にチャネル1又は11からアクセスがあり、デ
ータの書込みが行われると、ディスク装置3と4は古い
オフセット量に基づきヘッドの位置を補正してデータの
書込みを行う。
After the disable state continues for a long time, the disk device 3 or 4 is accessed from the channel 1 or 11 after the switch is switched to the enable state and before the next patrol servo command is transmitted. When the data is written, the disk devices 3 and 4 correct the head position based on the old offset amount and write the data.

【0026】この古いオフセット量を使用すると、温度
変動等によって古いオフセット量が不適となっている場
合が多く、古いオフセット量で位置補正して書込まれた
データは、トラックの中心からずれて書込まれる可能性
が高い。
When this old offset amount is used, the old offset amount is often inappropriate due to temperature fluctuations and the like, and data written with the position corrected by the old offset amount is written off the center of the track. It is likely to be caught.

【0027】従って、次のパトロールサーボ命令を受取
って新たなオフセット量が測定された結果、この新たな
オフセット量で位置補正されたヘッドにより、古いオフ
セット量で位置補正されて書込まれたデータが読出され
た時、ヘッドの位置ずれが大きいことによってデータチ
ェックが多発するという問題がある。
Accordingly, as a result of receiving the next patrol servo command and measuring a new offset amount, the data whose position has been corrected with the old offset amount and written by the head whose position has been corrected with the new offset amount will be described. At the time of reading, there is a problem that data check frequently occurs due to a large displacement of the head.

【0028】本発明はこのような問題点に鑑み、パトロ
ールサーボ命令が正常に受け取られなかった場合、デバ
イスアダプタ7と8がDCB内にフラグを書込み、デバ
イスアダプタ7又は8にスタートI/O命令が来た時、
DCBにフラグが存在する場合は、このスタートI/O
命令を実行する前に、ディスク装置3と4に対しパトロ
ールサーボ命令を送出して実行させることを目的として
いる。
In view of the above problems, in the present invention, when the patrol servo command is not normally received, the device adapters 7 and 8 write a flag in the DCB, and the device adapter 7 or 8 sends a start I / O command to the device adapter 7 or 8. When came
If a flag exists in the DCB, this start I / O
The purpose is to send a patrol servo command to the disk devices 3 and 4 to execute the command before executing the command.

【0029】[0029]

【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。ディスク制御装置22は、ヘ
ッドのトラックからのずれ量を補正するためのオフセッ
ト量を測定し、このオフセット量で位置補正をすること
により、前記ヘッドの位置付け精度を向上させるデータ
面オフセット機能を備えたディスク装置3を制御し、所
定の時間毎にディスク装置3に対して、データ面オフセ
ット機能のオフセット量測定開始を命令する。
FIG. 1 is a block diagram for explaining the principle of the present invention. The disk control device 22 has a data surface offset function of measuring the offset amount for correcting the deviation amount of the head from the track, and correcting the position with the offset amount, thereby improving the positioning accuracy of the head. It controls the disk device 3 and instructs the disk device 3 to start measuring the offset amount of the data surface offset function at predetermined time intervals.

【0030】そして、ディスク装置3に対するオフセッ
ト量測定開始の命令が正常に受け取られないことを示す
フラグ23を設定するフラグ設定手段24と、上位装置
21からの前記ディスク装置3に対する入出力命令を受
信した時に、前記フラグ23が設定されていた場合は、
この入出力命令を実行する前に、前記オフセット量測定
開始の命令を発行する命令発行手段30とを設けてい
る。
Then, a flag setting means 24 for setting a flag 23 indicating that an instruction to start the offset amount measurement to the disk device 3 is not normally received, and an input / output instruction to the disk device 3 from the host device 21 are received. When the flag 23 is set at the time of
Before executing the input / output instruction, an instruction issuing means 30 for issuing an instruction for starting the offset amount measurement is provided.

【0031】[0031]

【作用】上記の如く構成することにより、フラグ23が
設定されている時、即ち、ディスク装置3のデータ面オ
フセット機能が、所定の時間毎のオフセット量測定を実
行していない場合、上位装置21が送出した入出力命令
を実行する前に、ディスク制御装置22がディスク装置
3に対し、オフセット量測定開始の命令、即ち、パトロ
ールサーボ命令を送出して、オフセット量の測定を実行
させることが出来る。
With the above configuration, when the flag 23 is set, that is, when the data surface offset function of the disk device 3 does not execute the offset amount measurement at predetermined time intervals, the host device 21 Before executing the input / output command transmitted by the disk controller 22, the disk controller 22 can transmit an offset amount measurement start command, that is, a patrol servo command, to the disk device 3 to execute the offset amount measurement. .

【0032】従って、最新のオフセット量によってヘッ
ドの位置ずれ補正が行われた後、データの書込みが行わ
れるため、データチェック発生を防止することが出来
る。
Therefore, data is written after the head displacement is corrected using the latest offset amount, so that occurrence of data check can be prevented.

【0033】[0033]

【実施例】図2は本発明の一実施例を示す回路のブロッ
ク図で、図3は図2の動作を説明するシーケンスであ
る。
FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a sequence for explaining the operation of FIG.

【0034】図2において、図5と同一符号は同一機能
のものを示す。デバイスアダプタ25及び26は、図6
(A) に示す制御記憶14に格納されているプログラム
が、図5に示すデバイスアダプタ7及び8と相違してい
る。
In FIG. 2, the same reference numerals as those in FIG. The device adapters 25 and 26 are shown in FIG.
The program stored in the control storage 14 shown in (A) is different from the device adapters 7 and 8 shown in FIG.

【0035】又、リソースマネージャ27は図6(B) に
示すRAM19に格納されているDCBにフラグ23が
設定される点が相違する。図3の〜は図7と同一で
ある。図3において、前記の如く、デバイスアダプタ
(DA)25又は26が、DEVICE SELECT
によってディスク装置(DV)3又は4を選択した時、
前記の如く、スイッチがアダプタ28と29をディセー
ブル状態としているため、選択が失敗するか、選択は成
功しても、タグ(TAG)の発行に対するアダプタ28
又は29からの応答が無く、図3のPATROL S
ERVOに示すパトロールサーボ命令が送出出来なかっ
た場合、図3のDCB(FLAG ON)に示す如
く、デバイスアダプタ25又は26は、リソースマネー
ジャ(RM)27の図7(B) に示す共通バス制御回路1
8を経てプロセッサ17に対し、RAM19にフラグ2
3を設定するように要求する。
The resource manager 27 is different from the resource manager 27 in that a flag 23 is set in the DCB stored in the RAM 19 shown in FIG. 3 are the same as those in FIG. In FIG. 3, as described above, the device adapter (DA) 25 or 26 is connected to the DEVICE SELECT.
When the disk device (DV) 3 or 4 is selected,
As described above, since the switch disables the adapters 28 and 29, the selection fails, or even if the selection succeeds, the adapter 28 issues a tag (TAG).
Or no response from 29, and CONTROL S in FIG.
When the patrol servo command shown in ERVO cannot be transmitted, as shown in DCB (FLAG ON) in FIG. 3, the device adapter 25 or 26 controls the resource manager (RM) 27 in the common bus control circuit shown in FIG. 1
8, the flag 17 is stored in the RAM 19 for the processor 17.
Request to set 3.

【0036】従って、リソースマネージャ27は、図7
(B) に示すRAM19に格納するDCBにフラグ23を
書込む。デバイスアダプタ25又は26は、リソースマ
ネージャ27からチャネルアダプタ5又は6を経てチャ
ネル1又は11からのスタートI/O命令の受信を通知
されると、リソースマネージャ27の図7(B) に示すR
AMアクセス制御回路20を経てRAM19に格納され
ているDCBを図3のDCBに示す如く読出し、フラ
グ23が設定されているか調べ、フラグが設定されてい
ると、このスタートI/O命令を実行する前に、図3
のPATROL SERVOに示す如く、パトロールサ
ーボ命令を送出する。
Therefore, the resource manager 27
The flag 23 is written in the DCB stored in the RAM 19 shown in FIG. When the device adapter 25 or 26 is notified by the resource manager 27 of the reception of the start I / O command from the channel 1 or 11 via the channel adapter 5 or 6, the R of the resource manager 27 shown in FIG.
The DCB stored in the RAM 19 via the AM access control circuit 20 is read as shown in the DCB of FIG. 3, and it is checked whether the flag 23 is set. If the flag 23 is set, the start I / O instruction is executed. Before, Figure 3
As shown in PATROL SERVO, a patrol servo command is transmitted.

【0037】そして、デバイスアダプタ25又は26
は、図3のDCBに示す如く、DCBのフラグ23を
リセットした後、前記同様DCBの内容を書替えると、
図3(10)のDEVICE DISCONNECTに示す
如く、一旦ディスク装置3又は4を切り離す。
Then, the device adapter 25 or 26
Is, as shown in the DCB of FIG. 3, after resetting the DCB flag 23, and rewriting the contents of the DCB in the same manner as described above,
As shown in DEVICE DISCONNECT in FIG. 3 (10), the disk device 3 or 4 is once disconnected.

【0038】この時、デバイスアダプタ25又は26
は、図7に示すRESET INTERRUPTは発
行せず、ビジー状態でディスク装置3又は4と切り離れ
ることにより、ディスク装置3又は4からオフセット量
測定終了を報告させる。
At this time, the device adapter 25 or 26
Does not issue the RESET INTERRUPT shown in FIG. 7 and disconnects from the disk device 3 or 4 in a busy state, thereby causing the disk device 3 or 4 to report the end of the offset amount measurement.

【0039】そして、このオフセット量測定終了が報告
されると、リソースマネージャ27から再度スタートI
/O命令を発行させ、この時はフラグ23が設定されて
いないことにより、ディスク装置3又は4に対するデー
タの書込み又は読出しの処理を行う。
When the end of the offset amount measurement is reported, the resource manager 27 starts again.
An / O command is issued. At this time, since the flag 23 is not set, data write or read processing to or from the disk device 3 or 4 is performed.

【0040】図4は図2の動作を説明するフローチャー
トである。デバイスアダプタ25又は26は、ステップ
(1) でリソースマネージャ27からスタートI/O命令
を受領すると、ステップ(2) でリソースマネージャ27
からDCBを読出し、ステップ(3) でディスク装置3又
は4を選択する。
FIG. 4 is a flowchart for explaining the operation of FIG. The device adapter 25 or 26
When a start I / O command is received from the resource manager 27 in (1), the resource manager 27 is received in step (2).
, The DCB is read out, and the disk device 3 or 4 is selected in step (3).

【0041】そして、ステップ(4) でフラグ23が設定
されているか調べ、設定されていなければ、ステップ
(5) で通常の処理を実行する。ステップ(4) でフラグが
設定されていると、ステップ(6) でパトロールサーボ命
令を発行し、ステップ(7) でフラグ23をリセットす
る。そして、ステップ(8) でDCBを書替え、ステップ
(9) でディスク装置3又は4をビジー状態で切り離し、
ステップ(1) の処理に戻る。
Then, in step (4), it is checked whether or not the flag 23 has been set.
The normal processing is executed in (5). If the flag is set in step (4), a patrol servo command is issued in step (6), and the flag 23 is reset in step (7). Then, in step (8), the DCB is rewritten,
In (9), the disk unit 3 or 4 is disconnected in a busy state,
Return to step (1).

【0042】[0042]

【発明の効果】以上説明した如く、本発明はディスク装
置のデータ面オフセット機能が、所定の時間毎のオフセ
ット量測定を実行していない場合、上位装置が送出した
入出力命令を実行する前に、ディスク制御装置がディス
ク装置に対し、パトロールサーボ命令を送出して、オフ
セット量の測定を実行させることが出来る。
As described above, according to the present invention, when the data plane offset function of the disk device does not execute the offset amount measurement every predetermined time, the data surface offset function is executed before executing the input / output command sent by the host device. Then, the disk control device can send a patrol servo command to the disk device to execute the measurement of the offset amount.

【0043】従って、最新のオフセット量によってヘッ
ドの位置ずれ補正が行われた後、データの書込みが行わ
れるため、データチェック発生を防止することが出来
る。
Therefore, data is written after the head displacement is corrected by the latest offset amount, so that occurrence of data check can be prevented.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

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

【図3】 図2の動作を説明するシーケンスFIG. 3 is a sequence illustrating the operation of FIG. 2;

【図4】 図2の動作を説明するフローチャートFIG. 4 is a flowchart illustrating the operation of FIG. 2;

【図5】 従来技術の一例を説明するブロック図FIG. 5 is a block diagram illustrating an example of a conventional technique.

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

【図7】 パトロールサーボの動作を説明するシーケン
FIG. 7 is a sequence illustrating the operation of the patrol servo.

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

1、11 チャネル 2、22 ディスク制御装置 3、4 ディスク装置 5、6 チャネルアダプタ 7、8、25、26 デバイスアダプタ 9、27 リソースマネージャ 10 共通バス 12 インタフェース回路 13、17 プロセッサ 14、16 制御記憶 15、18 共通バス制御回路 19 RAM 20 RAMアクセス制御回路 21 上位装置 23 フラグ 24 フラグ設定手段 28、29 アダプタ 1, 11 channel 2, 22 disk controller 3, 4 disk device 5, 6 channel adapter 7, 8, 25, 26 device adapter 9, 27 resource manager 10 common bus 12 interface circuit 13, 17 processor 14, 16 control storage 15 , 18 Common bus control circuit 19 RAM 20 RAM access control circuit 21 Host device 23 Flag 24 Flag setting means 28, 29 Adapter

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ヘッドのトラックからのずれ量を補正す
るためのオフセット量を測定し、該オフセット量で位置
補正をすることにより、該ヘッドの位置付け精度を向上
させるデータ面オフセット機能を備えたディスク装置
(3) を制御し、所定の時間毎に該ディスク装置(3) に対
して、該データ面オフセット機能のオフセット量測定開
始を命令するディスク制御装置(22)であって、 該ディスク装置(3) に対するオフセット量測定開始の命
令が正常に受け取られないことを示すフラグ(23)を設定
するフラグ設定手段(24)と、 上位装置(21)からの前記ディスク装置(3) に対する入出
力命令を受信した時に、前記フラグ(23)が設定されてい
た場合は、該入出力命令を実行する前に、前記オフセッ
ト量測定開始の命令を発行する手段(30)と、 を設けたことを特徴とするディスク制御装置。
1. A disk having a data plane offset function for improving the positioning accuracy of a head by measuring an offset amount for correcting a deviation amount of a head from a track and correcting a position with the offset amount. apparatus
(3), and instructs the disk device (3) to start measuring the offset amount of the data plane offset function at predetermined time intervals, the disk device (3) comprising: ), A flag setting means (24) for setting a flag (23) indicating that an instruction to start measuring the offset amount is not normally received, and an input / output instruction from the host device (21) to the disk device (3). At the time of reception, if the flag (23) is set, before executing the input / output command, a means (30) for issuing the command for starting the offset amount measurement is provided. Disk control unit.
JP4203269A 1992-07-30 1992-07-30 Disk controller Expired - Fee Related JP2737555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4203269A JP2737555B2 (en) 1992-07-30 1992-07-30 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4203269A JP2737555B2 (en) 1992-07-30 1992-07-30 Disk controller

Publications (2)

Publication Number Publication Date
JPH0651916A JPH0651916A (en) 1994-02-25
JP2737555B2 true JP2737555B2 (en) 1998-04-08

Family

ID=16471251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4203269A Expired - Fee Related JP2737555B2 (en) 1992-07-30 1992-07-30 Disk controller

Country Status (1)

Country Link
JP (1) JP2737555B2 (en)

Also Published As

Publication number Publication date
JPH0651916A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
KR100345632B1 (en) A memory device and a method for controlling the same
EP0215184B1 (en) Data processing peripheral subsystems having a controller and a plurality of peripheral devices
KR950004214B1 (en) Nonsynchronous direct access memory control method and system therefor
EP0017666A2 (en) Methods of operating direct access storage means
JP2737555B2 (en) Disk controller
JP3132677B2 (en) Information recording and playback method
JPH0542071B2 (en)
JP3147575B2 (en) Data writing device and data block writing method
JPH0750428B2 (en) Disk double writing controller
JPS58223860A (en) Magnetic disk controller
JPH035862A (en) Input/output instruction processing system
JP2634025B2 (en) Format write control method for magnetic disk controller
JPH0684283A (en) Transfer method for magneto-optical disk data
JPH0731581B2 (en) Storage controller
JP2957380B2 (en) Head positioning controller for magnetic disk
JPH0317831A (en) Optical disk controller
JP2737495B2 (en) I / O control unit
JPS6037496B2 (en) disk controller
JPH0743673B2 (en) Writing control method to auxiliary storage device
JPS6113259B2 (en)
JPS61133433A (en) Defective sector alternate processing system in unrewritable data recording medium
JPH03164843A (en) Optical disk processing device
JPH0329171A (en) Device and method for controlling disk
JPH0254584B2 (en)
JPS63276118A (en) Access system for magnetic 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: 19971209

LAPS Cancellation because of no payment of annual fees