Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0459650B2 - - Google Patents
[go: Go Back, main page]

JPH0459650B2 - - Google Patents

Info

Publication number
JPH0459650B2
JPH0459650B2 JP60270373A JP27037385A JPH0459650B2 JP H0459650 B2 JPH0459650 B2 JP H0459650B2 JP 60270373 A JP60270373 A JP 60270373A JP 27037385 A JP27037385 A JP 27037385A JP H0459650 B2 JPH0459650 B2 JP H0459650B2
Authority
JP
Japan
Prior art keywords
processor
buffer
disk transfer
transfer buffer
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60270373A
Other languages
Japanese (ja)
Other versions
JPS62130425A (en
Inventor
Atsushi Sonomoto
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP60270373A priority Critical patent/JPS62130425A/en
Publication of JPS62130425A publication Critical patent/JPS62130425A/en
Publication of JPH0459650B2 publication Critical patent/JPH0459650B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数のプロセツサが、共通のハー
ドデイスク装置等の補助記録装置に対して独立に
共通のデイスク転送バツフアを介してデータ転送
を行うことが可能なデータ処理システムにおける
デイスク転送バツフア管理方式に関し、特に共通
のデイスク転送バツフアを占有しているプロセツ
サがダウンした場合に他のプロセツサによつて占
有を解放すると共に、ダウンしたプロセツサを立
上げる際に、デイスク転送バツフアの初期化を行
うことなく立上げるようにしたものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a method for multiple processors to independently transfer data to an auxiliary storage device such as a common hard disk device via a common disk transfer buffer. Regarding a disk transfer buffer management method in a data processing system capable of In addition, the system is configured to start up without initializing the disk transfer buffer.

〔従来の技術〕[Conventional technology]

一般に複数のプロセツサから共通のハードデイ
スク装置を共通のデイスク転送バツフアを介して
独立してアクセスするデータ処理システムにおい
ては、プロセツサの主メモリとハードデイスク装
置との間にデイスク転送バツフアを設けると共
に、これをブロツク化して管理するためブロツク
毎にタグ情報を容易しておき、デイスク転送バツ
フア上にアクセスの対象となるデータが存在して
いれば、実際にハードデイスク転送を行うことな
く、デイスク転送バツフア上のデータをプロセツ
サがアクセスすることにより、ハードデイスク装
置へのアクセスを減らしてシステム性能の向上を
図るデイスク転送バツフア管理方式が知られてい
る。
Generally, in a data processing system in which a common hard disk device is accessed independently from multiple processors via a common disk transfer buffer, a disk transfer buffer is provided between the main memory of the processor and the hard disk device, and this is also blocked. Tag information is easily stored for each block for easy management, and if there is data to be accessed on the disk transfer buffer, the data on the disk transfer buffer can be transferred without actually transferring the data to the hard disk. A disk transfer buffer management method is known that aims to improve system performance by reducing accesses to hard disk devices through processor access.

而して、例えばシステム立上げ時においては、
デイスク転送バツフア及びタグ情報は全て空きの
状態となつており、デイスク転送バツフア上にア
クセスの対象となるデータがなく、またシステム
稼動中であつても、デイスク転送バツフアじよう
にアクセスの対象となるデータがない場合には、
空きのタグ情報を検索し、これに対応するデイス
ク転送バツフアのブロツクにハードデイスク装置
からデータを読込み、且つダグ情報にハードデイ
スク上のフアイルアドレスを記入した後、当該デ
ータ読込ブロツクのデータをプロセツサに転送す
る。
For example, when starting up the system,
The disk transfer buffer and tag information are all empty and there is no data on the disk transfer buffer that can be accessed, and even if the system is running, the disk transfer buffer can still be accessed. If there is no data,
Search for empty tag information, read data from the hard disk device into the corresponding disk transfer buffer block, and write the file address on the hard disk in the tag information, then transfer the data in the data read block to the processor. .

また、空きのタグ情報がない時には、デイスク
転送バツフアのあるブロツクの内容をハードデイ
スク装置に書込む所謂スワツプアウトをして空き
ブロツクを形成した後、タグ情報を空きにしてハ
ードデイスク装置から空きブロツクへデータを読
込む。
Furthermore, when there is no free tag information, a so-called swap-out is performed in which the contents of a block with a disk transfer buffer are written to the hard disk device to create a free block, and then the tag information is made free and data is transferred from the hard disk device to the free block. Load.

ところで、複数のプロセツサが共通のハードデ
イスク装置を共通のデイスク転送バツフアを介し
て夫々独立にデイスク転送を行う際に、複数のプ
ロセツサが同時にデイスク転送バツフアの同一デ
ータをアクセスしたり、ある1つのプロセツサが
アクセス対象となるデータをハードデイスク装置
よりデイスク転送バツフアのあるブロツクへ新規
に読込もうとしてタグ情報を操作即ちフアイルア
ドレス書き換え等をしているときに、他のプロセ
ツサが同一データをアクセス場合には、アクセス
対象となるタグ情報が存在せず、独自に同一デー
タを他のブロツクに読込んでしまいデイスク転送
バツフア上にハードデイスク装置上の1つのブロ
ツクに対応するデータが複数個格納されることに
なりデイスク転送バツフアの利用効率が低下す
る。
By the way, when multiple processors independently transfer disks to a common hard disk device via a common disk transfer buffer, multiple processors may simultaneously access the same data on the disk transfer buffer, or one processor may When the data to be accessed is newly read from the hard disk device to a block with a disk transfer buffer and the tag information is manipulated, that is, the file address is rewritten, etc., if another processor accesses the same data, the access The target tag information does not exist, and the same data is independently read into another block, resulting in multiple pieces of data corresponding to one block on the hard disk device being stored on the disk transfer buffer. usage efficiency decreases.

これを防止するために、デイスク転送バツフア
の使用権を1個のプロセツサだけにしか認めない
ようにバツフア管理ブロツクを設け、デイスク転
送要求が発生したプロセツサはバツフア管理ブロ
ツクを占有し、デイスク転送を行つた後に、占有
情報を解除し、他のプロセツサが使用中で占有で
きなかつた場合には占有するまで待機するように
したデイスク転送バツフア管理方式が提案されて
いる。
To prevent this, a buffer management block is provided so that only one processor is granted the right to use the disk transfer buffer, and the processor that makes the disk transfer request occupies the buffer management block and performs the disk transfer. A disk transfer buffer management method has been proposed in which the occupancy information is released after the processor is used, and if the processor cannot be occupied because another processor is in use, the system waits until the processor is occupied.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記従来のデイスク転送バツフ
ア管理方式にあつては、デイスク転送バツフア上
のデータを書き換えても、直ちにはハードデイス
ク装置上の対応するデータは更新されないので、
正常なシステム立上げ以外でシステムダウンした
場合に、ハードデイスク装置上のデータが欠落す
るという問題点があり、また複数のプロセツサが
稼動しているシステムにおいては、ある1つのプ
ロセツサが管理ブロツクを占有したままダウンす
ると、デイスク転送バツフアはダウンしたプロセ
ツサに占有されたままとなり、他の稼動中のプロ
セツサがデイスク転送を行うことができなくなる
という問題点もあつた。
However, in the conventional disk transfer buffer management method described above, even if data on the disk transfer buffer is rewritten, the corresponding data on the hard disk device is not updated immediately.
If the system goes down due to something other than a normal system startup, there is a problem that data on the hard disk device will be lost, and in a system where multiple processors are running, one processor may occupy the management block. If the processor goes down, the disk transfer buffer remains occupied by the down processor, and other operating processors are unable to perform disk transfers.

そこで、この発明は、ダウンしたプロセツサが
占有していたデイスク転送バツフアを他のプロセ
ツサによつて解放してデイスク転送を継続させ、
しかもダウンしたプロセツサを立上げさせた場合
でもデイスク転送バツフアをデータ欠落を生じる
ことなく継続使用可能なデイスク転送バツフア管
理方式を提供することを目的とする。
Therefore, the present invention allows other processors to release the disk transfer buffer occupied by the down processor to continue disk transfer.
Moreover, it is an object of the present invention to provide a disk transfer buffer management system that allows continuous use of the disk transfer buffer without data loss even when a downed processor is started up.

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

上記目的を達成するために、この発明は、複数
のプロセツサが共通の補助記憶装置を共通のデイ
スク転送バツフアを介して夫々独立に使用する際
に、1つのプロセツサが当該共通のデイスク転送
バツフアを使用中は、バツフア管理ブロツクを占
有するようにしたデイスク転送バツフア管理方式
において、プロセツサによるバツフア管理ブロツ
ク占有時に、そのバツフア管理情報ブロツク上に
占有中のプロセツサ番号を記憶させると共に、前
記プロセツサがダウンした場合に、これを他の正
常なプロセツサに通知し、当該他の正常なプロセ
ツサでダウンしたプロセツサ番号に基づきバツフ
ア管理ブロツクを占有中のプロセツサがダウンプ
ロセツサであるか否かを判定し、その判定結果が
ダウンプロセツサであるときに、当該バツフア管
理ブロツクを解放し、且つプロセツサを立上げる
際に、外部入力可能なバツフア保存レジスタの内
容が保存状態であるとき、デイスク転送バツフア
の初期化を行うことなくプロセツサを立上げるよ
うにしている。
In order to achieve the above object, the present invention provides a system in which when a plurality of processors independently use a common auxiliary storage device via a common disk transfer buffer, one processor uses the common disk transfer buffer. In a disk transfer buffer management method in which a buffer management block is occupied, when a processor occupies a buffer management block, the number of the occupied processor is stored in the buffer management information block, and if the processor goes down, Then, the other normal processors are notified of this, and based on the down processor number, the other normal processors determine whether or not the processor occupying the buffer management block is a down processor, and the determination result is When the processor is a down processor, release the buffer management block and initialize the disk transfer buffer when the contents of the externally inputtable buffer storage register are in the saved state when starting up the processor. I try to start up the processor without any problems.

〔作用〕[Effect]

この発明においては、デイスク転送バツフアを
占有中にプロセツサがダウンしたときには、他の
正常なプロセツサでデイスク転送バツフアを占有
する際に記憶したプロセツサ番号に基づきデイス
ク転送バツフアを占有中のプロセツサがダウンし
たプロセツサであるか否かを判定し、その判定結
果がダウンしたプロセツサであるときには、バツ
フア管理ブロツクを解放することにより、他の正
常なプロセツサでデイスク転送を継続することが
できる。また、ダウンしたプロセツサを立上げる
際に外部入力可能なバツフア保存レジスタを保存
状態に設定することにより、デイスク転送バツフ
アの内容をダウンする前の状態に維持することが
可能であり、1以上のプロセツサがダウンしても
ハードデイスク装置のデータ欠損をシステム性能
の低下なしに防止することができる。
In this invention, when a processor goes down while occupying a disk transfer buffer, the processor occupying the disk transfer buffer transfers the memory to the down processor based on the processor number stored when another normal processor occupied the disk transfer buffer. If the result of the determination is that the processor is down, the buffer management block is released, allowing another normal processor to continue disk transfer. In addition, by setting the buffer storage register that can be input externally to the saved state when starting up a processor that has gone down, it is possible to maintain the contents of the disk transfer buffer in the state before it went down, allowing one or more processors to Even if the hard disk drive goes down, data loss in the hard disk device can be prevented without deteriorating system performance.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below based on the drawings.

第1図はこの発明の一実施例を示すブロツク図
である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

図中、P0,P1〜PNはシステムバス1を介して
互いに接続されたプロセツサ、2はシステムバス
1及び補助記憶装置としてのハードデイスク装置
3間に接続されたハードデイスクコントローラ、
4はシステムバス1に接続され外部スイツチ5に
よつて設定されるバツフア保存レジスタ、6はシ
ステムバス1に接続された共通メモリであつて、
この共通メモリ6には、バツフア管理ブロツク
7、タグ情報8及びデイスク転送バツフア9が設
定されている。
In the figure, P 0 , P 1 to P N are processors connected to each other via a system bus 1, and 2 is a hard disk controller connected between the system bus 1 and a hard disk device 3 as an auxiliary storage device.
4 is a buffer storage register connected to the system bus 1 and set by an external switch 5; 6 is a common memory connected to the system bus 1;
In this common memory 6, a buffer management block 7, tag information 8, and a disk transfer buffer 9 are set.

ここで、バツフア管理ブロツク7には、第2図
に示すように、このバツフア管理ブロツク7を占
有中であるか否かを表す占有情報11とそれを占
有するプロセツサ番号12とが格納される。ま
た、タグ情報8は、第3図に示すように、デイス
ク転送バツフア9のブロツクが空きであるか否か
を示すブロツク有効情報13と、第5図に示すハ
ードデイスク装置3上のデータをM+1ブロツク
に分割した場合のブロツク番号でなるフアイルア
ドレス14とで構成される。さらに、デイスク転
送バツフア9には、第4図に示すように、ハード
デイスク装置3内に格納されているブロツクB0
〜BM中のプロセツサ数N+1に対応する数のブ
ロツクデータを格納し得るように構成されてい
る。
As shown in FIG. 2, the buffer management block 7 stores occupancy information 11 indicating whether the buffer management block 7 is occupied or not, and the processor number 12 that occupies it. Further, the tag information 8 includes, as shown in FIG. 3, block validity information 13 indicating whether or not a block in the disk transfer buffer 9 is free, and data on the hard disk device 3 shown in FIG. 5 in M+1 blocks. The file address 14 is composed of the block number when the file is divided into two. Furthermore, as shown in FIG. 4, the disk transfer buffer 9 stores the block B 0
It is configured to be able to store a number of block data corresponding to the number of processors N+1 in ~B M.

而して、例えばプロセツサP0にデイスク転送
要求が発生すると、プロセツサP0は、メモリ6
のバツフア管理ブロツク7の占有情報11を読込
み、これが“0”であるときには、バツフア管理
ブロツク7が非占有中であるので、これを“1”
に設定すると共に、占有プロセツサ番号12を設
定してデイスク転送バツフア9を占有する。
Thus, for example, when a disk transfer request occurs to processor P 0 , processor P 0 transfers memory 6
Read the occupancy information 11 of the buffer management block 7 of
, and also sets the occupied processor number 12 to occupy the disk transfer buffer 9.

次いで、デイスクアクセスの対象となるデータ
がデイスク転送バツフア9上に存在するか否かを
判定するために、タグ情報領域8に格納されてい
るタグ情報を検索する。このとき、ブロツク有効
情報13が“1”であれば、対応するデイスク転
送バツフア上のブロツクは有効であり、そのブロ
ツクに対応するハードデイスク装置3上のフアイ
ルアドレス14を読出してアクセス対象となるフ
アイルアドレスが存在すれば、対応するデイスク
転送バツフア9上のブロツクに対してデータ転送
を行う。
Next, the tag information stored in the tag information area 8 is searched to determine whether data to be accessed on the disk exists on the disk transfer buffer 9. At this time, if the block valid information 13 is "1", the block on the corresponding disk transfer buffer is valid, and the file address 14 on the hard disk device 3 corresponding to the block is read and the file address to be accessed is read out. If the block exists, data is transferred to the corresponding block on the disk transfer buffer 9.

対象とするフアイルアドレスが存在しないとき
には、ブロツク有効情報13が“0”である空き
のタグ情報8を検索するか或いは空きのタグ情報
8がないときには、ある1つのタグ情報に対応す
るデイスク転送バツフア9上のブロツクをフアイ
ルアドレス14で示されるハードデイスク装置3
上のブロツクへスワツプアウトしてタグ情報8を
空き(ブロツク有効情報を“0”にする)にし
て、アクセス対象となるデータを、ハードデイス
ク装置3上からデイスク転送バツフア9上に取り
込み、且つタグ情報8にフアイルアドレス14を
記入すると共に、ブロツク有効情報13を“1”
にした後、データ転送を行う。このデータ転送が
終了すると、プロセツサP0は、バツフア管理ブ
ロツク7の占有情報11と占有プロセツサ番号1
2とを解除し、デイスク転送バツフア9の使用権
を解放する。
When the target file address does not exist, empty tag information 8 whose block valid information 13 is "0" is searched, or when there is no empty tag information 8, the disk transfer buffer corresponding to one piece of tag information is searched. 9 to the hard disk device 3 indicated by the file address 14.
Swap out to the upper block, empty the tag information 8 (set the block valid information to "0"), import the data to be accessed from the hard disk device 3 to the disk transfer buffer 9, and read the tag information 8. Enter the file address 14 in the field, and set the block valid information 13 to “1”.
After that, transfer the data. When this data transfer is completed, the processor P0 transfers the occupancy information 11 of the buffer management block 7 and the occupancy processor number 1.
2 and release the right to use the disk transfer buffer 9.

以上はプロセツサP0が正常状態でデータ転送
を終了した場合の処理について説明したが、プロ
セツサP0がバツフア管理ブロツク7を占有した
状態でダウンした場合には、プロセツサP0がダ
ウンしたことをシステムバス1上のプロセツサダ
ウン信号によつて他のプロセツサP1〜PNに通知
する。
The above describes the processing when processor P 0 completes data transfer in a normal state. However, if processor P 0 goes down while occupying the buffer management block 7, the system will notify that processor P 0 has gone down. The other processors P 1 -P N are notified by a processor down signal on bus 1.

このため、ダウン通知を受けたプロセツサは、
第6図に示す処理を実行する。すなわち、ステツ
プで、管理ブロツク7が占有中であるか否かを
判定し、占有中であるときには、ステツプに移
行して占有プロセツサ番号とダウンしたプロセツ
サ番号とが一致するか否かを判定する。このと
き、占有プロセツサ番号とダウンしたプロセツサ
番号とが一致する場合には、ステツプに移行し
て占有情報11と占有プロセツサ番号12とを削
除してから処理を終了する。
Therefore, the processor that receives the down notification will
The process shown in FIG. 6 is executed. That is, in step it is determined whether or not the management block 7 is occupied, and if it is, the flow advances to step and it is determined whether the occupied processor number and the down processor number match. At this time, if the occupied processor number and the down processor number match, the process moves to step where the occupied information 11 and the occupied processor number 12 are deleted, and then the process ends.

一方、ステツプの判定結果が管理ブロツクが
占有されていないとき及びステツプの判定結果
が占有プロセツサ番号とダウンしたプロセツサ番
号とが不一致であるときには、夫々そのまま処理
を終了する。
On the other hand, if the determination result of the step is that the management block is not occupied, or if the determination result of the step is that the occupied processor number and the down processor number do not match, the processing is directly terminated.

このため、ダウンしたプロセツサP0によるデ
イスク転送バツフアの占有状態が解除されるの
で、他の正常なプロセツサによるデイスク転送バ
ツフアの占有が可能となり、正常なプロセツサに
よるデイスク転送を引き続き行うことができる。
As a result, the state of occupation of the disk transfer buffer by the down processor P0 is released, allowing other normal processors to occupy the disk transfer buffer, allowing the normal processor to continue performing disk transfers.

また、あるプロセツサPi(i=0,1,2……
N)を立上げる場合には、そのプロセツサPiにお
いて第7図に示す処理を実行する。すなわち、ス
テツプで既に他のプロセツサが稼動中であるか
否かを判定する。このとき、他のプロセツサが稼
動中であるときには、そのまま処理を終了する。
これによりダウンしたプロセツサを稼動中のシス
テムに組み入れることができる。
Also, a certain processor P i (i=0, 1, 2...
N), the processing shown in FIG. 7 is executed in its processor P i . That is, in this step, it is determined whether another processor is already in operation. At this time, if another processor is in operation, the process is immediately terminated.
This allows a downed processor to be incorporated into a running system.

一方、稼動中の他のプロセツサがない場合は、
ステツプに移行して、バツフア管理ブロツク7
の占有情報11を“1”にセツトすると共に、占
有プロセツサ番号12を記入することにより、バ
ツフア管理ブロツク7を強制的に占有する。これ
により、あるプロセツサがバツフア管理ブロツク
7を占有したままシステム全体がダウンした場
合、換言すればバツフア管理ブロツク7の占有が
解除できなかつた場合でもデイスク転送バツフア
9の継続使用を可能とし、次いでステツプに移
行する。このステツプでは、バツフア保存レジ
スタ4がデイスク転送バツフアの内容を保存する
ために“1”がセツトされているか否かを判定す
る。このとき、バツフア保存レジスタ4が“0”
にリセツトされているときには、ステツプに移
行して、デイスク転送バツフア、タグ情報を全て
空きとする初期化を行つてからステツプに移行
する。
On the other hand, if there are no other processors running,
Proceed to step 7, buffer management block 7.
The buffer management block 7 is forcibly occupied by setting the occupancy information 11 to "1" and writing in the occupancy processor number 12. As a result, even if the entire system goes down while a certain processor is occupying the buffer management block 7, or in other words, even if the buffer management block 7 cannot be released from its occupation, it is possible to continue using the disk transfer buffer 9, and the next step to move to. In this step, it is determined whether the buffer save register 4 is set to "1" to save the contents of the disk transfer buffer. At this time, buffer storage register 4 is “0”
If it has been reset, the process moves to step, where the disk transfer buffer and tag information are initialized to become empty, and then the process moves to step.

このステツプでは、占有情報とプロセツサ番
号とを削除してから処理を終了する。
In this step, the occupancy information and processor number are deleted before the process ends.

一方、ステツプの判定結果が、バツフア保存
レジスタ4が“1”にセツトされている場合に
は、デイスク転送バツフア9を継続して使用する
ものと判断してステツプに移行することなく直
接ステツプに移行して占有情報11及び占有プ
ロセツサ番号12を削除してから処理を終了す
る。
On the other hand, if the judgment result of the step is that the buffer storage register 4 is set to "1", it is determined that the disk transfer buffer 9 is to be used continuously, and the process moves directly to the step without proceeding to the step. After deleting the exclusive information 11 and the exclusive processor number 12, the process ends.

ここで、バツフア保存レジスタ4の内容を外部
スイツチ5によつて“1”又は“0”に設定する
ことにより、プロセツサの再立上げ時にデイスク
転送バツフア9上のデータを保存するか否かの選
択が可能となり、バツフア保存レジスタ4を
“1”に設定することにより、デイスク転送バツ
フア9上のデータを保存してデータの欠損を防止
することができる。
Here, by setting the contents of the buffer save register 4 to "1" or "0" by the external switch 5, it is possible to select whether or not to save the data on the disk transfer buffer 9 when the processor is restarted. By setting the buffer storage register 4 to "1", it is possible to save the data on the disk transfer buffer 9 and prevent data loss.

なお、上記実施例においては、補助記憶装置と
して、ハードデイスク装置3を適用した場合につ
いて説明したが、これに代えて磁気デイスク装
置、光デイスク装置等の記憶装置を適用すること
ができること勿論である。
In the above embodiment, a case has been described in which the hard disk device 3 is used as the auxiliary storage device, but it goes without saying that a storage device such as a magnetic disk device or an optical disk device can be used instead.

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

以上説明したように、この発明によれば、バツ
フア管理ブロツクに占有情報と共に占有プロセツ
サ番号とを設定することにより、1つのプロセツ
サがバツフア管理ブロツクを占有したままダウン
したとしても、他のプロセツサによつて占有状態
を解除することができ、これにより他のプロセツ
サがデイスク転送バツフアを継続して使用するこ
とができ、且つ外部入力可能なバツフア保存レジ
スタを設け、これによりデイスク転送バツフア
を、ダウンしたプロセツサの再立上げ時にダウン
前の内容を保存するか初期化を行うかを選択する
ことができ、ダウン前の内容を保存することを選
択することにより、デイスク転送バツフアを継続
的に使用することができ、複数のプロセツサを有
するデータ処理システムにおけるデイスク転送バ
ツフアのデータ欠落を確実に防止することができ
るという効果が得られる。
As explained above, according to the present invention, by setting the occupied processor number together with the occupation information in the buffer management block, even if one processor goes down while occupying the buffer management block, other processors can still operate the buffer management block. This allows other processors to continue using the disk transfer buffer.In addition, a buffer storage register that can be input externally is provided, which allows the disk transfer buffer to be released from the When restarting, you can choose whether to save the contents before the downtime or initialize it. By choosing to save the contents before the downtime, you can continue to use the disk transfer buffer. This provides the effect that data loss in the disk transfer buffer in a data processing system having a plurality of processors can be reliably prevented.

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

第1図はこの発明の一実施例を示すブロツク
図、第2図は管理ブロツクの内容を示す説明図、
第3図はタグ情報の内容を示す説明図、第4図は
デイスク転送バツフアの内容を示す説明図、第5
図はハードデイスク装置のブロツクを示す説明
図、第6図はプロセツサからデイスク転送バツフ
アをアクセスする際の処理手順を示す流れ図、第
7図はプロセツサを立上げる際の処理手順を示す
流れ図である。 図中、P0〜PNはプロセツサ、1はシステムバ
ス、2はハードデイスクコントローラ、3はハー
ドデイスク装置、4はバツフア保存レジスタ、5
は外部スイツチ、6はメモリ、7はバツフア管理
ブロツク、8はタグ情報、9はデイスク転送バツ
フア、11は占有情報、12は占有プロセツサ番
号、13はブロツク有効情報、14はフアイルア
ドレスである。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the contents of a management block,
Fig. 3 is an explanatory diagram showing the contents of tag information, Fig. 4 is an explanatory diagram showing the contents of the disk transfer buffer, and Fig. 5 is an explanatory diagram showing the contents of the disk transfer buffer.
FIG. 6 is an explanatory diagram showing the blocks of the hard disk device, FIG. 6 is a flowchart showing the processing procedure when accessing the disk transfer buffer from the processor, and FIG. 7 is a flowchart showing the processing procedure when starting up the processor. In the figure, P 0 to P N are processors, 1 is a system bus, 2 is a hard disk controller, 3 is a hard disk device, 4 is a buffer storage register, 5
1 is an external switch, 6 is a memory, 7 is a buffer management block, 8 is tag information, 9 is a disk transfer buffer, 11 is occupancy information, 12 is an occupancy processor number, 13 is block valid information, and 14 is a file address.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のプロセツサが共通の補助記憶装置を共
通のデイスク転送バツフアを介して夫々独立に使
用する際に、1つのプロセツサが当該共通のデイ
スク転送バツフアを使用中は、バツフア管理ブロ
ツクを占有するようにしたデイスク転送バツフア
管理方式において、プロセツサによるバツフア管
理ブロツク占有時に、そのバツフア管理情報ブロ
ツク上に占有中のプロセツサ番号を記憶させると
共に、前記プロセツサがダウンした場合に、これ
を他の正常なプロセツサに通知し、当該他の正常
なプロセツサでダウンしたプロセツサ番号に基づ
きバツフア管理ブロツクを占有中のプロセツサが
ダウンプロセツサであるか否かを判定し、その判
定結果がダウンプロセツサであるときに、当該バ
ツフア管理ブロツクを解放し、且つプロセツサを
立上げる際に、外部入力可能なバツフア保存レジ
スタの内容が保存状態であるとき、デイスク転送
バツフアの初期化を行うことなくプロセツサを立
上げることを特徴とするデイスク転送バツフア管
理方式。
1. When multiple processors independently use a common auxiliary storage device via a common disk transfer buffer, one processor occupies the buffer management block while using the common disk transfer buffer. In this disk transfer buffer management method, when a processor occupies a buffer management block, the number of the occupied processor is stored in the buffer management information block, and when the processor goes down, this is notified to other normal processors. Then, it is determined whether the processor occupying the buffer management block is a down processor based on the processor number of the down processor in the other normal processor, and when the determination result is that the processor is down, the buffer management block is A disk drive system characterized in that when a management block is released and the processor is started up, the contents of a buffer storage register that can be input externally are in a saved state, and the processor is started up without initializing the disk transfer buffer. Transfer buffer management method.
JP60270373A 1985-11-30 1985-11-30 Disk transfer buffer managing system Granted JPS62130425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60270373A JPS62130425A (en) 1985-11-30 1985-11-30 Disk transfer buffer managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60270373A JPS62130425A (en) 1985-11-30 1985-11-30 Disk transfer buffer managing system

Publications (2)

Publication Number Publication Date
JPS62130425A JPS62130425A (en) 1987-06-12
JPH0459650B2 true JPH0459650B2 (en) 1992-09-22

Family

ID=17485354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60270373A Granted JPS62130425A (en) 1985-11-30 1985-11-30 Disk transfer buffer managing system

Country Status (1)

Country Link
JP (1) JPS62130425A (en)

Also Published As

Publication number Publication date
JPS62130425A (en) 1987-06-12

Similar Documents

Publication Publication Date Title
EP0130349B1 (en) A method for the replacement of blocks of information and its use in a data processing system
WO2015081889A1 (en) Caching system and method
JPH04230550A (en) Information processing network and information processing method
US5404549A (en) Method for efficient access of data stored in a nexus table using queue tag indexes in a table portion
JPH0459650B2 (en)
JPS592058B2 (en) Storage device
JP3940701B2 (en) Disk array device and cache matching control method applied to the same
JPS6240736B2 (en)
JP2994917B2 (en) Storage system
JPH0447350A (en) Main storage read/response control
JPH0415496B2 (en)
JPH05100926A (en) Input/output managing system
JP3259095B2 (en) Data transfer method
JPH02259945A (en) Storing processing system
JPS5854478A (en) Controlling method of main storage
JPH0424733B2 (en)
JPH03271859A (en) Information processor
JPH0346033A (en) Inter-job data transfer control method
JPS6175942A (en) Disk cache control system
JPS6074057A (en) Control system for disk cache
JPH0693232B2 (en) Cache memory
JPH03246741A (en) synchronous control device
JPS63120349A (en) File multiplex control system
JPH0528090A (en) Memory controller
JPS59128621A (en) Controlling device of dma