JPH0823855B2 - Bus switching device for multi-processor system - Google Patents

Bus switching device for multi-processor system

Info

Publication number
JPH0823855B2
JPH0823855B2 JP61297650A JP29765086A JPH0823855B2 JP H0823855 B2 JPH0823855 B2 JP H0823855B2 JP 61297650 A JP61297650 A JP 61297650A JP 29765086 A JP29765086 A JP 29765086A JP H0823855 B2 JPH0823855 B2 JP H0823855B2
Authority
JP
Japan
Prior art keywords
input
output
bus
error
controller
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
Application number
JP61297650A
Other languages
Japanese (ja)
Other versions
JPS63150753A (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 JP61297650A priority Critical patent/JPH0823855B2/en
Publication of JPS63150753A publication Critical patent/JPS63150753A/en
Publication of JPH0823855B2 publication Critical patent/JPH0823855B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マルチプロセツサ(計算機)システムにお
けるバス切替装置に関するものである。
The present invention relates to a bus switching device in a multiprocessor (computer) system.

〔従来の技術〕[Conventional technology]

従来、特開昭58-8075号に記載のようにバス切替装置
はある処理装置(以下CPUと略す)からの入出力要求に
より開始されるデータ転送等の入出力動作が終了した場
合には、ただちに他のCPUからの起動要求の走査を再開
していた。しかし最近の入出力装置(以下I/Oと略す)
は、インテリジエント化され、動作が複雑になり、異常
終了時に報告すべき情報量が膨大になつている為、一回
の動作時間を短くして、バスの使用効率を上げる目的
で、入出力動作終了時は、エラーの有無のみ報告し、そ
の詳細情報は、別の入出力動作により取り込む方式にな
つてきている。
Conventionally, as described in Japanese Patent Application Laid-Open No. 58-8075, a bus switching device is used when an input / output operation such as data transfer started by an input / output request from a processing device (hereinafter abbreviated as CPU) is completed. Immediately, it was restarting the scan for activation requests from other CPUs. However, recent I / O devices (hereinafter abbreviated as I / O)
Is intelligent, its operation is complicated, and the amount of information to be reported at the time of abnormal termination is enormous.Therefore, in order to shorten the operation time of one time and improve the bus usage efficiency, At the end of the operation, only the presence / absence of an error is reported, and the detailed information is taken in by another input / output operation.

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

上記従来技術は、動作終了後その詳細情報が別の入出
力動作によりCPUに転送される場合が配慮されていなか
つた。即ち、1つのCPU(CPUAと称す)があるI/Oとの間
で入出力動作を行つた結果、詳細情報が必要であること
がわかつた場合でも、次にこのCPUAが詳細情報を取り込
む為の入出力要求を出すまでの間、にバス切替装置が他
のCPUからの入出力要求を走査してしまい、その結果他
のCPU(CPUBと称す)からの入出力動作が行なわれるこ
とがある。この結果、CPUAによる入出力動作の詳細情報
がCPUAへ転送される前に、CPUBによる入出力動作の結果
によるものに書き替つてしまうという問題があつた。
The above-mentioned prior art has not considered the case where the detailed information is transferred to the CPU by another input / output operation after the operation is completed. That is, even if it is found that detailed information is required as a result of performing input / output operation with an I / O having one CPU (called CPUA), this CPUA will fetch the detailed information next time. The bus switching device may scan for I / O requests from other CPUs until the I / O requests of other CPUs are issued, resulting in I / O operations from other CPUs (called CPUB). . As a result, there is a problem that the detailed information of the input / output operation by CPUA is overwritten by the result of the input / output operation by CPUB before being transferred to CPUA.

本発明の目的は、マルチプロセツサシステムにおける
共有I/Oの制御に好適なバス切替装置を提供することに
ある。
An object of the present invention is to provide a bus switching device suitable for controlling shared I / O in a multiprocessor system.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、複数のプロセッサのどれからも入出力要
求が無い状態となり且つ共通入出力装置がビジー状態で
ないときは各プロセッサに接続された入出力バスを順次
切り替えて共通入出力装置に接続し、いずれかのプロセ
ッサから入出力要求が有りまたは共通入出力装置がビジ
ー状態のときは共通入出力装置に接続されている入出力
バスの切り替えを禁止するバス切替部を備え、入出力要
求により開始される入出力動作がエラー終了するとき該
入出力動作をエラーの有無のみ報告して終了し該エラー
の詳細情報は次の入出力要求を待って転送するマルチプ
ロセッサシステムのバス切替装置において、 エラー有を示すパターンを予め記憶したメモリと、 接続中のプロセッサに対し接続終了時に共通入出力装
置が報告する終了情報と前記メモリの内容とを照合して
エラー有を検出したときトリガが入るワンショット回路
と、 前記エラー有が検出され且つ前記ワンショット回路が
出力中の期間、入出力バスの切り替えを禁止して、前記
次の入出力要求を続けて受け付ける手段と を設けることで、達成される。
The purpose is to connect the common input / output device by sequentially switching the input / output bus connected to each processor when there is no input / output request from any of the plurality of processors and the common input / output device is not busy. When there is an I / O request from any of the processors or the common I / O device is busy, a bus switching unit that prohibits switching of the I / O bus connected to the common I / O device is provided, and it is started by the I / O request. When the input / output operation ends in error, the input / output operation is reported only if there is an error, and the detailed information of the error is transferred after waiting for the next input / output request. Which stores a pattern indicating the above in advance, termination information reported to the connected processor by the common input / output device at the time of termination of the connection, and the memory A one-shot circuit that triggers when an error is detected by checking the contents and a period during which the error is detected and the one-shot circuit is outputting and prohibits switching of the input / output bus This is achieved by providing means for continuously accepting input / output requests.

〔作用〕[Action]

バス切替装置のバス切替部は、I/Oが動作終了時、詳
細終了情報があればバスを接続したままにして他のCPU
の入出力要求走査の処理を行なわない。それによつて、
他のCPUより該当I/Oと入出力動作を行い、詳細情報が壊
されることがない。又詳細情報がなければただちにバス
を切離して他のCPUの入出力要求走査の処理を開始す
る。それによつてバスの占有時間を短くし、他のCPUの
入出力要求を余分に持たさないようにすることができ
る。
The bus switching unit of the bus switching device keeps the bus connected when other I / O operations are complete when detailed I / O information is available.
I / O request scan processing is not performed. Therefore,
The detailed information is not destroyed by performing I / O and I / O operations from other CPUs. If there is no detailed information, the bus is immediately disconnected and the processing of the I / O request scan of another CPU is started. As a result, the bus occupation time can be shortened so that the I / O requests of other CPUs are not additionally provided.

〔実施例〕〔Example〕

本発明に係るバス切替装置をフアイルシステムを例に
以下説明する。第4図はその一例でのシステム構成を示
したものであり、本例では図示の如く2つの処理装置
(プロセツサ,計算機)101,102がフアイル装置として
のデイスク107を時分割でアクセスし得る即ち、マルチ
アクセスコントロール方式のシステムである。具体的に
は、バス切替装置105によつてバス切替えを行なわせ
る。本例での計算機システムはフアイルシステムである
が一般にこれに限定されないことは勿論である。
A bus switching device according to the present invention will be described below by taking a file system as an example. FIG. 4 shows a system configuration as an example. In this example, as shown in the figure, two processing devices (processors, computers) 101, 102 can access the disk 107 as a file device in a time division manner, that is, a multi-processor. It is an access control system. Specifically, bus switching is performed by the bus switching device 105. Although the computer system in this example is a file system, it is needless to say that it is generally not limited to this.

本システム構成において、コントローラ106はデイス
ク107のデータ書込み及び読出しの為の動作を制御す
る。本コントローラでは、この動作を実行時、エラーが
発生した時にはステータス情報により処理装置に知らせ
てその詳細情報を内部に記憶し、詳細情報を読み出す為
のコマンド(以下センスコマンドと称す)の起動によ
り、詳細情報を処理装置に転送する。但しセンスコマン
ド起動前に別のリード/ライトコマンドを受け付けた場
合には前回の詳細情報は消され、新しく受付けたコマン
ドの詳細情報が残される。
In this system configuration, the controller 106 controls the operations for writing and reading data on the disk 107. In this controller, when this operation is executed, when an error occurs, the processing device is notified by status information, the detailed information is stored inside, and a command for reading the detailed information (hereinafter referred to as a sense command) is activated. The detailed information is transferred to the processing device. However, when another read / write command is accepted before the sense command is activated, the detailed information of the previous time is erased, and the detailed information of the newly accepted command remains.

又ホストアダプタ103及び104は、それぞれ処理装置10
1,102に対応して設けられ、処理装置101,102とコントロ
ーラ106間でコマンド情報,データ及びステータス情報
の転送を行なう。更にバス切替部105は、それぞれバス1
08,109に接続されているホストアダプタ103,104のいず
れかを選択してバス110へ接続する。
Further, the host adapters 103 and 104 are respectively the processing unit 10
1 and 102 are provided correspondingly to transfer command information, data and status information between the processing devices 101 and 102 and the controller 106. Furthermore, the bus switching unit 105 is
One of the host adapters 103 and 104 connected to 08 and 109 is selected and connected to the bus 110.

以下本発明の実施例について述べるが、本発明に関係
するのは第4図でホストアダプタ103,104,バス108,109,
110,コントローラ106、そしてバス切替装置105の範囲で
の動作であり、以後動作説明はその範囲で行なう。
An embodiment of the present invention will be described below. The present invention is related to the host adapters 103, 104, buses 108, 109 in FIG.
The operation is within the range of 110, the controller 106, and the bus switching device 105, and the operation will be described in the following range.

第1図は、第4図のバス切替部105の構成図を示し、
バス108,109,110は今回の例では同一のバスインターフ
エイスである。
FIG. 1 shows a block diagram of the bus switching unit 105 of FIG.
The buses 108, 109, and 110 are the same bus interface in this example.

先ず本実施例における入出力動作を第5図を用いて説
明する。第5図は本実施例における入出力動作手順フロ
ーを示す。
First, the input / output operation in this embodiment will be described with reference to FIG. FIG. 5 shows the input / output operation procedure flow in this embodiment.

ホストアダプタ103(又は104)は処理装置101(又は1
02)からのデータ転送要求を受付けると、ステツプ70で
入出力装置の選択信号(これは起動信号である。この信
号を以下SELと称す)をONする。次にステツプ71でコン
トローラ106からの応答信号となる動作中信号(以下BSY
と称す)が立つているか否かをチエツクする。もしBSY
を検出すれば、ステツプ72でSELをOFFし、ステツプ73で
入出力動作で規定したコマンドを送り、ステツプ74でコ
ントローラ106との間でデータ転送を行い、さらにステ
ツプ75でコマンド終了情報であるステータスを受信す
る。それが終了するとステツプ76でコントローラ106か
らのBSYがOFFするのを検出し、最後にステツプ77でステ
ータスをチエツクし、本コマンドの入出力動作を終了す
る。ステツプ78でステータスのチエツク結果が正常であ
ればコマンド処理を終了する。しかしエラーが発生して
いる時は、その詳細情報をコントローラが記憶している
ので、前回と同様にステツプ79から85の手順に従いセン
スコマンドを実行し、それを読み出す。そして86でその
データのエラー情報に従いエラー処理を行い、一連の動
作を終了する。以上は、本実施例でのホストアダプタ10
3と104、共通な動作である。
The host adapter 103 (or 104) is the processing device 101 (or 1
When the data transfer request from 02) is accepted, the input / output device selection signal (this is a start signal. This signal is hereinafter referred to as SEL) is turned on in step 70. Next, at step 71, an in-operation signal (hereinafter referred to as BSY) which becomes a response signal from the controller 106.
Check) whether or not (standing) is standing. If BSY
If it detects that the SEL is turned off in step 72, the command specified by the input / output operation is sent in step 73, the data is transferred to the controller 106 in step 74, and the status which is the command end information is sent in step 75. To receive. When it ends, the BSY from the controller 106 is detected to be turned off at step 76, and finally the status is checked at step 77, and the input / output operation of this command is ended. If the status check result is normal at step 78, the command processing is terminated. However, when an error occurs, the controller stores the detailed information thereof, so the sense command is executed and read out in accordance with the procedure of steps 79 to 85 as in the previous case. Then, at 86, error processing is performed according to the error information of the data, and a series of operations is ended. The above is the host adapter 10 in this embodiment.
3 and 104 are common operations.

第1図に本発明の一実施例であるバス切替部105の内
部構成を示す。以下本切替部構成品の機能を第1図によ
り説明する。ホストアダプタ103,104,コントローラ106
との接続バス108,109,110とバス切替部105は、トライス
テートのドライバー・レシーバー30,31,32により接続さ
れる。コントローラ106側のバス110を、どちらのホスト
アダプタのバスへ接続するかの切替は、ドライバー・レ
シーバー30,31のイネーブル端子“E"のコントロールに
より行う。この端子にはデコーダ33の出力が接続されて
おり、さらにデコーダ33は、カウンタ34のカウント値を
デコードする。従つて本バス切替部はカウンタ34のカウ
ントアツプにより、バス110が順次バス108,109につなが
る様にして切替えを行なう。ホストアダプタよりコマン
ド起動がない時は、 共にハイであり、アンドゲート35を介してカウンタ34に
入力される発振器36の出力信号により周期的にバス接続
の切替えが行なわれる。
FIG. 1 shows the internal configuration of the bus switching unit 105 which is an embodiment of the present invention. The function of this switching unit component will be described below with reference to FIG. Host adapter 103, 104, controller 106
The connection buses 108, 109, 110 and the bus switching unit 105 are connected by tri-state drivers / receivers 30, 31, 32. Switching of which host adapter bus to connect the bus 110 on the controller 106 side is performed by controlling the enable terminal “E” of the driver / receivers 30 and 31. The output of the decoder 33 is connected to this terminal, and the decoder 33 decodes the count value of the counter 34. Therefore, the bus switching unit performs switching by the count-up of the counter 34 so that the bus 110 is sequentially connected to the buses 108 and 109. If there is no command start from the host adapter, Both are high, and the bus connection is periodically switched by the output signal of the oscillator 36 input to the counter 34 via the AND gate 35.

ホストアダプタ103より起動信号SEL10がONされ、バス
108が接続されたならば、ドライバー・レシーバー30はS
EL1をONする。SEL1はドライバー・レシーバー32を介し
てコントローラ106に送られると共にNORゲート37に入力
される。NORゲート37の出力である は、ANDゲート35の入力に接続されている為、この信号
でカウンタ36のCLK入力が抑えられる。この結果カウン
タ34のカウントアツプが止まる。従つてコントローラ10
6のバス110は、ホストアダプタ103のバス108と接続され
たままとなる。SEL1を受けたコントローラ106からは、
ドライバー・レシーバー32を介し応答信号BSY2がONされ
る。この信号はドライバー・レシーバー30を介してホス
トアダプタ103に応答を送ると共にNORゲート37に入力さ
れる。従つてこの後、応答を受けたホストアダプタ103
がSEL10をOFFし、SEL1がOFFしてもBSY2がOFFするまで、
すなわちコマンドが終了するまで がOFFしない為、バスは接続されつづける。ここまでの
機能は、公知である。
The start signal SEL10 is turned on from the host adapter 103, and the bus
Once the 108 is connected, the driver / receiver 30 will
Turn on EL1. SEL1 is sent to the controller 106 via the driver / receiver 32 and is also input to the NOR gate 37. It is the output of NOR gate 37 Is connected to the input of the AND gate 35, this signal suppresses the CLK input of the counter 36. As a result, the count up of the counter 34 stops. Therefore controller 10
The bus 110 of 6 remains connected to the bus 108 of the host adapter 103. From the controller 106 that received SEL1,
The response signal BSY2 is turned on via the driver / receiver 32. This signal sends a response to the host adapter 103 via the driver / receiver 30 and is input to the NOR gate 37. Therefore, after this, the host adapter 103 that received the response
Turns off SEL10, and even if SEL1 turns off, until BSY2 turns off,
Ie until the command is finished Does not turn off, the bus continues to be connected. The functions up to this point are known.

ところでホストアダプタ〜コントローラ間の情報のや
りとりは、コントローラ106からの転送要求REQ4に対
し、ホストアダプタ103又は104からの応答ACK5を返すハ
ンドシエイクにより、DATAバス6に情報を乗せて行う。
又転送する情報がコントローラに対するコマンド,READ/
WRITデータ、コントローラからのステータスであるかの
区別は、2本の信号TYPE3により行う。
Information is exchanged between the host adapter and the controller by placing information on the DATA bus 6 by a handshake which returns a response ACK5 from the host adapter 103 or 104 in response to the transfer request REQ4 from the controller 106.
Also, the information to be transferred is the command to the controller, READ /
The WRIT data and the status from the controller are distinguished by two signals TYPE3.

TYPE3とDATAバス6は、ROM38のアドレス入力に接続さ
れる。ROM38は、第6図(イ)〜(ニ)に示すようにTYP
E3がステータス転送パターン(11)2で、DATAバス6が
エラー終了ステータスパターン(00000010)2又は(001
00010)2となる場合のみ、データ出力端子内の“D0"端
子が“1"となるように焼切つてある。この出力は、フリ
ツプフロツプ40のD入力に入る。REQ4とACK5は、NANDゲ
ート39の入力となり、出力はワンシヨツト41及びフリツ
プフロツプ40に接続され、出力パルスの立下りでワンシ
ヨツト41を、立上りでフリツプフロツプ40を、それぞれ
動作させる。ワンシヨツト41のQ出力▲▼9
は、フリツプフロツプ40のクリア入力に接続される。ま
たワンシヨツト41は、NANDゲート42によりホストアダプ
タ103又は104よりSEL1がONされ、コントローラ106よりB
SY2の応答が帰り、即ち新たな入出力動作が始まるとク
リアされる。一方コントローラ106がステータス転送の
為、REQ4をONし、ホストアダプタ103がACK5で応答する
と▲▼9がOFFし、フリツプフロツプ40のク
リアが解除され、コントローラ106がREQ4をOFFするタイ
ミングでエラー終了ステータスパターンならばフリツプ
フロツプ40はセツトされる。フリツプフロツプ40の出
力、 と同様ANDゲート35によりバスの切替を止める働きがあ
る。またワンシヨツト41にも接続されており本信号が出
力されている間ワンシヨツト41がリトリガされないよう
になつている。すなわちコマンドが終了し、 がOFFする前のステータスにエラーがあると がONする為、バスの切替は再開されない。バス切替が再
開されるのは同一ホストアダプタが再び起動してワンシ
ヨツト41,フリツプフロツプ40がクリアされ がOFFした後、そのコマンドが終了し がOFFした時か、ワンシヨツト41の時定数により定まる
一定期間がすぎてワンシヨツト41の出力▲▼
9がONしてフリツプフロツプ40がクリアされ、 がOFFした時である。
TYPE3 and DATA bus 6 are connected to the address input of ROM38. ROM38 is a TYP as shown in FIG.
E3 is the status transfer pattern (11) 2 and DATA bus 6 is the error end status pattern (00000010) 2 or (001
00010) Only when it becomes 2 , the "D0" terminal in the data output terminal is burnt out so that it becomes "1". This output enters the D input of flip-flop 40. REQ4 and ACK5 are input to the NAND gate 39, and the output is connected to the one-shot 41 and the flip-flop 40, and the one-shot 41 operates at the falling edge of the output pulse and the flip-flop 40 operates at the rising edge. Q Output of One Shot 41 ▲ ▼ 9
Is connected to the clear input of flip-flop 40. In the one-shot 41, the NAND gate 42 turns on SEL1 from the host adapter 103 or 104, and the controller 106 turns on B
It is cleared when the response of SY2 returns, that is, when a new I / O operation starts. On the other hand, since the controller 106 transfers status, REQ4 is turned ON, and when the host adapter 103 responds with ACK5, ▲ ▼ 9 is turned OFF, clearing of the flip-flop 40 is released, and the error completion status pattern is generated at the timing when the controller 106 turns OFF REQ4. Then flip-flop 40 is set. Output of flip-flop 40, Similarly to AND gate 35, it has the function of stopping the switching of buses. It is also connected to the one-shot 41 so that the one-shot 41 is not retriggered while this signal is being output. That is, the command ends, If there is an error in the status before turning off Since the switch turns on, the bus switching is not restarted. The bus switching is restarted when the same host adapter is restarted and the one-shot 41 and flip-flop 40 are cleared. Is turned off, the command is Is turned off, or a certain period of time determined by the time constant of the one-shot 41 has passed, and the output of the one-shot 41 is ▲ ▼
9 is turned on and the flip-flop 40 is cleared, When is turned off.

本バス切替部を使用した入出力コマンドの一連の動作
を第2図のタイムチヤートに沿つて、正常動作を例にし
て、以下説明する。まずホストアダプタ103よりSEL10
(SELA)がONされるとホストアダプタ103が、バス切替
部105により、コントローラ106側のバス110に接続され
ていればドライバー・レシーバー30を介してSEL1がONさ
れる。SEL1は、ドライバー・レシーバー32を介しコント
ローラ106に出力されると共に、 がONされ一定周期のバス切替が止まり、ホストアダプタ
103とコントローラ106のバス接続が保持される。コント
ローラ106より応答信号BSY2が返るとホストアダプタ103
はSEL10をOFFし、コマンド動作を開始する。まずコント
ローラ106は、実行するコマンドを受け取る為、TYPE3を
コマンド転送し、REQ4をONする。ホストアダプタ103はD
ATAバス6にコマンド情報を乗せてACK5をONする。コン
トローラ106は、情報を読んでREQ4をOFFして読み込んだ
ことを知らせ、それを検出したらホストアダプタ103はA
CK5をOFFする。この動作を情報量分くり返すことにより
コマンドの内容がコントローラ106に送られる。例えば
デイスクからデータを読み出すコマンドを例にとると、
コントローラ106はTYPE3をデータREADに変えて、上記コ
マンド転送と同様REQ4,ACK5のハンドシエイクにより読
み出しデータをDATAバス6に乗せてホストアダプタ103
に転送される。以上の動作をコントローラ106は、コマ
ンド情報で指定したデータ数分くり返す。全てのデータ
転送が終りコマンド動作が正常終了したならば、コント
ローラ106は、TYPE3をステータス転送に変えて同様にし
てREQ4,ACK5及びDATAバス6にてステータスを転送す
る。この時ステータスパターンは正常終了なのでROM38
が出力するデータは、“0"なのでフリツプフロツプ40は
セツトされず、 はOFFのままである。これでコントローラ106は、全ての
処理が終了しBSY2がOFFする為、バス切替部105は、 をOFFして発振器36の出力信号によりバス切替を再開す
る。ここでこのホストアダプタ103のコマンド実行中に
ホストアダプタ104よりコマンド起動信号SEL11がONして
いる場合は、バスが切離されているので第2図で示す応
答待ち状態となつている。バスの切替が再開され、ホス
トアダプタ104とコントローラ106のバスが接続される
と、ただちにコントローラ106にSEL1が受信され、ホス
トアダプタ103と同様の動作を行なう。
A series of operations of input / output commands using the bus switching unit will be described below along the time chart of FIG. 2 by taking a normal operation as an example. First, SEL10 from host adapter 103
When (SELA) is turned ON, the host adapter 103 is turned ON by the bus switching unit 105 via the driver / receiver 30 if connected to the bus 110 on the controller 106 side. SEL1 is output to the controller 106 via the driver / receiver 32, and Is turned on, the bus switching for a fixed period stops, and the host adapter
The bus connection between 103 and controller 106 is maintained. When the response signal BSY2 is returned from the controller 106, the host adapter 103
Turns off SEL10 and starts command operation. First, since the controller 106 receives a command to be executed, it transfers a command of TYPE3 and turns on REQ4. Host adapter 103 is D
Put command information on the ATA bus 6 and turn on ACK5. The controller 106 reads the information and turns off REQ4 to notify that it has been read.
Turn off CK5. By repeating this operation by the amount of information, the content of the command is sent to the controller 106. For example, taking the command to read data from the disk as an example,
The controller 106 changes TYPE3 to data READ, puts the read data on the DATA bus 6 by the handshake of REQ4 and ACK5 as in the above command transfer, and the host adapter 103
Transferred to. The controller 106 repeats the above operation for the number of data items designated by the command information. When all the data transfer is completed and the command operation is normally completed, the controller 106 changes the TYPE3 to the status transfer, and similarly transfers the status on the REQ4, ACK5 and DATA buses 6. At this time, the status pattern ends normally, so ROM38
The data output by is 0, so the flip-flop 40 is not set, Remains off. With this, the controller 106 completes all the processing and BSY2 is turned off. Is turned off and the bus switching is restarted by the output signal of the oscillator 36. When the command activation signal SEL11 from the host adapter 104 is ON during the execution of the command of the host adapter 103, the bus has been disconnected, and therefore the response waiting state shown in FIG. 2 is entered. When the bus switching is restarted and the bus of the host adapter 104 and the controller 106 is connected, SEL1 is immediately received by the controller 106 and the same operation as the host adapter 103 is performed.

次に第3図のタイムチヤートに沿つて異常動作を例に
して以下説明する。まず第2図同様にしてホストアダプ
タ103とコントローラ106の間でコマンド起動,コマンド
転送,データ転送を行い、コントローラ106がエラーを
検出するとその情報を記憶し、第2図と同様の手順でエ
ラー終了のステータスパターンを、ホストアダプタ103
に転送される。この時ROM38が出力するデータ“D0"が
“1"となり、ACK5がONし、REQ4がOFFするタイミングで
フリツプフロツプ40はセツトされて、 がONする。従つて本コマンドが終了して、 がOFFしてもバスは切替らない。この為ホストアダプタ1
04が、SEL11(SELB)をONしていても受付けられず応答
待ち状態がつづくことになる。次にホストアダプタA103
よりセンスコマンドを起動し、SEL1がONしてコントロー
ラ106よりBSYがONされると▲▼9がONしてフ
リツプフロツプ40がクリアされて、 がOFFされる。しかしこの時は既に、 がONしているのでバスは切替らず、センスコマンドが、
デイスクからの読出しコマンドと同様の手順で実行さ
れ、エラー詳細情報がホストアダプタ103に送られる。
その後センスコマンドが終了するとバス切替が再開し、
ホストアダプタ104がONしているSELB11が受付けられて
コマンドを実行する。もし一定期間ホストアダプタ103
よりセンスコマンドが起動されない場合は、点線で示す
ように時定数によりワンシヨツト41の出力▲
▼9がONしてフリツプフロツプ40がクリアされて、 がOFFし、バス切替が再開される。
Next, an abnormal operation will be described as an example along the time chart of FIG. First, command activation, command transfer, and data transfer are performed between the host adapter 103 and the controller 106 in the same manner as in FIG. 2, and when the controller 106 detects an error, the information is stored, and an error end is performed in the same procedure as in FIG. Status pattern of the host adapter 103
Transferred to. At this time, the data "D0" output from ROM38 becomes "1", ACK5 turns ON, and REQ4 turns OFF, flip-flop 40 is set, Turns on. Therefore, when this command ends, Even if is turned off, the bus does not switch. Therefore, host adapter 1
Even if SEL11 (SELB) is turned ON, 04 is not accepted and the response waiting state continues. Next host adapter A103
When the sense command is activated and SEL1 is turned ON and BSY is turned ON from the controller 106, ▲ ▼ 9 is turned ON and the flip-flop 40 is cleared, Is turned off. But at this time, Since it is ON, the bus does not switch and the sense command
It is executed in the same procedure as the read command from the disk, and detailed error information is sent to the host adapter 103.
After that, when the sense command ends, bus switching resumes,
The SELB 11 in which the host adapter 104 is ON is accepted and the command is executed. If the host adapter 103 for a certain period
If the sense command is not activated, the output of the one-shot 41 is changed depending on the time constant as shown by the dotted line.
▼ 9 is turned on and the flip-flop 40 is cleared, Turns off, and bus switching resumes.

本実施例によれば、ホストアダプタ103よりの入出力
動作がエラー終了した場合でも、バス切替部105がこれ
を検出し、入出力バスをホストアダプタ103に接続した
ままなので、ホストアダプタ104からの入出力動作が行
なわれることがなく、ホストアダプタ103は自分の行な
つた入出力動作のエラー詳細情報を確実に取り込めると
いう効果がある。又、バスを接続したままにするには、
エラー詳細情報がある場合のみ、既ち入出力動作中にエ
ラーがあつた場合のみであり、正常に終了した場合は直
ちに入出力動作の起動走査が再開される為、バスを不必
要に長く占有しなくて良いという効果がある。更に、バ
スを接続したままにするのは一定期間のみである為、バ
ス接続中に処理装置側に故障があり、次に起動がこない
場合でも、バスが占有されたままにならないという効果
がある。
According to this embodiment, even if the input / output operation from the host adapter 103 ends in error, the bus switching unit 105 detects this and the input / output bus remains connected to the host adapter 103. There is an effect that the input / output operation is not performed and the host adapter 103 can surely capture the error detailed information of the input / output operation performed by itself. Also, to keep the bus connected,
Only when there is detailed error information, only when there is an error during the previous I / O operation, and when it ends normally, the start scan of the I / O operation is restarted immediately, so the bus is occupied unnecessarily long. The effect is that you do not have to. Further, since the bus remains connected for a certain period of time, there is an effect that the bus does not remain occupied even if the processing device side has a failure during the bus connection and the next activation does not occur. .

尚、本発明は、SCSI(スモール・コンピユータ・シス
テム・インターフエイスの略)にも積極的に利用でき
る。
The present invention can be positively used for SCSI (abbreviation of small computer system interface).

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

本発明によればCPUの入出力要求によりI/Oが入出力動
作実行後、その動作による詳細情報がなければただちに
バスを切離して他のCPUよりI/Oの入出力動作を可能と
し、詳細情報があれば、バスを接続したままにして他の
CPUからI/Oに入出力動作を行なわせないので、詳細情報
がない時は、必要以上他のCPUの入出力要求を待たさな
いという効果があり、かつ詳細情報がある時は、他のCP
Uの入出力動作により詳細情報を壊すことがないという
効果がある。
According to the present invention, after the input / output operation of the I / O is executed by the input / output request of the CPU, the bus is immediately disconnected to enable the input / output operation of the I / O from another CPU if there is no detailed information by the operation. If you have the information, leave the bus connected and
Since I / O is not made to perform I / O operations by the CPU, it has the effect of not waiting for I / O requests from other CPUs more than necessary when there is no detailed information.
There is an effect that detailed information is not destroyed by the input / output operation of U.

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

第1図は本発明の一実施例のバス切替部の構成を示す
図、第2図は一実施例のバス切替部を使用した正常終了
コマンドの一連動作タイムチヤート、第3図は異常終了
コマンドの一連動作タイムチヤート、第4図は本発明に
よる計算機システムの一例でのシステム構成図、第5図
は一実施例の入出力動作手順フロー図、第6図(イ)〜
(ニ)は本発明の一実施例のバス切替部内ステータスチ
エツク用ROMのデータパターンを示す図である。 105……バス切替部、38……ROM、39,42……NANDゲー
ト、41……ワンシヨツト、35……ANDゲート、40……フ
リツプフロツプ。
FIG. 1 is a diagram showing a configuration of a bus switching unit according to an embodiment of the present invention, FIG. 2 is a time chart of a series of normal termination commands using the bus switching unit according to the embodiment, and FIG. 3 is an abnormal termination command. FIG. 4 is a system configuration diagram of an example of a computer system according to the present invention, FIG. 5 is an input / output operation procedure flow chart of one embodiment, and FIG.
FIG. 6D is a diagram showing a data pattern of the status check ROM in the bus switching unit according to the embodiment of the present invention. 105 …… Bus switching section, 38 …… ROM, 39,42 …… NAND gate, 41 …… One-shot, 35 …… AND gate, 40 …… Flip flip.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のプロセッサのどれからも入出力要求
が無い状態となり且つ共通入出力装置がビジー状態でな
いときは各プロセッサに接続された入出力バスを順次切
り替えて共通入出力装置に接続し、いずれかのプロセッ
サから入出力要求が有りまたは共通入出力装置がビジー
状態のときは共通入出力装置に接続されている入出力バ
スの切り替えを禁止するバス切替部を備え、入出力要求
により開始される入出力動作がエラー終了するとき該入
出力動作をエラーの有無のみ報告して終了し該エラーの
詳細情報は次の入出力要求を待って転送するマルチプロ
セッサシステムのバス切替装置において、 エラー有を示すパターンを予め記憶したメモリと、 接続中のプロセッサに対し接続終了時に共通入出力装置
が報告する終了情報と前記メモリの内容とを照合してエ
ラー有を検出したときトリガが入るワンショット回路
と、 前記エラー有が検出され且つ前記ワンショット回路が出
力中の期間、入出力バスの切り替えを禁止して、前記次
の入出力要求を続けて受け付ける手段と を備えることを特徴とするマルチプロセッサシステムの
バス切替装置。
1. When there is no input / output request from any of the plurality of processors and the common input / output device is not busy, the input / output bus connected to each processor is sequentially switched to connect to the common input / output device. , A bus switching unit that prohibits switching of the I / O bus connected to the common I / O device when there is an I / O request from any processor or when the common I / O device is in a busy state is started by the I / O request. When an input / output operation is terminated due to an error, the input / output operation is terminated by reporting whether or not there is an error, and detailed information about the error is transferred after waiting for the next input / output request. A memory in which a pattern indicating existence is stored in advance, termination information reported by the common input / output device to the connected processor at the time of termination of the connection, and the memory A one-shot circuit that triggers when an error is detected by checking the contents and a period during which the error is detected and the one-shot circuit is outputting and prohibits switching of the input / output bus A bus switching device for a multiprocessor system, comprising: means for continuously receiving input / output requests.
JP61297650A 1986-12-16 1986-12-16 Bus switching device for multi-processor system Expired - Fee Related JPH0823855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61297650A JPH0823855B2 (en) 1986-12-16 1986-12-16 Bus switching device for multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61297650A JPH0823855B2 (en) 1986-12-16 1986-12-16 Bus switching device for multi-processor system

Publications (2)

Publication Number Publication Date
JPS63150753A JPS63150753A (en) 1988-06-23
JPH0823855B2 true JPH0823855B2 (en) 1996-03-06

Family

ID=17849332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61297650A Expired - Fee Related JPH0823855B2 (en) 1986-12-16 1986-12-16 Bus switching device for multi-processor system

Country Status (1)

Country Link
JP (1) JPH0823855B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59146362A (en) * 1983-02-09 1984-08-22 Fujitsu Ltd Interface switching control system

Also Published As

Publication number Publication date
JPS63150753A (en) 1988-06-23

Similar Documents

Publication Publication Date Title
US5379381A (en) System using separate transfer circuits for performing different transfer operations respectively and scanning I/O devices status upon absence of both operations
EP0955585B1 (en) Method and system for handling bus errors in a data processing system
US6141715A (en) Method and system for avoiding live lock conditions on a computer bus by insuring that the first retired bus master is the first to resubmit its retried transaction
EP0671691B1 (en) Storage controller and bus control method for use therewith
US5734850A (en) Transparent bridge between of a computer system and a method of interfacing the buses to operate as a single logical bus
US5682551A (en) System for checking the acceptance of I/O request to an interface using software visible instruction which provides a status signal and performs operations in response thereto
CA2012400C (en) Command delivery for a computing system
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
EP0872799A2 (en) PCI bus System
JP2550311B2 (en) Multiple control system of magnetic disk
JPS6131485B2 (en)
US6725348B1 (en) Data storage device and method for reducing write misses by completing transfer to a dual-port cache before initiating a disk write of the data from the cache
US20060265523A1 (en) Data transfer circuit and data transfer method
US5247640A (en) Dual access control system including plural magnetic disk control units and contention control circuitry
US7080198B1 (en) Method for snooping RAID 1 write transactions by a storage device
US8151028B2 (en) Information processing apparatus and control method thereof
JPH0823855B2 (en) Bus switching device for multi-processor system
JP3111052B2 (en) Method and system for supplying data to a bus connected to a plurality of processors
US5623694A (en) Aborting an I/O operation started before all system data is received by the I/O controller after detecting a remote retry operation
JP2011138401A (en) Processor system, method of controlling the same, and control circuit
US6988166B1 (en) Method for snooping raid 1 read transactions by a storage device
US20030145133A1 (en) SCSI - handling of I/O scans to multiple LUNs during write/read command disconnects
JP3110024B2 (en) Memory control system
US6141735A (en) Performing a memory access cycle in a multi-processor computer system
JP2723388B2 (en) Internal bus control method for processor module and information processing device

Legal Events

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