[go: up one dir, main page]

JP2875325B2 - Method of controlling storage device - Google Patents

Method of controlling storage device

Info

Publication number
JP2875325B2
JP2875325B2 JP2042452A JP4245290A JP2875325B2 JP 2875325 B2 JP2875325 B2 JP 2875325B2 JP 2042452 A JP2042452 A JP 2042452A JP 4245290 A JP4245290 A JP 4245290A JP 2875325 B2 JP2875325 B2 JP 2875325B2
Authority
JP
Japan
Prior art keywords
processing
disk device
disk
storage device
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2042452A
Other languages
Japanese (ja)
Other versions
JPH03246713A (en
Inventor
山本  彰
孝夫 佐藤
繁雄 本間
義弘 安積
善祥 桑原
弘行 北嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2042452A priority Critical patent/JP2875325B2/en
Publication of JPH03246713A publication Critical patent/JPH03246713A/en
Priority to US08/355,274 priority patent/US5680574A/en
Priority to US08/868,075 priority patent/US5835938A/en
Priority to US09/116,344 priority patent/US6108750A/en
Application granted granted Critical
Publication of JP2875325B2 publication Critical patent/JP2875325B2/en
Priority to US09/619,000 priority patent/US6631443B1/en
Priority to US09/813,382 priority patent/US6728832B2/en
Priority to US10/634,919 priority patent/US6938125B2/en
Priority to US10/799,013 priority patent/US7254674B2/en
Priority to US11/166,232 priority patent/US20050240728A1/en
Priority to US11/705,846 priority patent/US7861034B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、記憶装置の間で、実行すべき負荷を分散す
るための記憶装置の制御方法に関する。
Description: TECHNICAL FIELD The present invention relates to a storage device control method for distributing a load to be executed among storage devices.

〔従来の技術〕[Conventional technology]

特開昭60-114947では、デイスクキヤツシユ(以下、
単にキヤツシユと呼ぶ場合がある。)を有する制御装置
におけるデイスク装置の2重書き機能に関する技術が開
示されている。ここでは、同一のデータを書き込む2つ
のデイスク装置を、2重書きデイスクと呼ぶ。
Japanese Patent Application Laid-Open No. 60-114947 discloses a disk cache (hereinafter, referred to as a disk cache).
Sometimes simply called cache. ) Discloses a technique relating to a double writing function of a disk device in a control device having the following. Here, the two disk devices for writing the same data are referred to as dual-write disks.

特開昭60-114947には、デイスクキヤツシユを利用し
てライトデータ2重(2つの)のデイスク装置を制御す
る方法が、以下のように説明されている。制御装置は、
CPUからの入出力要求を、2つのデイスク装置のうちの
1つのデイスク装置に対して処理する。リード要求(入
力要求)を受け付けた場合には、制御装置は受け付けた
要求をそのまま実行する。CPUからライト要求(出力要
求)を受け付けた場合には、以下の処理を実行する。す
なわち、2重書きデイスクのうちの一方のデイスク装置
に、データを書き込むと共に、デイスクキヤツシユにも
このデータを書き込んでおく。そして、制御装置は後
で、空いた時間を利用して、デイスクキヤツシユに書き
込んでおいたデータを他方のデイスク装置に書き込む。
この書き込み処理は、ライトアフタ処理と呼ばれる。以
上により、2重書きデイスク装置に同一のデータが書き
込まれる。
Japanese Patent Application Laid-Open No. 60-114947 describes a method of controlling a disk device with double (two) write data using a disk cache as follows. The control device is
An input / output request from the CPU is processed for one of the two disk devices. When receiving a read request (input request), the control device executes the received request as it is. When a write request (output request) is received from the CPU, the following processing is executed. That is, data is written to one of the dual writing disks, and this data is also written to the disk cache. Then, the control device later writes the data written in the disk cache to the other disk device using the vacant time.
This writing process is called a write after process. As described above, the same data is written to the double writing disk device.

特公昭61-28128では、2重化フアイルの制御方法とし
て2重書きデイスク装置の負荷分散に関する技術が開示
されている。特公昭61-28128は、入出力要求を処理する
際、空いているデイスク装置を選択することにより処理
の高速化をねらつたものである。ただし、特公昭61-281
28は、特開昭60-114947のように、デイスクキヤツシユ
を利用したライトアフタ制御によりデータを2重書きす
る方法を用いていない。
Japanese Patent Publication No. 61-28128 discloses a technique relating to load distribution of a dual-write disk device as a method of controlling a duplicate file. Japanese Patent Publication No. 61-28128 aims to speed up the processing by selecting an empty disk device when processing an input / output request. However, JP-B 61-281
No. 28 does not use a method of double-writing data by write-after control using a disk cache as disclosed in Japanese Patent Application Laid-Open No. 60-114947.

西垣他:順次アクセス入力処理におけるデイスクキヤ
ツシユの効果解析,情報処理学会論文誌,Vol.25,No.2,p
p.313-320(1984)の論文においては、以下の技術が開
示されている。デイスクキヤツシユを有する制御装置に
おける、シーケンシヤル処理に対する先読み処理、すな
わち、CPUからは要求されていないデータを、キヤツシ
ユにステージする技術である。このステージ処理は、CP
Uからの入出力要求に対応するとは、独立に制御装置が
実行する。
Nishigaki et al .: Effect analysis of disk cache in sequential access input processing, Transactions of Information Processing Society of Japan, Vol.25, No.2, p.
The following technology is disclosed in the article on p.313-320 (1984). This is a technique in which a read-ahead process for a sequential process in a control device having a disk cache, that is, data that is not requested from the CPU, is staged in a cache. This stage processing is based on the CP
Responding to an input / output request from U is independently executed by the control device.

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

特開昭60-114947は、2重書きデイスクにおいては制
御装置が処理対象とすることができるデイスク装置は複
数存在するという利点に注目していない。すなわち、CP
Uから受け付けた入出力要求に対して選択すべきデイス
ク装置を特定の1台に限定している。
Japanese Patent Application Laid-Open No. 60-114947 does not pay attention to the advantage that there are a plurality of disk devices that can be processed by the control device in a double-write disk. That is, CP
The disk device to be selected in response to the input / output request received from U is limited to a specific one.

一方、特公昭61-28128で開示されているように、入出
力要求に対応して、空いているデイスク装置を選択する
という方法は、性能的には優れている。しかし、この方
法を、キヤツシユを利用したライトアフタ制御により2
重書き機能を実現するケースに適用すると信頼性の点で
劣化が生ずる。これは、すべてのデイスク装置に対応す
るCPUから受け付けた末書き込みのライトデータがある
可能性か高いためである。したがつて、キヤツシユの電
源のダウンと、どれか1台のデイスク装置の障害が重な
ると、CPUから受け付けたライトデータが消失すること
になる。
On the other hand, as disclosed in Japanese Patent Publication No. 61-28128, a method of selecting an empty disk device in response to an input / output request is excellent in performance. However, this method can be implemented by a write-after control using a cache.
If applied to the case where the overwriting function is realized, the reliability is deteriorated. This is because it is highly probable that there is post-write data received from CPUs corresponding to all disk devices. Therefore, if the power down of the cache and the failure of one of the disk devices overlap, the write data received from the CPU will be lost.

さらに、キヤツシユを有する制御装置の場合、CPUか
ら受け取る入出力要求とは独立に、制御装置がキヤツシ
ユとデイスク装置との間で、入出力処理を実行する。
(これは、西垣他:順次アクセス入力処理におけるデイ
スクキヤツシユの効果解析,情報処理学会論文誌,Vol.2
5,No.2,pp.313-320(1984)に開示されている。)した
がつて、制御装置がCPUからの入出力要求とは、独立に
実行する入出力処理に対しても、その処理を割り当てる
べき対象として選択できるデイスク装置が複数存在する
ということに注目すべきである。
Further, in the case of a control device having a cache, the control device executes input / output processing between the cache and the disk device independently of an input / output request received from the CPU.
(This is Nishigaki et al .: Effect analysis of disk cache in sequential access input processing, Transactions of Information Processing Society of Japan, Vol.2
5, No. 2, pp. 313-320 (1984). Therefore, it should be noted that there are a plurality of disk devices that can be selected as targets to which the processing is to be assigned, even for input / output processing executed independently of the CPU by the control apparatus. It is.

本発明は、キヤツシユを利用したライトアフタ処理に
より、1台以上のデイスク装置からなるデイスク装置グ
ループに対して同一のデータを書き込む制御方法および
制御装置に関する。
The present invention relates to a control method and a control device for writing the same data to a disk device group including one or more disk devices by write-after processing using a cache.

本発明の目的は、デイスク装置グループ内のデイスク
装置との間で実行すべき入力処理の負荷を分散し、入出
力処理の実行の並列度を向上させる制御装置および制御
方法を提供することにある。
An object of the present invention is to provide a control device and a control method for distributing the load of input processing to be executed between the disk devices in a disk device group and improving the parallelism of execution of input / output processing. .

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

課題を解決するための方法および装置の説明を分かり
易くするために、制御装置がデイスク装置との間で実行
する入出力処理を分類する。
In order to make the description of the method and the device for solving the problem easy to understand, the input / output processing executed by the control device with the disk device is classified.

制御装置がデイスク装置との間で実行する入出力処理
は、以下の4種類に分類できる。
Input / output processing executed by the control device with the disk device can be classified into the following four types.

(1)CPUから受け付けたライト要求に対する処理であ
つて、デイスク装置にアクセスする必要のある処理。
(1) Processing for a write request received from the CPU, which requires access to the disk device.

(2)CPUから受け付けたリード要求に対する処理であ
つて、デイスク装置にアクセスする必要のある処理。
(2) Processing for a read request received from the CPU, which requires access to the disk device.

(3)CPUからの入出力要求(リード要求/ライト要
求)とは独立した、デイスク装置からキヤツシユへデー
タを転送するステージ処理。
(3) Stage processing for transferring data from the disk device to the cache, independent of input / output requests (read requests / write requests) from the CPU.

(4)デイスク装置との間で実行するライトアフタ処
理。
(4) Write-after processing executed with the disk device.

以上の入出力処理のうち、ライトアフタ処理は負荷分
散の対象とはならない。以下、その理由を述べる。ライ
トアフタ処理は、CPUから受け付けたライト要求の実行
の際に、データを書き込んだデイスク装置以外のデイス
ク装置グループ内のすべてのデイスク装置に対して実行
する処理である。このため、ライトアフタ処理を実行す
べきデイスク装置を選択する自由度はないことになる。
したがつて、上記の(1)から(4)の処理の内、
(1)から(3)の処理が負荷分散の対象となる。
Of the above input / output processing, the write-after processing is not a target of load distribution. Hereinafter, the reason will be described. The write-after process is a process executed when executing a write request received from the CPU for all disk devices in a disk device group other than the disk device to which data has been written. Therefore, there is no flexibility in selecting a disk device on which the write-after processing is to be performed.
Therefore, of the above processes (1) to (4),
The processes (1) to (3) are targets of load distribution.

本明細書では、負荷分散を実行する方法として2種類
の方法を示す。便宜的に、これらの方法を負荷分散方法
1,負荷分散方法2と呼ぶ。以下、それぞれの方法につい
て述べる。
In this specification, two methods are shown as a method of executing load distribution. For convenience, these methods are
1, referred to as load distribution method 2. Hereinafter, each method will be described.

負荷分散方法1…制御装置は、上記(2)または
(3)の入出力処理を実行すべきデイスク装置を選択す
る際、デイスク装置グループ内の任意の空いた状態にあ
るデイスク装置を選択する。上記(1)のデイスク装置
にアクセスする必要のあるCPUから受け付けたライト要
求に対応してデイスク装置を選択する際は、デイスク装
置グループ内の特定のデイスク装置を選択する。
Load distribution method 1... When selecting a disk device to execute the input / output processing of (2) or (3) above, the control device selects an arbitrary empty disk device in the disk device group. When selecting a disk device in response to the write request received from the CPU which needs to access the disk device in the above (1), a specific disk device in the disk device group is selected.

負荷分散方法2…制御装置は、前述の処理分類
(1)、すなわち、デイスク装置にアクセスする必要の
あるCPUから受け付けたライト要求に対応して、デイス
ク装置を選択する際は、デイスク装置グループ内の特定
のデイスク装置を選択する。処理分類(2)または
(3)に示した入出力処理の実行すべきデイスク装置を
選択する際は、上記の特定のデイスク装置以外のデイス
ク装置を優先的に選択する。
Load distribution method 2... When selecting a disk device in response to the above-described processing category (1), that is, a write request received from a CPU that needs to access the disk device, Select a specific disk device. When selecting a disk device to be subjected to the input / output processing shown in the processing classification (2) or (3), a disk device other than the specific disk device is preferentially selected.

〔作用〕[Action]

負荷分散方法1および負荷分散方法2のそれぞれに対
応した作用について述べる。
The operation corresponding to each of the load distribution method 1 and the load distribution method 2 will be described.

(1)負荷分散方法1の場合 制御装置は、あるデイスク装置グループに対して、デ
イスク装置にアクセスする必要のあるリード要求をCPU
から受け取ると、以下の処理を実行する。そのリード要
求に対して、デイスク装置グループ内の空いた状態にあ
る任意の1台のデイスク装置を選択する。空いた状態の
デイスク装置が1台もない場合、制御装置はそのリード
要求を持たせる。また、デイスク装置にアクセスする必
要のあるライト要求を受け取つた場合には、そのライト
要求に対して、デイスク装置グループ内の特定の1台の
デイスク装置を選択する。ただし、この特定のデイスク
装置が空いた状態になければ、制御装置はそのライト要
求を待たせる。
(1) In the case of the load distribution method 1, the control device sends a read request for accessing a disk device to a certain disk device group to the CPU.
, The following processing is executed. In response to the read request, any one free disk device in the disk device group is selected. If there is no empty disk device, the control device gives the read request. When a write request that needs to access a disk device is received, one specific disk device in the disk device group is selected in response to the write request. However, if the particular disk device is not empty, the control device waits for the write request.

また、制御装置が、CPUからの入出力要求とは独立し
たステージ処理を実行しようとした場合にも、以下のよ
うな処理を行う。すなわち、このステージ処理に対応
し、デイスク装置グループ内の空いた状態にある任意の
1台のデイスク装置を選択する。空いた状態のデイスク
装置が1台もない場合、制御装置は、そのステージ処理
を実行しない。
Also, when the control device attempts to execute a stage process independent of an input / output request from the CPU, the following process is performed. That is, one free disk device in the disk device group corresponding to this stage processing is selected. If there is no empty disk device, the control device does not execute the stage processing.

負荷分散方法1の信頼性および性能面の特徴を以下に
示す。
The reliability and performance characteristics of the load distribution method 1 are described below.

負荷分散方法1は、特開昭60-114947に開示されてい
る方法に比べて、分散の効果はやや劣るものの、特公昭
61-28128に開示されている方法に較べると、優れた性能
を得ることができる。
The load distribution method 1 is slightly less effective than the method disclosed in JP-A-60-114947.
Excellent performance can be obtained as compared to the method disclosed in 61-28128.

以下、この理由を述べる。負荷分散方法1は、ライト
要求に対するデイスク装置選択の自由度に制限を設けて
いることになる。したがつて、特開昭60-114947に開示
されている方法に比べて、分散の効果は劣ることにな
る。ただし、リード要求に対しては空いた状態にあるデ
イスク装置を選択する。通常、デイスク装置に対する入
出力要求の割合は、リード要求の方がライト要求に比べ
て、かなり多い。(3対1から4対1程度)したがつ
て、負荷分散方法1は、特開昭60-114947に開示されて
いる方法に較べ、それほど性能劣化は生じないことにな
る。一方、すべての入出力要求を1台のデイスク装置に
集中させる特公昭61-28128の方法に比べると、負荷分散
方法1は優れた性能を得ることができる。
Hereinafter, the reason will be described. The load distribution method 1 imposes a limit on the degree of freedom in selecting a disk device for a write request. Therefore, the effect of dispersion is inferior to the method disclosed in JP-A-60-114947. However, an empty disk device is selected in response to a read request. Normally, the ratio of input / output requests to the disk device is considerably higher in read requests than in write requests. Accordingly, the load distribution method 1 does not cause much performance degradation as compared with the method disclosed in JP-A-60-114947. On the other hand, compared with the method of JP-B-61-28128 in which all input / output requests are concentrated on one disk device, the load distribution method 1 can obtain excellent performance.

負荷分散方法1の信頼性は、特開昭60-114947に開示
されている方法に比べて高く、特公昭61-28128の方法に
較べると、ほぼ同等である。
The reliability of the load distribution method 1 is higher than that of the method disclosed in Japanese Patent Application Laid-Open No. 60-114947, and is substantially the same as that of the method of Japanese Patent Publication No. 61-28128.

以下、その理由を述べる。負荷分散方法1、または、
特公昭61-28128では、ライト要求を集中させるデイスク
装置に対して、ライトアフタ処理すべきデータがない。
したがつて、キヤツシユの電源がダウンしても、ライト
要求を集中させるデイスク装置に障害が発生しなけれ
ば、CPUから受け付けたライトデータが消失しない。
Hereinafter, the reason will be described. Load balancing method 1, or
In Japanese Patent Publication No. 61-28128, there is no data to be subjected to write-after processing for a disk device that concentrates write requests.
Therefore, even if the power supply of the cache goes down, the write data received from the CPU does not disappear unless a failure occurs in the disk device that concentrates the write requests.

以上より、負荷分散方法1により、デイスク装置グル
ープの高性能化/高信頼化をバランスよく実現する負荷
分散が可能となる。
As described above, according to the load distribution method 1, it is possible to perform load distribution that achieves high performance / high reliability of the disk device group in a well-balanced manner.

(2)負荷分散方法2の場合 制御装置は、デイスク装置グループのデイスク装置に
アクセスする必要のあるライト要求をCPUから受け取つ
た場合には、そのライト要求に対応して、デイスク装置
グループ内の特定の1台のデイスク装置を選択する。た
だし、この特定のデイスク装置が空いた状態になけれ
ば、制御装置は、そのライト要求を待たせる。また、あ
るデイスク装置グループのデイスク装置にアクセスする
必要のあるリード要求をCPUから受け取ると、以下の処
理を実行する。まず、上記の特定のデイスク装置以外の
デイスク装置の中で、空いた状態にある任意の1台のデ
イスク装置を選択する。空いたデイスク装置が、1台も
ないとき、上記の特定のデイスク装置が空いているか否
かを調べる。空いている場合、制御装置は、この特定の
デイスク装置を、受け取つたリード要求のために選択す
る。空いていない場合、制御装置は、そのリード要求を
待たせる。
(2) In the case of the load distribution method 2 When the control device receives a write request from the CPU which needs to access a disk device of the disk device group, the control device specifies the disk device group in response to the write request. Is selected. However, if this particular disk device is not empty, the control device waits for the write request. When a read request for accessing a disk device of a certain disk device group is received from the CPU, the following process is executed. First, one of the disk devices other than the above-mentioned specific disk device is selected as an empty disk device. When there is no empty disk device, it is checked whether or not the specific disk device is empty. If so, the controller selects this particular disk device for the received read request. If not, the control device waits for the read request.

また、制御装置が、CPUからの入出力要求とは独立し
たステージ処理を実行しようとした場合にも、以下のよ
うな処理を行う。まず、上記の特定のデイスク装置以外
のデイスク装置の空いた状態にある任意の1台のデイス
ク装置を選択する。空いたデイスク装置が、1台もない
場合、上記の特定のデイスク装置が空いているか否かを
調べる。空いている場合、制御装置は、この特定のデイ
スク装置を、実行しようとしたステージ処理のために選
択する。空いていない場合、制御装置は、そのステージ
処理を実行しない。
Also, when the control device attempts to execute a stage process independent of an input / output request from the CPU, the following process is performed. First, an arbitrary one of the disk devices other than the above-mentioned specific disk device is selected. If there is no empty disk device, it is checked whether the specific disk device is empty. If so, the controller selects this particular disk device for the stage processing that was to be performed. If not, the control device does not execute the stage processing.

以上述べた分散方法をとる理由は、以下のとおりであ
る。例えば、CPUからのライト要求に対応する処理を集
中させる特定のデイスク装置に、リード要求に対応する
処理割り当てるとする。この場合、リード要求に対応す
る処理が完了しないうちに、ライト要求を受け取ると、
ライト要求に対応する処理に入れないことになる。した
がつて、特定のデイスク装置を選択する必要のないCPU
からのライト要求に対応する処理以外の処理は、この特
定のデイスク装置以外のデイスク装置を優先的に割り当
てをした方が、分散の効果を高くすることができる。
The reasons for using the above-described dispersion method are as follows. For example, assume that a process corresponding to a read request is assigned to a specific disk device that concentrates a process corresponding to a write request from the CPU. In this case, if a write request is received before the processing corresponding to the read request is completed,
It will not be possible to enter the processing corresponding to the write request. Therefore, a CPU that does not need to select a specific disk device
For processes other than the process corresponding to the write request from, a higher priority is given to assigning a disk device other than the specific disk device to increase the effect of dispersion.

〔実施例〕〔Example〕

以下、本発明について、2種類の実施例を説明する
が、まず、両実施例に共通する内容について述べる。
Hereinafter, two types of embodiments of the present invention will be described. First, contents common to both embodiments will be described.

第2図は、本発明の適用対象となる計算機システムの
構成である。計算機システムは、CPU200,主記憶201,チ
ヤネル202とからなる処理装置210と、制御装置203と、
1台以上のn台のデイスク装置204とより構成される。
なお、制御装置203に複数の処理装置210が接続されてい
る場合にも、本発明を適用できることは後述の内容から
明らかになる。
FIG. 2 shows the configuration of a computer system to which the present invention is applied. The computer system includes a processing device 210 including a CPU 200, a main memory 201, and a channel 202, a control device 203,
It comprises one or more n disk devices 204.
It will be apparent from the following description that the present invention can be applied to a case where a plurality of processing devices 210 are connected to the control device 203.

n台のデイスク装置204は、それぞれ1台以上のデイ
スク装置204からなるm個のデイスク装置グループ211に
グループ化されている。各デイスク装置グループ211に
属するデイスク装置204の台数は各々異なつていてもよ
い。それぞれのデイスク装置204は、ある1つのデイス
ク装置グループ211に属する。それぞれのデイスク装置2
04が、どのデイスク装置グループ211に属するかを決定
する方法は、本発明には直接関係ないため、説明を省略
する。
The n disk devices 204 are grouped into m disk device groups 211 each including one or more disk devices 204. The number of disk devices 204 belonging to each disk device group 211 may be different. Each disk device 204 belongs to one disk device group 211. Each disk device 2
The method for determining which disk device group 211 the 04 belongs to is not directly related to the present invention, and thus the description is omitted.

制御装置203は、1つ以上のデイレクタ205,キヤツシ
ユ(メモリ)206,制御情報用メモリ207およびデイレク
トリ208より構成される。各デイレクタ205は、チヤネル
202とデイスク装置204との間、チヤネル202とキヤツシ
ユ206との間、ならびに、キヤツシユ206とデイスク装置
204との間でデータを転送する。キヤツシユ206には、デ
イスク装置204に格納されているデータの中でアクセス
頻度の高いデータをステージしておく。デイレクトリ20
8は、キヤツシユ206の管理情報を格納する。ステージ処
理は、デイレクタ205によつて実行される。具体的なス
テージデータの例は、CPU20からのアクセス対象となつ
たデータ、および、このデータとデイスク装置204の格
納位置が近いデータなどである。
The control device 203 includes one or more directors 205, a cache (memory) 206, a control information memory 207, and a directory 208. Each director 205 is a channel
202 and the disk device 204, between the channel 202 and the cache 206, and between the cache 206 and the disk device.
Transfer data to / from 204. In the cache 206, data frequently accessed among the data stored in the disk device 204 is staged. Directory 20
8 stores management information of the cache 206. The stage processing is executed by the director 205. Specific examples of the stage data include data to be accessed by the CPU 20 and data whose storage position of the disk device 204 is close to the data.

本発明の対象となる制御装置203は、あるデイスク装
置グループ211に属するデイスク装置204に同一のデータ
を書き込む機能、いわゆる、多重書き機能を有する。し
たがつて、、処理装置210は、それぞれのデイスク装置
グループ211に対して入出力要求を発行すると考えてよ
い。
The control device 203 according to the present invention has a function of writing the same data to the disk devices 204 belonging to a certain disk device group 211, that is, a so-called multiple writing function. Therefore, it may be considered that the processing device 210 issues an input / output request to each disk device group 211.

本発明においては、制御装置203から見ると、処理装
置204から受け付ける入出力要求は以下のように分類で
きる。
In the present invention, when viewed from the control device 203, the input / output requests received from the processing device 204 can be classified as follows.

(1)キヤツシユ206と処理装置210との間のデータ転送
の要求であり、デイスク装置グループ211には、アクセ
スしない入出力処理パターンである。これは、例えば、
処理装置210から受け付けたリード要求に対応するデー
タがキヤツシユ206内にステージされている場合に実行
される処理パターンである。
(1) A request for data transfer between the cache 206 and the processing device 210, which is an input / output processing pattern that does not access the disk device group 211. This is, for example,
This is a processing pattern executed when data corresponding to a read request received from the processing device 210 is staged in the cache 206.

(2)デイスク装置グループ211内のデイスク装置204に
アクセスが必要となる入出力処理パターンである。
(2) This is an input / output processing pattern that requires access to the disk device 204 in the disk device group 211.

(3)さらに、制御装置203が、キヤツシユ206を有する
場合、処理装置210から受け付けた入出力要求とは独立
に、制御装置203が以下の入出力処理を実行する。
(3) Further, when the control device 203 has the cache 206, the control device 203 executes the following input / output processing independently of the input / output request received from the processing device 210.

キヤツシユ206とデイスク装置グループ211内のデイス
ク装置204との間の入出力処理パターンであり、処理装
置210が関与しないデータ転送パターンである。
This is an input / output processing pattern between the cache 206 and the disk devices 204 in the disk device group 211, and is a data transfer pattern that does not involve the processing device 210.

本発明は、同一のデイスク装置グループ211に属する
デイスク装置204の間の負荷分散方法に関する。したが
つて、(1)に示したデイスク装置グループ211にアク
セスする必要のない処理パターンは、本発明には、直接
関係しないことになる。制御装置203が実行する入出力
処理パターンのうち(2)および(3)に示した入出力
処理パターンが本発明の対象となることになる。なお、
(2)あるいは(3)に示した入出力処理に割り当てら
れていない(処理を実行中でない)デイスク装置204
を、空いた状態にあるデイスク装置と呼ぶ。
The present invention relates to a load distribution method between disk devices 204 belonging to the same disk device group 211. Therefore, the processing pattern that does not need to access the disk device group 211 shown in (1) is not directly related to the present invention. Of the input / output processing patterns executed by the control device 203, the input / output processing patterns shown in (2) and (3) are the objects of the present invention. In addition,
Disk device 204 not assigned to the input / output processing shown in (2) or (3) (processing is not being executed)
Is called an empty disk device.

以下、2種類それぞれの実施例の概要を説明する。ま
す、第1の実施例の概要を説明する。
The outline of each of the two embodiments will be described below. First, the outline of the first embodiment will be described.

第1図は、第1の実施例における、制御装置203の動
作を説明する図である。
FIG. 1 is a diagram for explaining the operation of the control device 203 in the first embodiment.

第1図の構成においては、それぞれのデイスク装置グ
ループA,BおよびC内に、1台のマスクデイスクA,B、お
よびCが存在する。マスタデイスクと他のデイスク装置
との相違については、後述する。マスタデイスクとは、
各デイスク装置グループ内で予め定めた特定のデイスク
装置である。
In the configuration of FIG. 1, one mask disk A, B, and C exists in each disk device group A, B, and C. The difference between the master disk and other disk devices will be described later. What is a master disk?
This is a specific disk device determined in advance in each disk device group.

第1図においては、デイスク装置グループAおよびデ
イスク装置グループBおよびデイスク装置グループCが
制御装置203に接続されている。
In FIG. 1, a disk device group A, a disk device group B and a disk device group C are connected to the control device 203.

デイスク装置グループAは、マスタデイスクA,デイス
クA1,…,デイスクAiによつて構成される。同様に、デ
イスク装置グループBは、マスタデイスクB,…,デイス
クBjによつて、デイスク装置グループCは、マスタデイ
スクC,…,デイスクCkによつてそれぞれ構成される。
The disk device group A is composed of master disks A, disks A1,..., Disks Ai. Similarly, the disk device group B is composed of master disks B,..., Disk Bj, and the disk device group C is composed of master disks C,.

制御装置203が、処理装置210から受け取り、デイスク
装置グループ211にアクセスする必要のある入出力要求
を、ライト要求とリード要求に分けて説明する。第1図
において、ライト要求に伴うデータの流れ符号110,リー
ド要求に伴うデータの流れを符号113で示してある。以
下、それぞれの要求に対するデータ転送パターンについ
て述べる。
The input / output requests that the control device 203 receives from the processing device 210 and needs to access the disk device group 211 will be described separately for write requests and read requests. In FIG. 1, reference numeral 110 denotes a data flow associated with a write request, and reference numeral 113 denotes a data flow associated with a read request. Hereinafter, a data transfer pattern for each request will be described.

制御装置203は、デイスク装置グループAにアクセス
する必要のあるライト要求110を受け取つている。制御
装置203は、デイスク装置グループAの中で、マスタデ
イスクAを選択する。すなわち、マスタデイスクAと
は、デイスク装置グループAにアクセスする必要のある
ライト要求を集中させるデイスク装置ということにな
る。
The control device 203 has received a write request 110 that needs to access the disk device group A. The control device 203 selects the master disk A from the disk device group A. That is, the master disk A is a disk device that concentrates write requests that need to access the disk device group A.

制御装置203は、処理装置210から受け付けたライト要
求に伴うデータをマスタデイスクAに書き込むと共に、
キヤツシユ206にも書き込む。制御装置203は、同一のデ
イスク装置グループに属するデイスク装置、例えば、マ
スタデイスクA,デイスク装置A1,…デイスク装置Aiに
は、同一のデータの書き込み処理を実行する。キヤツシ
ユ206内に書き込んだライトデータ111は上記の書き込み
処理を実行するために使用する。具体的には、後で、説
明する。
The control device 203 writes data accompanying the write request received from the processing device 210 to the master disk A,
Write it to cache 206 as well. The control device 203 executes the same data write processing on the disk devices belonging to the same disk device group, for example, the master disk A, the disk devices A1,..., The disk device Ai. The write data 111 written in the cache 206 is used to execute the above-described write processing. The details will be described later.

デイスク装置グループAにアクセスする必要のあるラ
イト要求を受け付けた場合、マスタデイスクAを選択す
る理由は、以下のとおりである。デイスク装置グループ
Aにアクセスする必要のあるライト要求をマスタデイス
クAに必ず割り当てるようにすると、マスタデイスクA
には、処理装置210から受け取つたライトデータ112のす
べてを書き込むことになる。このため、例えば、マスタ
デイスクA以外のデイスクAiが故障して、キヤツシユ20
6が電源ダウンした場合にも、マスタデイスクAに完全
なデータが保持される。
When a write request for accessing the disk device group A is received, the reason for selecting the master disk A is as follows. If a write request that needs to access the disk device group A is always assigned to the master disk A, the master disk A
, The entire write data 112 received from the processing device 210 is written. For this reason, for example, a disk Ai other than the master disk A fails and the cache 20
When the power of 6 is turned off, complete data is held in the master disk A.

しかし、処理装置210から受け付けたライト要求の割
当てに、デイスク装置の選択の自由度を制限しているた
め性能は落ちることになる。具体的には、制御装置203
が、デイスク装置グループAにアクセスする必要のある
ライト要求110を受け付けた時、マスタデイスクA以外
のデイスクA1などが空いていても、マスタデイスクAが
空いていない場合、直ちにその処理に入ることができな
いことになる。
However, since the degree of freedom in selecting a disk device is limited to the assignment of the write request received from the processing device 210, the performance is reduced. Specifically, the control device 203
However, when a write request 110 that needs to access the disk device group A is received, even if a disk A1 other than the master disk A is vacant, if the master disk A is not vacant, the process is immediately started. You can't.

第1図では、制御装置203は、デイスク装置処理グル
ープCにアクセスする必要のあるリード要求を受け取つ
た場合も示している。この時、制御装置203は、デイス
ク装置グループCの中で、空いた状態にある任意のデイ
スク装置の中から1つのデイスク装置(第1図では、デ
イスクC1)を選択する。
FIG. 1 also shows a case where the control device 203 receives a read request that needs to access the disk device processing group C. At this time, the control device 203 selects one disk device (disk C1 in FIG. 1) from any empty disk devices in the disk device group C.

制御装置203は、デイスクC1から処理装置210に対し
て、要求されたデータを送る。(この経路を符号113で
示す。)この時、処理装置210が要求したデータ、(も
しくは、処理装置210が要求したデータとこのデータの
デイスクC1上の近傍のデータ)をステージデータ114と
して、キヤツシユ206にステージしてもよい。この様子
を破線でしめす。
The control device 203 sends the requested data from the disk C1 to the processing device 210. At this time, the data requested by the processing device 210 (or the data requested by the processing device 210 and the data near the data C1 on the disk C1) is set as the stage data 114, and the cache is cached. You may stage at 206. This is indicated by a broken line.

制御装置203が、処理装置210から受け付けた入出力要
求とは独立に実行するデイスク装置グループとキヤツシ
ユ206との間の入出力処理は、第1図に示した以下の処
理がある。ライトデータを、デイスク装置に書き込むラ
イトアフタ処理と、処理装置210からの入出力要求とは
独立なステージ処理である。処理装置210とは独立なス
テージ処理の例は、シーケンシヤル処理に対する先読み
処理を制御装置203が実行する場合に相当する。以下、
それぞれの場合について説明する。
The input / output processing between the disk device group and the cache 206 executed by the control device 203 independently of the input / output request received from the processing device 210 includes the following processes shown in FIG. Write-after processing for writing write data to the disk device is a stage process independent of input / output requests from the processing device 210. An example of a stage process independent of the processing device 210 corresponds to a case where the control device 203 executes a prefetch process for a sequential process. Less than,
Each case will be described.

ライトアフタ処理は、キヤツシユ206内のライトデー
タ111を、未書き込みであるデイスク装置Aiに、書き込
む処理である。デイスク装置グループAの中で、処理装
置210から受け取つたライトデータ111を直接書き込んだ
マスタデイスクAには、ライトアフタ処理を実行する必
要ない。したがつて、マスタデイスクAを除く、デイス
クA1,…デイスクAiには、順次ライトアフタ処理が実行
される。実行順序は不同でもよい。
The write-after process is a process of writing the write data 111 in the cache 206 to the unwritten disk device Ai. In the disk device group A, it is not necessary to execute the write-after process on the master disk A to which the write data 111 received from the processing device 210 is directly written. Therefore, the disks A1,..., Disks Ai, except for the master disk A, are sequentially subjected to the write-after processing. The order of execution may be random.

制御装置203は、あるデイスク装置グループBに対し
て処理装置210とは独立な、ステージ処理を実行する場
合、デイスク装置グループBの中で空いた状態にある任
意の1台のデイスク装置を選択する。第1図では、制御
装置203は、デイスクBjから、ステージデータ116をキヤ
ツシユ206にステージしている。
When executing a stage process on a certain disk device group B independent of the processing device 210, the control device 203 selects any one of the disk device groups B that is vacant in the disk device group B. . In FIG. 1, the control device 203 has staged the stage data 116 on the cache 206 from the disk Bj.

以上が、本実施例における制御装置203の動作であ
る。その特徴点は、以下のとおりである。
The above is the operation of the control device 203 in the present embodiment. The features are as follows.

処理装置210から受け付けたデイスク装置グループに
アクセスする必要があるライト要求に対しては、マスタ
デイスクを選択して信頼性を確保する。一方、デイスク
装置グループからデータを読みだす場合、空いた状態に
あるデイスク装置を選択する。以上により、高信頼化と
高性能化とをバランスよく実現する。
For a write request that needs to access the disk device group received from the processing device 210, a master disk is selected to ensure reliability. On the other hand, when reading data from a disk device group, an empty disk device is selected. As described above, high reliability and high performance are realized in a well-balanced manner.

以下、第3図から第5図を用いて、並列動作の例を示
す。
Hereinafter, an example of the parallel operation will be described with reference to FIGS.

第3図は、制御装置203が、以下のパターンの入出力
処理の並列実行の形態を表している。
FIG. 3 shows a form in which the control device 203 executes the following pattern of input / output processing in parallel.

第1のパターンの入出力処理は、処理装置210から受
け付けたデイスク装置グループAにアクセスする必要の
ある入出力処理である。
The input / output process of the first pattern is an input / output process that needs to access the disk device group A received from the processing device 210.

第2のパターンの入出力処理は、処理装置210とは独
立に制御装置203がキヤツシユ206との間で実行する入出
力処理である。
The input / output processing of the second pattern is an input / output processing executed by the control device 203 with the cache 206 independently of the processing device 210.

例えば、第3図に示すように、制御装置203が、デイ
スクA1との間で処理装置210からの入出力処理とは独立
なステージ処理,デイスクA2との間でライトアフタ処理
を実行しているとする。この時、さらに、制御装置203
が、処理装置210からデイスク装置グループAへのアク
セスが必要な入出力要求を受け取つたとする。第3図
は、デイスク装置グループAへのアクセスが必要なリー
ド要求を受け取つた例である。この場合、制御装置203
は、デイスク装置グループAの中から空いた状態のデイ
スク装置Aiを選択することにより、受け取つた入出力要
求の実行に入ることができる。ただし、処理装置210か
ら受け取つた入出力要求が、デイスク装置グループAへ
のアクセスが必要なライト要求の場合には、マスタデイ
スクAが空いていないと、同様の処理が実行できない。
For example, as shown in FIG. 3, the control device 203 executes a stage process independent of the input / output process from the processing device 210 with the disk A1, and a write-after process with the disk A2. And At this time, the control device 203
However, it is assumed that an input / output request that requires access to the disk device group A from the processing device 210 is received. FIG. 3 shows an example in which a read request that requires access to the disk device group A is received. In this case, the control device 203
Can select the empty disk device Ai from the disk device group A to execute the received input / output request. However, if the input / output request received from the processing device 210 is a write request that requires access to the disk device group A, the same processing cannot be executed unless the master disk A is free.

また、第3図には、それぞれライトアフタ処理,処理
装置210とは独立なステージ処理を1多重ずつ実行して
いる。ただし、空いた状態にあるデイスク装置があれ
ば、制御装置203は、それぞれ2多重以上のライトアフ
タ処理,処理装置210とは独立なステージ処理を実行可
能である。
Further, in FIG. 3, each of the write after process and the stage process independent of the processing device 210 are executed one by one. However, if there is an empty disk device, the control device 203 can execute two or more multiplex write-after processes and a stage process independent of the processing device 210.

第4図および第5図は、処理装置210から受け付けた
人出力処理の並列動作に関する内容である。
4 and 5 show the contents related to the parallel operation of the human output processing received from the processing device 210.

第4図は、制御装置203に処理装置210が複数,具体的
には、処理装置210と処理装置210aが接続されている場
合である。
FIG. 4 shows a case where a plurality of processing devices 210 are connected to the control device 203, specifically, the processing devices 210 and 210a are connected.

制御装置203が、処理装置210から受け取つたデイスク
装置グループAにアクセスする必要のあるリード要求の
処理を、デイスクA1との間で処理を実行しているとす
る。この時、制御装置203が、処理装置210aからデイス
ク装置グループAにアクセスする必要のあるリード要求
を、受け取つたとする。制御装置203は、デイスク装置
グループAの中で空いた状態にある任意のデイスク装
置、すなわち、デイスクAiを選択し、受け取つたリード
要求の処理に入る。もちろん、処理装置210aからデイス
ク装置グループAにアクセスする必要のあるライト要求
を受け取つた場合にも空いた状態にあるデイスク装置が
あれば、直ちにその処理に入ることができる。ただし、
マスタデイスクAの競合により、デイスク装置グループ
Aにアクセスする必要のあるライト要求どうしの並列動
作は実行不可能である。
It is assumed that the control device 203 is executing a process of a read request that needs to access the disk device group A received from the processing device 210 with the disk A1. At this time, it is assumed that the control device 203 has received a read request that requires access to the disk device group A from the processing device 210a. The control device 203 selects an optional disk device in the disk device group A, that is, the disk Ai, and starts processing the received read request. Of course, even when a write request that needs to access the disk device group A is received from the processing device 210a, if there is an empty disk device, the processing can be immediately started. However,
Due to contention of the master disk A, a parallel operation of write requests that need to access the disk device group A cannot be executed.

さらに、3台以上の処理装置が制御装置203に接続さ
れている場合には、空いた状態にあるデイスク装置さえ
あれば、3多重以上のデイスク装置グループAにアクセ
スする必要のある入出力要求を並列に実行可能である。
Further, when three or more processing devices are connected to the control device 203, if there is an empty disk device, an I / O request that needs to access three or more disk device groups A is required. Can be executed in parallel.

第5図は、制御装置203に処理装置210が1台接続され
ている場合である。処理装置210は、デイスク装置グル
ープAへの入出力要求に対する処理が完了する前に、デ
イスク装置グループAに新たな入出力要求を発行データ
機能をもつているものとする。
FIG. 5 shows a case where one processing device 210 is connected to the control device 203. It is assumed that the processing device 210 has a data function for issuing a new input / output request to the disk device group A before the processing for the input / output request to the disk device group A is completed.

第5図において、制御装置203が、処理装置210から受
け取つたデイスク装置グループAにアクセスする必要の
あるリード要求の処理を、デイスクA1との間で実行して
いるとする。この状態で、制御装置203が、処理装置210
から、さらに、デイスク装置グループAにアクセスする
必要のあるリード要求を受け取つたとする。制御装置20
3は、デイスク装置グループAの中で空いた状態にある
任意のデイスク装置、すなわち、デイスクAiを選択し、
受け取つたリード要求の処理に入る。もちろん、処理装
置210からデイスク装置グループAにアクセスする必要
のあるライト要求を受け取つた場合にも空いた状態にあ
るデイスク装置があれば、直ちにその処理に入ることが
できる。ただし、マスタデイスクAの競合の関係から、
デイスク装置グループAにアクセスする必要のあるライ
ト要求どうしの並列動作は実行できない。
In FIG. 5, it is assumed that the control device 203 is executing a read request process which needs to access the disk device group A received from the processing device 210 with the disk A1. In this state, the control device 203
, Further receives a read request that needs to access the disk device group A. Control device 20
3 selects an arbitrary disk device in the disk device group A which is in an empty state, that is, a disk Ai,
The processing of the received read request is started. Of course, even if a write request that needs to access the disk device group A is received from the processing device 210, if there is an empty disk device, the processing can be immediately started. However, due to the competition of Master Disk A,
A parallel operation between write requests that need to access the disk device group A cannot be executed.

さらに、処理装置210が同一のデイスク装置グループ
Aに対し、3多重以上の入出力要求を発行する場合に
も、空いた状態にあるデイスク装置さえあれば、制御装
置203は、発行された入出力要求を並列に実行可能であ
る。
Further, when the processing device 210 issues an I / O request for three or more multiplexes to the same disk device group A, if there is only an empty disk device, the control device 203 executes the issued I / O request. Requests can be executed in parallel.

以上が、第1の実施例の概要である。次に、第2の実
施例について概要について述べる。
The above is the outline of the first embodiment. Next, an outline of the second embodiment will be described.

第2の実施例の概要を、第6図に示す。 An outline of the second embodiment is shown in FIG.

第2の実施例は、制御装置203の動作が、第1の実施
例と以下の点で異なる。デイスク装置グループにアクセ
スする必要のあるリード要求に関しては、マスタデイス
ク以外のデイスク装置を優先的に選択する点である。同
様に、処理装置210とは独立なステージ処理に関して
も、マスタデイスク以外のデイスク装置を優先的に選択
する。以上述べた方法をとる理由は、マスタデイスク以
外のデイスク装置を選択しておけば、さらなる高速化が
可能となるためである。というのは、デイスク装置グル
ープにアクセスする必要のあるライト要求を受け付けた
時、マスタデイスクが空いている確率を高めることがで
きるためである。
The operation of the control device 203 of the second embodiment differs from that of the first embodiment in the following points. For a read request that needs to access the disk device group, a disk device other than the master disk is preferentially selected. Similarly, for the stage processing independent of the processing device 210, a disk device other than the master disk is preferentially selected. The reason why the above-described method is adopted is that if a disk device other than the master disk is selected, the speed can be further increased. This is because the probability that the master disk is free when a write request that needs to access the disk device group is received can be increased.

以下、実施例の詳細を説明する。 Hereinafter, details of the embodiment will be described.

まず、第1の実施例について詳細に説明する。 First, the first embodiment will be described in detail.

第2図に示した計算機システムの構成は、第1の実施
例にそのまま適用できる。以下、それぞれの詳細につい
て説明する。
The configuration of the computer system shown in FIG. 2 can be applied to the first embodiment as it is. Hereinafter, each of them will be described in detail.

第8図は、デイスク装置204の構成である。円板801
は、データを記録する媒体であり、1つのデイスク装置
204には複数存在する回転体である。読み書きヘツド802
は、円板801上のデータを読み書きする装置であり、円
板308対応に存在する。制御装置インターフエイス803
は、制御装置203とのインターフエイスとなる。
FIG. 8 shows the configuration of the disk device 204. Disk 801
Is a medium for recording data.
Reference numeral 204 denotes a plurality of rotating bodies. Read / write head 802
Is a device for reading and writing data on the disk 801, and exists for the disk 308. Control device interface 803
Is an interface with the control device 203.

円板801が一回転する間に、読み書きヘツド802がアク
セス可能な円状の記録単位をトラツク800とよぶ。トラ
ツク800は、円板801上に複数存在する。
A circular recording unit accessible by the read / write head 802 during one rotation of the disk 801 is called a track 800. A plurality of tracks 800 exist on the disk 801.

第9図は、トラツク800の構成である。トラツク800
は、ある位置を基準として、トラツク先頭902と、トラ
ツク末尾903が定められる。また、トラツク800上には、
1つ以上のレコード900が存在する。レコード900は処理
装置210と制御装置203との間の最小の入出力処理単位で
ある。トラツク800上のレコード900の位置は、セル901
という、固定長バイトを単位で表現する。(レコード90
0は、必ず、セル901の先頭から格納開始され、セル901
の途中からは、格納開始されない。)セル901の番号
は、トラツク800の先頭を0番とし、1ずつの昇順につ
けられる。
FIG. 9 shows the configuration of the track 800. Truck 800
, A track head 902 and a track tail 903 are determined based on a certain position. Also, on Track 800,
One or more records 900 exist. The record 900 is a minimum input / output processing unit between the processing device 210 and the control device 203. The location of record 900 on track 800 is cell 901
Is expressed in units of fixed-length bytes. (Record 90
0 always starts storing from the beginning of cell 901 and cell 901
Is not started from the middle of the process. ) The number of the cell 901 is assigned in ascending order by 1 with the head of the track 800 being 0.

第10図は、キヤツシユ206の構成である。キヤツシユ2
06は、セグメント1000により構成される。本実施例で
は、1つのトラツク800に対し1つのセグメントを割り
当て、セグメント1000内には、トラツク800全体のデー
タを格納するものとする。ただし、本発明は、セグメン
ト1000の割当単位を、トラツク800に限定する必要はな
く、もつと小さい単位、例えば、処理装置210と制御装
置203のリード/ライト単位であるレコード900としても
有効である。
FIG. 10 shows the structure of the cache 206. Cache 2
06 is composed of a segment 1000. In the present embodiment, one segment is assigned to one track 800, and data of the entire track 800 is stored in the segment 1000. However, in the present invention, the allocation unit of the segment 1000 does not need to be limited to the track 800, and is effective as a small unit, for example, the record 900 which is a read / write unit of the processing device 210 and the control device 203. .

第11図は、デイレクトリ208の構成である。デイレク
トリ208は、セグメント管理情報1100,トラツク票1101、
ならびに、空きセグメント先頭ポインタ1102により構成
される。セグメント管理情報1100は、セグメント1000単
位に存在する。トラツク票1101および空きセグメントポ
インタ1102は制御装置203内に1つ存在する。
FIG. 11 shows the configuration of the directory 208. The directory 208 includes segment management information 1100, track votes 1101,
And an empty segment head pointer 1102. The segment management information 1100 exists in units of 1000 segments. One track slip 1101 and one free segment pointer 1102 exist in the control device 203.

第12図は、セグメント管理情報1100の中にもうける本
実施例で必要な情報を示したものである。以下、各パラ
メータとその内容を示す。
FIG. 12 shows information required in this embodiment in the segment management information 1100. Hereinafter, each parameter and its contents are shown.

空きセグメントポインタ1200…トラツク800に割り当
てていない他のセグメント1000に対応したセグメント管
理情報1100へのポインタである。
Empty segment pointer 1200: a pointer to segment management information 1100 corresponding to another segment 1000 not allocated to the track 800.

キヤツシユドトラツク番号1201…当該セグメント管理
情報500に対応したセグメント400内に格納したデイスク
装置グループ211の番号,トラツク800の番号を表す。
Cache track number 1201... Represents the number of the disk device group 211 and the number of the track 800 stored in the segment 400 corresponding to the segment management information 500.

レコードビツトマツプ1202…当該セグメント管理情報
500に対応したセグメント400内に格納したトラツク800
上のレコード900の開始位置を表わす。ここで、それぞ
れのビツトはセル901の番号対応に存在するものとす
る。例えば、レコードビツトマツプ1202の中のn番目の
ビツトがオンであれば、当該セグメント管理情報1100に
対応したn番目のセル901から、レコード301の格納が開
始されていることになる。n番目のビツトがオフであれ
ば、n番目のセル901から、格納開始されているレコー
ド301に存在しないことになる。第13図は、本実施例に
おけるセグメント1000内の、トラツク800上の格納形式
を表わしたものである。セグメント1000内には、トラツ
ク800上のトラツク先頭901から、レコード900が順番に
格納される。したがつて、レコード900のトラツク上で
格納開始されるセル901の番号がわかれば、そのレコー
ド301のセグメント1000内の格納開始位置もわかる。
Record bit map 1202 ... Segment management information
Track 800 stored in segment 400 corresponding to 500
Represents the starting position of the record 900 above. Here, it is assumed that each bit exists corresponding to the number of the cell 901. For example, if the n-th bit in the record bit map 1202 is on, it means that the storage of the record 301 has been started from the n-th cell 901 corresponding to the segment management information 1100. If the n-th bit is off, it means that there is no record 301 starting from the n-th cell 901 in the record 301 whose storage has been started. FIG. 13 shows the storage format on the track 800 in the segment 1000 in this embodiment. In the segment 1000, records 900 are stored in order from the track head 901 on the track 800. Therefore, if the number of the cell 901 to be stored on the track of the record 900 is known, the storage start position in the segment 1000 of the record 301 can be known.

更新レコードビツトマツプ1203…当該セグメント管理
情報500に対応したセグメント400内に格納されていて、
かつ、ライトアフタ処理112が必要なレコード900のビツ
トマツプである。ライト処理112が必要なレコード900を
以下、ライトアフタレコードと呼ぶ。それぞれのビツト
は、レコードビツトマツプ1202と同様、セル901の番号
対応に存在する。具体的には、更新レコードビツトマツ
プ1203の中のn番目のビツトがオンであれば、当該セグ
メント管理情報1100に対応したn番目のセル901から格
納開始されているレコード301が、ライトアフタレコー
ドということになる。更新レコードビツトマツプ1203
は、1台のデイスク装置204対応に存在する。具体的
に、それぞれの更新ビツトマツプ1203がどのデイスク装
置204に対応するかについては、制御用メモリ207の構成
の説明の部分で述べる。更新レコードビツトマツプ1203
の領域は、1つのデイスク装置グループ211内の定義可
能なデイスク装置204の数の分だけ用意されている。た
だし、使用される更新レコードビツトマツプ1203の数
は、当該デイスク装置グループを構成するデイスク装置
204の台数である。
Update record bitmap 1203 ... stored in the segment 400 corresponding to the segment management information 500,
In addition, this is a bit map of the record 900 requiring the write-after processing 112. The record 900 requiring the write process 112 is hereinafter referred to as a write after record. Each bit exists in correspondence with the number of the cell 901 as in the case of the record bit map 1202. Specifically, if the n-th bit in the update record bit map 1203 is ON, the record 301 starting to be stored from the n-th cell 901 corresponding to the segment management information 1100 is called a write-after record. Will be. Update Record Bitmap 1203
Exist for one disk device 204. Specifically, which disk device 204 the update bit map 1203 corresponds to will be described in the description of the configuration of the control memory 207. Update Record Bitmap 1203
Are prepared by the number of disk devices 204 that can be defined in one disk device group 211. However, the number of update record bitmaps 1203 used depends on the number of disk devices that constitute the disk device group.
This is 204 units.

格納済みフラグ1204…当該セグメント管理情報に対応
したセグメント1000内に、割当てたトラツク800上のレ
コード900を格納してあるかを示す。
Stored flag 1204: Indicates whether the record 900 on the allocated track 800 is stored in the segment 1000 corresponding to the segment management information.

使用中フラグ1205…当該セグメント管理情報1100に割
当てたトラツク800に対応した入出力処理を実行中であ
ることを示す。
Busy flag 1205: Indicates that the input / output processing corresponding to the track 800 assigned to the segment management information 1100 is being executed.

セグメントポインタ1206…当該セグメント管理情報に
対応したセグメント1000へのポインタである。
A segment pointer 1206 is a pointer to the segment 1000 corresponding to the segment management information.

第14図は、トラツク票1101,空きセグメント先頭ポイ
ンタ1102の構成である。
FIG. 14 shows the configuration of the track slip 1101 and the free segment head pointer 1102.

トラツク票1101は、すべてのデイスク装置グループ21
1のトラツク800に関して、そのトラツク800に対してセ
グメント1000が割り当てられているか、いないかを表
す。割り当てられている場合には、そのトラツク800に
割り当てられているセグメント1000に対応したセグメン
ト管理情報1200へのポインタを表す。トラツク票1201に
おいては、同じデイスク装置グループ211上のトラツク8
00に関する情報は、まとめて、トラツク800の番号順に
格納される。
Track vote 1101 is assigned to all disk device groups 21
Regarding one track 800, it indicates whether the segment 1000 is allocated to the track 800 or not. If it is assigned, it indicates a pointer to the segment management information 1200 corresponding to the segment 1000 assigned to the track 800. In the track vote 1201, the track 8 on the same disk device group 211
Information on 00 is collectively stored in the order of the track 800 number.

トラツク800を割り当ててないセグメント1000に対応
したセグメント管理情報1100は、空きセグメント先頭ポ
インタ1102から順に、空きセグメントポインタ1200で、
結合される。結合されているセグメント管理情報1100の
集合を空きセグメントキユー1400と呼ぶ。
The segment management information 1100 corresponding to the segment 1000 to which the track 800 is not allocated is, in order from the free segment head pointer 1102, the free segment pointer 1200,
Be combined. A set of segment management information 1100 that is combined is called an empty segment queue 1400.

第15図は、制御情報用メモリ207の構成である。制御
情報用メモリ207内には、各デイスク装置グループ211に
対応した制御情報であるデイスク装置グループ情報1500
が含まれる。デイスク装置グループ情報1500の個数は、
1台の制御装置203内に定義可能なデイスク装置グルー
プ211の数だけ用意されている。
FIG. 15 shows the configuration of the control information memory 207. In the control information memory 207, disk device group information 1500 which is control information corresponding to each disk device group 211 is stored.
Is included. The number of disk device group information 1500 is
The number of disk device groups 211 that can be defined in one control device 203 is prepared.

第16図は、デイスク装置グループ装置1500の構成であ
る。
FIG. 16 shows the configuration of a disk device group device 1500.

デイスク装置数1600…当該デイスク装置グループ211
内に現在定義されているデイスク装置204の数である。
The number of disk devices 1600 ... the relevant disk device group 211
Is the number of disk devices 204 currently defined within.

デイスク装書情報1601…当該デイスク装置グループ情
報1500を構成するそれぞれのデイスク装置204対応の情
報である。デイスク装置情報1600は、1つのデイスク装
置グループ211内に定義可能なデイスク装置204だけ用意
される。ただし、有効な情報は、先頭のデイスク装置情
報1601からデイスク装置数1600に定義されている数のデ
イスク装置情報1601までに格納される。ここで、先頭の
デイスク装置情報1601が、マスタデイスクに対応した情
報である。
Disk packaging information 1601... Information corresponding to each disk device 204 constituting the disk device group information 1500. As the disk device information 1600, only the disk devices 204 that can be defined in one disk device group 211 are prepared. However, valid information is stored from the first disk device information 1601 to the number of disk device information 1601 defined in the number 1600 of disk devices. Here, the first disk device information 1601 is information corresponding to the master disk.

また、セグメント管理情報1200内のn番目の更新レコ
ードビツトマツプ1203は、n番目のデイスク装置情報16
01に対応したデイスク装置204である。
Also, the n-th update record bitmap 1203 in the segment management information 1200 contains the n-th disk device information 16.
This is a disk device 204 corresponding to 01.

処理装置I/O待ちビツト1602…処理装置210から、当該
デイスク装置グループ211への受け付けた入出力要求が
待ち状態になつていることを表わすビツトである。本ビ
ツトの数は、以下のように表わすことができる 処理装置I/O待ちビツト1602の数=制御装置203に接続
可能な処理装置210の数(ここでは、I台とする。)×
1台の処理装置210が1つのデイスク装置グループ210に
対して並行して処理可能な入出力処理要求の数(ここで
は、J個とする。) したがつて、各処理装置210が制御装置203に入出力要
求を発行する際には、処理装置210は、制御装置203に以
下の2点を通知する。まず、第1点目の内容は、入出力
要求を発行する処理装置210が、1番からI番目までの
何番の処理装置210であるかという点である。第2点目
は、その入出力要求が、指定したデイスク装置グループ
211への、1番からJ番までの何番目の入出力要求であ
るかを通知する。
Processing device I / O wait bit 1602: A bit indicating that an input / output request received from the processing device 210 to the disk device group 211 is in a wait state. The number of bits can be expressed as follows: number of processing device I / O waiting bits 1602 = number of processing devices 210 connectable to control device 203 (here, I units) x
According to the number of input / output processing requests that can be processed in parallel by one processing device 210 with respect to one disk device group 210 (here, J requests), each processing device 210 controls the control device 203. When issuing an input / output request to the control device 210, the processing device 210 notifies the control device 203 of the following two points. First, the first point is that the number of the processing device 210 from the first to the I-th is the processing device 210 that issues the input / output request. The second point is that the I / O request is assigned to the specified disk device group.
The number of the input / output request from No. 1 to No. J to the 211 is notified.

第17図は、デイスク装置情報1601の構成である。 FIG. 17 shows the structure of the disk device information 1601.

デイスク装置番号1700…当該デイスク装置情報1700に
対応したデイスク装置204の番号である。
Disk device number 1700: The number of the disk device 204 corresponding to the disk device information 1700.

処理装置I/O実行中ビツト1701…当該デイスク装置情
報1700に対応したデイスク装置204が、処理装置210から
の入出力要求の実行中であることを1ビツトで表わす。
Processing device I / O executing bit 1701... Indicates by one bit that the disk device 204 corresponding to the disk device information 1700 is executing an input / output request from the processing device 210.

ライトアフタ実行中ビツト1702…当該デイスク装置情
報1700に対応したデイスク装置204が、ライトアフタ処
理112を実行中であることを1ビツトで表わす。
Write-after executing bit 1702... Indicates by one bit that the disk device 204 corresponding to the disk device information 1700 is executing the write-after processing 112.

独立ステージ実行中ビツト1703…該当デイスク装置情
報1700に対応したデイスク装置204が、処理装置210とは
独立したステージ処理115を実行中であることを1ビツ
トで示す。
Independent stage execution bit 1703... Indicates by one bit that the disk device 204 corresponding to the corresponding disk device information 1700 is performing the stage processing 115 independent of the processing device 210.

処理装置I/O実行中ビツト1701,ライトフアタ実行中ビ
ツト1702,独立ステージ実行中ビツト1703の内同時にオ
ンになるのは高々1つの情報である。また、処理装置I/
O実行中ビツト1701,ライトフアタ実行中ビツト1702,独
立ステージ実行中ビツト1703のすべてがオフであるデイ
スク装置204が、空いた状態にあるデイスク装置204とい
うことになる。
Only one piece of information that is turned on at the same time among the processing device I / O executing bit 1701, the write data executing bit 1702, and the independent stage executing bit 1703 is at the same time. Also, the processing device I /
The disk device 204 in which all of the O-executing bit 1701, the write-fat-executing bit 1702, and the independent-stage-executing bit 1703 are off is the disk device 204 in an empty state.

セグメント管理情報ポインタ1704…当該デイスク装置
情報1700に対応したデイスク装置204で実行中の入出力
処理がアクセスするトラツク800に割当てたセグメント
管理実施例1100へのポインタを表わす。
Segment management information pointer 1704... Indicates a pointer to the segment management embodiment 1100 assigned to the track 800 accessed by the input / output processing being executed by the disk device 204 corresponding to the disk device information 1700.

制御情報用メモリ207内の情報は、電源障害等で消失
してしまうと問題があるため、制御情報用メモリ207
は、不揮発化しておくことが望ましい。
There is a problem if the information in the control information memory 207 is lost due to a power failure or the like.
Is desirably nonvolatile.

制御装置203が実行すべき入出力処理は、実際には、
制御装置203内にそれぞれのデイレクタ205が、並行して
実行することになる。
The input / output processing to be executed by the control device 203 is actually
Each director 205 in the control device 203 executes in parallel.

第18図には、それぞれのデイレクタ205が、本実施例
に実行する際に用いる各手続きを示した。以下、それぞ
れ機能について述べる。
FIG. 18 shows each procedure used when each director 205 executes this embodiment. Hereinafter, each function will be described.

入出力要求受け付け部1800…処理装置210から受け付
けた入出力要求の処理を行う。
Input / output request receiving unit 1800: Processes input / output requests received from the processing device 210.

ライトアフタ処理スケジユール部1801…ライトアフタ
処理をスケジユールする。
Write-after processing schedule section 1801 ... Schedules the write-after processing.

独立ステージ処理スケジユール部1802…処理装置210
とは独立したステージ処理をスケジユールする。
Independent stage processing schedule section 1802 ... Processing device 210
Schedule the stage processing independent of.

デイスク装置転送部1803…デイスク装置204とのリー
ド/ライト転送を実行する部分である。
Disk device transfer section 1803: A portion for executing read / write transfer with the disk device 204.

第19図は、入出力要求受け付け部1800の処理フロー図
である。入出力要求受け付け部1800の実行契機は、処理
装置210から、新たな入出力要求を受け付けた時であ
る。以下、その処理フローを説明する。
FIG. 19 is a processing flowchart of the input / output request receiving unit 1800. The execution timing of the input / output request receiving unit 1800 is when a new input / output request is received from the processing device 210. Hereinafter, the processing flow will be described.

ステツプ1900では、受け取つた入出力要求が、デイス
ク装置204までアクセスする必要がある入出力要求であ
るかをチエツクする。具体的にどのような入出力要求
が、デイスク装置204にアクセスする必要があるのかに
ついては、本発明には直接関係しないため、詳細は省略
する。受け付けた入出力要求が、デイスク装置204にア
クセスする必要のない場合、ステツプ1915へジヤンプす
る。
In step 1900, it is checked whether the received I / O request is an I / O request that needs to access the disk device 204. The specific input / output request that needs to access the disk device 204 is not directly related to the present invention, and thus the details are omitted. If the received input / output request does not require access to the disk device 204, the process jumps to step 1915.

ステツプ1901以降の処理は、受け付けた入出力要求
が、デイスク装置204にアクセスする必要のある入出力
要求の場合の処理である。
The processing after step 1901 is a processing in the case where the received input / output request is an input / output request that needs to access the disk device 204.

ステツプ1901では、入出力要求がアクセス対象とする
トラツク300が、セグメント1000を割当て中かを調べ
る。割当て中であれば、ステツプ1903へジヤンプする。
In step 1901, it is checked whether the track 300 to be accessed by the input / output request is allocating the segment 1000. If so, the process jumps to step 1903.

ステツプ1902では、入出力要求がアクセス対象とする
トラツク300にセグメント管理情報1100を割当て、トラ
ツク票1101の該当する領域にリンクする。さらに、割当
てたセグメント管理情報1100の格納済フラグ1205をオフ
にし、使用中フラグをオンにする。この時、割当て対象
とするセグメント管理情報1100は空きセグメント先頭キ
ユー1102から空いた状態に有るセグメント管理情報1100
を選択する。空いた状態に有るセグメント管理情報1100
がない場合には、公知の方法によつて現在割当て中のセ
グメント管理情報を選択することになる。具体的な選択
方法は、本発明には関係しないため説明を省略する。こ
の後、ステツプ1905へジヤンプする。
In step 1902, the segment management information 1100 is allocated to the track 300 to be accessed by the input / output request, and is linked to the corresponding area of the track slip 1101. Further, the stored flag 1205 of the allocated segment management information 1100 is turned off, and the busy flag is turned on. At this time, the segment management information 1100 to be allocated is the segment management information 1100 that is free from the free segment head queue 1102.
Select Empty segment management information 1100
If there is no segment management information, the segment management information currently assigned is selected by a known method. The specific selection method is not related to the present invention, and thus the description is omitted. Thereafter, jump to step 1905.

ステツプ1903では、入出力要求がアクセス対象とする
トラツク300に割当て中のセグメント管理情報1100の使
用中フラグ1205がオンかどうかをチエツクする。オンで
あれば、他の入出力処理がアクセス対象とするトラツク
300を現在使用中であることになる。したがつて、受け
付けた入出力要求は、直ちに実行に入れないため、ステ
ツプ1914へジヤンプする。
In step 1903, it is checked whether the busy flag 1205 of the segment management information 1100 being allocated to the track 300 to be accessed by the input / output request is on. If on, tracks targeted for access by other I / O processes
300 is currently in use. Therefore, the received input / output request is jumped to step 1914 because it cannot be immediately executed.

使用中フラグ1205がオフであれば、ステツプ1904で、
使用中フラグ1205をオンにする。
If the busy flag 1205 is off, in step 1904,
Turn on the busy flag 1205.

次に、ステツプ1905で、入出力要求が、リード要求か
ライト要求かを調べる。本発明では、デイスク装置グル
ープ211にアクセスする必要のあるライト要求はマスタ
デイスクにアクセスさせる。したがつて、入出力要求が
リード要求の場合には、ステツプ1908へ分岐する。
Next, in step 1905, it is checked whether the input / output request is a read request or a write request. In the present invention, a write request that needs to access the disk device group 211 causes the master disk to be accessed. Therefore, if the input / output request is a read request, the flow branches to step 1908.

ライト要求の場合、ステツプ1906で、マスタデイスク
が空いた状態にあるかをチエツクする。このチエツク
は、入出力対象となつているデイスク装置グループ211
内のマスタデイスクに対応したデイスク装置情報1601
(すなわち、デイスク装置グループ情報1500内の、先頭
のデイスク装置情報1601)内の以下の情報をチエツクす
る。すなわち、処理装置I/O実行中ビツト1701,ライトア
フタ実行中ビツト1702,独立ステージ実行中ビツト1703
のすべてのビツトがオフかを(空いた状態にあるかを)
チエツクする。マスタデイスクが、空いた状態にあれ
ば、この後、ステツプ1907で、マスタデイスクをアクセ
ス対象として選択する。具体的にはマスタデイスクに対
応するデイスク装置情報1601内の処理装置I/O実行中の
ビツト1701オンにする。以上の処理が終了すると、ステ
ツプ1910へジヤンプして、第1の実施例と同様の処理に
入る。
In the case of a write request, it is checked in step 1906 whether the master disk is in an empty state. This check is for the disk device group 211
Device information 1601 corresponding to the master disk in the
The following information in the first disk device information 1601 in the disk device group information 1500 is checked. That is, the processing device I / O execution bit 1701, the write after execution bit 1702, and the independent stage execution bit 1703 are executed.
Whether all bits of are off (is empty)
Check. If the master disk is free, the master disk is selected as an access target in step 1907. Specifically, the bit 1701 of the processing device I / O in the disk device information 1601 corresponding to the master disk is turned on. When the above processing is completed, the process jumps to step 1910, and enters the same processing as in the first embodiment.

マスタデイスクが空いた状態になければ、当該入出力
要求を待ち状態にするため、ステツプ1913へジヤンプす
る。
If the master disk is not empty, the process jumps to step 1913 to wait for the input / output request.

ステツプ1908では、デイスク装置204にアクセスさせ
る必要のあるリード要求に対してデイスク装置204を割
り当てる。本実施例では、デイスク装置204にアクセス
させる必要のあるリード要求に対しては、空いた状態に
ある任意のデイスク装置を割り当てる。したがつて、入
出力対象となつているデイスク装置グループ211の中に
空いた状態のデイスク装置204があるかをチエツクす
る。具体的な処理内容は以下のとおりである。すなわ
ち、処理装置I/O実行中ビツト1701,ライトアフタ実行中
ビツト1702,独立ステージ実行中ビツト1703のすべての
ビツトがオフのデイスク装置情報1601を見つける。見つ
からなかつた場合、空いたデイスク装置204がないこと
になり、入出力処理に入れないため、ステツプ1913へジ
ヤンプする。
In step 1908, the disk device 204 is assigned to a read request that requires access to the disk device 204. In this embodiment, an arbitrary free disk device is assigned to a read request that requires access to the disk device 204. Therefore, it is checked whether there is an empty disk device 204 in the disk device group 211 to be input / output. The specific processing contents are as follows. That is, the disk device information 1601 in which all the bits of the processing device I / O execution bit 1701, the write after execution bit 1702, and the independent stage execution bit 1703 are off is found. If not found, there is no empty disk device 204, and the process jumps to step 1913 because the disk device 204 cannot enter the input / output processing.

見つかつた場合、ステツプ1909で、そのデイスク装置
情報1601内のデイスク装置番号1700に対応するデイスク
装置204をアクセス対象として選択する。具体的には、
見つけたデイスク装置情報1601内の処理装置I/O実行中
ビツト1701をオンにする。
If found, in step 1909, the disk device 204 corresponding to the disk device number 1700 in the disk device information 1601 is selected as an access target. In particular,
The processing device I / O execution bit 1701 in the found disk device information 1601 is turned on.

さらに、ステツプ1910で、セグメント管理情報ポイン
タ1704に、当該入出力要求でアクセス対象となるトラツ
ク800に割当てたセグメント管理情報1100へのポインタ
を設定する。
Further, in step 1910, a pointer to the segment management information 1100 assigned to the track 800 to be accessed by the input / output request is set in the segment management information pointer 1704.

ステツプ1911では、ステツプ1909で選択したデイスク
装置204に対して、位置付け処理要求を発行する。
At step 1911, a positioning processing request is issued to the disk device 204 selected at step 1909.

ステツプ1912では、デイスク装置204の位置付け処理
が完了するまで、一度、処理装置210との接続関係を切
る処理を、処理装置210との間で実行する。この後、入
出力要求受け付け部1800の処理を終了させる。
In step 1912, a process for once disconnecting the connection with the processing device 210 is executed with the processing device 210 until the positioning process of the disk device 204 is completed. Thereafter, the processing of the input / output request receiving unit 1800 is terminated.

空いたデイスク装置204がなかつた場合、ステツプ191
3以降で、以下の処理を実行する。
If the empty disk device 204 has been lost, step 191
The following process is executed in 3 and later.

ステツプ1913では、対応するセグメント管理情報1100
の使用中フラグ1205をオフにする。
In step 1913, the corresponding segment management information 1100
Turn off the busy flag 1205.

この後、ステツプ1914で、格納済フラグ1204がオンか
どうかをチエツクする。オンの場合ステツプ1916へジヤ
ンプする。オフの場合、このセグメント管理情報1100に
対応したセグメント1000にはデータが入つていないこと
を示すため、ステツプ1915で、このセグメント管理情報
を空きセグメントキユー1400に登録する。
Thereafter, in step 1914, it is checked whether the stored flag 1204 is on. If it is on, jump to step 1916. If it is off, the segment management information is registered in the empty segment queue 1400 in step 1915 to indicate that no data is contained in the segment 1000 corresponding to the segment management information 1100.

さらに、ステツプ1916で、処理装置210に、当該入出
力要求に対する処理が、他の入出力処理のために実行に
入れなかつたということを、デイスク装置グループ情報
1500内の処理要求I/O待ちビツト1602に設定する。具体
的には、処理要求I/O待ちビツト1602のどの位置のビツ
トを設定するかを以下の2点から決定し、そのビツトの
設定を行う。
Further, at step 1916, the processing device 210 is informed that the processing for the input / output request has not been executed for another input / output processing.
The processing request I / O waiting bit 1602 in 1500 is set. Specifically, the position of the processing request I / O wait bit 1602 to be set is determined from the following two points, and the bit is set.

まず、第1点は、当該入出力要求を発行した処理装置
210が、1番からI番目までの何番の処理装置210である
かということである。
First, the first point is the processing device that issued the input / output request.
That is, the number of the processing device 210 from the first to the I-th.

次に、第2点目は、その入出力要求が指定したデイス
ク装置グループ210への、1番からJ番までの何番の入
出力要求であるかということである。
Next, the second point is how many I / O requests from No. 1 to J to the specified disk device group 210.

当該入出力要求がアクセス対象とするトラツク800の
セグメント管理情報1100が、他の入出力処理によつて使
用されている場合には、特にセグメント管理情報1100内
の情報は操作する必要がない。したがつて、ステツプ19
16へジヤンプしてくることになる。
When the segment management information 1100 of the track 800 to be accessed by the input / output request is used by another input / output process, it is not necessary to operate the information in the segment management information 1100 in particular. Therefore, step 19
You will jump to 16.

最後に、ステツプ1917で、処理装置210に、当該入出
力要求に対する処理が、他の入出力処理のために実行に
入れないため、待ち状態に入ることを報告する。この
後、入出力要求受け付け部1800の処理を終了させる。
Finally, step 1917 reports to processor 210 that the process for the I / O request will be in a wait state because it will not be executed for another I / O process. Thereafter, the processing of the input / output request receiving unit 1800 is terminated.

ステツプ1918では、デイスク装置204にアクセスする
必要のない入出力要求に対して、実行する必要のある処
理を実行する。具体的な処理内容は、本発明には直接関
係がないため説明を省略する。
In step 1918, a process that needs to be executed is executed for an input / output request that does not need to access the disk device 204. The specific processing content is not directly related to the present invention, and thus the description is omitted.

第20図は、ライトアフタ処理スケジユール部1801の処
理フローである。ライトアフタ処理スケジユール部1801
は、デイレクタ25が空いた時間を利用して実行する。
FIG. 20 is a processing flow of the write-after processing schedule section 1801. Light after treatment schedule part 1801
Is executed using the time when the director 25 is available.

ステツプ2000では、ライトアフタ対象とするべきデイ
スク装置グループ210を決定する。この決定方法は、特
に本発明とは、直接関係がないため、説明を省略する。
In step 2000, a disk device group 210 to be a write-after object is determined. Since this determination method has no direct relation to the present invention, the description is omitted.

ステツプ2001では、決定したデイスク装置グループの
中でマスタデイスク以外に、入出力対象とすべき空いた
状態にあるデイスク装置を見つける。具体的な処理内容
は以下のとおりである。すなわち、マスタデイスク以外
で、処理装置I/O実行中ビツト1701,ライトアフタ実行中
ビツト1702,独立ステージ実行中ビツト1703のすべての
ビツトがオフのデイスク装置情報1601を見つける。見つ
からない場合、ライトアフタ処理が実行できないため、
ライトアフタ処理スケジユール部1801の処理を、終了さ
せる。
In step 2001, an empty disk device to be an input / output target is found in the determined disk device group other than the master disk. The specific processing contents are as follows. That is, other than the master disk, the disk device information 1601 in which all the bits of the processing device I / O executing bit 1701, the write after executing bit 1702, and the independent stage executing bit 1703 are off is found. If not found, the write-after processing cannot be performed,
The processing of the write-after processing schedule section 1801 is terminated.

見つかつた場合、ステツプ2002で、ステツプ2001で見
出したデイスク装置情報1601内のライトアフタ実行中ビ
ツト1702をオンにする。
If found, in step 2002, the write-after-execution bit 1702 in the disk device information 1601 found in step 2001 is turned on.

ステツプ2003では、ステツプ2001で見出してデイスク
装置204にライトアフタ処理112が実行可能なトラツク80
0があるかどうかをチエツクする。具体的なチエツク情
報は、トラツク票1101から、選択したデイスク装置204
に対応して更新レコードビツトマツプ1203中にオンのビ
ツトをもつセグメント管理情報1100を探す。さらに、そ
のセグメント管理情報を他の処理要求を使用中でないこ
とが必要となるため、セグメント管理情報1100内の使用
中フラグ1205がオフであるということもライトアフタ処
理が実行可能な条件となる。見つかつた場合、ステツプ
2005にジヤンプする。ライトアフタ処理が実行可能なト
ラツク800がない場合、ステツプ2004で、ライトアタタ
実行中ビツト1702をオフにする。この後、ライトアフタ
処理スケジユール部1801の処理を終了させる ステツプ2005では、ライトアフタ処理すべきトラツク
800を選択する。ライトアフタ処理が実行可能なトラツ
ク800が複数存在する場合、どのトラツク800を選択する
かは本発明には関係しないため、説明を省略する。
In step 2003, the track 80 found in step 2001 and capable of executing the write-after
Check if there is 0. The specific check information is obtained from the track slip 1101 and the selected disk device 204.
The segment management information 1100 having the ON bit is searched for in the update record bit map 1203 in correspondence with. Further, since it is necessary that another processing request is not being used for the segment management information, the fact that the in-use flag 1205 in the segment management information 1100 is off is also a condition under which the write-after processing can be executed. If found, step
Jump in 2005. If there is no track 800 in which the write-after process can be performed, in step 2004, the write-under-execution bit 1702 is turned off. Thereafter, the processing of the write-after processing schedule section 1801 is terminated.
Select 800. When there are a plurality of tracks 800 capable of executing the write-after processing, which track 800 to select is not related to the present invention, and the description is omitted.

ステツプ2006では、ステツプ2005で選択したトラツク
800に対応したセグメント管理情報1100内の使用中フラ
グ1205をオンにする。
In step 2006, the track selected in step 2005
The busy flag 1205 in the segment management information 1100 corresponding to 800 is turned on.

ステツプ2007では、セグメント管理情報ポインタ1704
に、当該入出力要求でアクセス対象となるトラツク800
に割当てたセグメント管理情報1100へのポインタを設定
する。
In step 2007, the segment management information pointer 1704
The track 800 to be accessed by the input / output request
A pointer to the segment management information 1100 assigned to is set.

ステツプ2008では、ステツプ2001で選択したデイスク
装置204に対して、位置付け処理要求を発行する。この
後、ラツトアフタ処理スケジユール部1801の処理を終了
させる。
In step 2008, a positioning processing request is issued to the disk device 204 selected in step 2001. Thereafter, the processing of the rat-after-processing schedule section 1801 is terminated.

第21図は、独立ステージ処理スケジユール部1802の処
理フローである。独立ステージ処理スケジユール部1802
も、デイレクタ25が空いた時間を利用して実行する。
FIG. 21 is a processing flow of the independent stage processing schedule section 1802. Independent stage processing schedule section 1802
Also, it executes using the time when the director 25 is available.

ステツプ2100では、処理装置210とは独立したステー
ジ処理115を実行すべきデイスク装置グループ210を決定
する。この決定方法も、ステツプ2000と同様に、特に本
発明とは、直接係ないため、説明を省略する。
In step 2100, a disk device group 210 to execute the stage processing 115 independent of the processing device 210 is determined. This determination method is also not directly related to the present invention, similarly to step 2000, and thus the description is omitted.

ステツプ2101では、ステツプ2100で見出したデイスク
装置グループ211内に、処理装置210とは独立なステージ
処理を実行すべきトラツク800があるかどうかをチエツ
クする。このチエツク方法も本発明とは直接関係ないた
め、説明を省略する。実行すべきトラツク800がない場
合、独立ステージ処理スケジユール部1802の処理を終了
させる。
In step 2101, it is checked whether or not there is a track 800 in the disk device group 211 found in step 2100 to execute a stage process independent of the processing device 210. Since this check method is not directly related to the present invention, the description is omitted. If there is no track 800 to be executed, the processing of the independent stage processing schedule section 1802 ends.

ステツプ2102では、処理装置210とは独立したステー
ジ処理の対象とするトラツク800を選択する。処理装置2
10とは独立したステージ処理が実行可能なトラツク800
が複数存在する場合、どのトラツク800を選択するかは
本発明には関係しない。したがつて、その説明を省略す
る。
In step 2102, a track 800 to be subjected to stage processing independent of the processing device 210 is selected. Processing unit 2
Track 800 that can execute stage processing independent of 10
In the case where there are a plurality of tracks, which track 800 is selected is not relevant to the present invention. Therefore, the description is omitted.

ステツプ2103では、ステツプ2004で選択してトラツク
800へ、セグメント管理情報1100を割当てる。(処理装
置210とは独立したステージ処理115を実行すべきトラツ
ク800はキヤツシユ206内にステージされていないトラツ
ク800である。)この割当て方法は、ステツプ1902で示
したとおりである。さらに、割当てたセグメント管理情
報1100内の、格納済みフラグ1204をオフに、使用中フラ
グ1205をオンにする。
In step 2103, select and track in step 2004.
The segment management information 1100 is allocated to 800. (The track 800 to be subjected to the stage processing 115 independent of the processing device 210 is the track 800 not staged in the cache 206.) This allocation method is as shown in step 1902. Further, the stored flag 1204 in the allocated segment management information 1100 is turned off, and the busy flag 1205 is turned on.

ステツプ2104では、ステツプ2100で決定したデイスク
装置グループの中で入出力対象とすべき空いた状態にあ
るデイスク装置を見つける。具体的な処理内容はステツ
プ1908と同様であるため、説明を省略する。見つからな
い場合、処理装置210とは独立なステージ処理115が実行
できない。したがつて、ステツプ2105で、割り当てたセ
グメント管理情報1100を、空きセグメントキユー1400に
戻す。この後、独立ステージ処理スケジユール部1802の
処理を、終了させる。
In step 2104, an empty disk device to be input / output is found in the disk device group determined in step 2100. Since the specific processing contents are the same as those in step 1908, the description is omitted. If not found, the stage processing 115 independent of the processing device 210 cannot be executed. Therefore, in step 2105, the allocated segment management information 1100 is returned to the empty segment queue 1400. Thereafter, the processing of the independent stage processing schedule section 1802 is terminated.

見つかつた場合、ステツプ2106で、ステツプ2103で見
出したデイスク装置情報1601内の独立ステージ実行中ビ
ツト1702をオンにする。
If found, in step 2106, the independent stage execution bit 1702 in the disk device information 1601 found in step 2103 is turned on.

ステツプ2107では、セグメント管理情報ポインタ1704
に、当該入出力要求でアクセス対象となるトラツク800
に割当てたセグメント管理情報1100へのポインタを設定
する。
In step 2107, the segment management information pointer 1704
The track 800 to be accessed by the input / output request
A pointer to the segment management information 1100 assigned to is set.

ステツプ2108では、ステツプ2001で選択したデイスク
装置204に対して、位置付け処理要求を発行する。この
後、独立ステージ処理スケジユール部1802の処理を終了
させる。
At step 2108, a positioning process request is issued to the disk device 204 selected at step 2001. Thereafter, the processing of the independent stage processing schedule section 1802 is terminated.

第22図は、デイスク装置転送部1803の処理フロー図で
ある。デイスク装置転送部1803の実行契機は、デイレク
タ205がデイスク装置204の位置付け完了報告を受け取つ
た時である。
FIG. 22 is a processing flowchart of the disk device transfer unit 1803. The trigger for the execution of the disk device transfer unit 1803 is when the director 205 receives the positioning completion report of the disk device 204.

ステツプ2200では、当該デイスク装置204に対応した
デイスク装置情報1601内のセグメント管理情報ポインタ
1704がポイントするセグメント管理情報1100を処理対象
として選択する。以下、単にセグメント管理情報1100と
述べた場合には、ステツプ2200で選択したセグメント管
理情報1100を指す。また、セグメント管理情報1100内の
情報を単に示した場合、ステツプ2200で選択したセグメ
ント管理実施例1100内の情報を指す。
At step 2200, the segment management information pointer in the disk device information 1601 corresponding to the disk device 204 is set.
The segment management information 1100 pointed to by 1704 is selected as a processing target. Hereinafter, when simply describing the segment management information 1100, it refers to the segment management information 1100 selected in step 2200. When the information in the segment management information 1100 is simply indicated, it indicates the information in the segment management embodiment 1100 selected in step 2200.

ステツプ2201では、当該デイスク装置に204に対応す
るデイスク装置情報1601内の処理装置I/O実行中ビツト1
701をオンかどうかをチエツクする。オフであれば、実
行中の入出力処理が、処理装置210から受け付けた入出
力要求に対する処理でないことを示すため、ステツプ22
12へジヤンプする。
In step 2201, the processing device I / O execution bit 1 in the disk device information 1601 corresponding to the disk device 204 is set.
Check if 701 is on. If it is off, it indicates that the input / output processing being executed is not the processing for the input / output request received from the processing device 210.
Jump to 12.

処理装置I/O実行中ビツト1701をオンの場合には、実
行中の入出力処理が、処理装置210から受け付けた入出
力要求に対する処理であることを示す。したがつて、ス
テツプ2202で、処理装置210に位置付け処理が完了した
ことを報告し、再び接続状態にはいる。
If the processing device I / O execution bit 1701 is turned on, it indicates that the input / output process being executed is a process for the input / output request received from the processing device 210. Accordingly, in step 2202, the completion of the positioning process is reported to the processing device 210, and the connection state is established again.

ステツプ2203では、処理装置から受け取つた入出力要
求がリード要求かライト要求であるかを判別する。リー
ド要求の場合、ステツプ2209へジヤンプする。
In step 2203, it is determined whether the input / output request received from the processing device is a read request or a write request. In the case of a read request, the process jumps to step 2209.

ライト要求の場合、ステツプ2204で、処理装置204か
ら受け取つたデータを、デイスク装置204と処理対象と
して選択したセグメント管理情報1100に対応したセグメ
ント1000に書き込む。この時、実際にデータを書き込ん
だデイスク装置204上のレコード800のセル901の番号を
認識し以下の処理を行う必要がある。まず、セグメント
1000内に書き込むデータもその認識したセル901に対応
した位置に書き込む。さらに、処理対象として選択セし
たセグメント管理情報1100内のマスタデイスク以外のす
べてのデイスク装置204に対応した更新レコードビツト
マツプ1203に対して以下の処理を行う。すなわち、更新
レコードビツトマツプ1203の中で、上記で認識したセル
901の番号に対応したビツトをオンにする。さらに、こ
の後処理装置210に入出力処理が完了したことを報告す
る。
In the case of a write request, in step 2204, the data received from the processing device 204 is written to the disk device 204 and the segment 1000 corresponding to the segment management information 1100 selected as a processing target. At this time, it is necessary to recognize the number of the cell 901 of the record 800 on the disk device 204 to which the data has actually been written, and perform the following processing. First, the segment
The data to be written in 1000 is also written in the position corresponding to the recognized cell 901. Further, the following processing is performed on the update record bit map 1203 corresponding to all the disk devices 204 other than the master disk in the segment management information 1100 selected as the processing target. That is, in the update record bitmap 1203, the cell recognized above
Turn on the bit corresponding to the number 901. Further, the completion of the input / output processing is reported to the post-processing device 210.

ステツプ2205では、処理対象としているセグメント管
理情報1100内の格納済フラグ1204がオンかをチエツクす
る。オンの場合、処理対象としているトラツク300上の
レコード900は、セグメント1000内にステージされてい
るため、ステツプ2215へジヤンプする。
In step 2205, it is checked whether the stored flag 1204 in the segment management information 1100 to be processed is on. If it is on, the record 900 on the track 300 to be processed is staged in the segment 1000, and thus jumps to step 2215.

格納済フラグ1204がオフの場合、処理対象としている
トラツク300上のレコード900は、セグメント1000内にス
テージされていないことになる。したがつて、ステツプ
2206以降で以下の処理を行う。ステツプ2206では、ステ
ツプ2204で認識したセル901の番号に対応するレコード
ビツトマツプ1202のビツト位置をオンにする。
When the stored flag 1204 is off, the record 900 on the track 300 to be processed is not staged in the segment 1000. Therefore, the steps
The following processing is performed after 2206. In step 2206, the bit position of the record bit map 1202 corresponding to the number of the cell 901 recognized in step 2204 is turned on.

次に、ステツプ2207では、処理中のトラツク800の残
りのスラージ900をセグメント1000内にステージする処
理を実行する。この場合も、レコード対象とするレコー
ド900のセル901の番号を認識し以下の処理を行う必要が
ある。まず、セグメント1000内にステージするレコード
900もその認識したセル901に対応した位置に書き込む。
さらに、認識したセル901の番号に対応するレコードビ
ツトマツプ1202のビツト位置をオンにする。この後、ス
テツプ2208で、格納済フラグ1204をオンにして、ステツ
プ2215へジヤンプする。
Next, in step 2207, processing is performed to stage the remaining sludge 900 of the track 800 being processed into the segment 1000. Also in this case, it is necessary to recognize the number of the cell 901 of the record 900 to be recorded and perform the following processing. First, records to be staged in segment 1000
900 is also written in the position corresponding to the recognized cell 901.
Further, the bit position of the record bit map 1202 corresponding to the recognized number of the cell 901 is turned on. Thereafter, in step 2208, the stored flag 1204 is turned on, and the process jumps to step 2215.

ステツプ2209以下では、処理装置210から受け付けた
リード要求の処理を行う。
In steps 2209 and below, processing of the read request received from the processing device 210 is performed.

ステツプ2209では、処理対象とするセグメント管理情
報1100内の格納済フラグ1204がオンかをチエツクする。
格納済フラグ1204がオンの場合、すでにレコード900
が、セグメント1000内に格納されている。したがつて、
ステツプ2210で要求されたレコード900をデイスク装置2
04上から処理装置210に送る。この後、処理装置210に入
出力処理が完了したことを報告する。次に、ステツプ22
15へジヤンプする。
In step 2209, it is checked whether the stored flag 1204 in the segment management information 1100 to be processed is on.
If stored flag 1204 is on, record 900 is already
Are stored in the segment 1000. Therefore,
Copy record 900 requested in step 2210 to disk device 2
04 is sent to the processing device 210 from above. Thereafter, the completion of the input / output processing is reported to the processing device 210. Next, step 22
Jump to 15.

格納済フラグ1204が、オフの場合、処理中の処理対象
としているトラツク300上のレコード900は、セグメント
1000内にステージされていない。したがつて、ステツプ
2211以降で以下の処理を行う。まず、ステツプ2210で
は、要求されたレコード900をデイスク装置204上から処
理装置210に送ると共に、セグメント1000にもステージ
する。この場合も、ステージ対象としたレコード900の
セル901の番号を認識し以下の処理を行う必要がある。
まず、セグメント1000内にステージするレコード900も
その認識したセル901に対応した位置に書き込む。さら
に、処理対象として選択したセグメント管理情報1100内
のレコードビツトマツプ1202の中の、認識したセル901
の番号に対応するビツトをオンにする。この後、処理装
置210に入出力要求を完了したことを報告する。次に、
処理対象としているトラツク300上の残りのレコード900
をステージするために、ステツプ2207へジヤンプする。
If the stored flag 1204 is off, the record 900 on the track 300 being processed is
Not staged within 1000. Therefore, the steps
The following processing is performed after 2211. First, in step 2210, the requested record 900 is sent from the disk device 204 to the processing device 210, and is staged in the segment 1000 as well. Also in this case, it is necessary to recognize the number of the cell 901 of the record 900 to be staged and perform the following processing.
First, the record 900 to be staged in the segment 1000 is also written at a position corresponding to the recognized cell 901. Further, the recognized cell 901 in the record bit map 1202 in the segment management information 1100 selected as the processing target is processed.
Turn on the bit corresponding to the number. Thereafter, the completion of the input / output request is reported to the processing device 210. next,
Remaining records 900 on the track 300 to be processed
To stage 2207.

ステツプ2212では、当該デイスク装置に204に対応す
るデイスク装置情報1601内のライトアフタ実行中ビツト
1702がオンかどうかをチエツクする。オフの場合、処理
装置210とは独立なステージ処理115を実行するためにス
テツプ2214へジヤンプする。
In step 2212, the write-after-execution bit in the disk device information 1601 corresponding to the disk device 204 is set.
Check if 1702 is on. If it is off, the process jumps to step 2214 to execute the stage processing 115 independent of the processing device 210.

ステツプ2213では、処理対象とするセグメント管理情
報1100中の更新レコードビツトマツプ1203によつて、す
べてのライトアフタレコードを認識する。さらに、認識
したすべてのライトアフタレコードをデイスク装置204
上に書き込む。この後、当該デイスク装置204に対応す
る更新レコードビツトマツプ1203をすべて0クリアす
る。次に、ステツプ2215へジヤンプする。
In step 2213, all the write-after records are recognized by the update record bitmap 1203 in the segment management information 1100 to be processed. In addition, all recognized light after records are stored on the disk device 204.
Write on top. Thereafter, the update record bit map 1203 corresponding to the disk device 204 is all cleared to zero. Next, jump to step 2215.

ステツプ2214では、処理装置210とは独立なステージ
処理を実行する。具体的には、処理対象としているトラ
ツク800上のすべてのレコード900をセグメント1000内に
ステージする。この場合も、ステージ対象としたレコー
ド900のセル901の番号を認識し以下の処理を行う必要が
ある。まず、セグメント1000内にステージするレコード
900もその認識したセル901に対応した位置に書き込む。
さらに、処理対象とするセグメント管理情報1100内のレ
コードビツトマツプ1202に対して以下の処理を行う。す
なわち、認識したセル901の番号に対応するレコードビ
ツトマツプ1202のビツト位置をオンにする。加えて、格
納済フラグ1204をオンにする。
In step 2214, a stage process independent of the processing device 210 is executed. Specifically, all records 900 on the track 800 to be processed are staged in the segment 1000. Also in this case, it is necessary to recognize the number of the cell 901 of the record 900 to be staged and perform the following processing. First, records to be staged in segment 1000
900 is also written in the position corresponding to the recognized cell 901.
Further, the following processing is performed on the record bit map 1202 in the segment management information 1100 to be processed. That is, the bit position of the record bit map 1202 corresponding to the number of the recognized cell 901 is turned on. In addition, the stored flag 1204 is turned on.

ステツプ2215以下では、終端処理として以下の処理を
行う。
At step 2215 and below, the following processing is performed as termination processing.

まず、ステツプ2215では、処理対象としてはセグメン
ト管理情報1100内の使用中フラグ1205をオフにする。次
に、ステツプ2216では、当該デイスク装置204に対応す
るデイスク装置情報1601内の、処理装置I/O実行中ビツ
ト1701,ライトアフタ実行中ビツト1702,独立ステージ実
行中ビツト1703のすべてのビツトをオフにする。
First, in step 2215, the in-use flag 1205 in the segment management information 1100 is turned off as a processing target. Next, in step 2216, all bits of the processing device I / O executing bit 1701, write after executing bit 1702, and independent stage executing bit 1703 in the disk device information 1601 corresponding to the disk device 204 are turned off. To

最後に、ステツプ2217では、処理対象としているデイ
スク装置グループ211に対応する、処理要求I/O待ちビツ
ト1602がオンになつている入出力要求の待ち状態を解放
するために以下の処理を行う。すなわち、オンになつて
いるビツトから、1番からI番までの処理装置210、お
よび、1番からJ番までの入出力番号によつて決定され
るすべての入出力要求の待ち状態を解放する。具体的に
は、再び、それらの入出力要求を発行するようそれぞれ
の処理装置に通知する。この後、デイスク装置転送部18
02の処理を終了させる。
Finally, in step 2217, the following processing is performed to release the waiting state of the input / output request for which the processing request I / O waiting bit 1602 corresponding to the disk device group 211 to be processed is turned on. That is, the waiting state of all the input / output requests determined by the processing devices 210 from No. 1 to I and the input / output numbers from No. 1 to J are released from the bit being turned on. . Specifically, the respective processing devices are again notified to issue those input / output requests. Thereafter, the disk device transfer unit 18
The process of 02 ends.

次に、第2の実施例について説明する。第2の実施例
が第1の実施例と異なる点は、以下のとおりである。
Next, a second embodiment will be described. The differences between the second embodiment and the first embodiment are as follows.

デイスク装置グループ211にアクセスする必要のある
リード要求,処理装置210とは独立なステージ処理は、
マスタデイスク以外のデイスク装置204を優先して選択
する点である。
A read request that needs to access the disk device group 211, a stage process independent of the processing device 210,
The point is that disk devices 204 other than the master disk are preferentially selected.

第1の実施例において、第8図から第17図までに示し
たそれぞれのデータ構成は、第2の実施例でもそのまま
用いることができる。
In the first embodiment, the respective data structures shown in FIGS. 8 to 17 can be used as they are in the second embodiment.

第18図に示した、デイレクタ205内で第1の実施例を
実行するために必要なモジユールの構成も、第3の実施
例にそのまま適用できる。しかし、それぞれのモジユー
ルの処理フローに関しては、入出力要求受け付け部180
0,独立ステージ処理スケジユール部1802が、第1の実施
例と若干ことなる。ただし、他のモジユールの処理フロ
ーに関しては、第1の実施例の処理フローがそのまま適
用できる。
The configuration of the module necessary to execute the first embodiment in the director 205 shown in FIG. 18 can be applied to the third embodiment as it is. However, regarding the processing flow of each module, the input / output request receiving unit 180
0, Independent stage processing scheduler 1802 is slightly different from the first embodiment. However, the processing flow of the first embodiment can be applied as it is to the processing flow of another module.

第23図は、第3の実施例における入出力要求受け付け
部1800の処理フローである。入出力要求受け付け部1800
の実行契機は、第1の実施例の場合と同様である。
FIG. 23 is a processing flow of the input / output request receiving unit 1800 in the third embodiment. I / O request receiving unit 1800
Is executed in the same manner as in the first embodiment.

以下、第19図に示した第1の実施例における処理フロ
ーとと第23図の処理フローの相違点について述べる。な
お、第23図の処理フローにおいて、第19図の処理フロー
と処理内容がまつたく同じ部分に関しては、ステツプ番
号を等しくてある。第23図と、第19図の処理フローとの
差異は、第19図のステツプ1908の代わりに、ステツプ23
00が入つている点である。
Hereinafter, differences between the processing flow of the first embodiment shown in FIG. 19 and the processing flow of FIG. 23 will be described. Note that, in the processing flow of FIG. 23, steps that are the same as those in the processing flow of FIG. 19 have the same step numbers. The difference between FIG. 23 and the processing flow of FIG. 19 is that step 1908 in FIG.
This is the point where 00 is entered.

ステツプ2300では、マスタデイスク以外のデイスク装
置204が空いているかを優先的に選択している。これ
は、第2の実施例が、デイスク装置グループ211にアク
セスする必要のあるリード要求,マスタデイスク以外の
デイスク装置204を優先して選択するためである。具体
的には、マスタデイスク以外のデイスク装置204のデイ
スク装置情報1601内の以下の情報をチエツクする。すな
わち、処理装置I/O実行中ビツト1701,ライトアフタ実行
中ビツト1702,独立ステージ実行中ビツト1703のすべて
のビツトがオフかをチエツクする。
At step 2300, it is preferentially selected whether a disk device 204 other than the master disk is empty. This is because the second embodiment preferentially selects the disk device 204 other than the read request and the master disk which needs to access the disk device group 211. Specifically, the following information in the disk device information 1601 of the disk device 204 other than the master disk is checked. That is, it is checked whether all bits of the processing device I / O executing bit 1701, the write after executing bit 1702, and the independent stage executing bit 1703 are off.

空いたデイスク装置204があれば、そのデイスク装置2
04をアクセス対象として選択するために、ステツプ1909
へジヤンプして、第19図の処理フローと同様の処理に入
る。空いたデイスク装置204がない場合、マスタデイス
クの空きをチエツクするため、ステツプ1906へジヤンプ
して、第19図の処理フローと同様の処理に入る。
If there is an empty disk device 204, that disk device 2
Step 1909 to select 04 as the access target
Then, processing similar to the processing flow in FIG. 19 is started. If there is no vacant disk device 204, the process jumps to step 1906 to check the vacancy of the master disk and enters the same processing as the processing flow of FIG.

以下の点以外は、第23図の処理フローと第19の処理フ
ローはまつたく同様であるため、説明を省略する。
Except for the following points, the processing flow in FIG. 23 and the nineteenth processing flow are exactly the same, and a description thereof will be omitted.

第7図は、第2の実施例における独立ステージ処理ス
ケジユール部1802の処理フローである。独立ステージ処
理スケジユール部1802の実行契機は、第1の実施例の場
合と同様である。
FIG. 7 is a processing flow of the independent stage processing scheduler 1802 in the second embodiment. The execution timing of the independent stage processing schedule unit 1802 is the same as that in the first embodiment.

以下、第21図に示した第1の実施例における処理フロ
ーと第7図の処理フローの相違点について説明する。な
お、第7図の処理フローにおいて、第21図の処理フロー
と処理内容がまつたく同じである部分に関しては、ステ
ツプ番号を等しくしてある。
Hereinafter, differences between the processing flow in the first embodiment shown in FIG. 21 and the processing flow in FIG. 7 will be described. In the processing flow of FIG. 7, the steps having the same processing contents as those of the processing flow of FIG. 21 have the same step numbers.

第7図の処理フローが、第21図に示した第1の実施例
における処理フローと異なる点は以下の点である。
The processing flow of FIG. 7 differs from the processing flow of the first embodiment shown in FIG. 21 in the following points.

まず、ステツプ2102の後、空いたデイスク装置204を
見つける際に、第2の実施例では、ステツプ2400におい
て、マスタデイスク以外の空いたデイスク装置204を見
つけている点が異なる。これは、第2の実施例が、処理
装置210とは、独立なステージ処理は、マスタデイスク1
20以外のデイスク装置204を優先して選択するためであ
る。具体的な処理内容は、ステツプ2300と同様であるた
め、説明を省略する。
First, when the empty disk device 204 is found after step 2102, the second embodiment differs in that an empty disk device 204 other than the master disk is found in step 2400. This is because the second embodiment is different from the processing device 210 in that the stage processing is independent of the master disk 1.
This is because a disk device 204 other than 20 is preferentially selected. The specific processing content is the same as that in step 2300, and thus the description is omitted.

空いたデイスク装置204があれば、そのデイスク装置2
04をアクセス対象デイスクとして選択するために、ステ
ツプ2104へジヤンプして、第1の実施例と同様の処理に
入る。
If there is an empty disk device 204, that disk device 2
In order to select 04 as a disk to be accessed, the process jumps to step 2104, and the same processing as in the first embodiment is started.

マスタデイスク以外のデイスク装置204が空いた状態
になれば、ステツプ2401で、マスタデイスクが空いた状
態にあるかをチエツクする。以上の処理は、ステツプ19
06の処理と同様であるため説明を省略する。マスタデイ
スクが空いていれば、ステツプ2402で、マスタデイスク
をアクセス対象として選択する。具体的には、マスタデ
イスクに対応するデイスク装置情報1601内の処理装置I/
O実行中ビツト1701オンにする。この後、ステツプ2107
へジヤンプして、第1の実施例と同様の処理に入る。
When the disk device 204 other than the master disk is in an empty state, it is checked in step 2401 whether the master disk is in an empty state. The above processing is performed in step 19
Since the process is the same as the process in step 06, the description is omitted. If the master disk is free, in step 2402, the master disk is selected as an access target. Specifically, the processing device I / O in the disk device information 1601 corresponding to the master disk
O Turn on running bit 1701. After this, step 2107
Then, processing similar to that of the first embodiment is started.

マスタデイスクが空いていない場合、処理装置210と
は、独立なステージ処理は実行できない。したがつて、
ステツプ2105へジヤンプして、第1の実施例と同様の処
理に入る。以上の点以外は、第7図の処理フローと第21
の処理フローはまつたく同様であるため、説明を省略す
る。
If the master disk is not empty, stage processing independent of the processing device 210 cannot be executed. Therefore,
The process jumps to step 2105 to enter the same processing as in the first embodiment. Except for the points described above, the processing flow in FIG.
Since the processing flow is the same, the description is omitted.

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

本発明によれ、1台以上のデイスク装置からなるデイ
スク装置グループに同一のデータを書き込む機能をもつ
キヤツシユを有する制御装置の高性能化/高信頼化がバ
ランスよく実現できる。これは、本発明により、信頼性
を損なわない範囲で、デイスク装置の間で入出力処理の
分散が可能となり、制御装置の実行可能な入出力処理の
並列度が向上できるためである。
According to the present invention, a high-performance / high-reliability control device having a cache having a function of writing the same data to a disk device group including one or more disk devices can be realized in a well-balanced manner. This is because, according to the present invention, the input / output processing can be distributed among the disk devices within a range that does not impair the reliability, and the parallelism of the input / output processing executable by the control device can be improved.

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

第1図は、本発明の第1の実施例における制御装置203
の基本動作である。 第2図は、本発明の対象となる計算機システムの構成で
ある。 第3図は、処理装置210から受け付けた入出力要求と、
処理装置210からの入出力要求とは、制御装置203が独立
に実行する入出力処理の並列動作を表している。 第4図は、複数の処理装置210から、受け付けた複数の
入出力要求どうしの並列動作を表している。 第5図は、1つの処理装置210から、受け付けた複数の
入出力要求どうしの並列動作を表している。 第6図は、本発明の第2の実施例における制御装置203
の基本動作である。 第7図は、第2の実施例における独立ステージスケジユ
ール処理部1802の処理フロー図を表す。 第8図は、デイスク装置24の構成である。 第9図は、トラツク800の構成である。 第10図は、キヤツシユ206の構成である。 第11図は、デイレクトリ208の中にもうける本発明で必
要な情報である。 第12図は、セグメント管理情報1100の中にもうける本発
明で必要な情報である。 第13図は、トラツク票1101,空きセグメントキユー先頭
ポインタ1102の構成である。 第14図は、セグメント1000内のトラツク800上のレコー
ド901の格納形式を表す。 第15図は、制御用メモリ207上に格納する情報を表す。 第16図は、デイスク装置グループ情報1500の構成を表
す。 第17図は、デイスク装置情報1601の構成を表す。 第18図は、本発明に関係するデイレクタ205内のモジユ
ールを表す。 第19図は、入出力要求受け付け部1800の処理フロー図を
表す。 第20図は、ライトアフタスケジユール処理部1801の処理
フロー図を表す。 第21図は、独立ステージスケジユール処理部1802の処理
フロー図を表す。 第22図は、デイスク装置リードライト処理部1803の処理
フロー図を表す。 第23図は、第2の実施例における入出力要求受け付け部
1800の処理フロー図を表す。 符号の説明 203……制御装置、210……処理装置、211……デイスク
装置グループ、110……ライト要求、113……リード要
求、112……ライトアフタ処理、115……ステージ処理、
120……マスタデイスク。
FIG. 1 shows a control device 203 according to a first embodiment of the present invention.
This is the basic operation of. FIG. 2 shows the configuration of a computer system to which the present invention is applied. FIG. 3 shows an input / output request received from the processing device 210,
The input / output request from the processing device 210 indicates a parallel operation of the input / output processing independently executed by the control device 203. FIG. 4 shows a parallel operation of a plurality of input / output requests received from a plurality of processing devices 210. FIG. 5 shows a parallel operation of a plurality of input / output requests received from one processing device 210. FIG. 6 shows a control device 203 according to the second embodiment of the present invention.
This is the basic operation of. FIG. 7 shows a processing flowchart of the independent stage schedule processing unit 1802 in the second embodiment. FIG. 8 shows the configuration of the disk device 24. FIG. 9 shows the configuration of the track 800. FIG. 10 shows the structure of the cache 206. FIG. 11 shows information required in the present invention in the directory 208. FIG. 12 shows information necessary for the present invention in the segment management information 1100. FIG. 13 shows the configuration of the track slip 1101 and the free segment queue start pointer 1102. FIG. 14 shows the storage format of the record 901 on the track 800 in the segment 1000. FIG. 15 shows information stored in the control memory 207. FIG. 16 shows the structure of the disk device group information 1500. FIG. 17 shows the structure of the disk device information 1601. FIG. 18 shows the modules in the director 205 related to the present invention. FIG. 19 shows a processing flowchart of the input / output request receiving unit 1800. FIG. 20 is a processing flowchart of the write after schedule processing unit 1801. FIG. 21 shows a processing flowchart of the independent stage schedule processing section 1802. FIG. 22 shows a processing flowchart of the disk device read / write processing unit 1803. FIG. 23 shows an input / output request receiving unit according to the second embodiment.
FIG. 1 shows a processing flow diagram of 1800. FIG. EXPLANATION OF SYMBOLS 203: control device, 210: processing device, 211: disk device group, 110: write request, 113: read request, 112: write after process, 115: stage process
120 …… Master disk.

フロントページの続き (72)発明者 安積 義弘 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 桑原 善祥 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 北嶋 弘行 神奈川県川崎市麻生区王禅寺1099番地 株式会社日立製作所システム開発研究所 内 (56)参考文献 特開 昭58−219656(JP,A) 実開 昭59−118113(JP,U) 特公 昭61−28128(JP,B2) (58)調査した分野(Int.Cl.6,DB名) G06F 3/06 - 3/08 Continued on the front page (72) Inventor Yoshihiro Azumi 2880 Kozu, Kokuzu, Odawara City, Kanagawa Prefecture Inside the Odawara Plant, Hitachi, Ltd. Inventor Hiroyuki Kitajima 1099 Ozenji Temple, Aso-ku, Kawasaki-shi, Kanagawa Prefecture Hitachi, Ltd. Systems Development Laboratory Co., Ltd. (56) References JP-A-58-219656 (JP, A) JP-A-59-118113 (JP, U) JP 61-28128 (JP, B2) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 3/06-3/08

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2台以上の記憶装置から構成される少なく
とも1つの記憶装置グループと、前記記憶装置グループ
のそれぞれの記憶装置に接続される制御装置からなるシ
ステムにおける記憶装置の制御方法であって、 前記制御装置が、処理装置から受け取った前記記憶装置
グループに対するリード要求に対応して、 前記記憶装置グループ内の特定の記憶装置以外の記憶装
置の中で、入出力処理が割り当てられていない任意の記
憶装置を選択し、 前記受け取ったリード要求に対応する処理を、前記選択
した任意の記憶装置に割り当て、 前記記憶装置グループ内の前記特定の記憶装置以外の記
憶装置で、入出力処理が割り当てられていない記憶装置
がない場合、前記受け取ったリード要求に対応して、前
記記憶装置グループ内の特定の記憶装置を選択し、 前記受け取ったリード要求に対応する処理を、前記選択
した特定の記憶装置に割り当てることを特徴とする記憶
装置の制御方法。
1. A method for controlling a storage device in a system including at least one storage device group including two or more storage devices and a control device connected to each storage device of the storage device group. In response to a read request for the storage device group received from a processing device, the control device responds to a read request for the storage device group other than a specific storage device in the storage device group to which no input / output processing is assigned. And assigning a process corresponding to the received read request to the selected one of the storage devices. Input / output processing is assigned to a storage device other than the specific storage device in the storage device group. If there is no storage device that has not been read, a specific storage device in the storage device group is assigned in response to the received read request. A method for controlling a storage device, comprising: selecting and assigning a process corresponding to the received read request to the selected specific storage device.
【請求項2】2台以上の記憶装置からなる少なくとも1
つの記憶装置グループと、前記記憶装置グループのそれ
ぞれの記憶装置に接続され、キャッシュメモリを有する
制御装置とからなるシステムにおける記憶装置の制御方
法であって、 前記制御装置が、処理装置から入出力要求されていない
データを、前記記憶装置グループ内の記憶装置から前記
キャッシュメモリに読み出すステージ処理において、 前記記憶装置グループ内のある特定の記憶装置以外の記
憶装置の中で、入出力処理が割り当てられていない任意
の記憶装置を選択し、 前記ステージ処理を、前記選択した任意の記憶装置に割
り当て、 前記記憶装置グループ内の前記特定の記憶装置以外の記
憶装置で、入出力処理が割り当てられていない記憶装置
がない場合、前記ステージ処理に対応して、前記記憶装
置グループ内の特定の記憶装置を選択し、 前記ステージ処理を、前記選択した特定の記憶装置に割
り当てることを特徴とする記憶装置の制御方法。
2. An at least one storage device comprising two or more storage devices.
A method for controlling a storage device in a system including one storage device group and a control device connected to each storage device of the storage device group and having a cache memory, wherein the control device receives an input / output request from a processing device. In a stage process of reading unprocessed data from a storage device in the storage device group to the cache memory, an input / output process is assigned to a storage device other than a specific storage device in the storage device group. Select any storage device that does not exist, assign the stage processing to the selected storage device, and store the storage device other than the specific storage device in the storage device group to which the input / output process is not assigned. When there is no device, a specific storage device in the storage device group is corresponded to the stage processing. A storage device, and allocating the stage processing to the selected specific storage device.
JP2042452A 1990-02-26 1990-02-26 Method of controlling storage device Expired - Lifetime JP2875325B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP2042452A JP2875325B2 (en) 1990-02-26 1990-02-26 Method of controlling storage device
US08/355,274 US5680574A (en) 1990-02-26 1994-12-12 Data distribution utilizing a master disk unit for fetching and for writing to remaining disk units
US08/868,075 US5835938A (en) 1990-02-26 1997-06-03 Read/write control for grouped disk storage including parallel access
US09/116,344 US6108750A (en) 1990-02-26 1998-07-16 Simultaneous read/write control of data storage disk units
US09/619,000 US6631443B1 (en) 1990-02-26 2000-07-18 Disk storage system having capability for performing parallel read operation
US09/813,382 US6728832B2 (en) 1990-02-26 2001-03-20 Distribution of I/O requests across multiple disk units
US10/634,919 US6938125B2 (en) 1990-02-26 2003-08-06 Storage system with data prefetch function
US10/799,013 US7254674B2 (en) 1990-02-26 2004-03-11 Distribution of I/O requests across multiple disk units
US11/166,232 US20050240728A1 (en) 1990-02-26 2005-06-27 Read-write control of data storage disk units
US11/705,846 US7861034B2 (en) 1990-02-26 2007-02-12 Load distribution of multiple disks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2042452A JP2875325B2 (en) 1990-02-26 1990-02-26 Method of controlling storage device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP10174327A Division JP2868015B1 (en) 1998-06-22 1998-06-22 Disk storage system

Publications (2)

Publication Number Publication Date
JPH03246713A JPH03246713A (en) 1991-11-05
JP2875325B2 true JP2875325B2 (en) 1999-03-31

Family

ID=12636463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2042452A Expired - Lifetime JP2875325B2 (en) 1990-02-26 1990-02-26 Method of controlling storage device

Country Status (1)

Country Link
JP (1) JP2875325B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325865A (en) 1996-06-05 1997-12-16 Fujitsu Ltd Storage device control device and storage device access method
JPH10198526A (en) * 1997-01-14 1998-07-31 Fujitsu Ltd RAID device and access control method therefor
JP2002108567A (en) 2000-09-28 2002-04-12 Hitachi Ltd Storage controller
JP4773828B2 (en) * 2004-01-26 2011-09-14 パナソニック株式会社 Semiconductor memory device

Also Published As

Publication number Publication date
JPH03246713A (en) 1991-11-05

Similar Documents

Publication Publication Date Title
US5680574A (en) Data distribution utilizing a master disk unit for fetching and for writing to remaining disk units
JP3160149B2 (en) Non-stop program change method of disk controller and disk controller
US6772283B2 (en) Disk control device and method processing variable-block and fixed-block accesses from host devices
US4638424A (en) Managing data storage devices connected to a digital computer
JP3258117B2 (en) Storage subsystem
JP3209634B2 (en) Computer system
US6816926B2 (en) Storage system
JPH07141121A (en) Array type storage system
US5752256A (en) Disk array apparatus and method for dividing and reading/writing partial data across a plurality of drive groups utilizing parallel processing
JPH04245352A (en) Storage device control method and storage device subsystem
JP3250861B2 (en) Disk device system
JPH09231015A (en) Storage device and storage device system
US5696921A (en) System and method for allocating a write request on the same cylinder as a most recent read request on a rotating memory
US5113509A (en) Method of changing data on disk
JP2875325B2 (en) Method of controlling storage device
US5734813A (en) Storage apparatus system for reallocating data records among parity groups
JP2868015B1 (en) Disk storage system
US5918243A (en) Computer mechanism for reducing DASD arm contention during parallel processing
JP3387017B2 (en) File access control method and file relocation method
US5187778A (en) Buffered disk unit and method of transferring data therein
JP2994917B2 (en) Storage system
US20110153929A1 (en) Disk memory utilization management using available slot clusters
JP2001067188A (en) Data duplication system
JP3524954B2 (en) Disk controller
JPH0619625A (en) Multiple control system for magnetic disk

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 12