JPH0329171A - Device and method for controlling disk - Google Patents
Device and method for controlling diskInfo
- Publication number
- JPH0329171A JPH0329171A JP16308589A JP16308589A JPH0329171A JP H0329171 A JPH0329171 A JP H0329171A JP 16308589 A JP16308589 A JP 16308589A JP 16308589 A JP16308589 A JP 16308589A JP H0329171 A JPH0329171 A JP H0329171A
- Authority
- JP
- Japan
- Prior art keywords
- correction operation
- command
- executed
- execution
- track
- 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
Links
Landscapes
- Moving Of The Head To Find And Align With The Track (AREA)
Abstract
Description
【発明の詳細な説明】
〔目次〕
概要
産業上の利用分野
従来の技術(第4図)
発明が解決しようとする課題
課題を解決するための手段(第1図)
作用(第1図)
実施例(第2図、第3図)
発明の効果
〔概要〕
ディスクrtsm装置及び制御方法に関し、上位装置が
ディスク装置のオフトラック補正動作の実行のために、
長時間の人出力実行待ちが発生しないようにすることを
目的とし、
制御装置に、補正動作要求指示部と、補正動作検知部と
、補正動作判断部と、補正動作指示部と、コマンド処理
制御部と、コマンドの実行中あるいは保持中を検出する
検出手段を備えるように構威し、また、オフトラック補
正動作要求を検知した場合、コマンド実行中か、または
コマンド保持中かを判断し、その結果、コマンド実行中
または保持中であれば、コマンド処理を継続または実行
し、それ以外の時ディスク装置のオフトラック補正動作
を指示することにより、上位装置からのコマンドを待た
せることなく、ディスク装置のオフトラック補正動作が
できるように構威する。[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 4) Means for solving the problem to be solved by the invention (Figure 1) Effect (Figure 1) Implementation Example (Fig. 2, Fig. 3) Effect of the invention [Summary] Regarding the disk rtsm device and control method, in order for the host device to perform off-track correction operation of the disk device,
In order to prevent a long period of waiting for human output execution, the control device includes a correction operation request instruction section, a correction operation detection section, a correction operation judgment section, a correction operation instruction section, and a command processing control section. and a detection means for detecting whether a command is being executed or held, and when an off-track correction operation request is detected, the system determines whether the command is being executed or held, and detects whether the command is being executed or held. As a result, if the command is being executed or held, the command processing is continued or executed, and at other times, the off-track correction operation of the disk device is instructed. The system is designed to perform off-track correction operations.
近年、コンピュータシステムの高性能化と大容徹化に伴
い、例えば、磁気ディスク装置や光ディスク装置等を中
心とした外部記憶装置(補助記憶装置)は、記憶容蟹の
拡大と小型化及び高性能化を求められている.
これらの要件を達威するため、磁気ディスク装置等では
、記憶媒体面上のトラック密度を高めることにより、小
径の記憶媒体に出来るだけ大容量のデータを記録するた
めの改良が試みられてきた。In recent years, with the improvement in performance and capacity of computer systems, external storage devices (auxiliary storage devices), such as magnetic disk devices and optical disk devices, have expanded in storage capacity, become smaller, and have higher performance. We are being asked to In order to meet these requirements, attempts have been made to improve magnetic disk devices and the like in order to record as large a capacity of data as possible on a small diameter storage medium by increasing the track density on the surface of the storage medium.
しかし、トラック密度を高めることにより、トラック間
距離はより微小になり、このことは、デタの読出し及び
書込みのために、再生/記録ヘッドをそのトラックに位
置付けるための位置決め機構に、一層の高精度を要求す
ることになった.一方、コンピュータシステムにおける
外部記憶装置(補助記憶装置)は、常に高信頼度が求め
られることば明白であり、信頼度を低下させることなく
、記録密度を高めることにより大容量化を図ることが要
求されている.
磁気ディスク装置等のヘッド位置決め機構は、その機械
的構造のため、装置自身の発熱あるいは周囲温度の変化
等による温度変動の影響を受け易く、位置決め精度を低
下させる最大の原因となっている.
この欠点を除去するための最も有効な手段として、各記
憧媒休上にその記憶媒体の物理的基準情報(一般的には
、サ〜ボ情報と呼ぶ)を記録しておき、装置自身が、一
定の時間間隔でその褪準情報を読出して、ヘッドと記憶
媒体との相対的位置の変動を算出し、ヘッド位置決め機
構を作動させる制御情報を補正することが行われている
。However, by increasing the track density, the distance between tracks becomes smaller, which means that the positioning mechanism for positioning the playback/recording head on the track for reading and writing data requires higher precision. I decided to request. On the other hand, it is clear that external storage devices (auxiliary storage devices) in computer systems are always required to have high reliability, and it is necessary to increase capacity by increasing recording density without reducing reliability. ing. Due to its mechanical structure, the head positioning mechanism of magnetic disk drives and the like is easily affected by temperature fluctuations due to the heat generated by the device itself or changes in ambient temperature, which is the biggest cause of deterioration in positioning accuracy. The most effective means to eliminate this drawback is to record physical reference information of the storage medium (generally called servo information) on each storage medium, and to The leveling information is read out at regular time intervals, the relative positional fluctuation between the head and the storage medium is calculated, and the control information for operating the head positioning mechanism is corrected.
ヘッド位置決め機構の補正動作は、高トラック密度を有
した磁気ディスク装置等において、ヘッド位置決め精度
を確保するために有効に作用するが、温度変動を十分に
吸収するためには、ある程度の時間間隔で補正動作を実
施する必要がある。The correction operation of the head positioning mechanism works effectively to ensure head positioning accuracy in magnetic disk drives with high track density, but in order to sufficiently absorb temperature fluctuations, it is necessary to correct the head positioning mechanism at certain time intervals. It is necessary to perform a corrective action.
また、補正動作は、装置のもつ各記憶媒体面毎に行う必
要があり、一般には十数面の記憶媒体面を有するため、
補正動作には比較的長い時間を要する。In addition, the correction operation must be performed for each storage medium surface of the device, and since the device generally has more than ten storage medium surfaces,
The correction operation takes a relatively long time.
第4図は、従来の磁気ディスク装置を使用したシステム
のブロック図である。図において、lはCPU (中央
処理装置)等から成る上位装置、2は磁気ディスク制御
装置、3は磁気ディスク装置、4は上位装wlと磁気デ
ィスク制御装置2とを接続するインターフエイス、5は
磁気ディスク制御装置2と磁気ディスク装置3とを接続
するインタフェイスである。FIG. 4 is a block diagram of a system using a conventional magnetic disk device. In the figure, l is a host device consisting of a CPU (central processing unit), etc., 2 is a magnetic disk control device, 3 is a magnetic disk device, 4 is an interface connecting the host device wl and the magnetic disk control device 2, and 5 is an interface. This is an interface that connects the magnetic disk control device 2 and the magnetic disk device 3.
このシステムでは、上位装置は複数台設置されており、
インターフェイス4を介して1つの磁気ディスク制御装
置2に入出力コマンドを発行する。In this system, multiple host devices are installed.
An input/output command is issued to one magnetic disk controller 2 via the interface 4.
この磁気ディスク制御装置2は、インターフェイス5を
介して磁気ディスク装置3を制御し、コマンドで指定さ
れた動作を実行するものである.このようなシステムに
おいて、ヘッド位置決め機構の補正動作を行うように構
威された磁気ディスク装置では、磁気ディスク装置3が
補正動作、例えばオフトラック補正動作を実行している
間は、上位装置lから発行された通常のデータ読出し及
び書込み等の入出力処理(コマンド処理)の実行が出来
なくなる.
また、入出力処理(コマンド処理)の実行中でも、オフ
トラック補正動作を優先して実行するため、その間入出
力処理が実行できなくなる.このため、従来は、磁気デ
ィスク装置3がオフトラック補正動作を実行している間
に上位装置1から受け取った人出力処理は、磁気ディス
ク制御6装置2内で、磁気ディスク装置の補正動作が完
了するまで実行待ちの状態となっていた.更に、前記補
正動作の実行が必要な時間的周期は、磁気ディスク装置
3の機械的構造の特性に依存して磁気ディスク装置3の
種類毎に固有のものであるため、補正動作は、磁気ディ
スク装置自身が決めるタイミングで能動的に実施される
.
このため、当該磁気ディスク装置を使用している上位装
置は、補正動作のために前記入出力処理の実行待ちが発
生してしまう。This magnetic disk control device 2 controls the magnetic disk device 3 via an interface 5 and executes operations specified by commands. In such a system, in a magnetic disk device configured to perform a correction operation of the head positioning mechanism, while the magnetic disk device 3 is performing a correction operation, for example, an off-track correction operation, there is no communication from the host device l. It becomes impossible to execute normal input/output processing (command processing) such as reading and writing issued data. Also, even while input/output processing (command processing) is being executed, off-track correction operations are executed with priority, so input/output processing cannot be executed during that time. For this reason, conventionally, the human output processing received from the host device 1 while the magnetic disk device 3 is performing the off-track correction operation is completed within the magnetic disk control device 2. It was in a waiting state until it was executed. Furthermore, the time period in which the correction operation is required to be performed is unique for each type of magnetic disk drive 3 depending on the characteristics of the mechanical structure of the magnetic disk drive 3. This is done actively at a timing determined by the device itself. For this reason, the host device using the magnetic disk device ends up waiting for execution of the input/output processing for the correction operation.
−ヒ記のような従来のものにおいては次のような欠点が
あった。即ち、当該磁気ディスク装置に対して、人出力
処理を要求した上位装置では、その人出力処理が補正動
作の実行時刻と重複した場合には、人出力処理の実行終
了が比較的長い時間遅延したように見えることになる.
一般的には、補正動作の周期は、数分または数十分に1
回程度の頻度であり、人出力処理の実行遅延がシステム
の性能に重大な影響を及ぼすことはないと考えられる.
また、当該人出力処理が磁気ディスク制御装置内で実行
待ちになっても、その入出力処理は、磁気ディスク装置
での補正動作が完了すると直ちに実行されるので、上位
装置のシステム的条件によっては当該実行待ちの発生を
意識しなくてよいことが多い。- Conventional works such as the Book of H had the following drawbacks. In other words, in the host device that requested human output processing to the magnetic disk device, if the human output processing overlaps with the execution time of the correction operation, the completion of the human output processing is delayed for a relatively long time. It will look like this. Generally, the period of the correction operation is several minutes or several tens of minutes.
It is considered that the execution delay of human output processing will not have a significant impact on the system performance. In addition, even if the relevant human output processing is waiting for execution in the magnetic disk control device, the input/output processing will be executed immediately after the correction operation in the magnetic disk device is completed, so depending on the system conditions of the host device, In many cases, there is no need to be aware of the occurrence of the execution wait.
しかし、オンライン端末等に対して、一定の応答時間を
保証するために、個々の入出力処理の実行時間の遅延が
許容されないようなシステムでは、前記磁気ディスク装
置におけるヘッド位置決め機構の補正動作等に伴う、上
位装置での入出力処理の実行待ちは重度な支障となって
現れてくる.本発明は、このような従来の欠点を解消し
、上位装置がディスク装置のオフトランク補正動作の実
行のために、長時間の入出力実行待ちが発生しないよう
にすることを目的とする。However, in systems that cannot tolerate delays in the execution time of individual input/output processes in order to guarantee a constant response time for online terminals, etc., it is necessary to The associated waiting time for execution of input/output processing on the host device becomes a serious problem. SUMMARY OF THE INVENTION An object of the present invention is to eliminate such conventional drawbacks and to prevent a host device from having to wait for a long period of time to perform input/output in order to execute an off-trunk correction operation for a disk device.
第l図は本発明の原理図であり、以下、この図に基づい
て本発明の原理を説明する。FIG. 1 is a diagram showing the principle of the present invention, and the principle of the present invention will be explained below based on this diagram.
第l図Aは、ディスク制御装置のブロック図である.図
において、lは上位装置(複数台設置)、2人は制御装
置、3Aはディスク装置、20dはコマンド処理制御部
、20eはフラグ、21bは補正動作要求指示部、2a
は補正動作指示部、20bは補正動作判断部、20cは
補正動作検知部を示す.
上記制御装置2人内には、ディスク装置3Aに対してオ
フトラック補正の指示をする補正動作指示部2a、オフ
トラック補正をするか否かの判断をする補正動作判断部
20b1補正動作の要求を検知する補正動作検知部20
c、一定時間間隔で補正動作検知部20cに対して補正
動作の指示を行う補正動作要求指示部21b、検出手段
20e、上位装i+からのコマンドを受け取ってその処
理の制御を行うと共に、コマンドの実行中または保持中
である旨のフラグを立てるコマンド処理@御部20d等
を設ける.
コマンド処理制御部20dでは、上位装置lからのコマ
ンドを受取ると、フラグを立てる(例えば、コマンドが
ない時は「.0」で、コマンド保持中または実行中は『
l」)から、補正動作判断部20bでは、前記フラグを
見て補正動作をするか否かの判断ができる.
第l図Bは、オフトラック補正動作@御方法のフローチ
ャートを示した図であり、第1図Aを参照しながら説明
する.
先ず、補正動作要求指示部21bからの補正動作指示を
、補正動作検知部20cが検知し、補正動作判断部20
bに指示を出す(100)。補正動作判断部20bでは
、上位装置1からのコマンドを保持しているか、または
コマンドの実行中であるかをフラグ20eにより判断す
る(1 0 1)。FIG. 1A is a block diagram of the disk controller. In the figure, l is a host device (multiple units installed), 2 is a control device, 3A is a disk device, 20d is a command processing control unit, 20e is a flag, 21b is a correction operation request instruction unit, and 2a
20b is a correction operation determining section, and 20c is a correction operation detection section. The two controllers include a correction operation instruction section 2a that instructs the disk device 3A to perform off-track correction, and a correction operation judgment section 20b1 that makes a judgment as to whether or not to perform off-track correction. Correction operation detection unit 20 to detect
c. a correction operation request instructing section 21b which instructs the correction operation detection section 20c to perform a correction operation at fixed time intervals, a detection means 20e, which receives commands from the host device i+ and controls the processing thereof; A command processing@control section 20d, etc. is provided to set a flag indicating that the command is being executed or held. When the command processing control unit 20d receives a command from the host device l, it sets a flag (for example, ".0" when there is no command, and ".0" when the command is being held or being executed.
1), the correction operation determination unit 20b can determine whether or not to perform a correction operation by looking at the flag. FIG. 1B is a diagram showing a flowchart of the off-track correction operation @ control method, which will be explained with reference to FIG. 1A. First, the correction operation detection section 20c detects a correction operation instruction from the correction operation request instruction section 21b, and the correction operation determination section 20
Issue an instruction to b (100). The correction operation determination unit 20b determines whether a command from the host device 1 is held or whether the command is being executed based on the flag 20e (1 0 1).
その結果、もし、コマンドの実行中またはコマンドの保
持中であると、そのコマンドの実行を継続するか、また
は保持しているコマンドの実行をする(103),
しかし、コマンドの実行中でなく、且つコマンドの保持
中でもなければ、補正動作指示部2aに補正動作を指示
し、ディスク装置3Aでオフトラックの補正動作を開始
する(102),その後、再び上記の補正動作要求を検
知すると、E記と同様にしてオフトラック補正動作の制
御がなされる.
〔作用〕
本発明は上記のように構成したので、次のような作用が
ある.
@御装i12Aは、人出力コマンドを受取った時に、デ
ィスク装置3Aがオフトラック補正動作が必要であって
も、その人出力コマンドを実行し、人出力コマンドがな
い時に、補正動作処理をディスク装置3Aに指示するも
のである.
したがって、上位装置lでの人出力コマンド実行待ちの
状態にすることなく、補正動作処理を可能にすることが
できる.
〔実施例〕
以下、本発明の実施例を図面に基づいて説明する.第2
図は本発明の1実施例のブロック図であり、第1図と同
符号は同一のものを示す.図において、2は磁気ディス
ク制御装置、3は磁気ディスク装置、4は上位装置との
インターフエイス、5は磁気ディスク装置とのインター
フエイスを示す.
また、20は上位インターフェイス’llm部、20a
は補正動作指示部、20bは補正動作判断部、20cは
補正動作検知部、21は下位インターフエイスflIl
御部、21aは補正動作指示部、21bは補正動作要求
指示部を示す.
−h記上位インターフェイス制御部20は、補正動作指
示部20a、補正動作の実行が可能か否かをfIIIi
jIする補正動作判断部20b、補正動作の要求を検知
する補正動作検知部20c、上位インタフェイスプロト
コルfil?1部(図示なし)、コマンド処理制御部(
図示なし)、フラグ(図示なし)等で構成する.
下位インターフエイス制御部21は、f位インターフエ
イスプロトコルiI1御部(図示なし)、補正動作を磁
気ディスク装置に対して起動する補正動作指示部21a
、補正動作要求指示部21b等で構成する.
補正動作要求指示部21bは2〜数十分のタイマを持ち
、一定時間間隔で上位インターフェイス@御部20内の
補正動作検知部20cに指示するものである.
上位インターフェイス制御部20では、上位装置から送
られてきたコマンドを、E位インターフェイスプロトコ
ル制御部(図示なし)で受取り、コマンド処理制御部(
図示なし)へ送り処理をする。As a result, if a command is being executed or a command is being held, the execution of the command is continued or the held command is executed (103), but if the command is not being executed, If the command is not being held, the correction operation instruction section 2a is instructed to perform a correction operation, and the off-track correction operation is started in the disk device 3A (102).After that, when the above correction operation request is detected again, E-recording is performed. The off-track correction operation is controlled in the same way. [Function] Since the present invention is configured as described above, it has the following functions. @Giso i12A executes the human output command even if the disk device 3A needs an off-track correction operation when it receives the human output command, and when there is no human output command, the disk device executes the correction operation processing. This is to instruct 3A. Therefore, it is possible to perform correction operation processing without having to wait for the execution of human output commands in the host device. [Example] Hereinafter, an example of the present invention will be described based on the drawings. Second
The figure is a block diagram of one embodiment of the present invention, and the same reference numerals as in FIG. 1 indicate the same parts. In the figure, 2 is a magnetic disk control device, 3 is a magnetic disk device, 4 is an interface with a host device, and 5 is an interface with a magnetic disk device. In addition, 20 is the upper interface 'llm section, 20a
20b is a correction operation determining unit, 20c is a correction operation detection unit, and 21 is a lower interface flIl.
21a is a correction operation instruction section, and 21b is a correction operation request instruction section. - h The higher-level interface control unit 20 causes the correction operation instruction unit 20a to determine whether or not the correction operation can be executed fIIIi.
A correction operation determination unit 20b that detects a request for correction operation, a correction operation detection unit 20c that detects a request for correction operation, and an upper interface protocol fil? 1 part (not shown), command processing control part (
(not shown), flag (not shown), etc. The lower interface control unit 21 includes an f-level interface protocol iI1 control unit (not shown) and a correction operation instruction unit 21a that starts a correction operation for the magnetic disk device.
, a correction operation request instruction section 21b, etc. The correction operation request instructing section 21b has a timer of 2 to several tens of minutes, and instructs the correction operation detection section 20c in the upper interface@control section 20 at fixed time intervals. In the upper level interface control unit 20, the E-level interface protocol control unit (not shown) receives commands sent from the higher level device, and the command processing control unit (not shown) receives the commands sent from the higher level device.
(not shown) for processing.
この時、前記コマンド処理制御部でフラグを立て、コマ
ンドの実行中、または保持中であることを示す。At this time, a flag is set in the command processing control unit to indicate that the command is being executed or held.
次に、上記の構成に基づき、オフトラック補正動作制御
方法について説明する。Next, an off-track correction operation control method will be described based on the above configuration.
補正動作要求指示部21bは、一定時間間隔で補正動作
検知部20cに対して補正動作の指示を行う.
補正動作検知部20cでは、補正動作の指示を検出する
と、補正動作要求状態をレジスタに保持したままにし、
これにより補正動作判断部20bに指示する。The correction operation request instructing section 21b instructs the correction operation detection section 20c to perform a correction operation at regular time intervals. When the correction operation detection unit 20c detects a correction operation instruction, it keeps the correction operation request state in the register, and
This instructs the correction operation determining section 20b.
補正動作判断部20bでは、上位装Wlからのコマンド
を保持しているか、若しくは実行中であるかを上記のフ
ラグにより判断する.
その結果、コマンドの保持中でもなく、また実行中でも
なければ、補正動作指示部20aを介して下位インター
フェイスaiIl?11部21の補正動作指示部21a
に指示することにより、磁気ディスク装置3が補正動作
を開始する.
しかし、コマンドの実行中であればそのままコマンドの
処理を継続し、コマンドの保持中であればそのコマンド
の処理をする.
第3図は、コマンド実行シーケンスの説明図であり、従
来例と本発明の実施例とについて示したものである。The correction operation determination unit 20b determines whether the command from the host device Wl is held or is being executed based on the above flag. As a result, if the command is not being held or being executed, the lower interface aiIl? Correction operation instruction section 21a of section 11 21
The magnetic disk device 3 starts the correction operation by instructing. However, if a command is being executed, it will continue processing the command, and if the command is being held, it will process that command. FIG. 3 is an explanatory diagram of a command execution sequence, and shows a conventional example and an embodiment of the present invention.
(A)は、磁気ディスク装置3でコマンドの実行待ちが
発生していない通常の状態におけるコマンドの実行シー
ケンス例である.
−ヒ位装置1は、磁気ディスク制御装置2と磁気ディス
ク装置3を選択(SEL)L、コマンドを発行(CMD
)する.その後、データ転送(DATA)が実行され、
磁気ディスク制御装置2から上位装置1に対して、コマ
ンドの実行結果が報告(STS)される.
(B)は、磁気ディスク装W3でコマンドの実行待ちが
発生した場合における従来のコマンド実行シーケンス例
である.
この場合は、コマンドの実行、即ちデータ転送(DAT
A)が行われるまでの間に、当該磁気ディスク装置が、
ヘッド位置決め機構の補正動作を実行するために、待ち
(WA I T)が発生する.(C)は、本発明の上記
実施例によるコマンド実行シーケンス例である.
この場合は、磁気ディスク装置3が補正動作を必要とす
る時でも、磁気ディスク@御装W2がそのコマンドを実
行し、実行終了後、他のコマンド実行待ちがなければ、
直ちに補正動作指示を磁気ディスク装W3に対して行い
、補正動作を開始する.
このような動作シーケンスを可能にしたので、上位装N
lでの人出力処理の終了遅延を回避することが可能とな
る.
なお、上記実施例では、外部記憶装置として磁気ディス
ク装置を用いた例について説明したが、本発明は、この
ようなものに限定されるものではなく、光ディスク装置
や、その他、補正動作を必要とする装置に適用可能であ
る.
〔発明の効果〕
以上説明したように、本発明によれば次のような効果が
ある.
M御装置内で、上位装置からのコマンドを実行中、もし
くは実行待ちの状態であるかを判断し、実行待ち状態で
ない時に補正動作を行うようにしたので、上位装置での
人出力処理の終了遅延を回避することが可能となる.(A) is an example of a command execution sequence in a normal state in which the magnetic disk device 3 is not waiting for command execution. - The high level device 1 selects (SEL) L the magnetic disk control device 2 and magnetic disk device 3, and issues a command (CMD
)do. After that, data transfer (DATA) is executed,
The command execution results are reported (STS) from the magnetic disk control device 2 to the host device 1. (B) is an example of a conventional command execution sequence when a command execution wait occurs in the magnetic disk unit W3. In this case, command execution, that is, data transfer (DAT
Until A) is performed, the magnetic disk device will
A wait (WAIT) occurs in order to execute the correction operation of the head positioning mechanism. (C) is an example of a command execution sequence according to the above embodiment of the present invention. In this case, even when the magnetic disk device 3 requires a correction operation, the magnetic disk @ Goso W2 executes the command, and after the execution is completed, if there is no other command waiting for execution,
A correction operation instruction is immediately given to the magnetic disk unit W3, and the correction operation is started. By making this kind of operation sequence possible, the upper
This makes it possible to avoid delays in completing human output processing in l. Note that although the above embodiment describes an example in which a magnetic disk device is used as an external storage device, the present invention is not limited to such a device, and the present invention is applicable to an optical disk device or other devices that require a correction operation. It can be applied to devices that [Effects of the Invention] As explained above, the present invention has the following effects. In the M control device, it is determined whether the command from the host device is being executed or is waiting for execution, and the correction operation is performed when it is not in the state of waiting for execution, so that the human output processing in the host device ends. This makes it possible to avoid delays.
第1図は本発明に係るディスク制御装置及び制御方法の
原理図、
第2図は本発明の1実施例のブロック図、第3図はコマ
ンドシーケンスの説明図、第4図は従来例のブロック図
である。
1 上位装置
2A−・一制御装置
A−・一外部記憶装置
Od・−コマンド処理l1御部
Oe・−フラグ
lb−・一補正動作要求指示部
OC一補正動作検知部
Ob一補正動作判断部
a・一補正動作指示部Fig. 1 is a principle diagram of a disk control device and control method according to the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is an explanatory diagram of a command sequence, and Fig. 4 is a block diagram of a conventional example. It is a diagram. 1 Host device 2A--Control device A--External storage device Od--Command processing l1 Control section Oe--Flag lb---Correction operation request instruction section OC-Correction operation detection section Ob-Correction operation judgment section a・One correction operation instruction section
Claims (2)
装置(3A)を制御すると共に、前記ディスク装置(3
A)のオフトラック補正動作を、所定時間毎に行うディ
スク制御装置(2A)であって、 前記制御装置(2A)は、 一定時間毎に補正動作を要求する補正動作要求指示部(
21b)と、 前記補正動作要求を検知する補正動作検知部(20c)
と、 補正動作の即実行可能状態を判断する補正動作判断部(
20b)と、 補正動作の実行を、ディスク装置(3A)に指示する補
正動作指示部(2a)と、 前記上位装置(1)からのコマンドを前記ディスク装置
(3A)に実行させるコマンド処理制御部(20d)と
、 前記コマンド処理制御部(20d)がコマンドを実行中
あるいは保持中であることを検出する検出手段(20e
)とを備え、 前記補正動作判断部(20b)は、前記検出手段(20
e)が検出された場合、補正動作の即実行可能を否と判
定することを特徴とするディスク制御装置。(1) Control the disk device (3A) according to commands from the host device (1), and
A) A disk control device (2A) that performs the off-track correction operation at predetermined time intervals, the control device (2A) comprising a correction operation request instruction unit (2A) that requests the correction operation at predetermined time intervals.
21b), and a correction operation detection unit (20c) that detects the correction operation request.
and a correction operation determination unit (
20b), a correction operation instruction section (2a) that instructs the disk device (3A) to execute a correction operation, and a command processing control section that causes the disk device (3A) to execute a command from the host device (1). (20d), and a detection means (20e) for detecting that the command processing control unit (20d) is executing or holding a command.
), and the correction operation determining section (20b) includes the detecting means (20
A disk control device characterized in that, when e) is detected, it is determined that the correction operation can be executed immediately.
であって、 オフトラック補正動作要求を検知した場合(100)、 コマンド実行中か、またはコマンド保持中かを判断し(
101)、 その結果、コマンド実行中または保持中であれば、コマ
ンド処理を継続または実行し(103)、コマンド実行
中でもなく、またコマンド保持中でもなければ、前記デ
ィスク装置のオフトラック補正動作を指示することによ
り、 前記上位装置からのコマンドを待たせることなく、前記
ディスク装置のオフトラック補正動作ができるようにし
たことを特徴とするディスク制御方法。(2) A disk control method using the apparatus according to claim 1, wherein when an off-track correction operation request is detected (100), determining whether the command is being executed or the command is being held (
As a result, if the command is being executed or held, command processing is continued or executed (103); if the command is not being executed or held, the off-track correction operation of the disk device is instructed. A disk control method characterized in that the off-track correction operation of the disk device can be performed without waiting for a command from the host device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16308589A JPH0329171A (en) | 1989-06-26 | 1989-06-26 | Device and method for controlling disk |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16308589A JPH0329171A (en) | 1989-06-26 | 1989-06-26 | Device and method for controlling disk |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0329171A true JPH0329171A (en) | 1991-02-07 |
Family
ID=15766900
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16308589A Pending JPH0329171A (en) | 1989-06-26 | 1989-06-26 | Device and method for controlling disk |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0329171A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62222466A (en) * | 1986-03-19 | 1987-09-30 | Fujitsu Ltd | Track access control system for disk device |
-
1989
- 1989-06-26 JP JP16308589A patent/JPH0329171A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62222466A (en) * | 1986-03-19 | 1987-09-30 | Fujitsu Ltd | Track access control system for disk device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2001216746A (en) | Disk storage device and retry control method | |
| JPWO2009060500A1 (en) | Medium storage device read / write processing method and medium storage device | |
| JP2737555B2 (en) | Disk controller | |
| JP2541158B2 (en) | Information processing system | |
| JP4499909B2 (en) | Multiplexed storage controller | |
| JP4102618B2 (en) | Disk storage | |
| JPH04241274A (en) | Method for updating correction information in information storage system | |
| JP2748056B2 (en) | Disk controller | |
| JPS6217877Y2 (en) | ||
| JPH035862A (en) | Input/output instruction processing system | |
| JPH0684283A (en) | Transfer method for magneto-optical disk data | |
| JPH08286836A (en) | Information recording and reproducing device | |
| JPS58114152A (en) | Back up device for magnetic disc | |
| JP2953874B2 (en) | Magnetic tape device control method for input / output channel device | |
| JPH0820934B2 (en) | Disk cache control method | |
| JPH04368681A (en) | Off-track correction control system | |
| JPH06103683A (en) | Data read control device for disk storage device | |
| JPH0765509A (en) | Disk device and its replacement processing method | |
| JPH0470922A (en) | Channel processing system | |
| JPH07121307A (en) | Multiplexed disk device | |
| JPH11338740A (en) | SCSI device control method and device | |
| JPS6032165A (en) | Disk read control method | |
| JPH02205914A (en) | Optical disk processor | |
| JPS63149879A (en) | Alternate processing control system | |
| JPH01234923A (en) | Control method for rotary memory device |