JPS62256154A - Channel path control system - Google Patents

Channel path control system

Info

Publication number
JPS62256154A
JPS62256154A JP10033586A JP10033586A JPS62256154A JP S62256154 A JPS62256154 A JP S62256154A JP 10033586 A JP10033586 A JP 10033586A JP 10033586 A JP10033586 A JP 10033586A JP S62256154 A JPS62256154 A JP S62256154A
Authority
JP
Japan
Prior art keywords
condition
unit
control
channel
state
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
JP10033586A
Other languages
Japanese (ja)
Other versions
JPH0572617B2 (en
Inventor
Yoshifumi Ojiro
雄城 嘉史
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 JP10033586A priority Critical patent/JPS62256154A/en
Publication of JPS62256154A publication Critical patent/JPS62256154A/en
Publication of JPH0572617B2 publication Critical patent/JPH0572617B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Abstract

PURPOSE:To simply cancel a CU busy or unit check condition which is not cancelled but remains by detecting a time-out when the activation is applied for a channel path unit and recognizing that a path busy condition or the like is left and resetting the condition by a channel processor. CONSTITUTION:When the channel processor 3 checks whether the activation can be executed to an I/O device 10 or not, it refers to a control word 12. At this time, when the presence of the unit check condition is recognized, the channel processor 3 recognizes that this condition is maintained for more than a constant time by the value of a time stamp 16. Further, the channel processor 3 checks whether a sense time out function is provided or not in a control unit by a control bit 13 and if this control bit is turned ON, a control bit 15 is reset and the control unit can be used by the I/O device 10.

Description

【発明の詳細な説明】 〔概要〕 Cυビジー、その他のバス・ビジー条件が取り残された
ことを、チャネル・バス単位に起動がかかった時点でタ
イムアウトを検出して認識し、チャネル処理装置が該条
件をリセットするチャネル・パス制御方式である。
[Detailed Description of the Invention] [Summary] Cυ busy and other bus busy conditions are recognized by detecting a timeout when each channel bus is activated, and the channel processing device This is a channel path control method that resets conditions.

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

本発明は、コンピュータシステム、特に中央処理装置と
は別に設けられたチャネル処f!!装置においてチャネ
ル・パスの管理を行うようになった大型計算機システム
等におけるチャネル・パス制御方式に関する。
The present invention provides a computer system, particularly a channel processor f! provided separately from a central processing unit. ! This invention relates to a channel/path control method in large-scale computer systems, etc., in which channels and paths are managed in devices.

〔従来の技術〕[Conventional technology]

個々のI/Oデバイスに通ずるデータ転送及び制御に用
いられる物理的論理的な交信路をチャネル・バスと呼ぶ
。現在、こられのパスの状態管理や制御を中央処理装置
から独立して存在するチャネル処理22置にオフロード
(offload)  シようと言う技術がむしろ主流
となっている。ところが、複数のチャネルが複数のコン
トロール・ユニットと接続され、且つコントロール・ユ
ニットがまた複数のI/Oデバイスと接続されているよ
うな現在の複雑なI/O構成にあっては、個々のI/O
デバイスに通ずるチャネル・パスは完全に相互に独立し
て用いることが出来るわけではない。例えばあるI/O
デバイスにおいて所謂“ユニット・チェック”条件が発
生し、そのコントロール・ユニットのタイプがこの条件
が解除されるまで該コントロール・ユニットに接続され
る他のI/Oデバイスに関するサービスが出来ないもの
であったならば、この条件が解除されるまで他のI/O
デバイスに関するサービス開始の指示はチャネル処理装
置から発生されるべきではない。
A physical and logical communication path used for data transfer and control leading to individual I/O devices is called a channel bus. Currently, the mainstream technology is to offload the state management and control of these paths to the channel processing 22, which exists independently from the central processing unit. However, in today's complex I/O configurations in which multiple channels are connected to multiple control units, and the control units are also connected to multiple I/O devices, individual I/O /O
Channel paths leading to a device cannot be used completely independently of each other. For example, a certain I/O
A so-called "unit check" condition has occurred in a device, and the type of control unit is such that it cannot service other I/O devices connected to the control unit until the condition is removed. If so, other I/O operations will be disabled until this condition is removed.
No service initiation instructions for the device should be generated from the channel processor.

ところが、例えば上述した例では、ユニット・チェック
条件が発生したことを認識した中央処理装置によってし
かるべき処理がチャネル処理装置に対して指示され、そ
の処理の結果としてこの条件カリを除されると言うのが
通常期待されるケースであるが、これらの条件解除の為
の処理が何らかの要因で正常に実行されなかったり、中
央処fr1装置上で走行しているプログラムによってこ
れらの処理がなされない等の原因によって、この条件が
解除されないケースがあり得る。
However, in the above example, the central processing unit recognizes that the unit check condition has occurred and instructs the channel processing unit to perform appropriate processing, and as a result of that processing, this condition is removed. This is normally expected, but there may be cases where the processing for canceling these conditions is not executed normally for some reason, or the processing is not performed by the program running on the central processing fr1 device. Depending on the cause, this condition may not be lifted.

また、例えば成るコントロール・ユニットが所謂CUビ
ジー条件をチャネル処理装置からの起動に対し応答した
時、効率の問題から同条件の解除信号であるCUエンド
報告が該コントロール・ユニットから送られてくる迄そ
のコントロール・ユニット配下のI/Oデバイスに関す
る起動処理を待たせるような制御をチャネル処理装置が
行うならば、コントロール・:Lニット側又はチャネル
側のTemporaryなエラーによって、そのCUエ
ンド条件が失われることがあった場合、そのコントロー
ル・ユニット配下のI/Oデバイスは少なくとも交信パ
スを1つ失うことになるわけである。
Also, for example, when a control unit responds to a so-called CU busy condition in response to activation from a channel processing device, for reasons of efficiency, the control unit waits until a CU end report, which is a signal to cancel the condition, is sent from the control unit. If a channel processing device performs control that causes startup processing for I/O devices under the control unit to wait, the CU end condition will be lost due to a temporary error on the control unit side or channel side. If this happens, the I/O device under that control unit will lose at least one communication path.

〔解決しようとする問題点〕[Problem to be solved]

上述のように解除されなかったままになっているCUビ
ジーやユニット・チェック条件を解除するためのに、定
期的にコントロール・ユニ7トをスキャンし、解除され
ないままになっているCUビジーやユニット・チェック
条件を解除することも考えられるが、この方法ではチャ
ネル処理装置の負担が著しく増大すると欠点が生ずる。
In order to release the CU busy or unit check condition that remains unresolved as described above, periodically scan the control unit 7 and check the CU busy or unit check condition that remains unresolved. - Although it is possible to cancel the check condition, this method has the disadvantage that the burden on the channel processing device increases significantly.

本発明は、このような点に鑑みて創作されたものであっ
て、解除されないままで残っているCUビジーやユニッ
ト・チェック条件を簡単に解除することが出来ると共に
、I/Oデバイスへの交信路を早急に確保できるように
したチャネル・パス制御方式を提供することを目的とし
ている。
The present invention was created in view of these points, and it is possible to easily cancel the CU busy and unit check conditions that remain unreleased, and also to prevent communication with I/O devices. The purpose of this study is to provide a channel path control method that allows the network to be quickly secured.

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

第1図は本発明が適用される入出カシステムの1例を示
す図、第2図は制御ワードの構成例を示す図である。図
において、1は中央処理装置、2は記憶制御装置、3は
チャネル処理装置、4ないし7はチャネル、8はコント
ロール・ユニット、9と/OはI/Oデバイス、11は
チャネル処理装置3のローカル記憶、12は制御ワード
、13はコントロール・ユニットのタイプを示す制御ビ
ット、14はcUビジー条件が保持されていることを示
す制御ビット、15はユニット・チェック条件が保持さ
れていることを示す制御ビット、16はタイムスタンプ
をぞれぞれ示している。
FIG. 1 is a diagram showing an example of an input/output system to which the present invention is applied, and FIG. 2 is a diagram showing an example of the configuration of a control word. In the figure, 1 is a central processing unit, 2 is a storage control unit, 3 is a channel processing unit, 4 to 7 are channels, 8 is a control unit, 9 and /O are I/O devices, and 11 is a channel processing unit 3. Local storage, 12 is a control word, 13 is a control bit indicating the type of control unit, 14 is a control bit indicating that a cU busy condition is held, 15 is indicating a unit check condition is being held. Control bits 16 each indicate a timestamp.

中央処理装置fからI/O命令が発行されると、その対
象であるデバイスに対応するサブチャネルが命令に応じ
て変更され、成る種のキューに接続される。その後、こ
のI/O命令とは非同期にチャネル処理装置3はこのキ
ューからサブチャネルをデキューし、処理を試みる。も
し、そこで何等かのとジー条件が検出されると、サブチ
ャネルは再度エンキューされる。制御ワード12はコン
トロール・ユニット8に対応するものであり、これはチ
ャネル処理装置3のローカル記憶11の中に存在する。
When an I/O command is issued from the central processing unit f, the subchannel corresponding to the target device is changed according to the command and connected to various types of queues. Thereafter, the channel processing device 3 dequeues the subchannel from this queue asynchronously with this I/O command and attempts processing. If any condition is detected there, the subchannel is re-enqueued. The control word 12 corresponds to the control unit 8 and is present in the local storage 11 of the channel processing device 3.

制御ワード12は、コントロール・ユニット8のタイプ
を示す制御ビット13、CUビジーか否かを示す制御ビ
ット14、ユニット・チェック条件が発生したか否かを
示す制御ピント15及びタイムスタンプ16を有してい
る。タイムスタンプ16は、CUビジー又はユニット・
チェックが発生した時刻を示すものである。CUビジー
及びユニット・チェックの再制御ともチャネル処理装置
3がセット/リセットする。タイム・スタンプの値はユ
ニット・チェックが検出される度に書き替えられる。C
Uビジーの解除は本発明を除き以下のタイミングで行わ
れる。
The control word 12 has a control bit 13 indicating the type of control unit 8, a control bit 14 indicating whether the CU is busy, a control pin 15 indicating whether a unit check condition has occurred, and a timestamp 16. ing. Timestamp 16 indicates CU busy or unit
This indicates the time when the check occurred. Both CU busy and unit check recontrol are set/reset by the channel processing device 3. The time stamp value is rewritten each time a unit check is detected. C
Except for the present invention, U-busy is released at the following timing.

■ Control Unit End(CUIE)を
含むステータスの報告がデバイスよりなされる時。
■ When a device reports status including Control Unit End (CUIE).

■ C5CII(C1ear 5ubchannel)
命令によりコントロール・ユニットがリセットされる時
■ C5CII (C1ear 5ubchannel)
When the control unit is reset by command.

■ 何等かのエラーをチャネル処理装置3が検出し、結
果としてコントロール・ユニットがリセットされる時。
■ When the channel processing unit 3 detects some error and the control unit is reset as a result.

本発明では、コントロール・ユニットに接続に接続され
るデバイスがこのパスを使おうとし、CUビジーを検出
する゛と、タイム・スタンプがチェックされる。このと
き、そのビットが成る一定時間より大であれば、CUビ
ジー・フラグはその場でリセットされる。
In the present invention, when a device connected to the control unit attempts to use this path and detects a CU busy, the time stamp is checked. At this time, if the bit is greater than a certain period of time, the CU busy flag is reset on the spot.

いま、I/Oデバイス9に於いてユニット・チェック条
件が発生したとする。中央処理装置1上で走行している
オペレーティング・システムはこのI/Oデバイス9に
対しセンス命令を発行しようとするが、I/Oデバイス
9の異常の為、このセンス命令に対する応答として再び
ユニット・チェック条件が発生したとする。
Suppose now that a unit check condition occurs in the I/O device 9. The operating system running on the central processing unit 1 attempts to issue a sense command to this I/O device 9, but due to an error in the I/O device 9, the unit issues the unit again in response to this sense command. Suppose that a check condition occurs.

この環境では制御ワード12の内容は以下のように設定
されているはずである。即ち、ユニット・チェック条件
が存在することを示す制御ビット15がONとなってお
り、タイムスタンプ16にはセンス命令に対してユニッ
ト・チェック条件が発生した時刻が記入されている。
In this environment, the contents of the control word 12 should be set as follows. That is, the control bit 15 indicating that the unit check condition exists is turned on, and the time stamp 16 records the time when the unit check condition occurred in response to the sense instruction.

通常、ユニット・チェック条件が保持されていルコント
ロール・ユニットに対してはチャネル処理装置3は起動
を試みない。従って、もしデバイス/Oに対し中央処理
装置1が起動を試みようとしても、チャネル処理装置3
に於いて、この起動は阻止される。チャネル処理装置3
は、ユニット・チェック条件が発生した場合には次にセ
ンス命令が発行されるものとして、これを待っている。
Normally, the channel processing device 3 does not attempt to start a control unit whose unit check condition is maintained. Therefore, if the central processing unit 1 tries to start up the device /O, the channel processing unit 3
In this case, this activation is blocked. Channel processing device 3
waits for the next sense instruction to be issued if the unit check condition occurs.

ところが、センスに対しユニット・チェックが発生する
と場合によってはO3はこの条件を刈り取ることを断念
する場合がある。
However, if a unit check occurs for the sense, O3 may give up reaping this condition in some cases.

このような場合、本発明が採用されていなければこの条
件はクリアされることなく、制御ワード12に保持され
たままとなる。従って、同一のコントロール・ユニット
配下のI/Oデバイス/Oに対する起動は待たされるこ
とになる。これはコントロール・ユニット8に所謂セン
ス・タイムアウト機能、即ち成る一定時間ユニット・チ
ェック条件が上位装置によって刈り取られなかった場合
にはコントロール・ユニット自身が他の装置に対するサ
ービスを行うことが可能な状態に復帰するという機能が
備わっていても同様である。
In such a case, if the present invention is not employed, this condition will not be cleared and will remain held in the control word 12. Therefore, activation of I/O devices/Os under the same control unit will have to wait. This is because the control unit 8 has a so-called sense timeout function, that is, if the unit check condition is not cleared by the host device for a certain period of time, the control unit itself is in a state where it can service other devices. The same is true even if the function of returning is provided.

本発明に於いては、制御は以下のようになされる。チャ
ネル処理装置3は、I/Oデバイス/Oに対する起動が
可能であるか否かのチェックを行う際、制御ワード12
を参照する。この時、ユニ7ト・チェック条1件の存在
が判ると、チャネル処理装置3はタイムスタンプ16の
値によりこの条件が成る一定時間以上保持されたままで
ある事を認識する。更に、チャネル処理装置3は、この
コントロール・ユニットにセンス・タイムアウト機能が
備わっているか否かを制御ビット13によってチェック
し、もしこの制御ビットがONであるならば制御ビット
エ5をリセットし、このコントロール・ユニットをI/
Oデバイス/Oが使用することを可能とする。
In the present invention, control is performed as follows. The channel processing device 3 uses the control word 12 when checking whether activation of the I/O device/O is possible.
See. At this time, when it is determined that one unit check condition exists, the channel processing device 3 recognizes from the value of the timestamp 16 that this condition has been held for a certain period of time or longer. Furthermore, the channel processing device 3 checks whether this control unit is equipped with a sense timeout function using the control bit 13, and if this control bit is ON, it resets the control bit 5 and sets this control unit to・I/the unit
O device/O can be used.

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

以上の説明から明らかなように、本発明によれば、解除
するための事象が発生しなかったために解除されないま
まで残っているCUビジーやユニット・チェック条件を
、比較的に筒車な処理で解除することが出来る。
As is clear from the above description, according to the present invention, CU busy and unit check conditions that remain unreleased because no event to release them have occurred can be handled with relatively simple processing. Can be canceled.

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

第1図は本発明が適用される入出カシステムの構成例を
示す図、第2図は本発明の制御ワードの構成例を示す図
である。 1・・・中央処理装置、2・・・記憶制御装置、3・・
・チャネル処理装置、4ないし7・・・チャネル、8・
・・コントロール・ユニット、9と/O・・・I’/ 
Oデバイス、11・・・ローカル記憶、12・・・制御
ワード12.13・・・コントロール・ユニットのタイ
プを示す制御ビット、14・・・CUビジー条件が保持
されていることを示す制御ビット、15・・・ユニット
・チェック条件が保持されていることを示す制御ビット
、16・・・タイムスタンプ。 特許出願人   富士通株式会社 代理人弁理士  京 谷 四 部 第1図 第2図
FIG. 1 is a diagram showing an example of the configuration of an input/output system to which the present invention is applied, and FIG. 2 is a diagram showing an example of the configuration of a control word of the present invention. 1...Central processing unit, 2...Storage control device, 3...
・Channel processing device, 4 to 7...channel, 8・
...Control unit, 9 and /O...I'/
O device, 11... Local storage, 12... Control word 12.13... Control bit indicating the type of control unit, 14... Control bit indicating that the CU busy condition is held. 15... Control bit indicating that the unit check condition is maintained, 16... Time stamp. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney: Kyotani, Part 4, Figure 1, Figure 2

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置とは別個に存在するチャネル処理装置によ
って、I/Oデバイスの持つ中央処理装置との交信パス
の状態管理を行うコンピュータ・システムにおいて、個
々の交信パスの状態のうち他のI/Oデバイスの動作を
制限するような状態が発生したこと他のデバイスと共有
する物理資源に対応して記憶管理し、且つ他のI/Oデ
バイスの動作を制限するような状態の発生により動作が
制限される他のI/Oデバイスが当該物理資源を使用し
ようとしたことを契機として、チャネル処理装置が、他
のI/Oデバイスの動作を制限するような状態が発生し
てからの状態継続時間及び状態の内容を解析し、条件が
満足された場合には本来その状態が解除されるべき事象
が発生していなくとも、当該状態を解除することを特徴
としたチャネル・パス制御方式。
In a computer system in which the state of communication paths between an I/O device and the central processing unit is managed by a channel processing unit that exists separately from the central processing unit, the state of each communication path is managed by a channel processing unit that is separate from the central processing unit. A condition that restricts the operation of the device has occurred. Storage management is performed in response to physical resources shared with other devices, and operation is restricted due to the occurrence of a condition that restricts the operation of other I/O devices. Duration of state from the time when a state occurs where the channel processing device restricts the operation of another I/O device due to an attempt by another I/O device to use the physical resource and a channel path control method characterized in that the contents of the state are analyzed, and if the conditions are satisfied, the state is canceled even if an event that should originally cause the state to be canceled has not occurred.
JP10033586A 1986-04-30 1986-04-30 Channel path control system Granted JPS62256154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10033586A JPS62256154A (en) 1986-04-30 1986-04-30 Channel path control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10033586A JPS62256154A (en) 1986-04-30 1986-04-30 Channel path control system

Publications (2)

Publication Number Publication Date
JPS62256154A true JPS62256154A (en) 1987-11-07
JPH0572617B2 JPH0572617B2 (en) 1993-10-12

Family

ID=14271270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10033586A Granted JPS62256154A (en) 1986-04-30 1986-04-30 Channel path control system

Country Status (1)

Country Link
JP (1) JPS62256154A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54134939A (en) * 1978-04-10 1979-10-19 Ibm Device for avoiding dead lock
JPS58114118A (en) * 1981-12-26 1983-07-07 Fujitsu Ltd Device controlling system
JPS6175947A (en) * 1984-09-21 1986-04-18 Fujitsu Ltd Channel control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54134939A (en) * 1978-04-10 1979-10-19 Ibm Device for avoiding dead lock
JPS58114118A (en) * 1981-12-26 1983-07-07 Fujitsu Ltd Device controlling system
JPS6175947A (en) * 1984-09-21 1986-04-18 Fujitsu Ltd Channel control system

Also Published As

Publication number Publication date
JPH0572617B2 (en) 1993-10-12

Similar Documents

Publication Publication Date Title
US5784617A (en) Resource-capability-based method and system for handling service processor requests
US4972368A (en) Intelligent serial I/O subsystem
US6587962B1 (en) Write request protection upon failure in a multi-computer system
US7797292B2 (en) Apparatus, system, and method for an alternate lock facility connection path
JP4529767B2 (en) Cluster configuration computer system and system reset method thereof
JPH06195293A (en) Computer system
EP0397471B1 (en) Initialization system amd methods for input/output processing units
US7752507B2 (en) Circuit arrangement and method for supporting and monitoring a microcontroller
JP2005242404A (en) Method for switching system of computer system
US5664090A (en) Processor system and method for maintaining internal state consistency between active and stand-by modules
US6338151B1 (en) Input/output recovery which is based an error rate and a current state of the computer environment
US6675315B1 (en) Diagnosing crashes in distributed computing systems
JPH05216693A (en) Method and apparatus for imparting communication function between virtual memories
US6336193B1 (en) Input/output recovery method which is based upon an error rate and a current state of the computer environment
US8028189B2 (en) Recoverable machine check handling
JPS62256154A (en) Channel path control system
US6338145B1 (en) Input/output recovery system which is based upon an error rate and a current state of the computer environment
JP4572138B2 (en) Server apparatus, server system, and system switching method in server system
JP2937857B2 (en) Lock flag release method and method for common storage
JP2000148525A (en) Method for reducing load of active system in service processor duplex system
JPH0546502A (en) Device controller containing path block-up function per port
JPH11161517A (en) Remote monitor system
JPS63248254A (en) Communication control equipment
JPH05224964A (en) Bus abnormality information system
JPH0756842A (en) Channel sub system

Legal Events

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