JPH07271519A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH07271519A
JPH07271519A JP6246794A JP6246794A JPH07271519A JP H07271519 A JPH07271519 A JP H07271519A JP 6246794 A JP6246794 A JP 6246794A JP 6246794 A JP6246794 A JP 6246794A JP H07271519 A JPH07271519 A JP H07271519A
Authority
JP
Japan
Prior art keywords
record
records
search
seek
access
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
JP6246794A
Other languages
Japanese (ja)
Other versions
JP3524954B2 (en
Inventor
Michio Kasai
道雄 笠井
Makoto Watanabe
渡辺  誠
Kenji Kaneko
憲司 金子
Hideo Takahashi
秀夫 高橋
Hiromi Sugawara
広美 菅原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP06246794A priority Critical patent/JP3524954B2/en
Publication of JPH07271519A publication Critical patent/JPH07271519A/en
Application granted granted Critical
Publication of JP3524954B2 publication Critical patent/JP3524954B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain the fast accesses to the discontinuous records which are managed by a disk by performing the continuous accesses to the number of records equal to the processed records when an access instruction is decided as a continuous and simultaneous access instruction. CONSTITUTION:When a receiving means 20 receives an SIO from a host 11, a deciding means 21 decides whether an access instruction is equal to a continuous and simultaneous access instruction based on the operation type of the received SIO. When a continuous and simultaneous access instruction is recognized, a seek instruction issuing means 22 designates the seek value of the received SIO and issues a seek instruction. An access executing means 24 has the continuous accesses to the records of number equal to the processed records after the record showing the search value when the continuous and simultaneous access instruction designates a processed record number. Thus it is possible to have the continuous accesses at a high speed to two discontinuous records existing on the same track by a single SIO operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディスクのアクセス制
御を実行するディスク制御装置に関し、特に、高速アク
セス処理を実現するディスク制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk controller for controlling disk access, and more particularly to a disk controller for realizing high speed access processing.

【0002】ディスクのアクセス制御を実行するディス
ク制御装置では、データ処理の高速化を図るためにも、
高速アクセス処理を実現する構成を構築していく必要が
ある。
In order to speed up data processing, a disk control device that executes disk access control is
It is necessary to build a configuration that realizes high-speed access processing.

【0003】[0003]

【従来の技術】磁気ディスクを制御する磁気ディスク制
御装置には、バッファを使用する非同期転送型磁気ディ
スク制御装置と、バッファを使用しない同期型磁気ディ
スク制御装置とがある。
2. Description of the Related Art Magnetic disk controllers for controlling a magnetic disk include an asynchronous transfer type magnetic disk controller which uses a buffer and a synchronous magnetic disk controller which does not use a buffer.

【0004】図15に、非同期転送型磁気ディスク制御
装置の装置構成を図示する。この図に示すように、非同
期転送型磁気ディスク制御装置は、ホスト側のチャネル
とのデータ通信を実行するチャネルアダプタ1と、ディ
スク(デバイス)との間のデータ通信を実行するデバイ
スアダプタ2と、資源管理を実行するリソースマネージ
ャ3と、リソースマネージャ3のメモリ領域に展開され
るタスクコントロールブロック4と、チャネルアダプタ
1とデバイスアダプタ2との間に設けられる非同期転送
用バッファ5と、これらを接続するバス6とを備えて、
チャネルアダプタ1とデバイスアダプタ2とが、各々独
立して非同期に処理を行うことで、ディスクのアクセス
制御処理を実行する構成を採っている。なお、図中で
は、チャネルアダプタ1をCA、デバイスアダプタ2を
DAと略記することがある。
FIG. 15 shows the configuration of an asynchronous transfer type magnetic disk controller. As shown in this figure, the asynchronous transfer type magnetic disk control device includes a channel adapter 1 for executing data communication with a channel on the host side, a device adapter 2 for executing data communication with a disk (device), A resource manager 3 for executing resource management, a task control block 4 developed in a memory area of the resource manager 3, an asynchronous transfer buffer 5 provided between the channel adapter 1 and the device adapter 2, and these are connected. With bus 6
The channel adapter 1 and the device adapter 2 each independently execute processing asynchronously, so that the disk access control processing is executed. In the drawings, the channel adapter 1 may be abbreviated as CA and the device adapter 2 may be abbreviated as DA.

【0005】このように構成される非同期転送型磁気デ
ィスク制御装置を例にして従来技術を説明するならば、
レコードにアクセスするときには、そのレコードに位置
付ける処理が必要となるが、従来の非同期転送型磁気デ
ィスク制御装置では、アクセス対象のレコードが連続し
ている場合には、先頭のレコードに位置付け、アクセス
対象のレコードが連続していない場合には、その都度各
レコードに位置付けていくという構成を採っていた。
The conventional technique will be described by taking the asynchronous transfer type magnetic disk controller having the above-mentioned structure as an example.
When accessing a record, it is necessary to position the record. However, in the conventional asynchronous transfer type magnetic disk controller, when the records to be accessed are continuous, the record is positioned to the first record and the target to be accessed. When the records are not continuous, each record is positioned as it is.

【0006】すなわち、ホストは、アクセス対象のレコ
ードが連続している場合には、SIO(Start I/O )を
1回発行し、アクセス対象のレコードが連続していない
場合には、SIOの持つバイト数の関係で、1回のSI
Oで指定できる位置付け処理が1度であることに対応し
て、その非連続なレコードの数分のSIOを発行してい
くという構成を採っていたのである。
That is, the host issues SIO (Start I / O) once when the records to be accessed are continuous, and has the SIO when the records to be accessed are not continuous. Due to the number of bytes, one SI
Corresponding to the fact that the positioning process that can be designated by O is only once, SIO is issued for the number of discontinuous records.

【0007】例えば、従来の非同期転送型磁気ディスク
制御装置では、非連続のレコードnとレコードmとを更
新する場合には、図16に示すように、先ず最初に、ホ
ストの発行する1回目のSIO(Start I/O )で、ライ
トアクセスのオペレーション種別と、ディスクに対する
シーク値(シークシリンダ、シークヘッド)/セットセ
クタ値と、レコードnについてのサーチ値(サーチシリ
ンダ、サーチヘッド、レコードカウント値)とが通知さ
れてくるので、そのシーク値の指す物理的位置にディス
クのアームを移動すべくシーク命令を発行する。
For example, in the conventional asynchronous transfer type magnetic disk control device, when updating the discontinuous records n and m, as shown in FIG. 16, first, the first issue by the host is performed. SIO (Start I / O) operation type of write access, seek value for disk (seek cylinder, seek head) / set sector value, and search value for record n (search cylinder, search head, record count value) Is sent, a seek command is issued to move the arm of the disk to the physical position indicated by the seek value.

【0008】そして、ホストから通知されたサーチ値を
持つレコードのサーチ処理を行うことでレコードnをサ
ーチし、このサーチ処理によりレコードnへの位置付け
が完了すると、ホストから送られてきた更新データを書
き込むことでレコードnを更新する。
Then, the record n having the search value notified from the host is searched to search the record n. When the positioning to the record n is completed by this search process, the update data sent from the host is updated. The record n is updated by writing.

【0009】続いて、ホストの発行する2回目のSIO
で、ライトアクセスのオペレーション種別と、ディスク
に対するシーク値(シークシリンダ、シークヘッド)/
セットセクタ値と、レコードmについてのサーチ値(サ
ーチシリンダ、サーチヘッド、レコードカウント値)と
が通知されてくるので、そのシーク値の指す物理的位置
にディスクのアームを移動すべくシーク命令を発行す
る。
Next, the second SIO issued by the host
Write operation type and seek value for disk (seek cylinder, seek head) /
Since the set sector value and the search value for the record m (search cylinder, search head, record count value) are notified, a seek command is issued to move the disk arm to the physical position indicated by the seek value. To do.

【0010】そして、ホストから通知されたサーチ値を
持つレコードのサーチ処理を行うことでレコードmをサ
ーチし、このサーチ処理によりレコードmへの位置付け
が完了すると、ホストから送られてきた更新データを書
き込んでいくことでレコードmを更新する。
Then, the record m having the search value notified from the host is searched to search the record m. When the positioning to the record m is completed by this search process, the update data sent from the host is updated. The record m is updated by writing.

【0011】このように、従来の磁気ディスク制御装置
では、アクセス対象のレコードが連続している場合に
は、先頭のレコードに位置付け、アクセス対象のレコー
ドが連続していない場合には、その都度各レコードに位
置付けていくという構成を採っていた。
As described above, in the conventional magnetic disk control device, when the records to be accessed are continuous, the record is positioned at the top record, and when the records to be accessed are not continuous, each record is accessed. It had the structure of positioning it on the record.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、従来の
ように、本来一括してアクセスしたいレコードを、SI
Oを分離することでそのアクセスを実現する構成を採っ
ていると、ほとんどの場合回転待ちを起こすことで、高
速にレコードをアクセスできないという問題点があっ
た。
However, as in the conventional case, the records that are originally desired to be collectively accessed are set to SI
If O is separated to realize the access, in most cases there is a problem that the record cannot be accessed at high speed because of waiting for rotation.

【0013】すなわち、図16中の時間t5から時間t
6までの経過時間が長くなると、時間t6で行うレコー
ドmのサーチ処理が、レコードnのアクセスを行った同
一回転内に入らないことで1回転待ちを起こすのであ
る。
That is, from time t5 to time t in FIG.
If the elapsed time up to 6 becomes long, the search processing of the record m performed at the time t6 does not enter the same rotation where the access of the record n is made, so that one rotation waiting is caused.

【0014】この問題点は、それまで未使用であったレ
コードを新たに使用していく場合に常に起こることか
ら、非常に大きな問題点であった。すなわち、トラック
の先頭に位置するレコードは、そのトラックに位置する
未使用レコードの数を管理する構成を採っていることか
ら、それまで未使用であったレコードを使用しようとす
ると、その先頭レコードも同時に更新していく必要があ
り、これがために、図17に示すように、SIOを2回
発行しなければならなくなって、この問題点に遭遇して
しまうのである。
This problem is a very serious problem because it always occurs when a record that has not been used up to that time is newly used. In other words, the record located at the beginning of a track has a configuration that manages the number of unused records located at that track. Therefore, if you try to use a record that has not been used until then, the first record will also be recorded. It is necessary to update them at the same time, and as a result, as shown in FIG. 17, SIO must be issued twice, and this problem is encountered.

【0015】本発明はかかる事情に鑑みてなされたもの
であって、ディスクに管理される非連続なレコードをア
クセスするときに、そのアクセスを高速に実現する新た
なディスク制御装置の提供を目的とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a new disk control device which realizes high speed access when accessing discontinuous records managed by a disk. To do.

【0016】[0016]

【課題を解決するための手段】図1及び図2に本発明の
原理構成を図示する。図中、10は本発明を具備するデ
ィスク制御装置、11はアクセス要求を発行するホス
ト、12はレコードを格納するディスクである。
1 and 2 show the principle configuration of the present invention. In the figure, 10 is a disk control device having the present invention, 11 is a host which issues an access request, and 12 is a disk which stores records.

【0017】図1に原理構成を図示するディスク制御装
置10は、受信手段20と、判断手段21と、シーク命
令発行手段22と、サーチ実行手段23と、アクセス実
行手段24とを備える。
The disk controller 10 whose principle configuration is shown in FIG. 1 comprises a receiving means 20, a judging means 21, a seek command issuing means 22, a search executing means 23, and an access executing means 24.

【0018】この受信手段20は、ホスト11の発行す
るSIOを受信する。判断手段21は、例えば受信手段
20に備えられて、受信したSIOのオペレーション種
別に従ってアクセス命令種別を判断する。シーク命令発
行手段22は、受信したSIOのシーク値を指定してデ
ィスク12に対してシーク命令を発行する。サーチ実行
手段23は、受信したSIOのサーチ値の指すレコード
のサーチ処理を行う第1のサーチ実行手段230と、受
信したSIOのサーチ値が間接的に指す特定レコードの
サーチ処理を行う第2のサーチ実行手段231とを備え
る。アクセス実行手段24は、ディスク12のレコード
の読出処理や更新処理を実行する。
The receiving means 20 receives the SIO issued by the host 11. The judging means 21 is provided in the receiving means 20, for example, and judges the access command type according to the operation type of the received SIO. The seek command issuing means 22 specifies the seek value of the received SIO and issues a seek command to the disk 12. The search execution means 23 includes a first search execution means 230 for performing a search process for a record indicated by the received SIO search value and a second search execution means for performing a search process for a specific record indirectly indicated by the received SIO search value. The search execution means 231 is provided. The access executing means 24 executes a reading process and an updating process of the record of the disk 12.

【0019】図2に原理構成を図示するディスク制御装
置10は、受信手段20と、判断手段21と、制御手段
25と、シーク命令発行手段22と、サーチ実行手段2
3と、アクセス実行手段24とを備える。
The disk controller 10 whose principle configuration is shown in FIG. 2 includes a receiving means 20, a judging means 21, a controlling means 25, a seek command issuing means 22, and a search executing means 2.
3 and access execution means 24.

【0020】この受信手段20は、ホスト11の発行す
るSIOを受信する。判断手段21は、例えば受信手段
20に備えられて、受信したSIOのオペレーション種
別に従ってアクセス命令種別を判断する。制御手段25
は、例えば受信手段20に備えられて、受信したSIO
に対応付けて発行されるサーチ情報の制御処理を実行す
る。シーク命令発行手段22は、制御手段25の指示に
応答して、ディスク12に対してシーク命令を発行す
る。サーチ実行手段23は、制御手段25の指示に応答
して、レコードのサーチ処理を行う。アクセス実行手段
24は、ディスク12のレコードの読出処理や更新処理
を実行する。
The receiving means 20 receives the SIO issued by the host 11. The judging means 21 is provided in the receiving means 20, for example, and judges the access command type according to the operation type of the received SIO. Control means 25
Is provided in, for example, the receiving unit 20, and receives the SIO.
The control processing of the search information issued in association with is executed. The seek command issuing means 22 issues a seek command to the disk 12 in response to an instruction from the control means 25. The search execution means 23, in response to an instruction from the control means 25, performs a record search process. The access executing means 24 executes a reading process and an updating process of the record of the disk 12.

【0021】[0021]

【作用】図1に原理構成を図示する本発明のディスク制
御装置10では、受信手段20がホスト11からのSI
Oを受信すると、判断手段21は、受信したSIOのオ
ペレーション種別に従って、アクセス命令が連続同時ア
クセス命令であるのか否かを判断し、連続同時アクセス
命令であることが判断されると、シーク命令発行手段2
2は、受信したSIOのシーク値を指定してシーク命令
を発行することで、ディスク12のアームの物理的位置
をシーク値の指す位置にセットする。
In the disk controller 10 of the present invention, the principle configuration of which is shown in FIG.
When O is received, the judging means 21 judges whether or not the access command is the continuous simultaneous access command according to the operation type of the received SIO, and when it is judged that the access command is the continuous simultaneous access command, the seek command is issued. Means 2
2 specifies the seek value of the received SIO and issues a seek command to set the physical position of the arm of the disk 12 to the position indicated by the seek value.

【0022】続いて、第2のサーチ実行手段231は、
受信したSIOのサーチ値から、そのサーチ値の指すレ
コードと同一トラックに位置する特定レコード(例えば
先頭レコード)のサーチ値を特定して、その特定したサ
ーチ値を持つレコードのサーチ処理を行うことで、ディ
スク12のアームの論理的位置をその特定レコードに位
置付け、この位置付けが完了すると、アクセス実行手段
24は、その特定レコードへのアクセス処理を実行す
る。
Then, the second search executing means 231
From the received search value of the SIO, the search value of the specific record (for example, the first record) located on the same track as the record indicated by the search value is specified, and the search process of the record having the specified search value is performed. , The logical position of the arm of the disk 12 is positioned at the specific record, and when this positioning is completed, the access execution means 24 executes the access processing to the specific record.

【0023】続いて、第1のサーチ実行手段230は、
受信したSIOのサーチ値を持つレコードのサーチ処理
を行うことで、ディスク12のアームの論理的位置をそ
のサーチ値の指すレコードに位置付け、この位置付けが
完了すると、アクセス実行手段24は、そのレコードへ
のアクセス処理を実行する。このとき、連続同時アクセ
ス命令が処理レコード数を指定するときには、アクセス
実行手段24は、サーチ値の指すレコードに続けて、そ
の処理レコード数分のレコードを連続的にアクセスして
いくことになる。
Subsequently, the first search executing means 230
By performing the search process of the record having the received SIO search value, the logical position of the arm of the disk 12 is positioned at the record pointed to by the search value, and when this positioning is completed, the access execution means 24 moves to that record. The access process of is executed. At this time, when the continuous simultaneous access command specifies the number of processing records, the access executing means 24 continuously accesses the records corresponding to the number of processing records, following the record indicated by the search value.

【0024】このように、図1に原理構成を図示する本
発明では、1回のSIOでもって、同一トラックに位置
する2つの非連続なレコードを続けてアクセスできるよ
うになることから、レコードの高速アクセスを実現でき
るようになる。
As described above, according to the present invention whose principle configuration is shown in FIG. 1, two non-consecutive records located on the same track can be continuously accessed by one SIO. High-speed access can be realized.

【0025】図2に原理構成を図示する本発明のディス
ク制御装置10では、受信手段20がホスト11からの
SIOを受信すると、判断手段21は、受信したSIO
のオペレーション種別に従って、アクセス命令が離散同
時アクセス命令であるのか否かを判断し、離散同時アク
セス命令であることが判断されると、受信手段20は、
SIOに対応付けて発行される複数の非連続なレコード
のサーチ値を指定するサーチ情報(シーク値を含むこと
もある)を受信する。
In the disk controller 10 of the present invention whose principle configuration is shown in FIG. 2, when the receiving means 20 receives the SIO from the host 11, the judging means 21 receives the received SIO.
It is determined whether or not the access instruction is the discrete simultaneous access instruction according to the operation type, and when it is determined that the access instruction is the discrete simultaneous access instruction, the receiving unit 20
Search information (which may include a seek value) specifying search values for a plurality of non-consecutive records issued in association with SIO is received.

【0026】このSIO/サーチ情報を受けて、制御手
段25は、アクセス実行手段24によるアクセス処理が
終了することを条件にして、SIO/サーチ情報の指定
するシーク値を順番にシーク命令発行手段22に通知し
ていくとともに、サーチ情報の指定するサーチ値を順番
にサーチ実行手段23に通知していく。
Receiving the SIO / search information, the control means 25 sequentially requests the seek value designated by the SIO / search information on condition that the access processing by the access execution means 24 is completed. And the search value designated by the search information in order to the search execution means 23.

【0027】この通知を受けて、シーク命令発行手段2
2は、シーク値の中のシークシリンダ値が前回通知のも
のと異なるときには、通知されるシーク値を指定してシ
ーク命令を発行することで、ディスク12のアームの物
理的位置をシーク値の指す位置にセットし、このシーク
命令の発行に続いて、サーチ実行手段23は、通知され
るサーチ値を持つレコードのサーチ処理を行うことで、
ディスク12のアームの論理的位置をそのサーチ値の指
すレコードに位置付け、この位置付けが完了すると、ア
クセス実行手段24は、そのレコードへのアクセス処理
を実行する。このとき、サーチ情報がサーチ値に対応付
けて処理レコード数を指定するときには、アクセス実行
手段24は、そのサーチ値の指すレコードに続けて、そ
の処理レコード数分のレコードを連続的にアクセスして
いくことになる。
Upon receiving this notification, the seek command issuing means 2
When the seek cylinder value in the seek value is different from that of the previous notification, the seek value is issued by designating the seek value to be notified, and the seek position indicates the physical position of the arm of the disk 12. The search execution means 23 performs the search process of the record having the notified search value, after setting the position, and issuing the seek command.
The logical position of the arm of the disk 12 is positioned at the record pointed to by the search value, and when this positioning is completed, the access execution means 24 executes the access processing to that record. At this time, when the search information specifies the number of processing records in association with the search value, the access executing means 24 continuously accesses the records for the number of processing records, following the record indicated by the search value. I will go.

【0028】そして、シーク命令発行手段22/サーチ
実行手段23は、この処理をサーチ情報の持つ全てのサ
ーチ値に対して繰り返し実行していく。このように、図
2に原理構成を図示する本発明では、1回のSIOでも
って、複数の非連続なレコードを続けてアクセスできる
ようになることから、レコードの高速アクセスが実現で
きるようになる。
Then, the seek command issuing means 22 / search executing means 23 repeatedly execute this processing for all the search values included in the search information. As described above, in the present invention whose principle configuration is shown in FIG. 2, a plurality of non-consecutive records can be continuously accessed by one SIO, so that high-speed access of records can be realized. .

【0029】[0029]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図3に、計算機システムのシステム構成例を図示す
る。
EXAMPLES The present invention will be described in detail below with reference to examples. FIG. 3 illustrates a system configuration example of the computer system.

【0030】この図に示すように、計算機システムは、
通常、CPU30と、主記憶装置31と、主記憶制御装
置32と、DASD33と、非同期転送型磁気ディスク
制御装置34と、チャネル装置35とから構成される。
As shown in this figure, the computer system is
Usually, it is composed of a CPU 30, a main storage device 31, a main storage control device 32, a DASD 33, an asynchronous transfer type magnetic disk control device 34, and a channel device 35.

【0031】本発明は、この非同期転送型磁気ディスク
制御装置34や、この非同期転送型磁気ディスク制御装
置34に代えて設けられる同期転送型磁気ディスク制御
装置に適用されるものである。
The present invention is applied to the asynchronous transfer type magnetic disk controller 34 and the synchronous transfer type magnetic disk controller provided in place of the asynchronous transfer type magnetic disk controller 34.

【0032】最初に、図1に原理構成を図示した本発明
について実施例に従って詳細に説明する。図1に原理構
成を図示した本発明は、1回のSIOでもって、同一ト
ラックに位置する2つの非連続なレコードを続けてアク
セスできる構成を提供するものであって、例えば、図4
に示すように、同一トラックに位置する先頭レコード0
とレコードn(n≠0,1)とを、ディスクの同一回転中
に続けて更新できる構成を提供するものである。
First, the present invention whose principle configuration is shown in FIG. 1 will be described in detail according to an embodiment. The present invention whose principle configuration is illustrated in FIG. 1 provides a configuration in which two non-consecutive records located on the same track can be continuously accessed by one SIO.
As shown in, the first record 0 located on the same track
And record n (n ≠ 0,1) can be continuously updated during the same rotation of the disk.

【0033】このレコード0とレコードnとの連続更新
を実現するために、本発明では、新たに連続同時アクセ
ス命令を定義して、この連続同時アクセス命令を発行す
るときには、図5に示すように、SIOの持つロケート
レコードLRに、連続同時アクセス命令である旨のオペ
レーション種別と、DASD33に対するシーク値(シ
ークシリンダ、シークヘッド)/セットセクタ値と、レ
コードnについてのサーチ値(サーチシリンダ、サーチ
ヘッド、レコードカウント値)とを指定するよう要求す
る。
In order to realize the continuous updating of the record 0 and the record n, the present invention defines a new continuous simultaneous access instruction, and when this continuous simultaneous access instruction is issued, as shown in FIG. , SIO locate record LR has an operation type indicating that it is a continuous simultaneous access instruction, a seek value (seek cylinder, seek head) / set sector value for DASD 33, and a search value (search cylinder, search head) for record n. , Record count value).

【0034】図6に、この連続同時アクセス命令が定義
されるときに実行する本発明の非同期転送型磁気ディス
ク制御装置34の処理フローの一実施例を図示する。次
に、この処理フローに従って、図1に原理構成を図示し
た本発明の一実施例について詳細に説明する。
FIG. 6 shows an embodiment of the processing flow of the asynchronous transfer type magnetic disk control device 34 of the present invention executed when this continuous simultaneous access instruction is defined. Next, one embodiment of the present invention whose principle configuration is illustrated in FIG. 1 will be described in detail according to this processing flow.

【0035】本発明の非同期転送型磁気ディスク制御装
置34は、CPU30からSIOを受け取ると、図6の
処理フローに示すように、先ず最初に、ステップ1で、
そのSIOのオペレーション種別から、アクセス命令が
上述の連続同時アクセス命令であるのか否かを判断す
る。このステップ1で、アクセス命令が連続同時アクセ
ス命令であることを判断すると、ステップ2に進んで、
SIOのシーク値を指定してシーク命令を発行すること
で、DASD33のアームの物理的位置をそのシーク値
の指す位置にセットする。
When the asynchronous transfer type magnetic disk controller 34 of the present invention receives the SIO from the CPU 30, as shown in the processing flow of FIG.
From the operation type of the SIO, it is determined whether or not the access instruction is the above continuous simultaneous access instruction. If it is determined in step 1 that the access instruction is a continuous simultaneous access instruction, the process proceeds to step 2,
By issuing a seek command with the SIO seek value specified, the physical position of the arm of the DASD 33 is set to the position indicated by the seek value.

【0036】続いて、ステップ3で、SIOのサーチ値
から、そのサーチ値の指すトラックの先頭レコード0の
サーチ値を特定し、その特定したサーチ値を指定してサ
ーチ命令を発行しサーチ処理を行うことで、DASD3
3のアームの論理的位置を同一トラックの先頭レコード
0に位置付ける。すなわち、SIOのサーチ値のレコー
ドカウント値を“n”から“0”に変え、この変換した
サーチ値を指定してサーチ命令を発行しサーチ処理を行
うことで、DASD33のアームの論理的位置を同一ト
ラックの先頭レコード0に位置付けるのである。
Then, in step 3, the search value of the first record 0 of the track pointed to by the search value is specified from the SIO search value, and the search command is issued by specifying the specified search value to execute the search process. By doing, DASD3
The logical position of arm 3 is located at the first record 0 of the same track. That is, the record count value of the SIO search value is changed from “n” to “0”, the converted search value is designated, a search command is issued, and a search process is performed to determine the logical position of the arm of the DASD 33. It is positioned at the first record 0 on the same track.

【0037】この位置付けが完了すると、続くステップ
4で、SIOに続いて送られてきたレコード0の更新デ
ータを書き込むことでレコード0の更新処理を実行す
る。続いて、ステップ5で、SIOのサーチ値を指定し
てサーチ命令を発行しサーチ処理を行うことで、DAS
D33のアームの論理的位置を連続同時アクセス命令の
指定するレコードnに位置付ける。そして、この位置付
けが完了すると、続くステップ6で、SIOに続いて送
られてきたレコードnの更新データを書き込むことでレ
コードnの更新処理を実行して全処理を終了する。この
とき、連続同時アクセス命令が処理レコード数を指定す
るときには、レコードnの更新処理に続けて、その処理
レコード数分のレコードを連続的に更新していくことに
なる。
When this positioning is completed, the update processing of the record 0 is executed by writing the update data of the record 0 sent after the SIO in the following step 4. Then, in step 5, by specifying the SIO search value and issuing a search command to perform search processing, the DAS
The logical position of the arm of D33 is set to the record n designated by the continuous simultaneous access instruction. Then, when this positioning is completed, in the subsequent step 6, the update data of the record n sent following the SIO is written to execute the update process of the record n, and the whole process is ended. At this time, when the continuous simultaneous access command specifies the number of processed records, the record n is continuously updated after the update processing of the record n.

【0038】一方、ステップ1で、アクセス命令が連続
同時アクセス命令でないことを判断するときには、従来
技術通りに、ステップ7に進んで、SIOのシーク値を
指定してシーク命令を発行することで、DASD33の
アームの物理的位置をそのシーク値の指す位置にセット
し、続くステップ8で、SIOのサーチ値を指定してサ
ーチ命令を発行しサーチ処理を行うことで、DASD3
3のアームの論理的位置をそのアクセス命令の指定する
レコードに位置付け、この位置付けが完了すると、続く
ステップ9で、この位置付けられたレコードのアクセス
処理を実行していく。
On the other hand, when it is determined in step 1 that the access instruction is not the continuous simultaneous access instruction, the process proceeds to step 7 as in the prior art to issue the seek instruction by designating the seek value of SIO. DASD3 is set by setting the physical position of the arm of DASD 33 to the position pointed to by the seek value, and issuing a search command by designating the search value of SIO in the subsequent step 8.
The logical position of the arm 3 is positioned at the record designated by the access instruction, and when this positioning is completed, the access processing of the positioned record is executed in the following step 9.

【0039】このようにして、この図6の処理フローを
実行することで、本発明の非同期転送型磁気ディスク制
御装置34は、図7に示すように、1回のSIOでもっ
て、アクセス命令の指定するレコードnと、そのレコー
ドnと同一トラックの先頭に位置するレコード0とを同
時にしかも同一回転内で更新できるようになる。
By executing the processing flow of FIG. 6 in this manner, the asynchronous transfer type magnetic disk control device 34 of the present invention, as shown in FIG. The designated record n and the record 0 located at the beginning of the same track as the record n can be updated simultaneously and within the same rotation.

【0040】次に、図15に示した非同期転送型磁気デ
ィスク制御装置34の備えるチャネルアダプタ1/デバ
イスアダプタ2/リソースマネージャ3/タスクコント
ロールブロック4/非同期転送用バッファ5の処理に従
って、以上の処理を更に詳細に説明する。
Next, according to the processing of the channel adapter 1 / device adapter 2 / resource manager 3 / task control block 4 / asynchronous transfer buffer 5 provided in the asynchronous transfer type magnetic disk controller 34 shown in FIG. Will be described in more detail.

【0041】チャネルアダプタ1は、ホストから連続同
時アクセス命令のSIOを受け取ると、そのSIOの持
つロケートレコードLRをタスクコントロールブロック
4に書き込む。この処理に従って、タスクコントロール
ブロック4には、連続同時アクセス命令である旨のオペ
レーション種別と、DASD33に対するシーク値/セ
ットセクタ値と、レコードnについてのサーチ値とが書
き込まれることになる。
When the channel adapter 1 receives the SIO of the continuous simultaneous access instruction from the host, it writes the locate record LR of the SIO to the task control block 4. According to this processing, the task control block 4 is written with the operation type indicating the continuous simultaneous access instruction, the seek value / set sector value for the DASD 33, and the search value for the record n.

【0042】続いて、チャネルアダプタ1は、連続同時
アクセス命令が2つのレコードの更新命令であることに
対応させて、非同期転送用バッファ5に対して、チャネ
ルアダプタ1の処理レコード数として“2”、デバイス
アダプタ2の処理レコード数として“2”を書き込む。
続いて、チャネルアダプタ1は、シーク命令の発行を指
示すべく、リソースマネージャ3に対して、デバイスア
ダプタ2に起動をかけるよう指示する。続いて、チャネ
ルアダプタ1は、SIOに続いて送られてくるレコード
0の更新データを受け取って、これを非同期転送用バッ
ファ5に書き込む。
Subsequently, the channel adapter 1 responds to the fact that the continuous simultaneous access instruction is an update instruction for two records, so that the buffer 5 for asynchronous transfer has "2" as the number of records processed by the channel adapter 1. , “2” is written as the number of processing records of the device adapter 2.
Subsequently, the channel adapter 1 instructs the resource manager 3 to activate the device adapter 2 in order to instruct the issuance of the seek instruction. Subsequently, the channel adapter 1 receives the update data of the record 0 sent after the SIO and writes it in the asynchronous transfer buffer 5.

【0043】続いて、リソースマネージャ3は、チャネ
ルアダプタ1の指示に応答してデバイスアダプタ2に起
動をかける。続いて、デバイスアダプタ2は、タスクコ
ントロールブロック4の内容を読み込んで認識し、読み
込んだシーク値を指定してシーク命令を発行して、その
発行を終了すると、リソースマネージャ3に対してその
旨を通知してアイドル状態に入る。
Subsequently, the resource manager 3 activates the device adapter 2 in response to the instruction from the channel adapter 1. Subsequently, the device adapter 2 reads and recognizes the contents of the task control block 4, issues a seek command by designating the read seek value, and when the issuance is completed, it notifies the resource manager 3 to that effect. Notify and enter the idle state.

【0044】続いて、チャネルアダプタ1は、レコード
0の更新データを非同期転送用バッファ5に書き込む
と、レコード0の更新を指示すべく、リソースマネージ
ャ3に対して、デバイスアダプタ2に起動をかけるよう
指示する。このとき、チャネルアダプタ1は、レコード
0の非同期転送用バッファ5への書き込み終了に対応さ
せて、非同期転送用バッファ5に格納されるチャネルア
ダプタ1の処理レコード数を1つデクリメントして
“1”にする。続いて、リソースマネージャ3は、チャ
ネルアダプタ1の指示に応答してデバイスアダプタ2に
起動をかける。
Next, when the channel adapter 1 writes the update data of the record 0 into the buffer 5 for asynchronous transfer, the resource manager 3 activates the device adapter 2 to instruct the update of the record 0. Give instructions. At this time, the channel adapter 1 decrements the processing record number of the channel adapter 1 stored in the asynchronous transfer buffer 5 by 1 in response to the end of writing the record 0 into the asynchronous transfer buffer 5, and decrements the number to “1”. To Subsequently, the resource manager 3 activates the device adapter 2 in response to the instruction from the channel adapter 1.

【0045】続いて、デバイスアダプタ2は、タスクコ
ントロールブロック4の内容を読み込んで認識する。そ
して、非同期転送用バッファ5に格納されるチャネルア
ダプタ1の処理レコード数と、デバイスアダプタ2の処
理レコード数とを比較して、前者が後者のものよりも小
さいことで、DASD33への書き込みが可能であるこ
とを認識すると、レコード0に位置付けるべくサーチ命
令を発行する。続いて、デバイスアダプタ2は、レコー
ド0の位置付けが終了すると、非同期転送用バッファ5
からレコード0の更新データを読み込んで、それをレコ
ード0のデータ部に書き込む。
Subsequently, the device adapter 2 reads and recognizes the contents of the task control block 4. Then, the number of processing records of the channel adapter 1 stored in the asynchronous transfer buffer 5 and the number of processing records of the device adapter 2 are compared, and the former is smaller than the latter, so that the DASD 33 can be written. When it is recognized that it is, a search command is issued to position it at record 0. Subsequently, when the positioning of the record 0 is completed, the device adapter 2 causes the asynchronous transfer buffer 5
Read the update data of record 0 from and write it in the data part of record 0.

【0046】続いて、チャネルアダプタ1は、デバイス
アダプタ2のレコード0の更新中に、レコード0の更新
データに続いて送られてくるレコードnの更新データを
受け取って、これを非同期転送用バッファ5に書き込
む。このとき、チャネルアダプタ1は、レコードnの非
同期転送用バッファ5への書き込み終了に対応させて、
非同期転送用バッファ5に格納されるチャネルアダプタ
1の処理レコード数を1つデクリメントして“0”に
し、その処理を終了すると、リソースマネージャ3に対
してその旨を通知してアイドル状態に入る。
Subsequently, the channel adapter 1 receives the update data of the record n sent after the update data of the record 0 while the record 0 of the device adapter 2 is being updated, and receives this update data of the asynchronous transfer buffer 5 Write in. At this time, the channel adapter 1 responds to the end of writing the record n into the asynchronous transfer buffer 5,
When the number of processing records of the channel adapter 1 stored in the asynchronous transfer buffer 5 is decremented to "0" and the processing is completed, the resource manager 3 is notified and the idle state is entered.

【0047】続いて、デバイスアダプタ2は、レコード
0の更新を完了すると、非同期転送用バッファ5に格納
されるデバイスアダプタ2の処理レコード数を1つデク
リメントして“1”にする。そして、タスクコントロー
ルブロック4の内容を読み込んで認識し、非同期転送用
バッファ5に格納されるチャネルアダプタ1の処理レコ
ード数と、デバイスアダプタ2の処理レコード数とを比
較して、前者が後者のものよりも小さいことで、DAS
D33への書き込みが可能であることを認識すると、今
度はレコードnに位置付けるべくサーチ命令を発行す
る。
Subsequently, when the update of the record 0 is completed, the device adapter 2 decrements the number of processing records of the device adapter 2 stored in the asynchronous transfer buffer 5 by 1 to "1". Then, the contents of the task control block 4 are read and recognized, the number of processing records of the channel adapter 1 stored in the asynchronous transfer buffer 5 is compared with the number of processing records of the device adapter 2, and the former one is the latter one. Smaller than, DAS
When it recognizes that writing to D33 is possible, it issues a search command this time to position it at record n.

【0048】続いて、デバイスアダプタ2は、レコード
nの位置付けが終了すると、非同期転送用バッファ5か
らレコードnの更新データを読み込んで、それをレコー
ドnのデータ部に書き込み、その処理を終了すると、非
同期転送用バッファ5に格納されるデバイスアダプタ2
の処理レコード数を1つデクリメントして“0”にす
る。そして、その処理を終了すると、リソースマネージ
ャ3に対してその旨を通知してアイドル状態に入る。
Subsequently, when the positioning of the record n is completed, the device adapter 2 reads the update data of the record n from the asynchronous transfer buffer 5, writes it in the data part of the record n, and when the processing is completed, Device adapter 2 stored in the asynchronous transfer buffer 5
Decrement the number of processed records by 1 to "0". Then, when the processing is completed, the resource manager 3 is notified of that fact, and the idle state is entered.

【0049】続いて、リソースマネージャ3は、処理終
了をホストに通知すべくチャネルアダプタ1を起動す
る。続いて、チャネルアダプタ1は、これを受けて、ホ
ストに処理終了を通知し、その処理を終了すると、リソ
ースマネージャ3に対してその旨を通知してアイドル状
態に入る。
Subsequently, the resource manager 3 activates the channel adapter 1 to notify the host of the end of processing. Then, the channel adapter 1 receives this and notifies the host of the end of the process. When the process is completed, the channel adapter 1 notifies the resource manager 3 of that fact and enters the idle state.

【0050】次に、図2に原理構成を図示した本発明に
ついて実施例に従って詳細に説明する。図2に原理構成
を図示した本発明は、1回のSIOでもって、複数の非
連続なレコードを続けてアクセスできる構成を提供す
る。
Next, the present invention whose principle configuration is shown in FIG. 2 will be described in detail according to an embodiment. The present invention whose principle configuration is illustrated in FIG. 2 provides a configuration in which a plurality of non-consecutive records can be successively accessed by one SIO.

【0051】この複数の非連続なレコードのアクセス処
理を実現するために、本発明では、新たに離散同時アク
セス命令を定義して、この離散同時アクセス命令を発行
するときには、SIOの持つロケートレコードLRに、
離散同時アクセス命令である旨のオペレーション種別
と、DASD33に対するシーク値(シークシリンダ、
シークヘッド)/セットセクタ値と、離散レコードグル
ープの数とを指定するよう要求するとともに、この離散
同時アクセス命令の発行に対応付けて、図8に示すよう
に、アクセス対象レコード毎のサーチ値(サーチシリン
ダ、サーチヘッド、レコードカウント値)と、そのアク
セス対象レコードから連続処理する処理レコード数とを
指定するサーチ情報を発行するよう要求する。
In order to realize the access processing of the plurality of non-consecutive records, the present invention defines a new discrete simultaneous access instruction, and when the discrete simultaneous access instruction is issued, the locate record LR of the SIO is issued. To
The operation type indicating the discrete simultaneous access instruction and the seek value for the DASD 33 (seek cylinder,
Seek head) / set sector value and the number of discrete record groups are requested, and the search value for each access target record ( (Search cylinder, search head, record count value) and the number of processing records to be continuously processed from the access target record is requested to be issued.

【0052】例えば、サーチシリンダ“0001”で、サー
チヘッド“0001”で、レコードカウント値“3”を起点
とする2個の連続するレコードと、サーチシリンダ“00
01”で、サーチヘッド“0002”で、レコードカウント値
“2”を起点とする1個のレコードとをアクセスすると
きには、図9に示すようなサーチ情報の発行を要求する
のである。
For example, the search cylinder "0001", the search head "0001", two consecutive records starting from the record count value "3", and the search cylinder "00"
When 01 "is accessed by the search head" 0002 "and one record starting from the record count value" 2 ", issuance of search information as shown in FIG. 9 is requested.

【0053】図10に、この離散同時アクセス命令が定
義されるときに実行する本発明の非同期転送型磁気ディ
スク制御装置34の処理フローの一実施例を図示する。
次に、この処理フローに従って、図2に原理構成を図示
した本発明の一実施例について詳細に説明する。
FIG. 10 shows an embodiment of the processing flow of the asynchronous transfer type magnetic disk controller 34 of the present invention executed when this discrete simultaneous access instruction is defined.
Next, one embodiment of the present invention whose principle configuration is shown in FIG. 2 will be described in detail according to this processing flow.

【0054】本発明の非同期転送型磁気ディスク制御装
置34は、CPU30からSIOを受け取ると、図10
の処理フローに示すように、先ず最初に、ステップ1
で、そのSIOのオペレーション種別から、アクセス命
令が上述の離散同時アクセス命令であるのか否かを判断
する。このステップ1で、アクセス命令が離散同時アク
セス命令であることを判断すると、ステップ2に進ん
で、SIOに続けて送られてくる図8のフォーマットを
持つサーチ情報を受け取る。
When the asynchronous transfer type magnetic disk controller 34 of the present invention receives the SIO from the CPU 30, FIG.
First, as shown in the processing flow of FIG.
Then, it is determined from the operation type of the SIO whether or not the access instruction is the above-mentioned discrete simultaneous access instruction. When it is determined in this step 1 that the access instruction is the discrete simultaneous access instruction, the process proceeds to step 2 to receive the search information having the format of FIG. 8 sent subsequently to the SIO.

【0055】続いて、ステップ3で、SIOのシーク値
を指定してシーク命令を発行することで、DASD33
のアームの物理的位置をそのシーク値の指す位置にセッ
トする。続いて、ステップ4で、SIOで通知されてき
た離散レコードグループ数分の処理を終了したのか否か
を判断して、終了を判断するときには全処理を終了す
る。一方、未終了を判断するときには、ステップ5に進
んで、受け取ったサーチ情報から前回処理を終了したサ
ーチ値に続くサーチ値を取り出す。
Then, in step 3, the seek value of SIO is designated and a seek instruction is issued, so that DASD 33 is generated.
The physical position of the arm of is set to the position indicated by the seek value. Then, in step 4, it is determined whether or not the processing for the number of discrete record groups notified by the SIO has been completed, and when it is determined that the processing has been completed, all the processing is completed. On the other hand, when it is determined that the search is not completed, the process proceeds to step 5, and the search value following the search value for which the previous processing has been completed is extracted from the received search information.

【0056】続いて、ステップ6で、ステップ5で取り
出したサーチ値を指定してサーチ命令を発行しサーチ処
理を行うことで、DASD33のアームの論理的位置を
取り出したサーチ値の指すレコードに位置付ける。そし
て、この位置付けが完了すると、続くステップ7で、そ
の位置付けたレコードと、それに続くサーチ情報の指定
する処理レコード数分のレコードのアクセス処理を実行
してからステップ4に戻る。このとき、ライトアクセス
処理であるときには、SIOに続けて送られてくる更新
データを使ってライトアクセス処理を実行することにな
る。
Subsequently, at step 6, the search value fetched at step 5 is designated and a search command is issued to carry out a search process to locate the logical position of the arm of the DASD 33 at the record pointed to by the fetched search value. . Then, when this positioning is completed, in the following step 7, the access processing of the positioned record and the records corresponding to the number of processing records designated by the subsequent search information are executed, and then the process returns to step 4. At this time, in the case of the write access process, the write access process is executed using the update data sent subsequently to the SIO.

【0057】一方、ステップ1で、アクセス命令が離散
同時アクセス命令でないことを判断するときには、従来
技術通りに、ステップ8に進んで、SIOのシーク値を
指定してシーク命令を発行することで、DASD33の
アームの物理的位置をそのシーク値の指す位置にセット
し、続くステップ9で、SIOのサーチ値を指定してサ
ーチ命令を発行しサーチ処理を行うことで、DASD3
3のアームの論理的位置をそのアクセス命令の指定する
レコードに位置付け、この位置付けが完了すると、続く
ステップ10で、この位置付けられたレコードのアクセ
ス処理を実行していく。
On the other hand, when it is determined in step 1 that the access instruction is not the discrete simultaneous access instruction, the process proceeds to step 8 as in the prior art to issue the seek instruction by designating the seek value of SIO. DASD3 is set by setting the physical position of the arm of DASD 33 to the position pointed to by the seek value, and in step 9 that follows, specifies the SIO search value and issues a search command to perform search processing.
The logical position of the arm 3 is positioned at the record designated by the access instruction, and when this positioning is completed, the access processing of the positioned record is executed in the following step 10.

【0058】このようにして、この図10の処理フロー
を実行することで、本発明の非同期転送型磁気ディスク
制御装置34は、図11に示すように、1回のSIOで
もって、複数の非連続なレコードを続けてアクセスでき
るようになる。
By executing the processing flow of FIG. 10 in this manner, the asynchronous transfer type magnetic disk control device 34 of the present invention, as shown in FIG. You will be able to access consecutive records one after another.

【0059】図8に示すサーチ情報を用いる実施例で
は、アクセス対象となるレコードの位置するトラックが
隣接しているときには高速アクセスが可能になるもの
の、トラックが離れているときには、サーチに余分な時
間がかかるという欠点がある。例えば、サーチシリンダ
“0001”/サーチヘッド“0001”のレコードnと、サー
チシリンダ“0001”/サーチヘッド“0008”のレコード
mとをアクセスする場合には、ヘッド2からヘッド8ま
での全てをサーチしてしまうことから、サーチに余分な
時間がかかるのである。
In the embodiment using the search information shown in FIG. 8, high-speed access is possible when the track where the record to be accessed is located is adjacent, but when the tracks are far apart, extra time is required for the search. There is a drawback that it costs. For example, when accessing the record n of the search cylinder “0001” / search head “0001” and the record m of the search cylinder “0001” / search head “0008”, all the heads 2 to 8 are searched. Therefore, the search takes extra time.

【0060】次に、この問題点を解決する実施例につい
て説明する。これを実現する実施例では、離散同時アク
セス命令を発行するときには、SIOの持つロケートレ
コードLRに、離散同時アクセス命令である旨のオペレ
ーション種別と、離散レコードグループの数とを指定す
るよう要求するとともに、この離散同時アクセス命令の
発行に対応付けて、図12に示すように、アクセス対象
レコード毎のシーク値(シークシリンダ、シークヘッ
ド)と、サーチ値(サーチシリンダ、サーチヘッド、レ
コードカウント値)と、そのアクセス対象レコードから
連続処理する処理レコード数とを指定するシーク・サー
チ情報を発行するよう要求する。
Next, an embodiment for solving this problem will be described. In an embodiment that realizes this, when issuing a discrete simultaneous access instruction, the locate record LR of the SIO is requested to specify the operation type indicating the discrete simultaneous access instruction and the number of discrete record groups. In association with the issuance of this discrete simultaneous access instruction, as shown in FIG. 12, a seek value (seek cylinder, seek head) and a search value (search cylinder, search head, record count value) for each access target record , And requests to issue seek search information that specifies the number of processing records to be continuously processed from the access target record.

【0061】例えば、サーチシリンダ“0001”で、サー
チヘッド“0001”で、レコードカウント値“3”を起点
とする2個の連続するレコードと、サーチシリンダ“00
01”で、サーチヘッド“0008”で、レコードカウント値
“2”を起点とする1個のレコードとをアクセスすると
きには、図13に示すようなサーチ情報の発行を要求す
るのである。
For example, the search cylinder "0001", the search head "0001", two consecutive records starting from the record count value "3", and the search cylinder "00"
When 01 "is accessed by the search head" 0008 "and one record starting from the record count value" 2 "issuance of search information as shown in FIG. 13 is requested.

【0062】図14に、この離散同時アクセス命令が定
義されるときに実行する本発明の非同期転送型磁気ディ
スク制御装置34の処理フローの一実施例を図示する。
次に、この処理フローに従って、図2に原理構成を図示
した本発明の一実施例について詳細に説明する。
FIG. 14 shows an embodiment of the processing flow of the asynchronous transfer type magnetic disk controller 34 of the present invention executed when this discrete simultaneous access instruction is defined.
Next, one embodiment of the present invention whose principle configuration is shown in FIG. 2 will be described in detail according to this processing flow.

【0063】本発明の非同期転送型磁気ディスク制御装
置34は、CPU30からSIOを受け取ると、図14
の処理フローに示すように、先ず最初に、ステップ1
で、そのSIOのオペレーション種別から、アクセス命
令が上述の離散同時アクセス命令であるのか否かを判断
する。このステップ1で、アクセス命令が離散同時アク
セス命令であることを判断すると、ステップ2に進ん
で、SIOに続けて送られてくる図12のフォーマット
を持つシーク・サーチ情報を受け取る。
When the asynchronous transfer type magnetic disk controller 34 of the present invention receives the SIO from the CPU 30, the asynchronous transfer type magnetic disk controller 34 of FIG.
First, as shown in the processing flow of FIG.
Then, it is determined from the operation type of the SIO whether or not the access instruction is the above-mentioned discrete simultaneous access instruction. If it is determined in step 1 that the access instruction is the discrete simultaneous access instruction, the process proceeds to step 2 to receive the seek search information having the format shown in FIG. 12 and sent subsequently to the SIO.

【0064】続いて、ステップ3で、SIOで通知され
てきた離散レコードグループ数分の処理を終了したのか
否かを判断して、終了を判断するときには全処理を終了
する。一方、未終了を判断するときには、ステップ4に
進んで、受け取ったシーク・サーチ情報から前回処理を
終了したエントリに続くエントリを取り出す。
Subsequently, in step 3, it is judged whether or not the processing for the number of discrete record groups notified by the SIO has been completed, and when the completion is judged, all the processing is completed. On the other hand, when it is determined that the processing has not been completed, the process proceeds to step 4, and the entry following the entry for which the previous processing has been completed is extracted from the received seek search information.

【0065】続いて、ステップ5で、ステップ4で取り
出したエントリの持つシークシリンダ値が、前回取り出
したエントリの持つシークシリンダ値と一致するのか否
かを判断して、不一致を判断するときは、DASD33
のアーム位置を移動する必要があることから、ステップ
6に進んで、取り出したエントリの持つシーク値を指定
してシーク命令を発行することで、DASD33のアー
ムの物理的位置をそのシーク値の指す位置にセットす
る。
Then, in step 5, it is judged whether or not the seek cylinder value of the entry fetched in step 4 matches the seek cylinder value of the previously fetched entry, and when it is judged that they do not match, DASD33
Since it is necessary to move the arm position of the DASD 33, the process advances to step 6 and the seek value is issued by designating the seek value of the retrieved entry to point the physical position of the arm of the DASD 33 to the seek value. Set to the position.

【0066】このステップ6の処理を終了するときと、
ステップ5でシークシリンダ値の一致を判断するときに
は、続くステップ7で、ステップ4で取り出したエント
リの持つサーチ値を指定してサーチ命令を発行しサーチ
処理を行うことで、DASD33のアームの論理的位置
を取り出したサーチ値の指すレコードに位置付ける。そ
して、この位置付けが完了すると、続くステップ8で、
その位置付けたレコードと、それに続くサーチ情報の指
定する処理レコード数分のレコードのアクセス処理を実
行してからステップ3に戻る。このとき、ライトアクセ
ス処理であるときには、SIOに続けて送られてくる更
新データを使ってライトアクセス処理を実行することに
なる。
When the process of step 6 is finished,
When it is determined in step 5 that the seek cylinder values match, in step 7 that follows, the search value held by the entry extracted in step 4 is specified and a search command is issued to perform a search process, thereby logically determining the arm of the DASD 33. Position the record at the record pointed to by the search value. Then, when this positioning is completed, in the following step 8,
After performing the access processing of the positioned record and the records corresponding to the number of processing records designated by the subsequent search information, the process returns to step 3. At this time, in the case of the write access process, the write access process is executed using the update data sent subsequently to the SIO.

【0067】一方、ステップ1で、アクセス命令が離散
同時アクセス命令でないことを判断するときには、従来
技術通りに、ステップ9に進んで、SIOのシーク値を
指定してシーク命令を発行することで、DASD33の
アームの物理的位置をそのシーク値の指す位置にセット
し、続くステップ10で、SIOのサーチ値を指定して
サーチ命令を発行しサーチ処理を行うことで、DASD
33のアームの論理的位置をそのアクセス命令の指定す
るレコードに位置付け、この位置付けが完了すると、続
くステップ11で、この位置付けられたレコードのアク
セス処理を実行していく。
On the other hand, when it is determined in step 1 that the access instruction is not the discrete simultaneous access instruction, the process proceeds to step 9 as in the prior art to issue the seek instruction by designating the seek value of SIO. The physical position of the arm of the DASD 33 is set to the position pointed to by the seek value, and in the subsequent step 10, the search value of the SIO is designated and a search command is issued to perform the search process, thereby DASD 33
The logical position of the arm of 33 is positioned at the record designated by the access instruction, and when this positioning is completed, the access processing of the positioned record is executed in the following step 11.

【0068】このようにして、この図14の処理フロー
を実行することで、本発明の非同期転送型磁気ディスク
制御装置34は、1回のSIOでもって、複数の非連続
なレコードを続けてアクセスできるようになるととも
に、それらのレコードのトラックが離れているときにも
高速にアクセスできるようになる。
By thus executing the processing flow of FIG. 14, the asynchronous transfer type magnetic disk controller 34 of the present invention successively accesses a plurality of non-consecutive records with one SIO. This will allow you to access them faster even when the tracks on those records are far apart.

【0069】図示実施例について説明したが、本発明は
これに限定されるものではない。例えば、実施例では、
非同期転送型磁気ディスク制御装置への適用に従って本
発明を開示したが、本発明はこれに限られるものではな
い。
Although the illustrated embodiment has been described, the present invention is not limited to this. For example, in the example,
Although the present invention has been disclosed according to the application to the asynchronous transfer type magnetic disk control device, the present invention is not limited to this.

【0070】[0070]

【発明の効果】以上説明したように、本発明によれば、
ディスクのレコードをアクセスするときにあって、1回
のSIOでもって、同一トラックに位置する2つの非連
続なレコードを続けてアクセスできるようになり、ま
た、1回のSIOでもって、複数の非連続なレコードを
続けてアクセスできるようになることから、レコードを
高速にアクセスできるようになる。
As described above, according to the present invention,
When accessing a record on the disk, it becomes possible to access two non-consecutive records located on the same track in succession with one SIO, and with one SIO, multiple non-sequential records can be accessed. Since the continuous records can be continuously accessed, the records can be accessed at high speed.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】計算機システムのシステム構成図である。FIG. 3 is a system configuration diagram of a computer system.

【図4】本発明の実現するアクセス処理の説明図であ
る。
FIG. 4 is an explanatory diagram of an access process realized by the present invention.

【図5】連続同時アクセス命令のロケートレコードの一
実施例である。
FIG. 5 is an example of a locate record of consecutive simultaneous access instructions.

【図6】本発明の実行する処理フローの一実施例であ
る。
FIG. 6 is an example of a processing flow executed by the present invention.

【図7】本発明の処理のタイムチャートである。FIG. 7 is a time chart of the processing of the present invention.

【図8】離散同時アクセス命令に対応付けられて発行さ
れるサーチ情報の一実施例である。
FIG. 8 is an example of search information issued in association with a discrete simultaneous access instruction.

【図9】サーチ情報の説明図である。FIG. 9 is an explanatory diagram of search information.

【図10】本発明の実行する処理フローの一実施例であ
る。
FIG. 10 is an example of a processing flow executed by the present invention.

【図11】本発明の処理のタイムチャートである。FIG. 11 is a time chart of the processing of the present invention.

【図12】離散同時アクセス命令に対応付けて発行され
るシーク・サーチ情報の一実施例である。
FIG. 12 is an example of seek search information issued in association with a discrete simultaneous access instruction.

【図13】シーク・サーチ情報の説明図である。FIG. 13 is an explanatory diagram of seek search information.

【図14】本発明の実行する処理フローの一実施例であ
る。
FIG. 14 is an example of a processing flow executed by the present invention.

【図15】非同期転送型磁気ディスク制御装置の装置構
成図である。
FIG. 15 is a device configuration diagram of an asynchronous transfer type magnetic disk control device.

【図16】従来技術の説明図である。FIG. 16 is an explanatory diagram of a conventional technique.

【図17】従来技術の説明図である。FIG. 17 is an explanatory diagram of a conventional technique.

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

10 ディスク制御装置 11 ホスト 12 ディスク 20 受信手段 21 判断手段 22 シーク命令発行手段 23 サーチ実行手段 24 アクセス実行手段 25 制御手段 230 第1のサーチ実行手段 231 第2のサーチ実行手段 DESCRIPTION OF SYMBOLS 10 disk control device 11 host 12 disk 20 receiving means 21 judging means 22 seek command issuing means 23 search executing means 24 access executing means 25 control means 230 first search executing means 231 second search executing means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 秀夫 神奈川県横浜市港北区新横浜2丁目4番19 号 株式会社富士通プログラム技研内 (72)発明者 菅原 広美 神奈川県横浜市港北区新横浜2丁目4番19 号 株式会社富士通プログラム技研内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hideo Takahashi 2-4-19 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Fujitsu Program Giken Co., Ltd. (72) Hiromi Sugawara 2-chome, Shin-Yokohama, Kohoku-ku, Yokohama, Kanagawa No. 19 Fujitsu Program Giken Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ディスクのアクセス制御を実行するディ
スク制御装置において、 受け取ったアクセス命令が、レコードを指定して発行さ
れる連続同時アクセス命令であるのか否かを判断する判
断手段(21)を備え、 上記判断手段(21)が連続同時アクセス命令であることを
判断するときには、該連続同時アクセス命令の指定する
レコードと、該レコードと同一トラックに位置する特定
のレコードとを続けてアクセスしていくよう制御するこ
とを、 特徴とするディスク制御装置。
1. A disk control device for executing disk access control, comprising judgment means (21) for judging whether or not the received access command is a continuous simultaneous access command issued by designating a record. When the judging means (21) judges that it is a continuous simultaneous access instruction, the record designated by the continuous simultaneous access instruction and a specific record located on the same track as the record are successively accessed. A disk control device characterized by being controlled as follows.
【請求項2】 請求項1記載のディスク制御装置におい
て、 特定レコードが、トラックの先頭に位置して、該トラッ
クに位置する全レコードの制御情報を管理するレコード
であり、 かつ、上記特定レコードに続いて、連続同時アクセス命
令の指定するレコードをアクセスしていくよう制御する
ことを、 特徴とするディスク制御装置。
2. The disk control device according to claim 1, wherein the specific record is located at the head of a track and manages control information of all the records located on the track, and the specific record is included in the specific record. Then, the disk control device is characterized by controlling to access the record designated by the continuous simultaneous access command.
【請求項3】 請求項1又は2記載のディスク制御装置
において、 連続同時アクセス命令の指定するレコードに続けて、該
連続同時アクセス命令で指定する処理レコード数分のレ
コードを連続的にアクセスしていくよう制御すること
を、 特徴とするディスク制御装置。
3. The disk control device according to claim 1 or 2, wherein the records specified by the continuous simultaneous access instruction are successively accessed, and records for the number of processing records specified by the continuous simultaneous access instruction are continuously accessed. A disk control device characterized in that it is controlled to move.
【請求項4】 ディスクのアクセス制御を実行するディ
スク制御装置において、 受け取ったアクセス命令が、複数の非連続なレコードを
指定するサーチ情報を伴って発行される離散同時アクセ
ス命令であるのか否かを判断する判断手段(21)を備え、 上記判断手段(21)が離散同時アクセス命令であることを
判断するときには、上記サーチ情報の指定する複数の非
連続なレコードを続けてアクセスしていくよう制御する
ことを、特徴とするディスク制御装置。
4. A disk controller for executing disk access control, wherein whether the received access command is a discrete simultaneous access command issued together with search information designating a plurality of non-consecutive records. A judgment means (21) for judging is provided, and when the judgment means (21) judges that it is a discrete simultaneous access instruction, it controls so as to successively access a plurality of non-consecutive records designated by the search information. A disk control device characterized by:
【請求項5】 請求項4記載のディスク制御装置におい
て、サーチ情報が、各レコードに対応付けて、該レコー
ドのアクセスに必要となるシーク値を指定する構成を採
り、 かつ、上記シーク値に従って必要に応じてシーク命令を
発行しつつ、サーチ情報の指定する複数の非連続なレコ
ードを続けてアクセスしていくよう制御することを、 特徴とするディスク制御装置。
5. The disk control device according to claim 4, wherein the search information is associated with each record and specifies a seek value required for accessing the record, and is required according to the seek value. The disk control device is characterized in that the seek command is issued in response to the request, and the non-consecutive records designated by the search information are continuously accessed.
【請求項6】 請求項4又は5記載のディスク制御装置
において、 サーチ情報が、各レコードに対応付けて、処理レコード
数を指定する構成を採り、 かつ、サーチ情報の指定するレコードに続けて、該レコ
ードに連続する上記処理レコード数分のレコードを連続
的にアクセスしていくよう制御することを、特徴とする
ディスク制御装置。
6. The disk control device according to claim 4 or 5, wherein the search information is associated with each record, and the number of processing records is designated, and the record designated by the search information is continued. A disk control device, which controls to continuously access the records of the number of the processing records that are continuous to the record.
JP06246794A 1994-03-31 1994-03-31 Disk controller Expired - Fee Related JP3524954B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06246794A JP3524954B2 (en) 1994-03-31 1994-03-31 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06246794A JP3524954B2 (en) 1994-03-31 1994-03-31 Disk controller

Publications (2)

Publication Number Publication Date
JPH07271519A true JPH07271519A (en) 1995-10-20
JP3524954B2 JP3524954B2 (en) 2004-05-10

Family

ID=13201045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06246794A Expired - Fee Related JP3524954B2 (en) 1994-03-31 1994-03-31 Disk controller

Country Status (1)

Country Link
JP (1) JP3524954B2 (en)

Also Published As

Publication number Publication date
JP3524954B2 (en) 2004-05-10

Similar Documents

Publication Publication Date Title
US6374327B2 (en) Method of data migration
US5937427A (en) Information recording apparatus and method capable of efficient erase, write and verify processes
JPH06289999A (en) Disk control system
JPH1063578A (en) Information recording and reproducing device
JPH07225715A (en) Method and system for accessing data in cache
JPH10149260A (en) Reading cache system for disk drive
JP2001125829A (en) Controller device, disk controller, auxiliary storage device, computer system and auxiliary storage device control method
US5875453A (en) Apparatus for and method of information processing
JP3524954B2 (en) Disk controller
JP3122702B2 (en) Disk device write-back control method
JP2001022614A5 (en)
JP2001022614A (en) Hierarchical storage system
JPH05289818A (en) Disk array control system
JPH1027069A (en) Storage device
JP2544039B2 (en) Disk drive parallel operation method
JP2561394B2 (en) I / O control method
JPH09128291A (en) Cache memory managing method
JPH05257609A (en) Method for continuous writing process of disk device
JPH04225444A (en) Data buffer read/write control system
JPH11224165A (en) Disk device
JP3089683B2 (en) Information processing device
JPH04270432A (en) Disk cache control system
JPS6286425A (en) Magnetic disc control device
JPH0683542A (en) Control method for floppy disk controller
JPH0567022A (en) High speed data access system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040105

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040210

A61 First payment of annual fees (during grant procedure)

Effective date: 20040216

Free format text: JAPANESE INTERMEDIATE CODE: A61

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20100220

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20110220

LAPS Cancellation because of no payment of annual fees