JPS60134332A - Magnetic disk control device - Google Patents

Magnetic disk control device

Info

Publication number
JPS60134332A
JPS60134332A JP23978283A JP23978283A JPS60134332A JP S60134332 A JPS60134332 A JP S60134332A JP 23978283 A JP23978283 A JP 23978283A JP 23978283 A JP23978283 A JP 23978283A JP S60134332 A JPS60134332 A JP S60134332A
Authority
JP
Japan
Prior art keywords
dkc
disk
track
dku
data
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.)
Granted
Application number
JP23978283A
Other languages
Japanese (ja)
Other versions
JPH0731581B2 (en
Inventor
Yoshiro Shirayanagi
白柳 芳朗
Akira Kurano
倉野 昭
Tomohito Ogino
荻野 知仁
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.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering Co 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP58239782A priority Critical patent/JPH0731581B2/en
Publication of JPS60134332A publication Critical patent/JPS60134332A/en
Publication of JPH0731581B2 publication Critical patent/JPH0731581B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve processing efficiency in a disk sub-system by executing without rotation latency write/read-out operation of a new start to the disk driving device concerned issued in the course of erasing operation after a form is written. CONSTITUTION:A disk control device (DKC) which received a new start by an operation 1 for positioning a head to a target track by executing seek operation is connected to a disk driving device (DKU). Also, at a time point 2A, the DKC receives a seak data by the operation 1, inputs the data concerned to a new buffer 21, and executes a command processing. The DKC executes an end report to a CPU in a state that the actual operation command to the DKU remains reserved, after the command processing is ended, and receives an instruction regarding the next operation 2 from the CPU. In case when a track is switched only such mainly electrically as instructed in case the seak data accesses subsequently to the track, the DKC waits for the end of the erasing operation and executes the seak operation immediately, and can enter into an operation 3 without a rotation latency.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、ディスクサブシステムにおけるディスク制御
装置に係り、特に形式書込後の消去動作中であるディス
ク駆動装置に対する新たな起動を迅速に処理することを
可能とするデづスフ制御装置に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a disk control device in a disk subsystem, and particularly to a disk control device for quickly processing a new activation of a disk drive device that is in the process of erasing after format writing. The present invention relates to a DSP control device that makes it possible to do this.

〔発明の背景〕[Background of the invention]

一般に、ディスクサブシステムは、第1図に示す様に、
中央処理装fl(以下CPUと記す)1とディスク駆動
装置(以下DKUと記す)3との間に、ディスク制御装
置(以下DKCと記す)2を接続することにより構成さ
れている。
Generally, the disk subsystem is as shown in Figure 1.
It is constructed by connecting a disk control device (hereinafter referred to as DKC) 2 between a central processing unit fl (hereinafter referred to as CPU) 1 and a disk drive unit (hereinafter referred to as DKU) 3.

前記DKU5は、リード、ライト動作を行なうにあたっ
ては、下記(1)〜(21−(21の動作を行なう。
The DKU 5 performs the following operations (1) to (21-(21) when performing read and write operations.

(11シーク動作;ヘッドを、目的のレコードを有する
トラックへ機械的、電気的に位置づける動作。
(11 Seek operation; operation of mechanically and electrically positioning the head to the track containing the target record.

(21セクタ位置決め動作;ディスク円板をあらかじめ
決められた角度偏位に分割した単位をセクタと呼ぶが、
トラック上の目的とするセクタに位置づける動作であっ
て、 +21−(11D K C2とCPU1間、またはDK
C2とDKU5間における制御情報のデータ転送と、そ
のデータの処理を行なう。コマンド処理(以下コマンド
処理と記す)動作。
(21 sector positioning operation; units in which the disk is divided into predetermined angular deviations are called sectors.
+21-(11DK Between C2 and CPU1, or DK
Transfers control information between C2 and DKU5 and processes the data. Command processing (hereinafter referred to as command processing) operation.

(21−+21 上記コマンド処理に基づいてDKU5
が実際に動作を行なう、実動作(以下実動作と記す)。
(21-+21 Based on the above command processing, DKU5
Actual operation (hereinafter referred to as actual operation) in which the person actually performs the operation.

上記位置決め動作は、第2図に示す如(CPU1からの
新たな起動により、DKC2を介する命令としてDKU
 3に発行されるが、CPU1が起動したDKU3にお
いて形式書込後(第2図時点1)の消去動作中であれば
、DKC2は該DKU5と接続(第2図中時点2A)は
できても、位置決め動作に関する命令を発行できない。
The above positioning operation is performed as shown in FIG. 2 (by a new activation from the CPU 1, the DKU
However, if the DKU 3 started by the CPU 1 is in the process of erasing after writing the format (time 1 in Figure 2), the DKC 2 may be able to connect to the DKU 5 (time 2A in Figure 2). , commands related to positioning operations cannot be issued.

何故ならば、シーク動作指示を実行するには消去動作を
中断することになり、トランク上にレコードが不当に残
ることになってしまう。
This is because, in order to execute the seek operation instruction, the erase operation must be interrupted, and the record will remain unduly on the trunk.

したがってDKC2は、D K U、 3がINDIJ
X迄消去を終了する(第2図時点6)迄、待機せざるを
得ない。
Therefore, DKC2 is DKU, 3 is INDIJ
There is no choice but to wait until the erasure is completed up to X (point 6 in FIG. 2).

従来の制御方式では、DKC2は、第2図時点2人から
時点3迄の待機中のCPU1と接続したままであるか、
あるいはCPU1Y切り離すことなどによって前記+2
1− (11のコマンド処理、及び前記+21−+21
の実処理ともに消去完了を待ち実行する方式lとってい
る。
In the conventional control method, the DKC2 remains connected to the CPU1 on standby from the time point 2 in FIG. 2 to the time point 3, or
Or, by disconnecting CPU1Y, the above +2
1- (11 command processing, and the above +21-+21
Both actual processing uses a method of waiting for the completion of erasing before execution.

ここで形式書込とは、通常ディスク内に新たなファイル
を再設定する事を目的とし、連続したディスク内トラッ
クアドレスを持つトラック群に、トラックの先頭から次
々と形式書込を行なう場合が多く、前記起動もそのひと
つとみなされる。
The purpose of format writing here is usually to reset a new file on the disc, and format writing is often performed one after another from the beginning of the track to a group of tracks with consecutive track addresses on the disc. , the above-mentioned activation is considered to be one of them.

第3図に示す様なインデックス4、制御情報レコード5
、レコード6及び7がギャップを介して連続したトラッ
クフォーマットを考えた上で、次に上記起動の一例を挙
げる。
Index 4 and control information record 5 as shown in Figure 3
, considering a track format in which records 6 and 7 are continuous with a gap in between, an example of the above activation will be given next.

(動作1) シーク動作1行ない、目的トラックにヘッ
ドを位置づける動作。
(Operation 1) The operation of positioning the head on the target track by performing one seek operation.

(動作2) 第3図インデックス4の前に位置するセク
タに位置づけるセクタ位置決め動作。
(Operation 2) Sector positioning operation to locate the sector located before index 4 in FIG.

C8作5) レコード6をヘッドが通過する事を確認す
る(トラック上のあるデータを読み込む)動作。
C8 work 5) Operation to confirm that the head passes record 6 (reads certain data on the track).

(動作4) レコード7以降形式書込動作。(Operation 4) Format writing operation after record 7.

上記動作1及び2は位置決め動作であるが、現状の制御
方式においてDKC2が、それぞれの動作に関してコマ
ンド処理を経た後、実動作をDKU3に命令しなければ
ならない。そのうえコマンド処理だけでも一般に、数百
マイクロ秒の時間が費やされるため、第3図レコード6
迄のギャップ間に動作1および2の動作が終了せず、動
作3の実行が1回転待ちとなる状況が生じる。ディスク
コピーなどの業務ケ行う場合はこのような状況が連続し
て発生することになり、ターンアラウンドタイムの大き
な部分をこの回転待ちが占めることになり、またDKU
 3の使用率を上げる原因にもなるという重大な問題を
持つ。
The above operations 1 and 2 are positioning operations, but in the current control system, the DKC 2 must instruct the DKU 3 to perform actual operations after performing command processing for each operation. Moreover, command processing alone generally takes several hundred microseconds, so record 6 in Figure 3
A situation arises in which the operations 1 and 2 are not completed during the gap up to this point, and execution of operation 3 waits for one rotation. When performing operations such as disk copying, this situation will occur continuously, and this waiting time will take up a large part of the turnaround time, and the DKU
This has the serious problem of causing an increase in the usage rate of 3.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、形式書込後の消去動作中に発行された
該ディスク駆動装置に対する新しい起動の書き込み読み
出し動作を回転待ちさせることなく実行するディスク制
御装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a disk control device that executes a new startup write/read operation for the disk drive issued during an erase operation after format writing without waiting for rotation.

〔発明の概要〕[Summary of the invention]

−に春日臼け ギイスi告11御纒着内に、位置決め動
作に関する制御情報を保有するバッファを設けることに
より、前記動作1および動作2のような書き込み読み出
し動作の準備のだめの位置決め命令であって、CPUか
ら受領する制御データを蓄え、前記コマンド処理のみ消
去実行中に処理し、消去完了後インデックスから直ちに
前記動作6以降の処理を行うことを可能とする〔発明の
実施例〕 以下、本発明の実施例を第4図、第5図を用いて説明す
る。
- By providing a buffer in the Kasuga Usage I Notice 11 Gobin that holds control information related to positioning operations, positioning commands can be used in preparation for write/read operations such as operations 1 and 2. , it is possible to store the control data received from the CPU, process only the command processing during the erasure execution, and immediately perform the processing from the above operation 6 onward from the index after the erasure is completed [Embodiment of the Invention] Hereinafter, the present invention will be described. An example of this will be explained using FIGS. 4 and 5.

第4図は、CPU1oと、内部に位置決め動作に関する
DKU単位の制御情報を保有するメモリバッファ21(
以後新バッファと記する)を設けたDKC20と、DK
U30を持つディスクサブシステムを示したものであり
、第5図はその制御関係を示したものである。
FIG. 4 shows the CPU 1o and the memory buffer 21 (which internally holds control information for each DKU regarding positioning operations).
DKC20 with a new buffer (hereinafter referred to as new buffer) and DK
This shows a disk subsystem having U30, and FIG. 5 shows its control relationship.

以下、本実施例の動作を、前記発明の背景における起動
例と対比させながら説明する。
Hereinafter, the operation of this embodiment will be explained while comparing it with the startup example in the background of the invention.

fal 第5図時点21Cおいて、前記シーク動作を行
ない、目標トラックにヘッドを位置付ける動作1による
新たな起動をうけたDKC2は該DKU3と接続する。
fal At time 21C in FIG. 5, the DKC 2, which has been newly activated by the operation 1 of performing the seek operation and positioning the head on the target track, connects with the DKU 3.

また、第5図時点2人において、DKC2は、前記動作
1でシークデータを受けとり、該データを新バッファ2
1に入れ、コマンド処理を行なう。
Furthermore, at the time of FIG. 5, with two people, the DKC 2 receives the seek data in the operation 1 and transfers the data to the new buffer 2.
1 and perform command processing.

(bl この際、DKC2はDKU 3 の消去動作終
了を認識するため、INDEX直前のセクタを指定する
擬似セクタ位置決め命令なりKU3に対し、発行する(
第5図時点2a)。
(bl At this time, in order to recognize the completion of the erase operation of DKU 3, DKC2 issues a pseudo sector positioning command to KU3 that specifies the sector immediately before INDEX (
Figure 5 time point 2a).

lcl DKC2は、コマンド処理終了後、DKU5に
対する実動作指示は保留したままCPU1に対して終了
報告を行ない、次の(動作2;インデックスの前のセク
タに位置付ける動作)に関する命令CPU1からを受け
るが、これも位置決め動作であるため前記同様にセクタ
データをCPU1から受領(コマンド処理)後終了報告
を行ない、次の(動作3)に関する命令を受ける。しか
しこの命令は、実際にデータを読み込まなくては実行で
きないため再試行を要求しCPU1と切離される(第5
図時点2b)。
After the command processing is completed, the lcl DKC2 reports the completion to the CPU 1 while suspending the actual operation instruction to the DKU 5, and receives an instruction from the CPU 1 regarding the next (operation 2; operation of positioning to the sector before the index). Since this is also a positioning operation, similarly to the above, after sector data is received from the CPU 1 (command processing), a completion report is made and a command regarding the next (operation 3) is received. However, this instruction cannot be executed without actually reading the data, so it requests a retry and is disconnected from CPU 1 (fifth
Figure time point 2b).

ldl この後、第3図時点2bから位置決め完了をう
ける時点2C間は、CPU1及びDKC2はフリーであ
り、他のDKU3の制御が可能である。
ldl After this, from time 2b in FIG. 3 to time 2C when positioning is completed, the CPU 1 and the DKC 2 are free and can control the other DKU 3.

tel 第5図時点2Cにおいて、前記擬似セクタ位置
決め終了報告の割込を受けたDKC2は、時点6におい
てCPU1と再結合し、動作3(:ヘッドがトラック上
のレコード6を通過することの確認)に関する命令を再
び受ける。この際、DKC2は前記新バッファ21かも
シークデータおよびセクタデータを読み出してDKU3
に送信する。
tel At time 2C in FIG. 5, DKC2, which received the interruption of the pseudo sector positioning completion report, reconnects with CPU 1 at time 6, and performs operation 3 (confirmation that the head passes record 6 on the track). Receive orders regarding. At this time, DKC2 reads the seek data and sector data from the new buffer 21 and
Send to.

シークデータが前述のコピー動作のように順次トラック
をアクセスする場合に指示されるような電気的にのみト
ラックを切り替える(通常1シリンダあたり15〜30
本のトラックを有する)場合に、DKC2は消去動作の
終了を待ってただちにシーク動作(トラック切り替え)
を行ない、回転待ち動作なく動作6の実動作に入ること
ができる。
Seek data switches tracks only electrically as directed when accessing tracks sequentially as in the copy operation described above (typically 15-30 per cylinder).
If the DKC2 has a book track), the DKC2 waits for the end of the erase operation and immediately performs a seek operation (track switching).
, and the actual operation of operation 6 can be started without waiting for rotation.

以上の根に本実施例1cDKC2内にバッファを設け、
DKU3の形式書込みを行なっている上位からの命令を
前記バッファに設けることにより、回転待ち時間を行な
うことなく処理を続行できるものである。
At the root of the above, a buffer is provided in this embodiment 1cDKC2,
By providing a command from a higher level that is writing data in the DKU3 format in the buffer, processing can be continued without rotational waiting time.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ディスク制御装置の待機時間の減少、
制御処理時間の短縮による回転待ちの回避が可能なため
、ディスクサブシステムにおいて処理効率を向上する効
果がある。
According to the present invention, the standby time of the disk controller is reduced;
Since it is possible to avoid rotational waiting by shortening the control processing time, it has the effect of improving processing efficiency in the disk subsystem.

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

第1図は、一般のディスクサブシステムの構成図であり
、第2図は、第1図1のシステムにおけるディスク制御
の動作説明図である。第3図ハ、ティスフ上トラックの
フォーマットを示す図である。第4図は、本発明による
ディスク制御装置を含むディスクサブシステムを示す図
であり、第5図は、第一図に示したシステムの動作説明
図である。 10・・・中央処理製電、20・・・ディスク制御装置
、21・・・新バッファ、30・・・ディスク駆動装置
。 代理人弁理士 高 橋 明 夫
FIG. 1 is a configuration diagram of a general disk subsystem, and FIG. 2 is an explanatory diagram of disk control operations in the system of FIG. FIG. 3C is a diagram showing the format of the top track. FIG. 4 is a diagram showing a disk subsystem including the disk control device according to the present invention, and FIG. 5 is an explanatory diagram of the operation of the system shown in FIG. 1. DESCRIPTION OF SYMBOLS 10... Central processing electronics, 20... Disk control device, 21... New buffer, 30... Disk drive device. Representative Patent Attorney Akio Takahashi

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置とディスク駆動装置との間に配置されるデ
ィスク制御装置において、前記中央処理装置からディス
ク制御装置に対して、形式書込後の消去動作を行なって
いるディスク駆動装置に対する新たな起動命令を受領し
た場合、該起動命令を記憶するバッファを設け、該消去
動作完了まで起動処理を待たせ、該起動命令の処理を消
去動作完了後に完了させ得ることを特徴とする磁気ディ
スク制御装置。
In a disk control device disposed between a central processing unit and a disk drive device, the central processing unit issues a new activation command to the disk drive device that is performing an erase operation after format writing. 1. A magnetic disk control device characterized in that, when the activation command is received, a buffer is provided to store the activation command, the activation processing is made to wait until the completion of the erasing operation, and the processing of the activation command can be completed after the completion of the erasing operation.
JP58239782A 1983-12-21 1983-12-21 Storage controller Expired - Lifetime JPH0731581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58239782A JPH0731581B2 (en) 1983-12-21 1983-12-21 Storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58239782A JPH0731581B2 (en) 1983-12-21 1983-12-21 Storage controller

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6064767A Division JP2634025B2 (en) 1994-04-01 1994-04-01 Format write control method for magnetic disk controller

Publications (2)

Publication Number Publication Date
JPS60134332A true JPS60134332A (en) 1985-07-17
JPH0731581B2 JPH0731581B2 (en) 1995-04-10

Family

ID=17049805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58239782A Expired - Lifetime JPH0731581B2 (en) 1983-12-21 1983-12-21 Storage controller

Country Status (1)

Country Link
JP (1) JPH0731581B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06318141A (en) * 1994-04-01 1994-11-15 Hitachi Ltd Magnetic disk controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5692621A (en) * 1979-12-26 1981-07-27 Toshiba Corp Input/output processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5692621A (en) * 1979-12-26 1981-07-27 Toshiba Corp Input/output processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06318141A (en) * 1994-04-01 1994-11-15 Hitachi Ltd Magnetic disk controller
JP2634025B2 (en) * 1994-04-01 1997-07-23 株式会社日立製作所 Format write control method for magnetic disk controller

Also Published As

Publication number Publication date
JPH0731581B2 (en) 1995-04-10

Similar Documents

Publication Publication Date Title
JP2000048496A (en) Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program
JPS627572B2 (en)
JPS60134332A (en) Magnetic disk control device
JPH04111113A (en) Hard disk emulator
JP2634025B2 (en) Format write control method for magnetic disk controller
JPH0514353Y2 (en)
JP2701372B2 (en) Magneto-optical disk drive
JPS58125128A (en) Computer system
JPS6055432A (en) Processing method of defective sector
JPH05181613A (en) Information processor
JPS5940309A (en) Memory controller
JP2503371B2 (en) Disk system
JPS60101788A (en) Optical disk controller
JPS58171724A (en) Copy controller of magnetic disc tape
JPH0417534B2 (en)
JPH0470922A (en) Channel processing system
JPS59157813A (en) Controller for magnetic memory of rotor
JP2004070979A (en) Disk drive
JPH02205914A (en) Optical disk processor
JPS63155473A (en) Magnetic disk controller
JPS62131321A (en) Magnetic memory device
JPS6045972A (en) Disc control system
JPS60159927A (en) Controlling lsi of large capacity auxiliary storage device
JPH02297761A (en) Magnetic disk device
JPS5991565A (en) Dual disc device