JPH0786809B2 - Multiplexing control method for external storage device - Google Patents
Multiplexing control method for external storage deviceInfo
- Publication number
- JPH0786809B2 JPH0786809B2 JP2159317A JP15931790A JPH0786809B2 JP H0786809 B2 JPH0786809 B2 JP H0786809B2 JP 2159317 A JP2159317 A JP 2159317A JP 15931790 A JP15931790 A JP 15931790A JP H0786809 B2 JPH0786809 B2 JP H0786809B2
- Authority
- JP
- Japan
- Prior art keywords
- magnetic disk
- external storage
- bus
- write
- multiplexing control
- 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 - Fee Related
Links
Description
【発明の詳細な説明】 〔概 要〕 本発明は外部記憶装置の多重化制御方式に関し、多重化
処理速度を改善することを目的とし、 書き込み時は多重化されたすべての外部記憶装置に対し
同一データの書き込み処理を行い、読出し時には該外部
記憶装置のうちの1台に対しデータの読出し処理を行う
多重化制御装置を備えた外部記憶装置の多重化制御方式
であって、該多重化制御装置は、書き込み処理から読出
し処理に移るとき、最後に書き込み処理が終了した該外
部記憶装置に対して読出し処理を行うように構成する。DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a multiplexing control method for an external storage device, and an object thereof is to improve the multiplexing processing speed. A multiplexing control method for an external storage device, comprising a multiplexing control device for performing the same data write process and reading data to one of the external storage devices at the time of reading, When the device shifts from the writing process to the reading process, the device is configured to perform the reading process on the external storage device for which the writing process is finally completed.
本発明は外部記憶装置の多重化制御方式の改良に関す
る。The present invention relates to improvement of a multiplexing control system for an external storage device.
磁気ディスク装置等、外部記憶装置の従来の多重化シス
テムでは、複数の外部記憶装置を主副にに設定し、書き
込み指令(ライトコマンド)が出力されたときは、多重
化されているすべての外部記憶装置に同一データをライ
トし、読出し指令(リードコマンド)が出力されたとき
は、常に主外部記憶装置からデータをリードするように
構成されている。In a conventional multiplexing system of external storage devices such as a magnetic disk device, when a plurality of external storage devices are set as main and secondary and a write command (write command) is output, all external devices The same data is written in the storage device, and when a read command (read command) is output, the data is always read from the main external storage device.
しかし、データの同期をとるためには、多重化されたす
べての外部記憶装置のライト処理が終了しなければリー
ド処理ができず、従って、SCSI(Small Computer Syste
m Interface)のごとく、外部記憶装置をアクセスする
ためにバスの獲得処理が必要なインターフェースでは、
ライトコマンドにコマンドチェインされたリードコマン
ドがある場合でも、主外部記憶装置のライト処理が終了
した時点で一旦バスを開放して他の副外部記憶装置のラ
イト処理を終了させねばならず、従って改めて主外部記
憶装置に対するバスを獲得してリード処理を行ってい
る。However, in order to synchronize the data, the read processing cannot be performed unless the write processing of all the multiplexed external storage devices is completed. Therefore, the SCSI (Small Computer Syste
m Interface), an interface that requires bus acquisition processing to access an external storage device,
Even if the write command has a read command chained to the command chain, the bus must be released once to terminate the write processing of the other secondary external storage devices when the write processing of the main external storage device is finished, and therefore, the write processing is restarted. A bus for the main external storage device is acquired and read processing is performed.
このため、コマンドチェインを行ってもバスの開放/獲
得処理回数が増加して処理速度が低下するため、これを
改善する外部記憶装置の多重化制御方式が求められてい
る。Therefore, even if the command chain is performed, the number of bus release / acquisition processes increases and the processing speed decreases. Therefore, there is a demand for a multiplexing control method for an external storage device that improves this.
第4図は従来技術説明図で、磁気ディスク装置の多重化
システム例を示している。FIG. 4 is an explanatory view of the prior art and shows an example of a multiplexing system of a magnetic disk device.
このシステムは、多重化されている磁気ディスク装置の
うち1台を主磁気ディスク装置とし、主磁気ディスク装
置でエラーが発生した場合は、他の副磁気ディスク装置
のうちの1台を新たな主磁気ディスク装置とするもの
で、図中、多重化制御チャネル装置3は、図示省略した
SCSIを制御し、上位装置2から受領するコマンドに基づ
いてこれら磁気ディスク装置の多重化制御を行う。In this system, one of the multiplexed magnetic disk devices is used as a main magnetic disk device, and when an error occurs in the main magnetic disk device, one of the other sub magnetic disk devices is used as a new main magnetic disk device. A magnetic disk device is used, and the multiplexing control channel device 3 is omitted in the figure.
The SCSI is controlled, and the multiplexing control of these magnetic disk devices is performed based on the command received from the host device 2.
例えば、ライトコマンドを受領したときは、まず主磁気
ディスク装置5に対するSCSIバス(以下バス30)の使用
権を獲得するバス獲得処理を行い、主記憶装置1に格納
されているデータを10コントローラ4経由で主磁気ディ
スク装置5へ転送した後、開放コマンドを送出してバス
30を開放する。For example, when a write command is received, a bus acquisition process is first performed to acquire a right to use the SCSI bus (hereinafter referred to as bus 30) for the main magnetic disk device 5, and the data stored in the main storage device 1 is transferred to the controller 10 After transferring to the main magnetic disk unit 5 via the
Release 30.
同様にして、複数の副磁気ディスク装置6に対するバス
獲得処理を順次行ってそれぞれ同一のデータを転送す
る。Similarly, the bus acquisition process is sequentially performed on the plurality of sub magnetic disk devices 6 to transfer the same data.
この様にライトコマンドを上位装置2から受領すると、
多重化さているすべての磁気ディスク装置5,6に対しラ
イト処理を行う。In this way, when the write command is received from the host device 2,
Write processing is performed on all the multiplexed magnetic disk devices 5 and 6.
なお、処理速度の遅い磁気ディスク装置等では、所謂突
き放し制御が行われる。例えば、主磁気ディスク装置5
にコマンド転送を行った時点で一旦バス30を開放し、他
の副磁気ディスク装置6に対するバス30を獲得してライ
ト処理を行う。突き放しされた磁気ディスク装置では、
内部処理が終了した後、バス30を獲得して次のデータ転
送持ちとなる。これにより、平行処理が実現されるが、
ライト処理の最後で多重化制御チャネル装置3によって
バスの開放処理を行わなければ、突き放しされた磁気デ
ィスク装置にバス30が専有されたままとなり、他の磁気
ディスク装置に対するバス獲得処理が不能となる。In a magnetic disk device or the like having a low processing speed, so-called ejection control is performed. For example, the main magnetic disk device 5
The bus 30 is once released at the point of time when the command transfer is performed, the bus 30 for the other secondary magnetic disk device 6 is acquired, and the write processing is performed. In the magnetic disk device that was pushed out,
After the internal processing is completed, the bus 30 is acquired and becomes ready for the next data transfer. This enables parallel processing,
Unless the bus is released by the multiplexing control channel device 3 at the end of the write process, the bus 30 remains occupied by the released magnetic disk device, and the bus acquisition process for other magnetic disk devices becomes impossible. .
一方、リードコマンドを受領すると、多重化制御チャネ
ル装置3は、主磁気ディスク装置5に対するバス獲得を
行った後データをリードし、然る後、バス30を開放す
る。On the other hand, upon receiving the read command, the multiplexing control channel device 3 reads the data after acquiring the bus for the main magnetic disk device 5, and then releases the bus 30.
また、ライトコマンドにリードコマンドがコマンドチェ
インされている場合、多重化されているすべての磁気デ
ィスク装置5,6へのライト処理が終了した後、主磁気デ
ィスク装置5に対するバス30の獲得処理を行ってリード
コマンドを実行する。If the read command is chained to the write command, the bus 30 for the main magnetic disk device 5 is acquired after the write processing to all the multiplexed magnetic disk devices 5 and 6 is completed. Execute the read command.
外部記憶装置の多重化システムでは、主記憶装置1上の
ライトデータを保証するため、多重化されているすべて
の磁気ディスク装置のライト処理が終了した後でなけれ
ばリード処理を行うことができない。In the multiplex system of the external storage device, since the write data in the main storage device 1 is guaranteed, the read process can be performed only after the write process of all the multiplexed magnetic disk devices is completed.
従って、ライトコマンドにコマンドチェインされてリー
ドコマンドが出力されている場合でも、主磁気ディスク
装置5のライト処理が終了した時点でバス30を一旦開放
し、他の副磁気ディスク装置のライト処理を終了させた
後、改めて主磁気ディスク装置5に対するバス30を獲得
してリードコマンドを実行しており、バスの獲得処理が
増加して処理速度が低下するという課題がある。Therefore, even when the read command is output by being chained to the write command, the bus 30 is temporarily released when the write processing of the main magnetic disk device 5 is completed, and the write processing of the other sub magnetic disk devices is completed. After that, the bus 30 for the main magnetic disk device 5 is again acquired and the read command is executed, and there is a problem that the bus acquisition processing increases and the processing speed decreases.
このため、主磁気ディスク装置のライト処理を最後に実
行し、バス30を開放せずそのままリードコマンドを実行
すればよいが、例えば、多重化される磁気ディスク装置
が異なるバスに接続されており、且つその磁気ディスク
装置をアクセスする上位装置が複数あるようなシステム
では、バス獲得待ちが生じて、主磁気ディスク装置5の
ライト処理を常に最後に、且つ効率よく終了させること
は困難である。Therefore, the write process of the main magnetic disk device may be executed last, and the read command may be executed without opening the bus 30, but for example, the magnetic disk devices to be multiplexed are connected to different buses, In addition, in a system in which there are a plurality of host devices that access the magnetic disk device, a bus acquisition wait occurs, and it is difficult to always end the write processing of the main magnetic disk device 5 last and efficiently.
本発明は、上記課題に鑑み、多重化処理速度を改善した
外部記憶装置の多重化制御方式を提供することを目的と
する。In view of the above problems, it is an object of the present invention to provide a multiplexing control method for an external storage device that improves the multiplexing processing speed.
第1図本発明の原理図において、 21a,21bは多重化されている複数の外部記憶装置、 20は多重化制御装置で、書き込み処理から読出し処理に
移るとき、最後に書き込み処理を終了した外部記憶装置
に対して読出し処理を行う。FIG. 1 In the principle diagram of the present invention, 21a and 21b are a plurality of multiplexed external storage devices, and 20 is a multiplexing control device, and when the write process shifts to the read process, the external device that has finished the write process last Read processing is performed on the storage device.
多重化制御装置20は、コマンドチェインにより書き込み
処理より読出し処理に移るとき、最後に書き込み処理を
終了した外部記憶装置に対し、読出し処理を行う。When shifting from the writing process to the reading process by the command chain, the multiplexing control device 20 performs the reading process on the external storage device that has finished the writing process last.
これにより、読出し処理のためのバス獲得処理が省か
れ、処理速度が改善される。As a result, the bus acquisition process for the read process is omitted and the processing speed is improved.
本発明の実施例を図を用いて詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.
第2図は一実施例の構成図、第3図は実施例の概略フロ
ーチャート図である。FIG. 2 is a block diagram of an embodiment, and FIG. 3 is a schematic flowchart of the embodiment.
第2図は磁気ディスク装置(外部記憶装置21a,21bに対
応)10a,10bの2重化システム例を示したものである。
図中、 10a,10bは2重化された磁気ディスク装置で、主副の区
別はない。FIG. 2 shows an example of a duplication system of magnetic disk devices (corresponding to the external storage devices 21a and 21b) 10a and 10b.
In the figure, 10a and 10b are duplicated magnetic disk devices, and there is no distinction between main and sub.
1は主記憶装置で、ライト/リードデータの格納領域,
コマンドの格納領域等を備える。Reference numeral 1 denotes a main storage device, which is a storage area for write / read data,
A command storage area and the like are provided.
2は上位装置で、ライト/リードコマンドを発行する。A higher-level device 2 issues a write / read command.
13は多重化制御チャネル装置(多重化制御装置20に対応
する)で、コマンドの指示により、磁気ディスク装置10
a,10bに対する多重ライト処理およびリード処理を行
う。そしてライトコマンド−リードコマンドのごとくコ
マンドチェインされている場合は、磁気ディスク装置10
a,10bのうち、最後にライト処理が終了した磁気ディス
ク装置でリード処理を行う。このため、ライト処理終了
が最後であるか否かを判別するための同期フラグ22a,22
bを磁気ディスク装置10a,10b対応で備える。Reference numeral 13 is a multiplexing control channel device (corresponding to the multiplexing control device 20), and the magnetic disk device 10
Performs multiple write processing and read processing for a and 10b. If the command chain is a write command-read command, the magnetic disk unit 10
Of a and 10b, the read process is performed by the magnetic disk device that has completed the write process last. Therefore, the synchronization flags 22a and 22 for determining whether or not the write processing has ended
b is provided corresponding to the magnetic disk devices 10a and 10b.
その他、全図を通じて同一符号は同一対象物を表す。In addition, the same reference numeral represents the same object throughout the drawings.
以上の構成の多重化システムにおいて、ライトコマンド
に続いてリードコマンドがコマンドチェインされている
とき、以下に示す処理を行う。第3図参照 (1) まず、磁気ディスク装置10aに対するバス30の
獲得処理を行う。In the multiplexing system having the above configuration, when the read command is chained following the write command, the following processing is performed. See FIG. 3 (1) First, the bus 30 acquisition process for the magnetic disk device 10a is performed.
(2) バス獲得後、磁気ディスク装置10aでライト処
理を行う。(2) After acquiring the bus, write processing is performed by the magnetic disk device 10a.
(3) 磁気ディスク装置10aに対するライト処理終了
時点で同期フラグ22aをオンにした後、すべての同期フ
ラグ22a,22bがオンか否かを検証する。(3) After turning on the synchronization flag 22a at the end of the write process for the magnetic disk device 10a, it is verified whether all the synchronization flags 22a and 22b are on.
(4) すべてがオンでなければ最後のライト処理終了
でないから、磁気ディスク装置10aに対するバス30の開
放処理を行い、すべてがオンならば最後のライト処理が
終了したから、バス開放処理を行わずそのまま、磁気デ
ィスク装置10aでリード処理を行い、リード処理終了後
に磁気ディスク装置10aに対するバス開放処理を行う。(4) If all are on, the last write processing is not completed, so the bus 30 release processing for the magnetic disk device 10a is performed. If all are on, the last write processing is completed, so bus release processing is not performed. As it is, the magnetic disk device 10a performs the read process, and after the read process is completed, the bus release process for the magnetic disk device 10a is performed.
(5) 磁気ディスク装置10bに対するバス獲得処理を
行う。このバス獲得処理は、磁気ディスク装置10aの突
き放し制御時、または磁気ディスク装置10aのライト処
理終了後のバス開放時に行う。(5) Bus acquisition processing is performed on the magnetic disk device 10b. The bus acquisition process is performed when the magnetic disk device 10a is pushed out or when the bus is released after the write process of the magnetic disk device 10a is completed.
(6) バス獲得後、磁気ディスク装置10bでライト処
理を行う。(6) After obtaining the bus, write processing is performed by the magnetic disk device 10b.
(7) ライト処理終了時点で同期フラグ22bをオンに
し、すべての同期フラグ22a,22bがオンか否かを検証
し、すべてオンならば最後のライト処理が終了したか
ら、磁気ディスク装置10bでリードコマンドを実行し、
オンでなければ、磁気ディスク装置10bに対する磁気デ
ィスク装置10bのバス開放処理を行う。(7) At the end of the write process, the synchronization flag 22b is turned on, and it is verified whether all the synchronization flags 22a and 22b are on. If all are on, the last write process is completed, so the magnetic disk device 10b reads. Run the command,
If it is not on, the bus release process of the magnetic disk device 10b is performed for the magnetic disk device 10b.
以上のごとく、多重化された磁気ディスク装置10a,10b
のうち、最後にライト処理を終了した何れか一方の磁気
ディスク装置に対してリード処理を行うため、リード処
理のためのバス獲得処理を行う必要がなく、従って処理
速度が改善される。As described above, the multiplexed magnetic disk devices 10a and 10b
Of these, since the read process is performed on either one of the magnetic disk devices that has finished the write process last, it is not necessary to perform the bus acquisition process for the read process, and therefore the processing speed is improved.
以上説明したように、本発明は、バス獲得回数を削減し
た外部記憶装置の多重化制御方式を提供するもので、効
率的な多重化制御が可能となる効果は多大である。As described above, the present invention provides a multiplexing control method for an external storage device in which the number of bus acquisitions is reduced, and the effect of enabling efficient multiplexing control is great.
第1図は本発明の原理図、第2図は一実施例の構成図、
第3図は実施例の概略フローチャート図、第4図は従来
技術説明図である。 図中、1は主記憶装置、2は上位装置、3,13は多重化制
御チャネル装置、4は10コントローラ、5は主磁気ディ
スク装置、6は副磁気ディスク装置、10a,10bは磁気デ
ィスク装置、20は多重化制御装置、21a,21bは外部記憶
装置、22a,22bは同期フラグ、30はバスである。FIG. 1 is a principle diagram of the present invention, FIG. 2 is a configuration diagram of one embodiment,
FIG. 3 is a schematic flow chart of the embodiment, and FIG. 4 is an explanatory view of the prior art. In the figure, 1 is a main storage device, 2 is a higher-level device, 3 and 13 are multiplexing control channel devices, 4 is a 10 controller, 5 is a main magnetic disk device, 6 is a sub magnetic disk device, and 10a and 10b are magnetic disk devices. , 20 are multiplexing control devices, 21a and 21b are external storage devices, 22a and 22b are synchronization flags, and 30 is a bus.
Claims (1)
憶装置(21a,21b)に対し同一データの書き込み処理を
行い、読出し時には該外部記憶装置のうちの1台に対し
データの読出し処理を行う多重化制御装置(20)を備え
た外部記憶装置の多重化制御方式であって、 該多重化制御装置(20)は、書き込み処理から読出し処
理に移るとき、最後に書き込み処理が終了した該外部記
憶装置に対して読出し処理を行うことを特徴とする外部
記憶装置の多重化制御方式。1. When writing, the same data writing process is performed to all multiplexed external storage devices (21a, 21b), and when reading, the data reading process is performed to one of the external storage devices. A multiplexing control method for an external storage device comprising a multiplexing control device (20), wherein the multiplexing control device (20) finally ends the writing process when shifting from the writing process to the reading process. A multiplexing control method for an external storage device, characterized in that a read process is performed on the external storage device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2159317A JPH0786809B2 (en) | 1990-06-18 | 1990-06-18 | Multiplexing control method for external storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2159317A JPH0786809B2 (en) | 1990-06-18 | 1990-06-18 | Multiplexing control method for external storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0448321A JPH0448321A (en) | 1992-02-18 |
| JPH0786809B2 true JPH0786809B2 (en) | 1995-09-20 |
Family
ID=15691155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2159317A Expired - Fee Related JPH0786809B2 (en) | 1990-06-18 | 1990-06-18 | Multiplexing control method for external storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0786809B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10146809A (en) * | 1996-11-15 | 1998-06-02 | Juken Sangyo Co Ltd | Plate material using porous herb material |
| JP2007066126A (en) | 2005-09-01 | 2007-03-15 | Hitachi Global Storage Technologies Netherlands Bv | Data storage device test method and data storage device manufacturing method |
-
1990
- 1990-06-18 JP JP2159317A patent/JPH0786809B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0448321A (en) | 1992-02-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20110264853A1 (en) | Signal control device and signal control method | |
| JPH0786809B2 (en) | Multiplexing control method for external storage device | |
| JPH0793101A (en) | Data backup device | |
| JPS6128128B2 (en) | ||
| JPH08106363A (en) | Multi-disc device | |
| JP2888062B2 (en) | Information processing device | |
| JPH05298248A (en) | Data transfer control method | |
| JPS6229831B2 (en) | ||
| JPH0447350A (en) | Main storage read/response control | |
| JPH04106643A (en) | System for managing file area of floppy disk | |
| JPS61208119A (en) | Disk controller | |
| JPH104420A (en) | Data transfer method | |
| JPH05227223A (en) | Data transfer system | |
| JPS63187349A (en) | Storage device | |
| JPH02211571A (en) | Information processor | |
| JPH04350741A (en) | Access speed increasing method for indexed sequential file | |
| JPS62229344A (en) | Data storing system | |
| JPH04319752A (en) | System bus control system for information processor | |
| JPH03259319A (en) | Writing system for disk device | |
| JPH04248652A (en) | Dma controller | |
| JPS63119070A (en) | File data storage system | |
| JPH05210615A (en) | Dma device | |
| JPH04276846A (en) | Data transfer system | |
| JPS6036608B2 (en) | Magnetic tape volume control method | |
| JPH0528421B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |