JPH0448321A - Multiplex control system for external storage device - Google Patents

Multiplex control system for external storage device

Info

Publication number
JPH0448321A
JPH0448321A JP2159317A JP15931790A JPH0448321A JP H0448321 A JPH0448321 A JP H0448321A JP 2159317 A JP2159317 A JP 2159317A JP 15931790 A JP15931790 A JP 15931790A JP H0448321 A JPH0448321 A JP H0448321A
Authority
JP
Japan
Prior art keywords
processing
write
magnetic disk
external storage
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2159317A
Other languages
Japanese (ja)
Other versions
JPH0786809B2 (en
Inventor
Yoshiro Hirai
平井 義郎
Ichiro Nakano
中野 伊智郎
Kenichi Ariga
有家 賢一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2159317A priority Critical patent/JPH0786809B2/en
Publication of JPH0448321A publication Critical patent/JPH0448321A/en
Publication of JPH0786809B2 publication Critical patent/JPH0786809B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve the multiplex processing speed by executing reading to an external storage device with which the write processing is ended finally when the write processing proceeds to the read processing. CONSTITUTION:A multiplex control channel device 13 performs the multiplex write and read processing operations to the magnetic disk devices 10a and 10b with the commands. When the write and read commands are chained to each other, one of both devices 10a and 10b that is ended with the write processing finally performs the read processing. Thus the bus acquiring operations required for the read processing can be omitted and the multiplex processing speed is improved.

Description

【発明の詳細な説明】 〔概 要〕 本発明は外部記憶装置の多重化制御方式に関し、多重化
処理速度を改善することを目的とし、書き込み時は多重
化されたすべての外部記憶装置に対し同一データの書き
込み処理を行い、読出し時には該外部記憶装置のうちの
1台に対し、データの読出し処理を行う多重化制御装置
を備えた外部記憶装置の多重化制御方式であって、該多
重化制御装置は、書き込み処理から読出し処理に移ると
き、最後に書き込み処理が終了した該外部記憶装置に対
して読出し処理を行うように構成する。
[Detailed Description of the Invention] [Summary] The present invention relates to a multiplexing control method for external storage devices, and aims to improve the multiplexing processing speed. A multiplexing control method for external storage devices including a multiplexing control device that performs write processing of the same data and performs data read processing for one of the external storage devices when reading data, the multiplexing control method comprising: The control device is configured to perform a read process on the external storage device where the write process was last completed when moving from the write process to the read process.

〔産業上の利用分野〕[Industrial application field]

本発明は外部記憶装置の多重化制御方式の改良に関する
。
The present invention relates to an improvement in a multiplexing control method for external storage devices.

磁気ディスク装置等、外部記憶装置の従来の多重化シス
テムでは、複数の外部記憶装置を主副にに設定し、書き
込み指令(ライトコマンド)が出力されたときは、多重
化されているすべての外部記憶装置に同一データをライ
トし、読出し指令(リードコマンド)が出力されたとき
は、常に主外部記憶装置からデータをリードするように
構成されている。
In a conventional multiplexing system for external storage devices such as magnetic disk devices, multiple external storage devices are set as the main and secondary devices, and when a write command is output, all multiplexed external storage devices are The same data is written to the storage device, and when a read command is output, the data is always read from the main external storage device.

しかし、データの同期をとるためには、多重化されたす
べての外部記憶装置のライト処理が終了しなければリー
ド処理ができず、従って、5C3I (Small C
omputer 5ystes+ Interface
)のごとく、外部記憶装置をアクセスするためにバスの
獲得処理が必要なインターフェースでは、ライトコマン
ドにコマンドチエインされたリードコマンドがある場合
でも、主外部記憶装置のライト処理が終了した時点で一
旦バスを開放して他の創外部記憶装置のライト処理を終
了させねばならず、従って改めて主外部記憶装置に対す
るバスを獲得してリード処理を行っている。
However, in order to synchronize data, read processing cannot be performed until the write processing of all multiplexed external storage devices is completed.
computer 5ystes + Interface
), in which bus acquisition processing is required to access an external storage device, even if there is a read command chained to a write command, the bus will be acquired once the write processing of the main external storage device is completed. must be released to finish the write processing of the other external storage devices, and therefore the bus for the main external storage device is acquired again and read processing is performed.

このため、コマンドチエインを行ってもバスの開放/獲
得処理回数が増加して処理速度が低下するため、これを
改善する外部記憶装置の多重化制御方式が求められてい
る。
For this reason, even if command chaining is performed, the number of bus release/acquisition processes increases and the processing speed decreases.Therefore, there is a need for a multiplexing control system for external storage devices that improves this problem.

〔従来の技術〕[Conventional technology]

第4図は従来技術説明図で、磁気ディスク装置の多重化
システム例を示している。
FIG. 4 is an explanatory diagram of the prior art, showing an example of a multiplexing system for magnetic disk devices.

このシステムは、多重化されている磁気ディスク装置の
うち1台を主磁気ディスク装置とし、主磁気ディスク装
置でエラーが発生した場合は、他の副磁気ディスク装置
のうちの1台を新たな主磁気ディスク装置とするもので
、図中、多重化制御チャネル装置3は、図示省略した5
C3Iを制御し、上位装置2から受領するコマンドに基
づいてこれら磁気ディスク装置の多重化制御を行う。
In this system, one of the multiplexed magnetic disk devices is used as the main magnetic disk device, and if an error occurs in the main magnetic disk device, one of the other secondary magnetic disk devices is used as the new main magnetic disk device. This is a magnetic disk device, and in the figure, the multiplex control channel device 3 is replaced by 5 (not shown).
It controls the C3I and performs multiplexing control of these magnetic disk devices based on commands received from the host device 2.

例えば、ライトコマンドを受領したときは、まず主磁気
ディスク装置5に対するscs iバス(以下バス30
)の使用権を獲得するバス獲得処理を行い、主記憶装f
1に格納されているデータをIOコントローラ4経由で
主磁気ディスク装置5へ転送した後、開放コマンドを送
出してバス30を開放する。
For example, when a write command is received, first the scs i bus (hereinafter bus 30
), and performs bus acquisition processing to acquire the right to use the main memory f.
After the data stored in the bus 30 is transferred to the main magnetic disk device 5 via the IO controller 4, a release command is sent to release the bus 30.

同様にして、複数の副磁気ディスク装置6に対するバス
獲得処理を順次行ってそれぞれ同一のデータを転送する
。
Similarly, bus acquisition processing is sequentially performed for a plurality of sub magnetic disk devices 6 to transfer the same data to each of them.

この様にライトコマンドを上位装置2から受領すると、
多重化さているすべての磁気ディスク装f5,6に対し
ライト処理を行う。
When a write command is received from the host device 2 in this way,
Write processing is performed on all multiplexed magnetic disk units f5 and f6.

なお、処理速度の遅い磁気ディスク装置等では、所謂突
き放し制御が行われる。例えば、主磁気ディスク装置5
にコマンド転送を行った時点で一旦バス30を開放し、
他の副磁気ディスク装置6に対するバス30を獲得して
ライト処理を行う。突き放しされた磁気ディスク装置で
は、内部処理が終了した後、バス30を獲得して次のデ
ータ転送待ちとなる。これにより、平行処理が実現され
るが、ライト処理の最後で多重化制御チャネル装置3に
よってバスの開放処理を行わなければ、突き放しされた
磁気ディスク装置にバス30が専有されたままとなり、
他の磁気ディスク装置に対するバス獲得処理が不能とな
る。    ゛ 一方、リードコマンドを受領すると、多重化制御チャネ
ル装置3は、主磁気ディスク装置5に対するバス獲得を
行った後データをリードし、然る後、バス30を開放す
る。
Note that in a magnetic disk device or the like having a slow processing speed, so-called push-off control is performed. For example, the main magnetic disk device 5
When the command is transferred to , the bus 30 is temporarily released,
The bus 30 for other secondary magnetic disk devices 6 is acquired and write processing is performed. After the internal processing is completed, the ejected magnetic disk device acquires the bus 30 and waits for the next data transfer. This achieves parallel processing, but unless the multiplex control channel device 3 performs bus release processing at the end of the write process, the bus 30 will remain exclusive to the ejected magnetic disk device.
Bus acquisition processing for other magnetic disk devices becomes impossible. On the other hand, upon receiving the read command, the multiplex control channel device 3 acquires the bus for the main magnetic disk device 5, reads the data, and then releases the bus 30.

また、ライトコマンドにリードコマンドがコマンドチエ
インされている場合、多重化されているすべての磁気デ
ィスク装置5,6へのライト処理が終了した後、主磁気
ディスク装置5に対するバス30の獲得処理を行ってリ
ードコマンドを実行する。
In addition, when a read command is command chained to a write command, after the write processing to all the multiplexed magnetic disk devices 5 and 6 is completed, the bus 30 acquisition processing for the main magnetic disk device 5 is performed. and execute the read command.

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

外部記憶装置の多重化システムでは、主記憶装21上の
ライトデータを保証するため、多重化されているすべて
の磁気ディスク装置のライト処理が終了した後でなけれ
ばリード処理を行うことができない。
In a multiplexed external storage system, in order to guarantee the write data on the main storage 21, read processing cannot be performed until the write processing of all multiplexed magnetic disk devices is completed.

従って、ライトコマンドにコマンドチエインされてリー
ドコマンドが出力されている場合でも、主磁気ディスク
装置5のライト処理が終了した時点でバス30を一旦開
放し、他の副磁気ディスク装置のライト処理を終了させ
た後、改めて主磁気ディスク装置5に対するバス3oを
獲得してリードコマンドを実行しでおり、バスの獲得処
理が増加して処理速度が低下するという課題がある。
Therefore, even if a read command is output in a command chain with a 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 other secondary magnetic disk devices is finished. After that, the bus 3o for the main magnetic disk device 5 is acquired again and the read command is executed, resulting in an increase in bus acquisition processing and a decrease in processing speed.

このため、主磁気ディスク装置のライト処理を最後に実
行し、バス3oを開放せずそのままリードコマンドを実
行すればよいが、例えば、多重化される磁気ディスク装
置が異なるバスに接続されており、且つその磁気ディス
ク装置をアクセスする上位装置が複数あるようなシステ
ムでは、バス獲得待ちが生じて、主磁気ディスク装置5
のライト処理を常に最後に、且つ効率よく終了させるこ
とは困難である。
Therefore, it is sufficient to execute the write process of the main magnetic disk device last and then execute the read command without releasing the bus 3o. However, for example, if multiplexed magnetic disk devices are connected to different buses, In a system where there are multiple host devices that access the magnetic disk device, a wait for bus acquisition occurs, and the main magnetic disk device 5
It is difficult to always finish the write process last and efficiently.

本発明は、上記課題に鑑み、多重化処理速度を改善した
外部記憶装置の多重化制御方式を提供することを目的と
する。
SUMMARY OF THE INVENTION 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 multiplexing processing speed.

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

第1図本発明の原理図において、 21a、21bは多重化されている複数の外部記憶装置
、 20は多重化制御装置で、書き込み処理から読出し処理
に移るとき、最後に書き込み処理を終了した外部記憶装
置に対して読出し処理を行う。
In FIG. 1, a diagram of the principle of the present invention, 21a and 21b are multiplexed external storage devices, 20 is a multiplexing control device, and when moving from write processing to read processing, the external storage device that last completed the write processing is Performs read processing on the storage device.

〔作 用〕[For production]

多重化制御装置20は、コマンドチエインにより書き込
み処理より読出し処理に移るとき、最後に書き込み処理
を終了した外部記憶装置に対し、読出し処理を行う。
When the multiplexing control device 20 shifts from the write process to the read process by the command chain, it performs the read process on the external storage device that last completed the write process.

これにより、読出し処理のためのバス獲得処理が省かれ
、処理速度が改善される。
This eliminates bus acquisition processing for read processing, improving processing speed.

〔実施例〕〔Example〕

本発明の実施例を図を用いて詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.

第2図は一莫施例の構成図、第3図は実施例の概略フロ
ーチャート図である。
FIG. 2 is a block diagram of the first embodiment, and FIG. 3 is a schematic flowchart of the embodiment.

第2図は磁気ディスク装置(外部記憶装置21a。FIG. 2 shows a magnetic disk device (external storage device 21a).

21bに対応) 10a、 10bの2重化システム例
を示したものである。図中、 10a、10hは2重化された磁気ディスク装置で、主
副の区別はない。
21b) shows an example of a duplex system of 10a and 10b. In the figure, 10a and 10h are dual magnetic disk drives, and there is no distinction between main and sub.

lは主記憶装置で、ライト/リードデータの格納領域、
コマンドの格納領域等を備える。
l is the main memory, a storage area for write/read data,
It has a storage area for commands, etc.

2は上位装置で、ライト/リードコマンドを発行する。2 is a host device that issues write/read commands.

13は多重化制御チャネル装W(多重化制御装置20に
対応する)で、コマンドの指示により、磁気ディスク装
置10a、Robに対する多重ライト処理およびリード
処理を行う。そしてライトコマンド−リードコマンドの
ごとくコマンドチエインされている場合は、磁気ディス
ク装置10a、 10bのうち、最後にライト処理が終
了した磁気ディスク装置でリード処理を行う。このため
、ライト処理終了が最後であるか否かを判別するための
同期フラグ22a、22bを磁気ディスク装置10a、
 10b対応で備える。
Reference numeral 13 denotes a multiplex control channel device W (corresponding to the multiplex control device 20), which performs multiple write processing and read processing for the magnetic disk device 10a and Rob according to command instructions. If the commands are chained such as a write command and a read command, the read process is performed by the magnetic disk drive that completed the write process last among the magnetic disk drives 10a and 10b. Therefore, the synchronization flags 22a and 22b for determining whether the end of the write process is the last one are set in the magnetic disk device 10a,
10b compatible.

その他、全図を通じて同一符号は同一対象物を表す。In addition, the same reference numerals represent the same objects throughout the figures.

以上構成の多重化システムにおいて、ライトコマンドに
続いてリードコマンドがコマンドチエインされていると
き、以下に示す処理を行う。第3図参照 (1)まず、磁気ディスク装置10aに対するバス30
の獲得処理を行う。
In the multiplex system configured as described above, when a read command is command chained following a write command, the following processing is performed. Refer to FIG. 3 (1) First, the bus 30 for the magnetic disk device 10a
Acquisition processing is performed.

(2)バス獲得後、磁気ディスク装置10aでライト処
理を行う。
(2) After acquiring the bus, write processing is performed in 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 to the magnetic disk device 10a, it is verified whether all the synchronization flags 22a and 22b are on.

(4)すべてがオンでなければ最後のライト処理終了で
ないから、磁気ディスク装置10aに対するバス30の
開放処理を行い、すべてがオンならば最後のライト処理
が終了したから、バス開放処理を行わずそのまま、磁気
ディスク装置E10aでリード処理を行い、リード処理
終了後に磁気ディスク装置10aに対するバス開放処理
を行う。
(4) If all are on, the last write process has not finished, so perform the bus 30 release process for the magnetic disk device 10a. If all are on, the last write process has finished, so do not perform the bus release process. The magnetic disk device E10a continues to perform read processing, and after the read processing is completed, bus release processing for the magnetic disk device 10a is performed.

(5)磁気ディスク装置lObに対するバス獲得処理を
行う。このバス獲得処理は、磁気ディスク装置10aの
突き放し制御時、または磁気ディスク装宜10aのライ
ト処理終了後のバス開放時に行う。
(5) Perform bus acquisition processing for the magnetic disk device lOb. This bus acquisition process is performed during release control of the magnetic disk device 10a or when the bus is released after the write process of the magnetic disk device 10a is completed.

(6)バス獲得後、磁気ディスク装置Jobでライト処
理を行う。
(6) After acquiring the bus, write processing is performed using the magnetic disk device job.

(カ ライト処理終了時点で同期フラグ22bをオンに
し、すべての同期フラグ22a 、 22bがオンか否
かを検証し、すべてオンならば最後のライト処理が終了
したから、磁気ディスク装置10bでリードコマンドを
実行し、オンでなければ、磁気ディスク装置10bに対
する磁気ディスク装置10bのバス開放処理を行う。
(At the end of the write process, turn on the synchronization flag 22b, verify whether all the synchronization flags 22a and 22b are on, and if they are all on, the last write process has finished, and the read command is sent to the magnetic disk device 10b. is executed, and if it is not on, a bus release process for the magnetic disk device 10b is performed for the magnetic disk device 10b.

以上のごとく、多重化された磁気ディスク装置10a、
10bのうち、最後にライト処理を終了した何れか一方
の磁気ディスク装置に対してリード処理を行うため、リ
ード処理のためのバス獲得処理を行う必要がな(、従っ
て処理速度が改善される。
As described above, the multiplexed magnetic disk device 10a,
Since the read process is performed on one of the magnetic disk devices 10b that last completed the write process, there is no need to perform a bus acquisition process for the read process (therefore, the processing speed is improved).

図中、1は主記憶装置、2は上位装置、3.13は多重
化制御チャネル装置、4はIOコントローラ、5は主磁
気ディスク装置、6は副磁気ディスク装置、10a、 
10bは磁気ディスク装置、20は多重化制御装置、2
1a、21bは外部記憶装置、22a、22bは同期フ
ラグ、30はバスである。
In the figure, 1 is a main storage device, 2 is a host device, 3.13 is a multiplex control channel device, 4 is an IO controller, 5 is a main magnetic disk device, 6 is a sub magnetic disk device, 10a,
10b is a magnetic disk device, 20 is a multiplexing control device, 2
1a and 21b are external storage devices, 22a and 22b are synchronization flags, and 30 is a bus.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、バス獲得回数を削減し
た外部記憶装置の多重化制御方式を提供するもので、効
率的な多重化制御が可能となる効果は多大である。
As described above, the present invention provides a multiplexing control method for external storage devices that reduces the number of bus acquisitions, and has a significant effect of enabling efficient multiplexing control.

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

第1図は本発明の原理図、第2図は一実施例の構成図、
第3図は実施例の概略フローチャート図、第4図は従来
技術説明図である。 第1図 第2図 実施例の概略フローチャート図 第3図
Fig. 1 is a principle diagram of the present invention, Fig. 2 is a configuration diagram of an embodiment,
FIG. 3 is a schematic flowchart of the embodiment, and FIG. 4 is an explanatory diagram of the prior art. Figure 1 Figure 2 Schematic flowchart of the embodiment Figure 3

Claims (1)

【特許請求の範囲】 書き込み時は多重化されたすべての外部記憶装置(21
a、21b)に対し同一データの書き込み処理を行い、
読出し時には該外部記憶装置のうちの1台に対しデータ
の読出し処理を行う多重化制御装置(20)を備えた外
部記憶装置の多重化制御方式であって、 該多重化制御装置(20)は、書き込み処理から読出し
処理に移るとき、最後に書き込み処理が終了した該外部
記憶装置に対して読出し処理を行うことを特徴とする外
部記憶装置の多重化制御方式。
[Claims] When writing, all multiplexed external storage devices (21
Write the same data to a and 21b),
A multiplexing control method for an external storage device, comprising a multiplexing control device (20) that performs data read processing for one of the external storage devices at the time of reading, the multiplexing control device (20) comprising: . A multiplex control method for external storage devices, characterized in that when moving from write processing to read processing, read processing is performed on the external storage device for which write processing has been completed last.
JP2159317A 1990-06-18 1990-06-18 Multiplexing control method for external storage device Expired - Fee Related JPH0786809B2 (en)

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 true JPH0448321A (en) 1992-02-18
JPH0786809B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10146809A (en) * 1996-11-15 1998-06-02 Juken Sangyo Co Ltd Plate material using porous herbaceous materials
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10146809A (en) * 1996-11-15 1998-06-02 Juken Sangyo Co Ltd Plate material using porous herbaceous materials
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
US8027801B2 (en) 2005-09-01 2011-09-27 Hitachi Global Storage Technologies Netherlands B.V. Multi drive test system for data storage device

Also Published As

Publication number Publication date
JPH0786809B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
US5794072A (en) Timing method and apparatus for interleaving PIO and DMA data transfers
WO2022183572A1 (en) Command submitting method and apparatus, command reading method and apparatus, and electronic device
CN109739784A (en) A data processing method, device, system and FPGA accelerator card
JPH0786809B2 (en) Multiplexing control method for external storage device
JPH04120652A (en) Parallel processors
JPS60118977A (en) Pipeline control system
JPS59142655A (en) Memory control system capable of simultaneous access
JPH04163657A (en) Data transfer control system
JPH0353655B2 (en)
JPH01142962A (en) Data transfer control system
JP2752919B2 (en) How to access shared memory
JPS63216161A (en) Data transfer system
JPH07160655A (en) Memory access method
JPS61131154A (en) Data transfer control system
JP2575231B2 (en) How to download
JPH01184567A (en) Data transfer system for numerical controller
JP2910444B2 (en) Bus transmission control method
JPH03286241A (en) data transfer device
JPH05227223A (en) Data transfer system
JPH02127754A (en) Data transfer processing method
JPS62278628A (en) Access method for external memory device
JPH0346033A (en) Inter-job data transfer control method
JPS6168641A (en) information processing equipment
JPS62243055A (en) Data transfer system
JPH0132540B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees