JPH0432944A - Magnetic disk control system - Google Patents

Magnetic disk control system

Info

Publication number
JPH0432944A
JPH0432944A JP2132808A JP13280890A JPH0432944A JP H0432944 A JPH0432944 A JP H0432944A JP 2132808 A JP2132808 A JP 2132808A JP 13280890 A JP13280890 A JP 13280890A JP H0432944 A JPH0432944 A JP H0432944A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
disk device
disk
data buffer
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
Application number
JP2132808A
Other languages
Japanese (ja)
Inventor
Noboru Kinoshita
登 木下
Hiroyuki Mochida
持田 博之
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
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP2132808A priority Critical patent/JPH0432944A/en
Publication of JPH0432944A publication Critical patent/JPH0432944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To shorten the access time by instructing a magnetic disk device by a program to prefetch data into its track buffer in advance when a read request to a disk device other than a magnetic disk to be actuated is registered in an actuation unit table. CONSTITUTION:The disk control program stored in a main memory 22 which controls the input and output of disk devices 26-1 - 26-n has a queue table (actuation control table) where input/output requests from a host program are registered, and takes request contents out of the queue table and executes them when actuated by the host program. At this time, when an actuation request where the prefetch indication to the data buffer is not made except the disk device registered at the head of the queue table is registered, the indication for data prefetch to the data buffer is sent to the magnetic disk and the input/ output actuation of the magnetic disk device registered at the head of the queue table is performed. Consequently, the access time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野] 1、発明の名称 磁気ディスク制御方式 2、特許請求の範囲 ■、装置内に1トラック分以上のデータバッファを有し
た複数の磁気ディスク装置を備えた計算機システムの磁
気ディスク制御方式において、上位装置とは切り離され
た状態で、ディスク面からデータバッファへのデータ読
み出しを行うコマンドおよび動作モードと、磁気ディス
ク装置ごとの起動管理テーブルとを備え、磁気ディスク
装置の起動時、アクセスの対象以外の磁気ディスク装置
に対する起動要求が起動管理テーブルに登録されている
場合、予め該磁気ディスク装置に対して、データバッフ
ァへのデータ読み出しを指示し、上位装置とは切り離さ
れた状態で該磁気ディスク装置のディスク面からデータ
バッファへのデータ読み出しを行うとともに、 3゜ア
クセス対象の磁気ディスク装置を起動させる本発明は、
複数台の磁気ディスク装置が接続された計算機システム
の磁気ディスク制御方式に関し、特にアクセス時間の短
縮に好適な磁気ディスク制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] 1. Name of the invention Magnetic disk control method 2. Scope of claims ■. A magnetic disk control method for a computer system equipped with a command and an operation mode for reading data from a disk surface to a data buffer in a state separated from a host device, and a startup management table for each magnetic disk device, When starting a magnetic disk device, if a startup request for a magnetic disk device other than the one to be accessed is registered in the startup management table, the magnetic disk device is instructed to read data from the data buffer in advance, and the host device The present invention reads data from the disk surface of the magnetic disk device to the data buffer in a state separated from the magnetic disk device, and starts the magnetic disk device to be accessed.
The present invention relates to a magnetic disk control method for a computer system to which a plurality of magnetic disk devices are connected, and particularly to a magnetic disk control method suitable for shortening access time.

【従来の技術〕[Conventional technology]

従来、磁気ディスク装置等のシーク動作を伴う記憶装置
では、アクセス時間を短縮するための方法が提案されて
きている。
Conventionally, methods for shortening access time have been proposed for storage devices that involve seek operations, such as magnetic disk devices.

例えば、特開昭57−103564号公報に記載されて
いる方法では、制御装置内にプログラムから指定された
アドレスを登録するテーブルを設け、これに前アドレス
、現アドレス、次アドレスの3つのアドレスを記憶して
、さらに、それぞれのアドレスに対応するデータバッフ
ァを設け、プログラムからのアクセスが現アドレスから
次アドレス、次アドレスから前アドレスというように変
わった場合、それぞれ対応するデータバッファの内容を
転送している。
For example, in the method described in Japanese Unexamined Patent Publication No. 57-103564, a table is provided in the control device to register addresses designated by a program, and three addresses, the previous address, the current address, and the next address, are stored in the table. In addition, a data buffer corresponding to each address is provided, and when the access from the program changes from the current address to the next address, or from the next address to the previous address, the contents of the corresponding data buffer are transferred. ing.

これにより、同一トラック中の連続するレコードに対し
ては、アドレスを指定してシークコマンドを発すること
なく、リードコマンドを発するのみで正方向にも逆方向
にも連続してアクセスすることが可能であり、アクセス
時間を短縮させる。
This makes it possible to access consecutive records in the same track in both the forward and reverse directions simply by issuing a read command, without specifying an address and issuing a seek command. Yes, it reduces access time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術では、前アドレス、現アドレス、次アドレ
スの3つに対するデータバッファを必要とするため、ハ
ードウェアが増大するという問題があり、特に、複数台
の磁気ディスク装置を制御する場合には、ディスク装置
内に各ユニットに対応するデータバッファを必要とする
The above conventional technology requires data buffers for three addresses: the previous address, the current address, and the next address, so there is a problem in that the hardware increases, especially when controlling multiple magnetic disk drives. A data buffer corresponding to each unit is required within the disk device.

また、磁気ディスク装置に対するアクセスは、一般的に
はランダムアクセスを指定するものであり、この場合、
制御装置内にバッファリングされている前データが再び
使用されるケースは多くはない。
Furthermore, access to magnetic disk devices generally specifies random access, and in this case,
There are not many cases in which the previous data buffered in the control device is used again.

本発明の目的は、このような問題点を改善し、ハードウ
ェアの増大を招くことなく、複数台の磁気ディスク装置
を使用した計算機システムにおけるアクセス時間を短縮
することが可能な磁気ディスク制御方式を提供すること
にある。
An object of the present invention is to provide a magnetic disk control method that can improve these problems and reduce access time in a computer system using multiple magnetic disk devices without increasing the hardware. It is about providing.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の磁気ディスク制御方
式は、装置内に1トラック分以上のデータバッファを有
した複数の磁気ディスク装置を備えた計算機システムの
磁気ディスク制御方式において、上位装置とは切り離さ
れた状態で、ディスク面からデータバッファへのデータ
読み出しを行うコマンドおよび動作モードと、ディスク
制御用プログラムにおける磁気ディスク装置ごとの起動
管理テーブル(起動ユニットテーブルおよびコマンドパ
ラメータテーブル)とを備え、磁気ディスク装置の起動
時、アクセス対象以外の磁気ディスク装置に対する起動
要求が起動管理テーブルに登録されている場合、予めそ
の磁気ディスク装置に対して、データバッファへのデー
タ読み出しを指示し、上位装置とは切り離された状態で
その磁気ディスク装置のディスク面からデータバッファ
へのデータ読み出しを行うとともに、アクセス対象の磁
気ディスク装置を起動させることに特徴がある− また、リード/ライト動作の終了検出時、上記起動管理
テーブルに、アクセス対象となったディスク装置に対す
る次の起動要求が登録されている場合、予めその磁気デ
ィスク装置に対して、データバッファへのデータ読み出
しを指示し、上位装置とは切り離された状態でその磁気
ディスク装置のディスク面からデータバッファへのデー
タ読み出しを行うとともに、次のアクセス対象の磁気デ
ィスク装置を起動させることに特徴がある。
In order to achieve the above object, the magnetic disk control method of the present invention is a magnetic disk control method for a computer system equipped with a plurality of magnetic disk devices each having a data buffer for one track or more in the device. Equipped with a command and operation mode for reading data from the disk surface to the data buffer in a separated state, and a startup management table (startup unit table and command parameter table) for each magnetic disk device in the disk control program, the magnetic When starting a disk device, if a startup request for a magnetic disk device other than the one to be accessed is registered in the startup management table, the magnetic disk device is instructed to read data to the data buffer in advance, and the host device The feature is that data is read from the disk surface of the magnetic disk device to the data buffer in the disconnected state, and the magnetic disk device to be accessed is started. If the next startup request for the disk device to be accessed is registered in the startup management table, the magnetic disk device is instructed to read data to the data buffer in advance, and is disconnected from the host device. The feature is that data is read from the disk surface of the magnetic disk device to the data buffer in the state, and the magnetic disk device to be accessed next is activated.

[作用〕 本発明においては、ディスク装置に対する入出力を制御
するプログラムであるディスク制御プログラムは、上位
プログラムからの入出力要求を登録するキューテーブル
(起動管理テーブル)を持ち、上位プログラムからの起
動を受付けると、そのキューテーブルへの登録を行い、
対応したディスク装置が使用可能となった時点で、その
キューテーブルより要求内容を取り出して実行する。
[Operation] In the present invention, the disk control program, which is a program that controls input/output to a disk device, has a queue table (startup management table) for registering input/output requests from a higher-level program, and has a queue table (startup management table) for registering input/output requests from a higher-level program. When it is accepted, it is registered in the queue table,
When the corresponding disk device becomes available, the request contents are retrieved from the queue table and executed.

この時、キューテーブルの先頭に登録されたディスク装
置以外で、データバッファへの先取り指示が行われてい
ない起動要求が登録されている場合は、その磁気ディス
ク装置に対し、データバッファへのデータ先取りを指示
した後、キューテーブルの先頭に登録された磁気ディス
ク装置に入出力起動を行う。
At this time, if a startup request is registered for a disk device other than the one registered at the head of the queue table that does not specify prefetching to the data buffer, that magnetic disk device is requested to prefetch data to the data buffer. After instructing, input/output is started for the magnetic disk device registered at the head of the queue table.

これにより、データバッファへの先取りを指示された磁
気ディスク装置は、上位装置とは論理的に切離された状
態でデータバッファへのデータ読み出しを行う、−力、
入出力起動を受取った磁気ディスク装置は、起動パラメ
ータ(コマンドパラメータ)中のアドレス情報からデー
タバッファ内にデータが準備済みか否かを判定し、準備
済みであれば、データバッファの内容を上位装置に転送
し、準備未完であれば、ディスク面からデータバッファ
への読み出しを行った後、上位装置にその内容を転送す
る。
As a result, the magnetic disk device that has been instructed to prefetch the data buffer reads data from the data buffer while being logically separated from the host device.
The magnetic disk device that receives the input/output activation determines whether the data is ready in the data buffer from the address information in the startup parameter (command parameter), and if it is, transfers the contents of the data buffer to the host device. If the preparation is not completed, the data is read from the disk surface to the data buffer, and then the contents are transferred to the host device.

従って、他の磁気ディスク装置が上位装置とのデータ転
送中に、データバッファへの先取り動作が行われるので
、アクセス時間を短縮することができる。また、磁気デ
ィスク装置内に設けられたデータバッファは、上位装置
とのデータ転送用として設けられたバッファを兼用する
ため、ハードウェアの増加を抑制することができる。
Therefore, while another magnetic disk device is transferring data with the host device, a prefetch operation to the data buffer is performed, so that access time can be shortened. Further, since the data buffer provided in the magnetic disk device also serves as a buffer provided for data transfer with a host device, it is possible to suppress an increase in hardware.

【実施例〕【Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例におけるディスク制御プロ
グラムが作成する起動管理テーブルの説明図、第2図は
本発明の磁気ディスク制御方式を適用する計算機システ
ムの構成図、第3図は本発明の一実施例におけるディス
ク装置の構成図、第4図は本発明の一実施例におけるコ
マンドパラメータの説明図である。
FIG. 1 is an explanatory diagram of a startup management table created by a disk control program in an embodiment of the present invention, FIG. 2 is a configuration diagram of a computer system to which the magnetic disk control method of the present invention is applied, and FIG. FIG. 4 is a configuration diagram of a disk device in an embodiment of the invention, and is an explanatory diagram of command parameters in an embodiment of the invention.

第2図において、21はCPU、22はディスク制御プ
ログラム、起動ユニットテーブル、コマンドパラメータ
テーブル等を格納した主メモリ、23はシステムバス、
24はディスク装gz6−t〜26−nへのアクセスを
制御するディスク制御装置、25はディスクインタフェ
ース、 26−1〜26−nは複数のディスク装置であ
る。
In FIG. 2, 21 is a CPU, 22 is a main memory that stores a disk control program, a startup unit table, a command parameter table, etc., 23 is a system bus,
24 is a disk control device that controls access to the disk devices gz6-t to 26-n, 25 is a disk interface, and 26-1 to 26-n are a plurality of disk devices.

また、第3図において、26はディスク装置、31はデ
ィスク制御装置24の起動により、コマンドコードを判
定して装置全体を制御するマイクロプロセッサ、32は
制御データRAM、33はインタフェース回路、34は
トラックバッファ35の書込み/読出し、バッファ面制
御を行うトラックバッファ制御回路、35は2トラック
分のデータが格納可能なトラックバッファ、36はシリ
アル/パラレル変換回路、37はR/W制御回路538
はシーク制御回路、39はディスク、40はマイクロプ
ロセッサバス、301は割込信号、302はシーク終了
信号、303はR/W終了信号、304はデータ転送終
了信号である。
Further, in FIG. 3, 26 is a disk device, 31 is a microprocessor that determines a command code and controls the entire device upon activation of the disk control device 24, 32 is a control data RAM, 33 is an interface circuit, and 34 is a track. A track buffer control circuit performs writing/reading of the buffer 35 and controls the buffer surface; 35 is a track buffer capable of storing data for two tracks; 36 is a serial/parallel conversion circuit; 37 is an R/W control circuit 538
39 is a disk, 40 is a microprocessor bus, 301 is an interrupt signal, 302 is a seek end signal, 303 is an R/W end signal, and 304 is a data transfer end signal.

本実施例では、ディスク制御装置24は、システムバス
23を介してCPU21および主メモリ22に接続され
、主メモリ22内に格納されたディスク制御プログラム
より起動パラメータ(コマンドパラメータ)を受取り、
ディスクインタフェースバス25を介してそのパラメー
タをディスク装置26−1〜26−nに与え、データの
読み出しおよび書き込みを行う。
In this embodiment, the disk control device 24 is connected to the CPU 21 and the main memory 22 via the system bus 23, receives startup parameters (command parameters) from the disk control program stored in the main memory 22,
The parameters are given to the disk devices 26-1 to 26-n via the disk interface bus 25 to read and write data.

このコマンドパラメータの内容は第4図に示される。The contents of this command parameter are shown in FIG.

第4図において、401はリード、ライト、シーク(ヘ
ッド移動)等を指示するコマンドコード、402はシー
ク特売き読み実施、シーク時ヘッド移動のみ等を指定す
るモード指定、403は処理開始アドレス、404は処
理セクタ数、405はトラックアドレスである。
In FIG. 4, 401 is a command code that instructs read, write, seek (head movement), etc., 402 is a mode designation that specifies execution of seek bargain reading, only head movement during seek, etc., 403 is a processing start address, 404 is the number of sectors to be processed, and 405 is a track address.

また、ディスク制御プログラムは、上位プログラムから
のファイルアクセス要求を受は取ると。
The disk control program also receives file access requests from higher-level programs.

その内容を起動管理テーブルに登録する。The contents are registered in the startup management table.

この起動管理テーブルの内容は、第1図に示される。The contents of this activation management table are shown in FIG.

第1図において、(a)は起動ユニットテーブル、(b
)はコマンドパラメータテーブルであり、これらが起動
管理テーブルを構成する。また、1ot−I−101−
n はディスク装置の先取り要否を示す先取りフラグ、
I O2−1−102−nはコマンドパラメータ、20
1−1〜201−nは、アクセス要求を受けているディ
スク装置のディスク装置嵐である。
In FIG. 1, (a) is a starting unit table, (b)
) is a command parameter table, which constitutes a startup management table. Also, 1ot-I-101-
n is a prefetch flag indicating whether prefetching of the disk device is necessary;
I O2-1-102-n is the command parameter, 20
1-1 to 201-n are disk device storms of disk devices receiving access requests.

さらに、ディスク制御プログラムは、ディスク制御装置
24およびディスク装置26が使用可能な場合、それら
のテーブルの内容に従い、ディスク制御装置24を起動
させる。
Further, if the disk control device 24 and the disk device 26 are available, the disk control program starts the disk control device 24 according to the contents of these tables.

この時、起動ユニットテーブル(第1図(b))に、そ
の先頭のディスク装置隘201−1  以外のディスク
装置磁が登録されており、かつディスク装置胆に対応す
るコマンドパラメータテーブル(第1図(a))の先頭
に登録された先取りフラグが先取り要を示している場合
、そのディスク装置に対するシーク(先読み指定あり)
の起動を行った後、先頭ディスク装置魚2011のコマ
ンドパラメータテーブルの先頭コマンドパラメータ10
2−1の動作を起動する。
At this time, disk devices other than the first disk device 201-1 are registered in the startup unit table (Fig. 1 (b)), and the command parameter table (Fig. 1 (b)) corresponding to the disk device 201-1 is registered. If the prefetch flag registered at the beginning of (a)) indicates that prefetch is required, seek for that disk device (with prefetch specification)
After starting, the first command parameter 10 of the command parameter table of the first disk device 2011 is
Start the operation 2-1.

これにより、ディスク装置26のマイクロプロセッサ3
1は、インタフェース制御回路33からの割り込み信号
301によって、ディスク制御装置24からの起動を検
出すると、インタフェース制御回路33内のレジスタに
セットされているコマンドパラメータ(第4図)のコマ
ンドコード401を判定する。
As a result, the microprocessor 3 of the disk device 26
1 determines the command code 401 of the command parameter (FIG. 4) set in the register in the interface control circuit 33 when the activation from the disk control device 24 is detected by the interrupt signal 301 from the interface control circuit 33. do.

その結果、シークコマンドの場合、ディスク装置26は
、直ちにディスクインタフェースバス25を介してディ
スク制御装置24にコマンドの動作終了を通知し、ディ
スクインタフェースバス25とは論理的に切り離される
。この後、マイクロプロセッサ31は、シーク制御回路
38を起動してヘッドの移動を行う。そして、シーク終
了信号302を検出すると、トラックバッファ制御回路
34およびR/W制御回路37を起動し、シリアル/パ
ラレル変換回路36を介して、ディスク39上のデータ
を1トラック分のトラックバッファ35に取り込む。さ
らに、R/W終了信号303により、先取り動作の終了
を検出すると、先読みしたディスク39のトラックアド
レスを制御データRAM32に登録した後、インタフェ
ース制御回路33を起動し、ディスク制御回路24およ
びプログラムにシーク終了を通知する。なお、先読み指
定が指示されていない場合には、シーク終了信号302
検出時にシーク終了を通知する。
As a result, in the case of a seek command, the disk device 26 immediately notifies the disk controller 24 via the disk interface bus 25 of the completion of the command operation, and is logically disconnected from the disk interface bus 25. Thereafter, the microprocessor 31 activates the seek control circuit 38 to move the head. When the seek end signal 302 is detected, the track buffer control circuit 34 and the R/W control circuit 37 are activated, and the data on the disk 39 is transferred to the track buffer 35 for one track via the serial/parallel conversion circuit 36. take in. Furthermore, when the completion of the prefetch operation is detected by the R/W end signal 303, the track address of the prefetched disk 39 is registered in the control data RAM 32, and then the interface control circuit 33 is activated, and the disk control circuit 24 and program Notify of termination. Note that if prefetching is not specified, the seek end signal 302
Notify end of seek when detected.

また、コマンドパラメータ(第4図)のコマンドコード
401を判定した結果、リードコマンドの場合、マイク
ロプロセッサ31は、コマンドパラメータ中のトラック
アドレス405と、制御データRAM32に登録されて
いるトラックアドレスとの比較を行い、一致した場合に
は、直ちにトラックバッファ35の内容をディスク制御
装置24に転送するとともに、処理セクタ数404が複
数トラックに渡る場合は、次のトラックのデータをトラ
ックバッファ35の空きエリアに読み出すように、トラ
ックバッファ制御回路34およびR/W制御回路37を
起動する。
Further, as a result of determining the command code 401 of the command parameter (FIG. 4), if it is a read command, the microprocessor 31 compares the track address 405 in the command parameter with the track address registered in the control data RAM 32. If they match, the contents of the track buffer 35 are immediately transferred to the disk controller 24, and if the number of sectors 404 to be processed spans multiple tracks, the data of the next track is transferred to the empty area of the track buffer 35. The track buffer control circuit 34 and R/W control circuit 37 are activated to read.

また、指定されたアドレスの情報がトラックバッファ3
5に存在しない場合には、前記シークコマンドと同様の
手順でヘッド移動およびディスクデータの取り込みを行
った後、ディスク制御装置24とのデータ転送を開始す
る。そして、データ転送終了信号304を検出すると、
インタフェース制御回路33およびディスクインタフェ
ースバス25を介してディスク制御装置24ヘコマンド
動作の終了を通知し、ディスクインタフェースバス25
から論理的に切離される。
Also, the information at the specified address is stored in the track buffer 3.
5, the head is moved and the disk data is captured in the same procedure as the seek command, and then data transfer with the disk controller 24 is started. Then, when the data transfer end signal 304 is detected,
The completion of the command operation is notified to the disk control device 24 via the interface control circuit 33 and the disk interface bus 25, and the disk interface bus 25
logically separated from

こうして、ディスク制御装置24に送られたデータは、
システムバス23を介して主メモリ22上に転送される
。また、コマンド終了およびシーク終了の報告は、同様
にディスク制御装置24からプログラムに通知される。
In this way, the data sent to the disk controller 24 is
It is transferred onto the main memory 22 via the system bus 23. Also, reports of command completion and seek completion are similarly notified to the program from the disk control device 24.

また、コマンドパラメータ(第4図)のコマンドコード
401を判定した結果、ライトコマンドの場合、マイク
ロプロセッサ31は、トラックバッファ制御回路34を
起動し、主メモリ22内のデータをディスク制御装置2
4を介してトラックバッファ35に取り込んだ後、R/
W制御回路37を起動してディスク39に書き込む。
Further, as a result of determining the command code 401 of the command parameter (FIG. 4), if it is a write command, the microprocessor 31 activates the track buffer control circuit 34 and transfers the data in the main memory 22 to the disk controller 2.
4 to the track buffer 35, the R/
The W control circuit 37 is activated to write data on the disk 39.

なお、本実施例では、トラックバッファ35の容量を2
トラック分としたが、それ以上の複数トラック分のバッ
ファを設けてもよい。
In this embodiment, the capacity of the track buffer 35 is set to 2.
Although the number of buffers is set for one track, buffers for more than one track may be provided.

また、シークコマンドの発行は、起動時に他の装置の起
動要求があった場合に行っているが、す−ド/ライト動
作の終了検出時、その装置に対する次の起動が登録され
ている場合に行うこともできる。
In addition, a seek command is issued when there is a request to start another device at startup, but when the end of a read/write operation is detected, the next startup for that device is registered. You can also do this.

〔発明の効果) 本発明によれば、プログラムは起動しようとする磁気デ
ィスク装置以外のディスク装置に対するリード要求が起
動ユニットテーブル内に登録されている場合には、予め
その磁気ディスク装置に対し、トラックバッファへのデ
ータ先取りを指示することができるため、複数台の磁気
ディスク装置からなり、複数のファイルアクセス要求元
を持つファイルサーバ等におけるアクセス時間を短縮す
ることができる。
[Effects of the Invention] According to the present invention, if a read request for a disk device other than the magnetic disk device to be started is registered in the startup unit table, the program performs track tracking for that magnetic disk device in advance. Since it is possible to instruct the buffer to prefetch data, it is possible to shorten the access time in a file server, etc., which is made up of a plurality of magnetic disk devices and has a plurality of file access request sources.

また、磁気ディスク装置では、通常のデータ転送に使用
するバッファと先取り用バッファを兼用させることがで
きるため、ハードウェアの増大を抑制できる。
Furthermore, in the magnetic disk device, the buffer used for normal data transfer and the buffer for prefetching can be used both, so it is possible to suppress the increase in hardware.

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

第1図は本発明の一実施例におけるディスク制御プログ
ラムが作成する起動管理テーブルの説明図、第2図は本
発明の磁気ディスク制御方式を適用する計算機システム
の構成図、第3図は本発明の一実施例におけるディスク
装置の構成図、第4図は本発明の一実施例におけるコマ
ンドパラメータの説明図である。 21 :CPU、22:主メモリ、23ニジステムバス
、24:ディスク制御装置、25:ディスクインタフェ
ース、26.26−1〜26−n :ディスク装置、3
1:マイクロプロセッサ、32:制御データRAM、3
3:インタフェース回路。 34ニドラックバッファ制御回路、35ニドラックバッ
ファ、36:シリアル/パラレル変換回路。 37 : R/W制御回路、38:シーク制御回路。 39:ディスク、40:マイクロプロセッサバス。 101−1〜l O1−n :先取りフラグ、102−
1〜102−n:コマンドパラメータ、2011〜20
1−n:ディスク装置Na、301:割込信号。 302:シーク終了信号、303:R/W終了信号、3
04:データ転送終了信号、401:コマンドコード、
402:モード指定、403:処理開始アドレス、40
4:処理セクタ数、405ニドラツクアドレス。 第 図 (a) 第 図
FIG. 1 is an explanatory diagram of a startup management table created by a disk control program according to an embodiment of the present invention, FIG. 2 is a configuration diagram of a computer system to which the magnetic disk control method of the present invention is applied, and FIG. 3 is a diagram of the configuration of a computer system according to the present invention. FIG. 4 is an explanatory diagram of command parameters in an embodiment of the present invention. 21: CPU, 22: Main memory, 23 System bus, 24: Disk control device, 25: Disk interface, 26.26-1 to 26-n: Disk device, 3
1: Microprocessor, 32: Control data RAM, 3
3: Interface circuit. 34 Nidorak buffer control circuit, 35 Nidorak buffer, 36: serial/parallel conversion circuit. 37: R/W control circuit, 38: Seek control circuit. 39: disk, 40: microprocessor bus. 101-1~l O1-n: Preemption flag, 102-
1-102-n: Command parameters, 2011-20
1-n: Disk device Na, 301: Interrupt signal. 302: Seek end signal, 303: R/W end signal, 3
04: Data transfer end signal, 401: Command code,
402: Mode specification, 403: Processing start address, 40
4: Number of sectors to be processed, 405 NiDrack addresses. Figure (a) Figure

Claims (1)

【特許請求の範囲】 1、装置内に1トラック分以上のデータバッファを有し
た複数の磁気ディスク装置を備えた計算機システムの磁
気ディスク制御方式において、上位装置とは切り離され
た状態で、ディスク面からデータバッフアへのデータ読
み出しを行うコマンドおよび動作モードと、磁気ディス
ク装置ごとの起動管理テーブルとを備え、磁気ディスク
装置の起動時、アクセスの対象以外の磁気ディスク装置
に対する起動要求が起動管理テーブルに登録されている
場合、予め該磁気ディスク装置に対して、データバッフ
アへのデータ読み出しを指示し、上位装置とは切り離さ
れた状態で該磁気ディスク装置のディスク面からデータ
バッフアへのデータ読み出しを行うとともに、アクセス
対象の磁気ディスク装置を起動させることを特徴とする
磁気ディスク制御方式。 2、装置内に1トラック分以上のデータバッファを有し
た複数の磁気ディスク装置を備えた計算機システムの磁
気ディスク制御方式において、上位装置とは切り離され
た状態で、ディスク面からデータバッファへのデータ読
み出しを行うコマンドおよび動作モードと、磁気ディス
ク装置ごとの起動管理テーブルとを備え、リード/ライ
ト動作の終了検出時、起動管理テーブルに、アクセス対
象となったディスク装置に対する次の起動要求が登録さ
れている場合、予め該磁気ディスク装置に対して、デー
タバッファへのデータ読み出しを指示し、上位装置とは
切り離された状態で該磁気ディスク装置のディスク面か
らデータバッフアへのデータ読み出しを行うとともに、
次のアクセス対象の磁気ディスク装置を起動させること
を特徴とする磁気ディスク制御方式。
[Claims] 1. In a magnetic disk control method for a computer system equipped with a plurality of magnetic disk devices each having a data buffer for one track or more, the disk surface is Equipped with a command and operation mode for reading data from the data buffer to a data buffer, and a startup management table for each magnetic disk device.When starting a magnetic disk device, startup requests for magnetic disk devices other than those to be accessed are registered in the startup management table. If so, instruct the magnetic disk device to read data to the data buffer in advance, read data from the disk surface of the magnetic disk device to the data buffer in a state separated from the host device, and access the data buffer. A magnetic disk control method characterized by starting a target magnetic disk device. 2. In a magnetic disk control method for a computer system equipped with multiple magnetic disk devices each having a data buffer for one track or more, data is transferred from the disk surface to the data buffer while being separated from the host device. It is equipped with read commands and operation modes and a startup management table for each magnetic disk device, and when the end of a read/write operation is detected, the next startup request for the accessed disk device is registered in the startup management table. If so, instruct the magnetic disk device to read data to the data buffer in advance, read data from the disk surface of the magnetic disk device to the data buffer in a state separated from the host device, and
A magnetic disk control method characterized by starting up a magnetic disk device to be accessed next.
JP2132808A 1990-05-23 1990-05-23 Magnetic disk control system Pending JPH0432944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2132808A JPH0432944A (en) 1990-05-23 1990-05-23 Magnetic disk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2132808A JPH0432944A (en) 1990-05-23 1990-05-23 Magnetic disk control system

Publications (1)

Publication Number Publication Date
JPH0432944A true JPH0432944A (en) 1992-02-04

Family

ID=15090065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2132808A Pending JPH0432944A (en) 1990-05-23 1990-05-23 Magnetic disk control system

Country Status (1)

Country Link
JP (1) JPH0432944A (en)

Similar Documents

Publication Publication Date Title
JP2003518313A (en) Buffer management system for managing the transfer of data to and from the disk drive buffer
JPH03109635A (en) Dump system and disk subsystem in on-line mode
US6567886B1 (en) Disk drive apparatus and control method thereof
US6725348B1 (en) Data storage device and method for reducing write misses by completing transfer to a dual-port cache before initiating a disk write of the data from the cache
JP3566319B2 (en) Information storage device
JP3122702B2 (en) Disk device write-back control method
JPH0432944A (en) Magnetic disk control system
JP2980326B2 (en) Disk controller
JPH05289818A (en) Disk array control system
JPH04251421A (en) Method for decreasing number of moving times of head/arm of disk drive in direction of diameter
JPS6331806B2 (en)
JP2002342038A (en) Disk device controlling execution order of commands
JP2634867B2 (en) Disk cache data transfer control method
JP2704138B2 (en) Control method of magnetic disk cache
JPH02132515A (en) Pre-read control system
WO1994022134A1 (en) Buffer control for data transfer within hard disk during idle periods
JP2644857B2 (en) Data transfer method
JPS61273650A (en) Magnetic disk controlling device
JPH04111015A (en) Information recorder
JPH05334012A (en) Large capacity disk controller
JPH05324475A (en) Magnetic disk sub system
JPH02239348A (en) Access system for disk cache memory
JPS623455B2 (en)
JPH04287218A (en) Input/output control system
JPH04275675A (en) Data base processing system