JPH0731581B2 - Storage controller - Google Patents

Storage controller

Info

Publication number
JPH0731581B2
JPH0731581B2 JP58239782A JP23978283A JPH0731581B2 JP H0731581 B2 JPH0731581 B2 JP H0731581B2 JP 58239782 A JP58239782 A JP 58239782A JP 23978283 A JP23978283 A JP 23978283A JP H0731581 B2 JPH0731581 B2 JP H0731581B2
Authority
JP
Japan
Prior art keywords
storage device
rotary
data
disk
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.)
Expired - Lifetime
Application number
JP58239782A
Other languages
Japanese (ja)
Other versions
JPS60134332A (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.)
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

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、回転形記憶装置の制御装置に係り、特に動作
中であるディスク駆動装置に対する新たな起動を迅速に
処理することを可能とするディスク制御装置に関するも
のである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a rotary storage device, and more particularly to a disk capable of promptly processing a new start-up for a disk drive device in operation. The present invention relates to a control device.

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

一般に、ディスクサブシステムは、第1図に示す様に、
中央処理装置(以下CPUと記す)1とディスク駆動装置
(以下DKUと記す)3との間に、ディスク制御装置(以
下DKCと記す)2を接続することにより構成されてい
る。前記DKU3は、リード、ライト動作を行なうにあたっ
ては、下記(1)〜(2)−(2)の動作を行なう。
Generally, a disk subsystem, as shown in FIG.
A disk controller (hereinafter referred to as DKC) 2 is connected between a central processing unit (hereinafter referred to as CPU) 1 and a disk drive unit (hereinafter referred to as DKU) 3. The DKU3 performs the following operations (1) to (2)-(2) when performing read and write operations.

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

(2) セクタ位置決め動作;ディスク円板をあらかじ
め決められた角度偏位に分割した単位をセクタと呼ぶ
が、トラック上の目的とするセクタに位置づける動作で
あって、 (2)−(1) DKC2とCPU1間、またはDKC2とDKU3間に
おける制御情報のデータ転送と、そのデータの処理を行
なう。コマンド処理(以下コマンド処理と記す)動作。
(2) Sector positioning operation: A unit obtained by dividing a disk disc into predetermined angular deviations is called a sector. It is an operation to position a desired sector on a track. (2)-(1) DKC2 Data transfer of control information between the CPU 1 and the CPU 1 or between the DKC 2 and the DKU 3 and processing of the data are performed. Command processing (hereinafter referred to as command processing) operation.

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

上記位置決め動作は、第2図に示す如くCPU1からの新た
な起動(時点2)により、DKC2を介する命令としてDKU3
に発行されるが、CPU1が起動したDKU3において形式書込
後(第2図時点1)の消去動作中であれば、DKC2は該DK
U3と接続(第2図中時点2A)はできても、位置決め動作
に関する命令を発行できない。何故ならば、シーク動作
指示を実行するには消去動作を中断することになり、ト
ラック上にレコードが不当に残ることになってしまう。
したがってDKC2は、DKU3がINDEX迄消去を終了する(第
2図時点3)迄、待機せざるを得ない。
As shown in FIG. 2, the positioning operation is performed as a command via the DKC2 by the new start (time point 2) from the CPU1 and DKU3.
However, if the DKU3 started by the CPU1 is in the erasing operation after the format write (point 1 in FIG. 2), the DKC2 will
Can connect to U3 (time point 2A in Fig. 2), but cannot issue commands related to positioning operation. Because, in order to execute the seek operation instruction, the erasing operation is interrupted, and the record unjustly remains on the track.
Therefore, the DKC2 must wait until DKU3 finishes erasing until INDEX (point 3 in FIG. 2).

従来の制御方式では、DKC2は、第2図時点2Aから時点3
迄の待機中のCPU1と接続したままであるか、あるいはCP
U1を切り離すことなどによって前記(2)−(1)のコ
マンド処理、及び前記(2)−(2)の実処理ともに消
去完了を待ち実行する方式をとっている。
In the conventional control method, the DKC2 operates from time point 2A to time point 3 in FIG.
Is still connected to CPU1 in standby mode or CP
The command processing of (2)-(1) and the actual processing of (2)-(2) are executed by waiting for the completion of erasing by disconnecting U1 or the like.

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

第3図に示す様なインデックス4、制御情報レコード
5、レコード6及び7がギャップを介して連続したトラ
ックフォーマットを考えた上で、次に上記起動の一例を
挙げる。
Considering the track format in which the index 4, the control information record 5, the records 6 and 7 as shown in FIG.

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

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

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

(動作4) レコード7以降形式書込動作。(Operation 4) Format 7 and subsequent format writing operations.

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

〔発明の目的〕[Object of the Invention]

本発明の目的は、動作中に発行された回転形記憶装置に
対する新たな起動命令に基づく一連の動作を、回転待ち
を発生させること無く実行する記憶制御装置を提供する
ことにある。
An object of the present invention is to provide a storage control device that executes a series of operations based on a new start command for a rotary storage device issued during operation without causing a rotation wait.

〔発明の概要〕[Outline of Invention]

本発明は、中央処理装置と回転形記憶装置との間に配置
され、両者間のデータの授受を制御する記憶制御装置に
おいて、回転形記憶装置が動作中に中央処理装置から新
たな起動が生じた場合回転形記憶装置のヘッド位置決め
動作に関する命令を受領し記憶する手段を設け、回転形
記憶装置の動作完了後前記記憶手段に記憶されているヘ
ッド位置決め動作に関する命令を用いて回転形記憶装置
にヘッド位置決め動作を行わせることを特徴とする。
According to the present invention, in a storage control device which is arranged between a central processing unit and a rotary type storage device and controls exchange of data between the two, a new activation occurs from the central processing unit while the rotary type storage device is operating. In this case, means for receiving and storing an instruction relating to the head positioning operation of the rotary storage device is provided, and after the operation of the rotary storage device is completed, the rotary storage device is provided with the instruction regarding the head positioning operation stored in the storage means. It is characterized in that a head positioning operation is performed.

〔発明の実施例〕Example of Invention

以下、本発明の実施例を第4図、第5図を用いて説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 4 and 5.

第4図は、CPU10と、内部に位置決め動作に関するDKU単
位の制御情報を保有するメモリバッファ21(以後新バッ
ファと称する)を設けたDKC20と、DKU30を持つディスク
サブシステムを示したものであり、第5図はその制御関
係を示したものである。
FIG. 4 shows a disk subsystem having a CPU 10, a DKC 20 internally provided with a memory buffer 21 (hereinafter referred to as a new buffer) which holds DKU-unit control information relating to a positioning operation, and a DKU 30. FIG. 5 shows the control relationship.

以下、本実施例の動作を、前記発明の背景における起動
例と対比させながら説明する。
The operation of this embodiment will be described below in comparison with the starting example in the background of the invention.

(a) 第5図時点2において、新たな起動をうけたDK
C20は、DKU30と接続する。また、時点2Aにおいて、DKC2
0はシークデータを受けとり、該シークデータをバッフ
ァ21に入れ、コマンド処理を行なう。
(A) DK that received a new start-up at point 2 in Figure 5
C20 connects with DKU30. Also, at time 2A, DKC2
0 receives the seek data, puts the seek data in the buffer 21, and performs command processing.

(b) この際、DKC20はDKU30の消去動作終了を認識す
るため、INDEX直前のセクタを指定する擬似セクタ位置
決め命令をDKU30に対し、発行する(第5図時点2a)。
(B) At this time, the DKC 20 recognizes the end of the erase operation of the DKU 30, and therefore issues a pseudo sector positioning instruction designating the sector immediately before INDEX to the DKU 30 (time point 2a in FIG. 5).

(c) DKU20は、コマンド処理終了後、DKU30に対する
実動作指示は保留したままCPU10に対して終了報告を行
ない、次の(動作2(インデックスの前のセクタに位置
付ける動作)に関する命令をCPU10から受けるが、これ
も位置決め動作であるため前記同様にセクタデータをCP
U10から受領(コマンド処理)後終了報告を行ない、次
の(動作3)に関する命令を受ける。しかしこの命令
は、実際にデータを読み込まなくては実行できないため
再試行を要求しCPU10と切離される(第5図時点2b)。
(C) After the command processing is completed, the DKU20 reports the completion to the CPU10 while holding the actual operation instruction to the DKU30, and receives from the CPU10 the next instruction regarding (operation 2 (operation to locate the sector before the index)). However, since this is also a positioning operation, the sector data is
After receiving (command processing) from U10, it reports the end and receives the next command regarding (operation 3). However, since this instruction cannot be executed without actually reading the data, a retry is requested and the CPU 10 is disconnected (time point 2b in FIG. 5).

(d) この後、第3図時点2bから位置決め完了をうけ
る時点2C間は、CPU10及びDKC20はフリーであり、他のDK
Uの制御が可能である。
(D) After this, during the time 2C when the positioning completion is received from the time 2b in FIG. 3, the CPU10 and DKC20 are free, and other DK
U control is possible.

(e) 第5図時点2Cにおいて、前記擬似セクタ位置を
決め終了報告の割込を受けたDKC20は、時点3においてC
PU10と再結合し、動作3(;ヘッドがトラック上のレコ
ード6を通過することの確認)に関する命令を再び受け
る。この際、DKC20は前記新バッファ21からシークデー
タおよびセクタデータを読み出してDKU30に送信する。
(E) At the time 2C in FIG. 5, the DKC 20 which has determined the pseudo sector position and received the interrupt of the end report C at the time 3
Rejoin PU10 and receive command again for operation 3 (confirming that the head has passed record 6 on the track). At this time, the DKC 20 reads the seek data and the sector data from the new buffer 21 and sends them to the DKU 30.

シークデータが前述のコピー動作のように順次トラック
をアクセスする場合に指示されるような電気的にのみト
ラックを切り替える(通常1シリンダあたり15〜30本の
トラックを有する)場合に、DKC20は消去動作の終了を
待ってただちにシーク動作(トラック切り替え)を行な
い、回転待ち動作なく動作3の実動作に入ることができ
る。
The DKC20 erases data when the seek data is electrically switched between tracks (usually having 15 to 30 tracks per cylinder) as instructed when sequentially accessing tracks as in the copy operation described above. The seek operation (track switching) can be performed immediately after the completion of the above, and the actual operation of the operation 3 can be started without the rotation waiting operation.

以上の説明の通り、DKC20内に新たなバッファ21を設け
ることにより、トラックの切り替え時に起きうる回転待
ちを発生させることなく、DKU30への形式書込動作を続
行することが可能となる。
As described above, by providing the new buffer 21 in the DKC 20, it becomes possible to continue the formal writing operation to the DKU 30 without causing a rotation wait that may occur when switching tracks.

〔発明の効果〕〔The invention's effect〕

本発明によれば、ディスク制御装置などの記憶制御装置
の待機時間の減少、制御処理時間の短縮による回転待ち
の回避が可能なため、情報処理システムにおいて処理効
率を向上する効果がある。
According to the present invention, it is possible to reduce the waiting time of the storage control device such as the disk control device and avoid the waiting for rotation by shortening the control processing time, and thus it is possible to improve the processing efficiency in the information processing system.

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

第1図は、一般のディスクサブシステムの構成図であ
り、第2図は、第1図のシステムにおけるディスク制御
の動作説明図である。第3図は、ディスク上トラックの
フォーマットを示す図である。第4図は、本発明による
ディスク制御装置を含むディスクサブシステムを示す図
であり、第5図は、第4図に示したシステムの動作説明
図である。 10……中央処理装置、20……ディスク制御装置、21……
新バッファ、30……ディスク駆動装置。
FIG. 1 is a block diagram of a general disk subsystem, and FIG. 2 is an operation explanatory diagram of disk control in the system of FIG. FIG. 3 is a diagram showing a format of a track on the disc. FIG. 4 is a diagram showing a disk subsystem including a disk control device according to the present invention, and FIG. 5 is an operation explanatory diagram of the system shown in FIG. 10 ... Central processing unit, 20 ... Disk control unit, 21 ...
New buffer, 30 ... Disk drive.

フロントページの続き (72)発明者 倉野 昭 神奈川県小田原市国府津2880 株式会社日 立製作所小田原工場内 (72)発明者 荻野 知仁 神奈川県秦野市堀山下1番地 日立コンピ ユータエンジニアリング株式会社内 (56)参考文献 特開 昭56−92621(JP,A)Front Page Continuation (72) Inventor Akira Kurano 2880 Kozu, Odawara, Kanagawa Nitta Manufacturing Co., Ltd. Odawara Plant (72) Inventor Tomonito Ogino 1 Horiyamashita, Hadano, Kanagawa Prefecture Hitachi Computa Uta Engineering Co., Ltd. (56) References JP-A-56-92621 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置と回転形記憶装置との間に配
置され、両者間のデータを授受を制御する記憶制御装置
において、前記回転形記憶装置が動作中に前記中央処理
装置から新たな起動が生じた場合当該回転形記憶装置の
ヘッド位置決め動作に関する命令を受領し記憶する手段
を設け、前記回転形記憶装置の動作完了後前記記憶手段
に記憶されているヘッド位置決め動作に関する命令を用
いて当該回転記憶装置にヘッド位置決め動作を行わせる
ための手段を備えたことを特徴とする記憶制御装置。
1. A storage control device which is arranged between a central processing unit and a rotary type storage device and which controls exchange of data between the two, in which a new storage unit is installed from the central processing unit while the rotary type storage device is in operation. A means for receiving and storing an instruction regarding the head positioning operation of the rotary storage device when the activation occurs is provided, and using the instruction regarding the head positioning operation stored in the storage means after the operation of the rotary storage device is completed. A storage control device comprising means for causing the rotary storage device to perform a head positioning 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 JPS60134332A (en) 1985-07-17
JPH0731581B2 true 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)

Families Citing this family (1)

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

Family Cites Families (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

Also Published As

Publication number Publication date
JPS60134332A (en) 1985-07-17

Similar Documents

Publication Publication Date Title
JP2001307410A (en) Magnetic disk device, data recording method and data reproducing method
JPH0667805A (en) Method and device for controlling asynchronous dasd
JPH08249218A (en) File controller and data write method
JPH0731581B2 (en) Storage controller
JP2634025B2 (en) Format write control method for magnetic disk controller
JPH04111113A (en) Hard disk emulator
JPH0511933A (en) Hard disk emulator and fixed cache area allocating method for the emulator
JP3847888B2 (en) High speed host transfer method of rearranged data due to defects in disk device
JPH06348600A (en) Disk cache device
JP2000305719A (en) Method for backing-up data in information processing system
JPH0514353Y2 (en)
JP3147575B2 (en) Data writing device and data block writing method
JP2737555B2 (en) Disk controller
JPH11249826A (en) Optical magnetic disk controller
JPS58125128A (en) Computer system
JP2503371B2 (en) Disk system
JP2957380B2 (en) Head positioning controller for magnetic disk
EP0729099A1 (en) Mirror storage controller
JPH05181613A (en) Information processor
JPS59157813A (en) Controller for magnetic memory of rotor
JPH0254584B2 (en)
JPH0417534B2 (en)
JPS61287071A (en) Magnetic disc controller
JPH03164843A (en) Optical disk processing device
JPS63195873A (en) Information recording and reproducing method for rotary type information recording medium