JPH07210321A - Disk controller - Google Patents
Disk controllerInfo
- Publication number
- JPH07210321A JPH07210321A JP730894A JP730894A JPH07210321A JP H07210321 A JPH07210321 A JP H07210321A JP 730894 A JP730894 A JP 730894A JP 730894 A JP730894 A JP 730894A JP H07210321 A JPH07210321 A JP H07210321A
- Authority
- JP
- Japan
- Prior art keywords
- command
- memory
- read
- data
- disk
- 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.)
- Withdrawn
Links
Abstract
(57)【要約】
【目的】 ディスク制御装置に関し、データ転送速度向
上のため回転待ちを解消することを目的とする。
【構成】 CKDーEXコマンドにより、ディスク装置
4からレコードを読出してメモリ25に格納し、メモリ
25から読出したデータを上位装置23に転送するディ
スク制御装置3において、DXコマンドが指示するLR
コマンドの発行回数に基づき、予めLRコマンドが指定
し得る最大レコード数の発行回数倍のレコード数をディ
スク装置4から読出してメモリ25に格納すると共に、
RDコマンドによってメモリ25から読出したデータを
上位装置23に転送する制御手段24を設け、ディスク
装置4からメモリ25に対するデータ転送は、2回目以
後のLRコマンドの解析とは無関係に連続して実行し、
メモリ25から上位装置23に対するデータ転送は、全
てのLRコマンドの解析を行って、指定された範囲のデ
ータを抽出して実行するように構成する。
(57) [Abstract] [Purpose] The purpose of the disk controller is to eliminate the waiting for rotation in order to improve the data transfer rate. [Arrangement] In the disk control device 3 that reads a record from the disk device 4 and stores it in the memory 25 by the CKD-EX command, and transfers the data read from the memory 25 to the host device 23, the LR specified by the DX command.
Based on the number of times the command is issued, the number of records that is twice the number of times the maximum number of records that can be designated by the LR command is read from the disk device 4 and stored in the memory 25.
A control means 24 for transferring the data read from the memory 25 to the higher-level device 23 by the RD command is provided, and the data transfer from the disk device 4 to the memory 25 is continuously executed regardless of the analysis of the LR command after the second time. ,
The data transfer from the memory 25 to the host device 23 is configured to analyze all LR commands and extract and execute the data in the designated range.
Description
【0001】[0001]
【産業上の利用分野】本発明はディスク制御装置に係
り、特に上位装置との間のデータ転送速度を向上させる
ことを可能とするディスク制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control device, and more particularly to a disk control device capable of improving a data transfer rate with a host device.
【0002】磁気ディスク装置に求められる性能を向上
させる重要な要因の一つとして、上位装置との間のデー
タ転送速度をいかに高速化するかということがある。磁
気ディスク装置の中で、データ転送速度の高速化を妨げ
る原因となっているものは、ヘッドを目的トラックに位
置付けするためのシーク動作や、ヘッドを目的セクタに
位置付けするための回転待ち等の機械系動作である。One of the important factors for improving the performance required of a magnetic disk device is how to increase the data transfer rate with a host device. Among the magnetic disk devices, the factors that hinder the increase in the data transfer speed are the seek operation for positioning the head on the target track and the machine such as rotation waiting for positioning the head on the target sector. It is a system operation.
【0003】このため、磁気ディスク装置のデータ転送
速度を高速化するための一つの手段として、前記ディス
クの回転待ちを減らすことが挙げられる。従って、この
回転待ちを発生させないようにして、磁気ディスク装置
に対するアクセスを高速化させ、データ転送速度を向上
させることが望まれている。Therefore, as one means for increasing the data transfer rate of the magnetic disk device, there is a reduction in the waiting time for the disk to rotate. Therefore, it is desired to speed up the access to the magnetic disk device and improve the data transfer speed without generating the waiting for rotation.
【0004】[0004]
【従来の技術】図8はCCWの一例を説明する図であ
る。チャネルから磁気ディスク制御装置に対し、例え
ば、CKDーEX(カウント・キー・データの拡張形)
コマンドセットにより、非同期のデータ読出しを指示す
る場合、読出すレコード数が1の時は、図8(A) に示す
如きCCW(チャネルコマンド語)が送出される。2. Description of the Related Art FIG. 8 is a diagram for explaining an example of CCW. From channel to magnetic disk controller, for example, CKD-EX (extended form of count key data)
When an asynchronous data read is instructed by the command set and the number of records to be read is 1, CCW (channel command word) as shown in FIG. 8A is transmitted.
【0005】即ち、DXコマンド(このコマンドに続く
コマンドの使用条件を通知する)と、このDXコマンド
に続いてLRコマンド(このコマンドに続くコマンドの
動作規定、ヘッドを位置付けするシークアドレス、この
CCWでの処理レコード数等を通知する)と、このLR
コマンドに続いてRDコマンド(ヘッドが位置付けされ
たレコードのデータ部の読出しを指示する)が1回送出
される。That is, a DX command (notifying the use condition of a command following this command) and an LR command following this DX command (operation regulation of the command following this command, seek address for positioning the head, this CCW) Notification of the number of processed records etc.) and this LR
Following the command, an RD command (instructing to read the data portion of the record in which the head is positioned) is sent once.
【0006】又、例えば、読出させるレコード数が25
6の時は、図8(B) に示す如きCCWが送出される。即
ち、DXコマンドと、このDXコマンドに続いてLRコ
マンドと、このLRコマンドに続いてRDコマンドが2
55回送出され、続いて再びLRコマンドと、このLR
コマンドに続いてRDコマンドが1回送出される。Further, for example, the number of records to be read is 25.
When it is 6, CCW as shown in FIG. 8 (B) is transmitted. That is, the DX command, the LR command following this DX command, and the RD command following this LR command are 2
55 times, then again LR command and this LR
The RD command is sent once after the command.
【0007】[0007]
【発明が解決しようとする課題】上記の如く、従来のC
KDーEXコマンドセットによるレコードの読出しで
は、一つのLRコマンドにより読出しを指示し得るレコ
ード数に限度があり、例えば、読出すレコード数が25
5(例えば1トラックに記録し得るレコード数)を越え
る場合には、図8(B) に示す如く、一つのLRコマンド
では全てのレコードの読出しが指示出来ず、再度LRコ
マンドを出し直す必要がある。As described above, the conventional C
When reading records by the KD-EX command set, the number of records that can be instructed to be read by one LR command is limited. For example, the number of records to be read is 25.
When the number of records exceeds 5 (for example, the number of records that can be recorded in one track), as shown in FIG. 8B, one LR command cannot instruct to read all the records, and it is necessary to reissue the LR command. is there.
【0008】しかしながら、チャネルが再度LRコマン
ドの出し直しをしていると、磁気ディスク制御装置が、
このLRコマンドを解析し終わるまでの間に、磁気ディ
スク装置のヘッドが目的レコード〔図8(B) の場合、2
56番目のレコードの位置〕を通り過ぎてしまうため、
ディスクの回転待ちが発生し、磁気ディスク装置のデー
タ転送速度を低下させるという問題がある。However, if the channel reissues the LR command again, the magnetic disk controller will
By the time the analysis of this LR command is completed, the head of the magnetic disk device records the target record [2 in the case of FIG.
Position of the 56th record]
There is a problem that a disk rotation wait occurs and the data transfer rate of the magnetic disk device decreases.
【0009】本発明はこのような問題点に鑑み、磁気デ
ィスク装置からデータを読出す際に、ディスクの回転待
ちを発生させないようにすることで、磁気ディスク装置
のデータ転送速度を向上させることを目的としている。In view of such a problem, the present invention aims to improve the data transfer rate of the magnetic disk device by preventing the disk from waiting for rotation when reading data from the magnetic disk device. Has an aim.
【0010】[0010]
【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。ディスク制御装置3は、上位
装置23が送出するCKDーEXコマンドセットを受信
して、ディスク装置4から複数のトラックに跨がって連
続する複数のレコードを読出してメモリ25に格納する
と共に、このメモリ25から読出したデータを非同期で
前記上位装置23に転送する。FIG. 1 is a block diagram for explaining the principle of the present invention. The disk control device 3 receives the CKD-EX command set sent from the host device 23, reads a plurality of continuous records from the disk device 4 over a plurality of tracks, stores them in the memory 25, and The data read from the memory 25 is asynchronously transferred to the host device 23.
【0011】そして、一つのDXコマンドのパラメータ
に追加された実行すべき動作モード及び前記CKDーE
Xコマンドセット内でチェインするLRコマンドの数に
基づき、予め前記LRコマンドの発行回数を認識して、
このLRコマンドが指定し得る最大レコード数の前記発
行回数倍のレコード数を前記ディスク装置4から読出し
て前記メモリ25に順次格納すると共に、RDコマンド
によって前記メモリ25から読出したデータを前記上位
装置23に順次転送する制御手段24を設けている。The operation mode to be executed added to the parameter of one DX command and the CKD-E
Based on the number of LR commands chained in the X command set, the number of times the LR command is issued is recognized in advance,
The number of records that is equal to the maximum number of records that can be designated by the LR command is read from the disk device 4 and sequentially stored in the memory 25, and the data read from the memory 25 by the RD command is stored in the upper device 23. There is provided a control means 24 for sequentially transferring to.
【0012】そして、前記ディスク装置4から前記メモ
リ25に対するデータ転送は、2回目以後のLRコマン
ドの解析とは無関係に連続して実行し、前記メモリ25
から前記上位装置23に対するデータ転送は、全てのL
Rコマンドの解析を行うことにより、指定された範囲の
データを抽出して実行する。Data transfer from the disk device 4 to the memory 25 is continuously executed regardless of the analysis of the LR command from the second time onward, and the data is transferred to the memory 25.
Data transfer from the host device 23 to
By analyzing the R command, the data in the specified range is extracted and executed.
【0013】又、前記ディスク制御装置3は、前記CK
DーEXコマンドセットの発行前に送出される第1のC
CWにより指定されたトラックの範囲に基づき、予め必
要とするメモリ領域26を前記メモリ25上に確保し
て、前記ディスク装置4から指定された範囲内のトラッ
クのレコードを順次読出して格納すると共に、前記CK
DーEXコマンドセットによって指定されるレコード内
のデータを、前記確保したメモリ領域26から読出して
前記上位装置23に順次転送し、前記CKDーEXコマ
ンドセットに続いて送出される第2のCCWによって前
記確保したメモリ領域26の開放を行う制御手段24を
設けている。Further, the disk control device 3 uses the CK
First C sent before issuing D-EX command set
A memory area 26 required in advance is secured in the memory 25 based on the range of tracks specified by CW, and the records of tracks within the specified range are sequentially read from the disk device 4 and stored. CK
The data in the record designated by the D-EX command set is read from the secured memory area 26 and sequentially transferred to the higher-level device 23, and by the second CCW sent following the CKD-EX command set. A control means 24 for opening the secured memory area 26 is provided.
【0014】そして、前記ディスク装置4から前記メモ
リ領域26に対するデータ転送は、前記第1のCCWに
よって指定された範囲内のトラックの各レコードに対し
順次連続して実行し、前記メモリ領域26から前記上位
装置23に対するデータ転送は、前記CKDーEXコマ
ンドセットに基づき実行した後、続いて送出される前記
第2のCCWによって前記確保したメモリ領域26の開
放を行う。Then, the data transfer from the disk device 4 to the memory area 26 is sequentially and successively executed for each record of the tracks within the range specified by the first CCW, and the data transfer from the memory area 26 to the memory area 26 is performed. Data transfer to the host device 23 is executed based on the CKD-EX command set, and then the reserved memory area 26 is released by the second CCW that is subsequently transmitted.
【0015】又、前記ディスク制御装置3は、前記CK
DーEXコマンドセットの発行前に送出されるCCWに
より指定されたトラックの範囲に基づき、予め必要とす
るメモリ領域26を前記メモリ25上に確保して前記デ
ィスク装置4から前記指定された範囲内のトラックのレ
コードを順次読出して格納すると共に、前記CKDーE
Xコマンドセットによって指定されるレコード内のデー
タを、前記確保したメモリ領域26から読出して前記上
位装置23に順次転送した後、この確保したメモリ領域
26の開放を行う制御手段24を設けている。Further, the disk control device 3 uses the CK
Based on the range of the track specified by the CCW sent before the D-EX command set is issued, a memory area 26 required beforehand is secured in the memory 25 and the disk device 4 within the specified range. The records of the tracks are sequentially read and stored, and at the same time, the CKD-E
The control means 24 is provided for reading the data in the record designated by the X command set from the secured memory area 26 and sequentially transferring it to the host device 23, and then releasing the secured memory area 26.
【0016】そして、前記ディスク装置4から前記メモ
リ領域26に対するデータ転送は、前記CCWによって
指定された範囲内のトラックの各レコードに対し順次連
続して実行し、前記メモリ領域26から前記上位装置2
3に対するデータ転送は、前記CKDーEXコマンドセ
ットに基づき実行した後、前記確保したメモリ領域26
の開放を行う。Then, the data transfer from the disk device 4 to the memory area 26 is successively and successively executed for each record of the tracks within the range designated by the CCW, and the data transfer from the memory area 26 to the host device 2 is performed.
The data transfer to the memory 3 is performed based on the CKD-EX command set, and then the secured memory area 26
Open up.
【0017】[0017]
【作用】上記の如く構成することにより、ディスク装置
4からメモリ25又はメモリ領域26に対するデータ転
送は、必要とするレコード数の読出しが連続して実行さ
れるため、LRコマンドの出し直しがあっても、ディス
クの回転待ちは発生しない。With the above-described structure, the data transfer from the disk device 4 to the memory 25 or the memory area 26 is performed by continuously reading the required number of records, and therefore the LR command may be reissued. However, waiting for the disk to rotate does not occur.
【0018】そして、メモリ25又はメモリ領域26か
ら上位装置23に対するデータ転送は、LRコマンドを
制御手段24が解析する時間だけ中断されるが、この時
間はディスクの回転待ち時間に比し短く、次に転送する
データはメモリ25又はメモリ領域26に格納されてい
るため、直ちに読出して転送することが可能であり、従
来よりディスク装置のデータ転送速度を向上させること
が出来る。Then, the data transfer from the memory 25 or the memory area 26 to the host device 23 is interrupted for the time during which the control means 24 analyzes the LR command, but this time is shorter than the rotation waiting time of the disk. Since the data to be transferred to the disk is stored in the memory 25 or the memory area 26, it can be immediately read and transferred, and the data transfer speed of the disk device can be improved as compared with the conventional case.
【0019】又、メモリ領域26をキャッシュメモリと
して利用するような場合、上位装置23からの指示が無
ければ消去されないようにすることが出来る。又更に、
メモリ25上に確保したメモリ領域26を消去するため
の新たなCCW発行を不要とすることも出来る。When the memory area 26 is used as a cache memory, it can be prevented from being erased without an instruction from the host device 23. Furthermore,
It is also possible to eliminate the need to issue a new CCW for erasing the memory area 26 secured on the memory 25.
【0020】[0020]
【実施例】図2は本発明の一実施例を示す回路のブロッ
ク図で、図3は各機能単位の詳細ブロック図である。2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a detailed block diagram of each functional unit.
【0021】ディスク制御装置3は、複数の機能単位で
構成されており、チャネルアダプタ6と7は、図3(A)
に示す如き構成で、プロセッサ16は制御記憶17に格
納されたプログラムを読出して動作し、インタフェース
回路14を経て、チャネル1又は2からのスタートI/
O命令と共に送出されるCCWの受領と、チャネル1又
は2との間のデータ転送を行うと共に、共通バス制御回
路15を制御して、共通バス12を経て他の機能単位と
の間のデータ転送を行う。The disk controller 3 is composed of a plurality of functional units, and the channel adapters 6 and 7 are shown in FIG.
With the configuration as shown in FIG. 1, the processor 16 reads the program stored in the control memory 17 to operate, and the start I / O from the channel 1 or 2 via the interface circuit 14.
The CCW sent together with the O command is received and the data is transferred between the channel 1 and the channel 2, and the common bus control circuit 15 is controlled to transfer the data between the functional units via the common bus 12. I do.
【0022】デバイスアダプタ8と9は、図3(A) に示
す如き構成で、プロセッサ16は制御記憶17に格納さ
れたプログラムを読出して動作し、インタフェース回路
14を経て、ディスク装置4又は5に命令を送出し、デ
ィスク装置4又は5との間のデータ転送を行うと共に、
共通バス制御回路15を制御して、共通バス12を経て
他の機能単位との間のデータ転送を行う。The device adapters 8 and 9 have a structure as shown in FIG. 3A, and the processor 16 reads the program stored in the control memory 17 to operate, and the processor 16 reads the program from the disk device 4 or 5 via the interface circuit 14. Command is sent and data is transferred to and from the disk device 4 or 5, and
The common bus control circuit 15 is controlled to transfer data with other functional units via the common bus 12.
【0023】リソースマネージャ10は、図3(B) に示
す如き構成で、プロセッサ19は制御記憶18に格納さ
れているプログラムを読出して動作し、共通バス制御回
路20を制御して共通バス12を経由し、チャネル1又
は2からの総てのCCWを受領してRAM21に格納
し、このCCWを集中管理すると共に、各スタートI/
O命令毎に、チャネルアダプタ6又は7と、デバイスア
ダプタ8又は9にデータ転送処理の指示を行う。The resource manager 10 has a configuration as shown in FIG. 3B, and the processor 19 operates by reading the program stored in the control memory 18, and controls the common bus control circuit 20 to operate the common bus 12. All the CCWs from the channel 1 or 2 are received and stored in the RAM 21 via the centralized management of this CCW and each start I /
The data transfer processing instruction is given to the channel adapter 6 or 7 and the device adapter 8 or 9 for each O instruction.
【0024】又、受領した全スタートI/O命令毎の制
御情報や、チャネル経路毎の制御情報、ディスク装置4
及び5の制御情報をRAM21に格納し、他の機能単位
がRAMアクセス制御回路22を経て、このRAM21
をアクセスし、上記情報を読出すことを可能として、こ
の情報を集中管理する。The control information for each received start I / O command, the control information for each channel path, and the disk device 4
And the control information of 5 are stored in the RAM 21, and other functional units pass through the RAM access control circuit 22 and
Can be accessed and the above information can be read, and this information is centrally managed.
【0025】次にDXコマンドのパラメータにLRコマ
ンドの発行回数が指定されている場合の動作を説明す
る。例えば、チャネル1がチャネルアダプタ6にスター
トI/O命令を送出すると共に、DXコマンドを送出す
ると、チャネルアダプタ6のプロセッサ16は、このD
Xコマンドを解析する。Next, the operation when the number of times the LR command is issued is specified as the parameter of the DX command will be described. For example, when the channel 1 sends a start I / O command to the channel adapter 6 and sends a DX command, the processor 16 of the channel adapter 6 sends this D
Parse the X command.
【0026】このDXコマンドのパラメータには、デー
タの読出しを指示していると共に、LRコマンドの発行
回数が指示されている。即ち、図8(B) に示す如く、例
えば一つのLRコマンドが指定し得る最大レコード数が
255で、チャネル1が指定する読出すレコード数が2
56であるとすれば、LRコマンドの出し直しが1回あ
ることを示している。The parameter of this DX command indicates the reading of data and the number of times the LR command is issued. That is, as shown in FIG. 8B, for example, the maximum number of records that can be designated by one LR command is 255, and the number of records to be read designated by channel 1 is 2.
If it is 56, it means that the LR command is reissued once.
【0027】従って、チャネルアダプタ6は、LRコマ
ンドの出し直しが1回あるため、共用メモリ11にディ
スク装置から読出すレコード数は、255×2=510
であることを認識する。Therefore, since the channel adapter 6 has to reissue the LR command once, the number of records read from the disk device to the shared memory 11 is 255 × 2 = 510.
Recognize that.
【0028】チャネルアダプタ6は、続いてチャネル1
が送出するLRコマンドを解析して、ディスク装置4か
らのデータ読出しであること、レコード単位の処理であ
ること、読出す最初のレコード位置及びこのLRコマン
ドでチャネル1に転送するレコード数(255)を認識
する。The channel adapter 6 continues to the channel 1
Parses the LR command sent from the disk device 4 to read data from the disk device 4, record-based processing, the first record position to be read, and the number of records to be transferred to the channel 1 by this LR command (255) Recognize.
【0029】ここで、チャネルアダプタ6は、リソース
マネージャ10から共通バス12の使用権を得ると、共
通バス12を経てリソースマネージャ10のRAM21
に、DXコマンドとLRコマンドを解析して得た結果、
即ち、ディスク装置4の機番と、アクセス開始位置、即
ち、シリンダアドレスとヘッドアドレスとレコードアド
レスと、ディスク装置4から共用メモリ11に転送すべ
きレコード数(510)を格納する。Here, when the channel adapter 6 obtains the right to use the common bus 12 from the resource manager 10, the RAM 21 of the resource manager 10 passes through the common bus 12.
As a result of analyzing the DX command and the LR command,
That is, the machine number of the disk device 4, the access start position, that is, the cylinder address, the head address, the record address, and the number of records (510) to be transferred from the disk device 4 to the shared memory 11 are stored.
【0030】従って、リソースマネージャ10は、デバ
イスアダプタ8のプロセッサ16にデータの読出しを指
示し、デバイスアダプタ8はリソースマネージャ10の
RAM21からシリンダアドレスとヘッドアドレスとレ
コードアドレスと処理すべきレコード数を読出すと、デ
ィスク装置4を制御して、指定されたヘッドを指定され
たレコードに位置付けさせると、指定されたレコード数
(510)のレコードを順次読出して共用メモリ11に
書込む。Therefore, the resource manager 10 instructs the processor 16 of the device adapter 8 to read the data, and the device adapter 8 reads the cylinder address, the head address, the record address and the number of records to be processed from the RAM 21 of the resource manager 10. Then, the disk device 4 is controlled to position the designated head at the designated record, and the designated number of records (510) are sequentially read and written in the shared memory 11.
【0031】リソースマネージャ10は、共用メモリ1
1にデバイスアダプタ8がレコードの書込みを開始する
と、チャネルアダプタ6にデータ転送開始を指示する。
従って、チャネルアダプタ6は、デバイスアダプタ8が
共用メモリ11にレコードの書込みを行う処理に並行し
て、チャネル1が送出するRDコマンドを受信する度
に、共用メモリ11に格納された指定された先頭レコー
ドから順次レコード内のデータ部に記録されているデー
タを読出すと、チャネル1に転送する。The resource manager 10 uses the shared memory 1
When the device adapter 8 starts writing a record to 1, the channel adapter 6 is instructed to start data transfer.
Therefore, the channel adapter 6 receives the RD command sent from the channel 1 in parallel with the process in which the device adapter 8 writes the record in the shared memory 11, and the designated head stored in the shared memory 11 is received. When the data recorded in the data portion of the record is sequentially read from the record, it is transferred to the channel 1.
【0032】チャネルアダプタ6は、最初に受信したL
Rコマンドによって指定されたレコード数(255)の
チャネル1に対するデータ転送が完了すると、チャネル
1から次のLRコマンドが送出されるため、この次に送
出されたLRコマンドの解析を行う。The channel adapter 6 receives the first received L
When the data transfer to the channel 1 having the number of records (255) designated by the R command is completed, the next LR command is sent from the channel 1, so that the LR command sent next is analyzed.
【0033】従って、データ転送が一時中断されるが、
この間もデバイスアダプタ8はディスク装置4からレコ
ードを読出して、共用メモリ11に書込む動作を継続し
ている。Therefore, although the data transfer is suspended,
During this time, the device adapter 8 continues the operation of reading the record from the disk device 4 and writing it in the shared memory 11.
【0034】即ち、リソースマネージャ10のRAM2
1から読出したレコード数(510)のレコードの共用
メモリ11への書込みが完了するか、チャネルアダプタ
6からのデータ転送完了を通知されるまで、デバイスア
ダプタ8のレコード書込み処理は連続して実行される。That is, the RAM 2 of the resource manager 10
The record write processing of the device adapter 8 is continuously executed until the writing of the number of records (510) read from 1 to the shared memory 11 is completed or the data transfer completion is notified from the channel adapter 6. It
【0035】チャネルアダプタ6のLRコマンド解析処
理時間は短く、前記の如く、デバイスアダプタ8の共用
メモリ11に対する書込み動作には、ディスクの回転待
ちが発生しないため、LRコマンドの解析時間が経過す
ると、直ちに、このLRコマンドで指定されたレコード
数のチャネル1に対するチャネルアダプタ6のデータ転
送が開始される。The LR command analysis processing time of the channel adapter 6 is short, and as described above, in the write operation to the shared memory 11 of the device adapter 8, since the disk rotation wait does not occur, when the LR command analysis time elapses, Immediately, the data transfer of the channel adapter 6 to the channel 1 of the number of records designated by this LR command is started.
【0036】チャネルアダプタ6は、LRコマンドによ
って指定されたレコード数のデータ転送が終了した後、
チャネル1からデータ転送完了を通知されると、デバイ
スアダプタ8にデータ転送完了を通知するため、この時
点でディスク装置4からレコードの読出しが継続してい
る場合、デバイスアダプタ8はこの読出し処理を中止す
る。After the data transfer of the number of records designated by the LR command is completed, the channel adapter 6
When the channel 1 is notified of the completion of the data transfer, the device adapter 8 is notified of the completion of the data transfer. Therefore, if the record is continuously read from the disk device 4 at this point, the device adapter 8 cancels the read process. To do.
【0037】チャネル2とチャネルアダプタ7とデバイ
スアダプタ9とディスク装置5の動作も前記同様であ
り、詳細説明は省略する。次に二つの新たなCCWを使
用する場合の動作を説明する。The operations of the channel 2, the channel adapter 7, the device adapter 9, and the disk device 5 are the same as those described above, and detailed description thereof will be omitted. Next, the operation when using two new CCWs will be described.
【0038】図4は本発明のコマンドセットの一例を説
明する図である。チャネル1は図4に示す如く、従来の
CKDーEXコマンドセットを発行する前に、スタート
I/O命令と共に、読出すトラックの範囲を指定したC
CWをチャネルアダプタ6に送出する。FIG. 4 is a diagram for explaining an example of the command set of the present invention. As shown in FIG. 4, the channel 1 specifies the range of tracks to be read together with the start I / O command before issuing the conventional CKD-EX command set.
The CW is sent to the channel adapter 6.
【0039】チャネルアダプタ6のプロセッサ16は、
このCCWを解析して、そのパラメータによって指示
されたトラックの範囲を認識すると、リソースマネージ
ャ10から共通バス12の使用権を得て、共用メモリ1
1上に必要とする容量を持つメモリ領域を確保する。The processor 16 of the channel adapter 6 is
When this CCW is analyzed and the range of the track designated by the parameter is recognized, the right to use the common bus 12 is obtained from the resource manager 10, and the shared memory 1
A memory area having the required capacity is secured on the upper part of the table.
【0040】そして、チャネルアダプタ6は、共通バス
12を経てリソースマネージャ10のRAM21にディ
スク装置4の機番とシリンダアドレスと処理すべきトラ
ックの範囲を格納する。Then, the channel adapter 6 stores the machine number and cylinder address of the disk device 4 and the range of tracks to be processed in the RAM 21 of the resource manager 10 via the common bus 12.
【0041】チャネルアダプタ6は、続いてチャネル1
がスタートI/O命令と共に、図4に示す従来のCKD
ーEXコマンドセットを送出して来ると、先ずDXコマ
ンドを解析して、後に続くコマンドの使用条件を認識
し、続いて受信するLRコマンドを解析して、ディスク
装置4からのデータ読出しであること、レコード単位の
処理であること、読出す最初のレコード位置及び読出す
レコード数(255)を認識する。The channel adapter 6 continues to the channel 1
Together with the start I / O instruction, the conventional CKD shown in FIG.
-When the EX command set is sent out, first the DX command is analyzed, the use condition of the subsequent command is recognized, the LR command received subsequently is analyzed, and data is read from the disk device 4. , Record-by-record processing, the position of the first record to be read, and the number of records to be read (255).
【0042】リソースマネージャ10は、デバイスアダ
プタ8のプロセッサ16にデータの読出しを指示し、デ
バイスアダプタ8は、この指示により、リソースマネー
ジャ10のRAM21からシリンダアドレスと処理すべ
きトラックの範囲を読出すと、ディスク装置4を制御し
て、指定されたシリンダの指定された範囲の先頭トラッ
クに対応するヘッドを先頭レコードに位置付けさせ、指
定された範囲内の各トラックの各レコードを順次連続し
て読出して、共用メモリ11上にチャネルアダプタ6が
確保したメモリ領域に書込む動作を開始する。The resource manager 10 instructs the processor 16 of the device adapter 8 to read the data, and the device adapter 8 reads the cylinder address and the range of the track to be processed from the RAM 21 of the resource manager 10 according to this instruction. By controlling the disk device 4, the head corresponding to the head track of the specified range of the specified cylinder is positioned at the head record, and the records of the tracks in the specified range are sequentially read out. , The operation of writing in the memory area secured by the channel adapter 6 on the shared memory 11 is started.
【0043】従って、チャネルアダプタ6は、デバイス
アダプタ8が共用メモリ11上のメモリ領域にレコード
の書込みを行う処理に並行して、図4のRDに示す如
く、チャネル1が送出するRDコマンドを受信する度
に、共用メモリ11上に確保されたメモリ領域に格納さ
れたレコードの中から、LRコマンドで指定された最初
のレコードより次のレコードへと、順次各レコード内の
データ部に記録されているデータを読出すと、チャネル
1に転送する。Therefore, the channel adapter 6 receives the RD command sent by the channel 1, as shown by RD in FIG. 4, in parallel with the process in which the device adapter 8 writes a record in the memory area on the shared memory 11. Each time, from the record stored in the memory area secured on the shared memory 11 to the next record from the first record specified by the LR command, the data is sequentially recorded in the data part of each record. When the existing data is read, it is transferred to channel 1.
【0044】チャネルアダプタ6から最初のLRコマン
ドによって指定されたレコード数(255)のデータ転
送が完了すると、図4のLRに示す如く、チャネル1
から次のLRコマンドが送出されるため、チャネルアダ
プタ6は、この次に送出されたLRコマンドの解析を行
う。When the data transfer of the number of records (255) designated by the first LR command from the channel adapter 6 is completed, as shown by LR in FIG.
Since the next LR command is sent from, the channel adapter 6 analyzes the next sent LR command.
【0045】従って、データ転送が一時中断されるが、
この間もデバイスアダプタ8はディスク装置4からレコ
ードを読出して、共用メモリ11のメモリ領域に書込む
動作を継続している。Therefore, although the data transfer is suspended,
In the meantime, the device adapter 8 continues the operation of reading the record from the disk device 4 and writing it in the memory area of the shared memory 11.
【0046】即ち、リソースマネージャ10のRAM2
1から読出したトラックの範囲によって定まる複数のレ
コードの共用メモリ11上のメモリ領域への書込みが完
了するまで、デバイスアダプタ8のレコード書込み処理
は連続して実行される。That is, the RAM 2 of the resource manager 10
The record writing process of the device adapter 8 is continuously executed until the writing of a plurality of records determined by the range of the tracks read from 1 to the memory area on the shared memory 11 is completed.
【0047】チャネルアダプタ6のLRコマンド解析処
理時間は短く、前記の如く、デバイスアダプタ8の書込
み動作には、ディスクの回転待ちが発生しないため、L
Rコマンドの解析時間が経過すると、直ちに、このLR
コマンドで指定されたレコード数のチャネル1に対する
チャネルアダプタ6のデータ転送が開始される。The LR command analysis processing time of the channel adapter 6 is short, and as described above, in the write operation of the device adapter 8, there is no disk rotation waiting time.
As soon as the R command analysis time has elapsed, this LR
The data transfer of the channel adapter 6 to the channel 1 of the number of records designated by the command is started.
【0048】チャネルアダプタ6は、LRコマンドによ
って指定されたレコード数のデータ転送が終了した後、
チャネル1からデータ転送完了を通知されると、スター
トI/O命令の受信があるか調べ、受信が無ければ、共
用メモリ11上に確保したメモリ領域を残したままデー
タ読出し処理を終了する。After the data transfer of the number of records designated by the LR command is completed, the channel adapter 6
When the completion of data transfer is notified from the channel 1, it is checked whether or not the start I / O command is received, and if not received, the data reading process is terminated while the reserved memory area remains on the shared memory 11.
【0049】チャネル1は、図4のCCWに示す如
く、共用メモリ11上に確保させたメモリ領域を開放す
る場合、スタートI/O命令と共に、メモリ領域の開放
を指示するCCWをチャネルアダプタ6に送出する。As shown in CCW of FIG. 4, when releasing the memory area secured on the shared memory 11, the channel 1 sends to the channel adapter 6 a CCW for instructing the release of the memory area together with the start I / O instruction. Send out.
【0050】従って、チャネルアダプタ6は、スタート
I/O命令と共に、図4に示すCCWが受信される
と、共用メモリ11上に確保したメモリ領域を開放す
る。チャネル2とチャネルアダプタ7とデバイスアダプ
タ9とディスク装置5の動作も前記同様であり、詳細説
明は省略する。Therefore, when the CCW shown in FIG. 4 is received together with the start I / O instruction, the channel adapter 6 releases the reserved memory area on the shared memory 11. The operations of the channel 2, the channel adapter 7, the device adapter 9, and the disk device 5 are the same as above, and detailed description thereof will be omitted.
【0051】次に一つの新たなCCWを使用する場合の
動作を説明する。この場合は、図4に示すCCWがチ
ャネル1からチャネルアダプタ6に送出されず、チャネ
ルアダプタ6は、チャネル1からデータ転送完了を通知
されると、チャネル1からの指示によらず、自らの判断
で共用メモリ11上に確保したメモリ領域の開放を行
う。Next, the operation when one new CCW is used will be described. In this case, the CCW shown in FIG. 4 is not sent from the channel 1 to the channel adapter 6, and when the channel adapter 6 is notified of the completion of the data transfer from the channel 1, it makes its own judgment regardless of the instruction from the channel 1. Then, the memory area secured on the shared memory 11 is released.
【0052】その他の動作は二つの新たなCCWを使用
する場合の動作と同一である。図5、図6及び図7は図
2の動作を説明するフローチャートである。図5はDX
コマンドにLRコマンドの発行回数が指定されている場
合の動作を示す。The other operations are the same as the operations when two new CCWs are used. 5, 6 and 7 are flowcharts for explaining the operation of FIG. Figure 5 is DX
The operation when the number of times the LR command is issued is specified in the command is shown.
【0053】チャネルアダプタは、ステップ(1) でスタ
ートI/O命令の受信を監視しており、スタートI/O
命令が受信されると、ステップ(2) でDXコマンドの受
信を待つ。The channel adapter monitors the reception of the start I / O command in step (1),
When the command is received, the reception of the DX command is waited in step (2).
【0054】そして、DXコマンドを受信すると、ステ
ップ(3) でCA(チャネルアダプタ)はDXコマンドを
解析してLRコマンド発行回数を認識し、ディスク装置
から連続して読出すレコード数を認識し、続いて受信す
るLRコマンドを解析してデータ読出しと、レコード単
位の処理と、先頭レコード位置及びCH(チャネル)へ
転送するレコード数を認識する。When the DX command is received, the CA (channel adapter) analyzes the DX command in step (3) to recognize the number of times the LR command is issued, and recognizes the number of records continuously read from the disk device. The LR command that is subsequently received is analyzed to read data, perform processing in record units, and recognize the start record position and the number of records to be transferred to the CH (channel).
【0055】そして、ステップ(4) で、RM(リソース
マネージャ)のRAMにDXコマンドとLRコマンドを
解析した結果を格納する。ここで、DA(デバイスアダ
プタ)は、ステップ(5) で、RMの指示によりRMのR
AMから読出した解析結果に基づき、ディスク装置から
共用メモリに指定されたレコード数を連続して読出し格
納する動作を開始する。Then, in step (4), the result of analyzing the DX command and the LR command is stored in the RAM of the RM (resource manager). In step (5), the DA (device adapter) is instructed by the RM to read the R of the RM.
Based on the analysis result read from the AM, the operation of continuously reading and storing the number of records designated in the shared memory from the disk device is started.
【0056】又、CAはステップ(6) でRMからの指示
により、共用メモリからCHの送出するRDコマンドに
対応してデータを読出しCHに転送する。CAはステッ
プ(7) で次のLRコマンドを受信すると、このLRコマ
ンドを解析する間データ転送を中断する。In step (6), the CA reads data from the shared memory in response to the RD command sent by the CH and transfers the data to the CH according to the instruction from the RM. When the CA receives the next LR command in step (7), it suspends data transfer while parsing this LR command.
【0057】そして、ステップ(8) でCAは次のLRコ
マンド解析が完了すると、直ちに読出し処理を再開し、
このLRコマンドが指定するレコード数のデータを共用
メモリからRDコマンドに対応して順次読出しCHに転
送する。Then, in step (8), the CA resumes the read process immediately after the next LR command analysis is completed,
The data of the number of records designated by the LR command is sequentially read from the shared memory corresponding to the RD command and transferred to the CH.
【0058】そして、ステップ(9) でデータ転送完了か
調べ、チャネルから完了通知がなければ、ステップ(7)
の処理に戻り、完了通知を受信すると、ステップ(10)で
CAはDAにデータ転送完了を通知し、DAはステップ
(11)でディスク装置からのレコード読出しが継続中であ
れば、この読出し処理を中止する。Then, in step (9), it is checked whether the data transfer is completed. If there is no completion notification from the channel, step (7)
When the completion notification is received, the CA notifies the DA of the completion of the data transfer in step (10), and the DA executes the step.
If the record reading from the disk device is continuing in (11), this reading process is stopped.
【0059】図6は二つのCCWを使用する場合の動作
を示す。チャネルアダプタはステップ(1) でスタートI
/O命令の受信を監視しており、スタートI/O命令受
信によりステップ(2) でCCWの受信を待つ。FIG. 6 shows the operation when two CCWs are used. Channel adapter starts in step (1) I
The reception of the / O command is monitored, and the reception of the start I / O command waits for the CCW reception in step (2).
【0060】CCWが受信されると、ステップ(3) で
CAはCCWを解析して読出すトラックの範囲を認識
し、共用メモリ上に必要とする容量を持つメモリ領域を
確保し、ディスク装置の機番とシリンダアドレスと処理
すべきトラックの範囲をRMのRAMに格納する。When the CCW is received, the CA analyzes the CCW in step (3), recognizes the range of the track to be read, secures a memory area having a required capacity on the shared memory, and the CA of the disk device. The machine number, the cylinder address, and the range of the track to be processed are stored in the RAM of the RM.
【0061】CAはステップ(4) でCKDーEXコマン
ドセットを受信すると、DXコマンドとLRコマンドの
解析を行い、ディスク装置からのデータ読出しとレコー
ド単位の処理であること、読出すレコード位置とレコー
ド数を認識する。When the CA receives the CKD-EX command set in step (4), it analyzes the DX command and the LR command, reads the data from the disk device and processes it in record units, and reads the record position and the record. Recognize numbers.
【0062】ここで、DAはステップ(5) でRMの指示
により、RMのRAMから読出した内容に基づき、ディ
スク装置から共用メモリのCAが確保したメモリ領域
に、指定された範囲内の各トラックの各レコードを順次
読出して格納する動作を開始する。Here, the DA is based on the contents read from the RAM of the RM according to the instruction of the RM in the step (5), and each track within the designated range in the memory area secured by the CA of the shared memory from the disk device. Then, the operation of sequentially reading and storing the respective records is started.
【0063】そして、ステップ(6) でCAはDAのメモ
リ領域にレコードを書込む処理に並行し、RDコマンド
を受信する度にメモリ領域から各レコードのデータ部の
データを順次読出してCHに転送する。In step (6), the CA, in parallel with the process of writing a record in the memory area of the DA, reads the data in the data portion of each record from the memory area and transfers it to the CH each time an RD command is received. To do.
【0064】CAはステップ(7) で次のLRコマンドを
受信すると、このLRコマンドを解析する間データ転送
を中断する。そして、ステップ(8) でCAは次のLRコ
マンド解析が完了すると、直ちに読出し処理を再開し、
このLRコマンドが指定するレコード数のデータをメモ
リ領域からRDコマンドに対応して順次読出しCHに転
送する。When the CA receives the next LR command in step (7), it suspends data transfer while parsing this LR command. Then, in step (8), the CA restarts the reading process immediately after the next LR command analysis is completed,
The data of the number of records designated by the LR command is sequentially read from the memory area corresponding to the RD command and transferred to the CH.
【0065】そして、ステップ(9) でデータ転送完了か
調べ、チャネルから完了通知がなければ、ステップ(7)
の処理に戻り、完了通知を受信すると、ステップ(10)で
スタートI/O命令受信か調べる。Then, it is checked in step (9) whether or not the data transfer is completed. If there is no completion notification from the channel, step (7)
When the completion notification is received, it is checked in step (10) whether the start I / O command is received.
【0066】スタートI/O命令を受信するとステップ
(11)でCCW受信を待ち、CCWを受信すると、ス
テップ(12)でCAは共用メモリ上に確保したメモリ領域
を開放する。When the start I / O command is received, the step
When the CCW is received in (11) and the CCW is received, the CA releases the memory area secured in the shared memory in step (12).
【0067】ステップ(10)でスタートI/O命令が受信
されなければ、ステップ(13)でCAは共用メモリ上に確
保したメモリ領域を残して読出し処理を終了する。図7
は一つのCCWを使用する場合の動作を示す。図7は図
6とステップ(10)以降の動作が異なるのみであり、ステ
ップ(9) でデータ転送完了を通知されると、ステップ(1
0)でCAは共用メモリ上に確保したメモリ領域を開放し
読出し処理を終了する。If the start I / O command is not received in step (10), the CA ends the read process in step (13), leaving the reserved memory area on the shared memory. Figure 7
Shows the operation when one CCW is used. FIG. 7 is different from FIG. 6 only in the operation after step (10). When the completion of data transfer is notified in step (9), step (1
At 0), the CA releases the secured memory area on the shared memory and ends the read processing.
【0068】[0068]
【発明の効果】以上説明した如く、本発明はCKDーE
Xコマンドセットによりディスク装置のデータをチャネ
ルに転送する場合、LRコマンドの出し直しがあって
も、ディスクの回転待ちが発生しないため、ディスク装
置のデータ転送速度を向上させることが出来る。As described above, the present invention is a CKD-E.
When the data of the disk device is transferred to the channel by the X command set, the disk rotation wait does not occur even if the LR command is reissued, so that the data transfer speed of the disk device can be improved.
【0069】又、共用メモリ上に確保したメモリ領域を
キャッシュメモリとして利用するような場合、チャネル
からの指示が無ければ消去されないようにすることが可
能であると共に、メモリ領域を消去するために新たなC
CWを発行しなくても良いようにすることも出来る。Further, when the memory area secured on the shared memory is used as a cache memory, it is possible to prevent the memory area from being erased unless there is an instruction from the channel. Na C
It is also possible not to issue the CW.
【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.
【図2】 本発明の一実施例を示す回路のブロック図FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.
【図3】 各機能単位の詳細ブロック図FIG. 3 is a detailed block diagram of each functional unit.
【図4】 本発明のコマンドセットの一例を説明する図FIG. 4 is a diagram illustrating an example of a command set of the present invention.
【図5】 図2の動作を説明するフローチャート(その
1)FIG. 5 is a flowchart explaining the operation of FIG. 2 (No. 1).
【図6】 図2の動作を説明するフローチャート(その
2)FIG. 6 is a flowchart (part 2) explaining the operation of FIG. 2;
【図7】 図2の動作を説明するフローチャート(その
3)FIG. 7 is a flowchart (part 3) explaining the operation of FIG. 2;
【図8】 CCWの一例を説明する図FIG. 8 is a diagram illustrating an example of CCW.
1、2 チャネル 3 ディスク制御装置 4、5 ディスク装置 6、7 チャネルアダプタ 8、9 デバイスアダプタ 10 リソースマネージャ 11 共用メモリ 12 共通バス 14 インタフェース回路 15、20 共通バス制御回路 16、19 プロセッサ 17、18 制御記憶 21 RAM 22 RAMアクセス制御回路 23 上位装置 24 制御手段 25 メモリ 26 メモリ領域 1, 2 channels 3 disk controller 4, 5 disk device 6, 7 channel adapter 8, 9 device adapter 10 resource manager 11 shared memory 12 common bus 14 interface circuit 15, 20 common bus control circuit 16, 19 processor 17, 18 control Memory 21 RAM 22 RAM Access control circuit 23 Upper device 24 Control means 25 Memory 26 Memory area
Claims (3)
マンドセットを受信して、ディスク装置(4) から複数の
トラックに跨がって連続する複数のレコードを読出して
メモリ(25)に格納すると共に、該メモリ(25)から読出し
たデータを非同期で前記上位装置(23)に転送するディス
ク制御装置(3) において、 一つのDXコマンドのパラメータに追加された実行すべ
き動作モード及び前記CKDーEXコマンドセット内で
チェインするLRコマンドの数に基づき、予め該LRコ
マンドの発行回数を認識して該LRコマンドが指定し得
る最大レコード数の該発行回数倍のレコード数を前記デ
ィスク装置(4) から読出して前記メモリ(25)に順次格納
すると共に、RDコマンドによって該メモリ(25)から読
出したデータを前記上位装置(23)に順次転送する制御手
段(24)を設け、 前記ディスク装置(4) から前記メモリ(25)に対するデー
タ転送は、2回目以後のLRコマンドの解析とは無関係
に連続して実行し、該メモリ(25)から前記上位装置(23)
に対するデータ転送は、全てのLRコマンドの解析を行
うことにより、指定された範囲のデータを抽出して実行
することを特徴とするディスク制御装置。1. A CKD-EX command set sent by a higher-level device (23) is received, a plurality of consecutive records are read from a disk device (4) over a plurality of tracks, and are stored in a memory (25). In the disk controller (3) for storing and asynchronously transferring the data read from the memory (25) to the upper device (23), the operation mode to be executed added to the parameter of one DX command and the Based on the number of LR commands chained in the CKD-EX command set, the number of issuances of the LR command is recognized in advance, and the number of records that is twice the number of issuances of the maximum number of records that can be designated by the LR command is stored in the disk device ( 4) and stores it in the memory (25) sequentially, and a control means (24) for sequentially transferring the data read from the memory (25) by the RD command to the upper device (23). The data transfer from the disk device (4) to the memory (25) is continuously executed regardless of the analysis of the LR command after the second time, and the data transfer from the memory (25) to the upper device (23) is performed.
The disk control device is characterized in that data transfer to and from is executed by analyzing all LR commands to extract data in a specified range.
マンドセットを受信して、ディスク装置(4) から複数の
トラックに跨がって連続する複数のレコードを読出して
メモリ(25)に格納すると共に、該メモリ(25)から読出し
たデータを非同期で前記上位装置(23)に転送するディス
ク制御装置(3) において、 前記CKDーEXコマンドセットの発行前に送出される
第1のCCWにより指定されたトラックの範囲に基づ
き、予め必要とするメモリ領域(26)を前記メモリ(25)上
に確保して、前記ディスク装置(4) から該指定された範
囲内のトラックのレコードを順次読出して格納すると共
に、該CKDーEXコマンドセットによって指定される
レコード内のデータを該確保したメモリ領域(26)から読
出して前記上位装置(23)に順次転送し、該CKDーEX
コマンドセットに続いて送出される第2のCCWによっ
て前記確保したメモリ領域(26)の開放を行う制御手段(2
4)を設け、 前記ディスク装置(4) から前記メモリ領域(26)に対する
データ転送は、前記第1のCCWによって指定された範
囲内のトラックの各レコードに対し順次連続して実行
し、該メモリ領域(26)から前記上位装置(23)に対するデ
ータ転送は、前記CKDーEXコマンドセットに基づき
実行した後、続いて送出される前記第2のCCWによっ
て該確保したメモリ領域(26)の開放を行うことを特徴と
するディスク制御装置。2. A CKD-EX command set sent by a higher-level device (23) is received, a plurality of continuous records over a plurality of tracks is read from the disk device (4), and is stored in a memory (25). In the disk controller (3) which stores the data and asynchronously transfers the data read from the memory (25) to the host device (23), the first CCW transmitted before the issuance of the CKD-EX command set. Based on the range of tracks specified by, the memory area (26) required beforehand is secured on the memory (25), and the records of the tracks within the specified range are sequentially transferred from the disk device (4). The data in the record designated by the CKD-EX command set is read out from the secured memory area (26) and sequentially transferred to the higher-level device (23), and the CKD-EX is read out and stored.
The control means (2) for releasing the secured memory area (26) by the second CCW sent after the command set.
4) is provided, and data transfer from the disk device (4) to the memory area (26) is sequentially and successively executed for each record of tracks within the range specified by the first CCW, Data transfer from the area (26) to the upper device (23) is executed based on the CKD-EX command set, and then the secured memory area (26) is released by the second CCW that is subsequently transmitted. A disk control device characterized by performing.
マンドセットを受信して、ディスク装置(4) から複数の
トラックに跨がって連続する複数のレコードを読出して
メモリ(25)に格納すると共に、該メモリ(25)から読出し
たデータを非同期で前記上位装置(23)に転送するディス
ク制御装置(3) において、 前記CKDーEXコマンドセットの発行前に送出される
CCWにより指定されたトラックの範囲に基づき、予め
必要とするメモリ領域(26)を前記メモリ(25)上に確保し
て前記ディスク装置(4) から該指定された範囲内のトラ
ックのレコードを順次読出して格納すると共に、該CK
DーEXコマンドセットによって指定されるレコード内
のデータを該確保したメモリ領域(26)から読出して前記
上位装置(23)に順次転送した後、該確保したメモリ領域
(26)の開放を行う制御手段(24)を設け、 前記ディスク装置(4) から前記メモリ領域(26)に対する
データ転送は、前記CCWによって指定された範囲内の
トラックの各レコードに対し順次連続して実行し、該メ
モリ領域(26)から前記上位装置(23)に対するデータ転送
は、前記CKDーEXコマンドセットに基づき実行した
後、該確保したメモリ領域(26)の開放を行うことを特徴
とするディスク制御装置。3. A CKD-EX command set sent by a higher-level device (23) is received, a plurality of consecutive records are read from a disk device (4) over a plurality of tracks, and are stored in a memory (25). In the disk controller (3) that stores the data and asynchronously transfers the data read from the memory (25) to the higher-level device (23), it is designated by the CCW sent before the issuance of the CKD-EX command set. Based on the range of the track, a memory area (26) required in advance is secured in the memory (25) and the records of the tracks within the specified range are sequentially read from the disk device (4) and stored. With the CK
After the data in the record designated by the D-EX command set is read from the secured memory area (26) and sequentially transferred to the upper device (23), the secured memory area
A control means (24) for releasing (26) is provided, and the data transfer from the disk device (4) to the memory area (26) is successively performed for each record of the track within the range designated by the CCW. The data transfer from the memory area (26) to the upper device (23) is performed based on the CKD-EX command set, and then the secured memory area (26) is released. Disk controller.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP730894A JPH07210321A (en) | 1994-01-27 | 1994-01-27 | Disk controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP730894A JPH07210321A (en) | 1994-01-27 | 1994-01-27 | Disk controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07210321A true JPH07210321A (en) | 1995-08-11 |
Family
ID=11662386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP730894A Withdrawn JPH07210321A (en) | 1994-01-27 | 1994-01-27 | Disk controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07210321A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1011223A (en) * | 1996-06-26 | 1998-01-16 | Nec Ibaraki Ltd | Magnetic disk controller |
-
1994
- 1994-01-27 JP JP730894A patent/JPH07210321A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1011223A (en) * | 1996-06-26 | 1998-01-16 | Nec Ibaraki Ltd | Magnetic disk controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2000181773A (en) | Storage system | |
| JPH07210321A (en) | Disk controller | |
| US5875453A (en) | Apparatus for and method of information processing | |
| JPH10254778A (en) | Magnetic disk cache control method | |
| JPS5917653A (en) | Method for transferring data of magnetic disc controlling device | |
| JP3147575B2 (en) | Data writing device and data block writing method | |
| JPH0553031B2 (en) | ||
| JP2732951B2 (en) | Data transfer control method | |
| JP2767661B2 (en) | Disk controller | |
| JPS58103054A (en) | Disc controller | |
| JP2026060274A (en) | Access control device, access control method, program | |
| JPH05257609A (en) | Method for continuous writing process of disk device | |
| JPH01501661A (en) | Improved high-speed tag transfer | |
| JPH05258467A (en) | Control system of magneto-optical disk device | |
| JPH05334012A (en) | Large capacity disk controller | |
| JPS60222943A (en) | Disk cache control system | |
| JPH01306952A (en) | Inter-processor communication system | |
| JPS6041123A (en) | Magnetic disc control device | |
| JPH0541022A (en) | Data backup system for electronic disk device with saving disk | |
| JPH05233150A (en) | Disk controller operating with CKD-EX command | |
| JPS623455B2 (en) | ||
| JPH05334008A (en) | Disk controller | |
| JPH05217286A (en) | Magnetic disk controller | |
| JPH04170752A (en) | Magnetic disk device | |
| JPH0612345A (en) | Disk controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20010403 |