JPH01266640A - Equivalent property guarantee processing system for duplex volume - Google Patents

Equivalent property guarantee processing system for duplex volume

Info

Publication number
JPH01266640A
JPH01266640A JP63095097A JP9509788A JPH01266640A JP H01266640 A JPH01266640 A JP H01266640A JP 63095097 A JP63095097 A JP 63095097A JP 9509788 A JP9509788 A JP 9509788A JP H01266640 A JPH01266640 A JP H01266640A
Authority
JP
Japan
Prior art keywords
journal
volume
update
request
duplex
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
JP63095097A
Other languages
Japanese (ja)
Other versions
JP2664197B2 (en
Inventor
Kotaro Okazaki
耕太郎 岡崎
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 JP63095097A priority Critical patent/JP2664197B2/en
Publication of JPH01266640A publication Critical patent/JPH01266640A/en
Application granted granted Critical
Publication of JP2664197B2 publication Critical patent/JP2664197B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To curtail an exclusive overhead to an updating request by constituting the respective journals which are connected to a journal setting processing part and an updating end processing part, of an entry having information of 'the blocks which are being updated are continuous something blocks from a relative something block diagram in a duplex volume'. CONSTITUTION:An entry of journals 14X, 14Y is made usable cyclically in advance, and a size of the journals 14X, 14Y is allowed to correspond to a load of a duplex volume and determined suitably. That is, the size of the journal is determined by the number of entries, and such a problem as the size of the journal is different at every kind of a device is obviated. Therefore, the equivalent property guarantee processing system for the duplex volume is constituted of a processor 10 containing an I/O issue processing part 11 for an updating request containing a journal setting processing part 12, and an updating end processing part 13 for an I/O end interruption, a physical volume 15X and 15Y are connected to the processing part 12, and the journal 14X and 14Y are connected in advance to the processing part 12 and 13.

Description

【発明の詳細な説明】 〔概要〕 二重化ボリュームの各ボリューム対応に、更新要求実行
中情報を管理するジャーナルを備え、システム障害時に
おける二重化ボリュームの等価性を、ジャーナルの情報
をもとに保証する処理システムにおける二重化ボリュー
ムの等価性保証処理方式に関し。
[Detailed Description of the Invention] [Summary] A journal for managing update request execution information is provided for each volume of a duplex volume, and the equivalence of the duplex volume is guaranteed in the event of a system failure based on the information in the journal. Regarding a processing method for ensuring equivalence of duplexed volumes in a processing system.

二重化ボリュームの更新要求に対する排他のためのオー
バヘッドを削減する手段を提供することを目的とし。
The purpose of this invention is to provide a means to reduce the overhead for exclusive use of duplex volume update requests.

更新中の開始ブロック位置情報と更新ブロックの個数情
報とが格納される構造のエントリを持つジャーナルと、
更新要求を実行する際に、その更新実行中情報をジャー
ナルの最新エントリに設定するジャーナル設定処理手段
と1両物理ボリュームに対する更新が完了した時点で、
その要求に対応する各ジャーナルのエントリを空きにす
る更新終了処理手段とを備え、一方の物理ボリュームに
おける更新が完了した場合に2次の要求があれば。
a journal having an entry having a structure in which information on the starting block position being updated and information on the number of updated blocks are stored;
When executing an update request, a journal setting processing means sets the update execution information to the latest entry of the journal, and when the update for one physical volume is completed,
and update completion processing means for emptying entries in each journal corresponding to the request, and if there is a secondary request when the update in one physical volume is completed.

他方の更新が完了するのを待つことなく1次の要求を実
行するように構成する。
Configure the primary request to execute without waiting for the other update to complete.

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

本発明は、二重化ボリュームの各ボリューム対応に、更
新要求実行中情報を管理するジャーナルを備え、システ
ム障害時における二重化ボリュームの等価性を、ジャー
ナルの情報をもとに保証する処理システムにおける二重
化ボリュームの等偏性保証処理方式に関する。
The present invention provides a processing system for duplexed volumes in which a journal for managing update request execution information is provided for each volume of duplexed volumes, and the equivalence of duplexed volumes is guaranteed based on the information in the journal in the event of a system failure. Concerning equality guarantee processing method.

計算機システムにおいて、記憶媒体の障害時などに、運
用が停止してしまうことを避けるために。
In computer systems, to prevent operation from stopping in the event of a storage medium failure.

同し情報を、異なる物理ボリュームに二重に設定する二
重化ボリュームが用いられている。このような二重化ボ
リュームでは、常に両物理ボリュームが同じ内容を持つ
ことが保証されなければならない。そのため、ジャーナ
ルにより、二重化ボリュームの等価性を保証することが
行われているが。
A duplex volume is used in which the same information is set twice in different physical volumes. In such a duplex volume, it must be guaranteed that both physical volumes always have the same content. Therefore, journals are used to guarantee the equivalence of duplexed volumes.

アクセス要求に対するレスポンスに影響するため。Because it affects the response to access requests.

等価性保証に関する処理を効率よ(行うことが必要とさ
れる。
It is necessary to efficiently carry out processing related to equivalence guarantee.

〔従来の技術〕[Conventional technology]

第6図は従来方式の例、第7図は従来方式の処理フロー
を示す。
FIG. 6 shows an example of the conventional method, and FIG. 7 shows the processing flow of the conventional method.

従来、二重化ボリュームにおいて、その等価性を保証す
るためのジャーナルは、第6回に示スように採取してい
た。
Conventionally, journals for ensuring the equivalence of duplexed volumes have been collected as shown in Part 6.

各物理ボリューム15X、15Y全体を、ある単位(例
えば、シリンダ単位)に分割し、物理ボリューム内の領
域全体を2分割した1単位がIビットに対応するビット
マツプ30X、30Yで表現する。そして、更新中の領
域を含む単位に対応するビットをオン、そうでない部分
をオフとする。
Each physical volume 15X, 15Y is divided into a certain unit (for example, cylinder unit), and the entire area within the physical volume is divided into two, and each unit is represented by a bitmap 30X, 30Y corresponding to an I bit. Then, the bit corresponding to the unit including the area being updated is turned on, and the bits other than the unit are turned off.

すなわち、二重化ボリュームに対する更新要求を実行す
る際に、その更新部分を含む単位に対応するビットマツ
プ30Xまたは30Yのビットをオンにする。そして、
その二重化ボリュームを構成する両方の物理ボリューム
15X、15Yにおいて、その更新要求が完了した時点
で、オンにしていたビットをオフにする。
That is, when executing an update request to the duplex volume, the bit of the bitmap 30X or 30Y corresponding to the unit including the updated portion is turned on. and,
When the update request is completed in both physical volumes 15X and 15Y that make up the duplex volume, the bits that were turned on are turned off.

このようなビットマノ130X、30Yによるジャーナ
ルを取得することにより1例えばシステムダウンなどの
障害が発生した場合には、システムの再立上げ時に、ピ
ントマツプにおけるビットがオンになっている領域を調
べ、その領域は2両物理ボリュームの内容が一敗してい
ない可能性があるので、一方から他方ヘコピーするなど
の復元を行う、これにより、二重化ボリュームの等価性
を保証することができる。
By acquiring journals from Bitmano 130X and 30Y, for example, in the event of a failure such as a system down, when restarting the system, check the area where the bit is turned on in the focus map and update that area. Since there is a possibility that the contents of both physical volumes have not been lost, the contents of the two physical volumes are restored by copying from one to the other, thereby ensuring the equivalence of the duplicated volumes.

従来方式による処理フローは、第7図に示すようになる
The processing flow according to the conventional method is shown in FIG.

二重化ポリニームに対する更新要求があった場合、第7
図(イ)に示す処理■〜■を実行する。
If there is a request to update the duplicated polyneme, the seventh
Execute the processes ① to ② shown in Figure (a).

■ まず、物理ボリューム15Xが空きであるがどうか
を判定する。空きでない場合、処理■へ移る。
■ First, it is determined whether the physical volume 15X is free. If it is not empty, move on to process ■.

■ 物理ボリューム15Xが空いている場合、物理ボリ
ューム15X用のジャーナル(第6図に示すピントマツ
プ30X)において、更新する領域を含む単位に対応す
るビットがオンであるかどうかを調べる。オンである場
合、物理ボリューム15Xに対する要求を待ち状態にし
て。
(2) If the physical volume 15X is free, check whether the bit corresponding to the unit including the area to be updated is on in the journal for the physical volume 15X (focus map 30X shown in FIG. 6). If it is on, a request for physical volume 15X is placed in a waiting state.

処理■へ移る。Move on to processing ■.

■ 対応ビットがオフであれば、ビットマツプ30Xの
対応ビットをオンにする。
■ If the corresponding bit is off, turn on the corresponding bit in bitmap 30X.

■ そして、物理ボリューム15Xに対し、更新のため
のI10命令を発行する。
(2) Then, an I10 command for updating is issued to the physical volume 15X.

■ 次に物理ボリューム15Yが空きであるがどうかを
調べる。
■ Next, check whether the physical volume 15Y is free.

■ 物理ボリューム15Yが空いていれば、物理ボリュ
ーム15Xに対する処理■、処理■と同様な処理を実行
し、処理を終了する。
(2) If the physical volume 15Y is free, processing similar to process (2) and process (2) for the physical volume 15X is executed, and the process ends.

例えば、物理ボリューム15XからI10終了割込みが
あった場合、第7図(ロ)に示す処理■〜0を実行する
For example, when there is an I10 end interrupt from the physical volume 15X, processes 1 to 0 shown in FIG. 7(b) are executed.

■ 相手側である物理ボリューム15Y側の更新が完了
しているかどうかを調べる。完了していなければ、処理
0へ移る。
■ Check whether the update on the physical volume 15Y side, which is the other side, has been completed. If not completed, the process moves to process 0.

■ 相手側の更新が完了していれば1両ジャーナル(第
6図に示すビットマツプ30Xおよびビットマツプ30
Y)の対応するビットをオフにする。
■ If the update on the other side has been completed, one journal (Bitmap 30X and Bitmap 30 shown in Figure 6)
Turn off the corresponding bit of Y).

■ 物理ボリューム15Xに待ち要求があるかどうかを
調べ、ある場合2次の処理0を実行する。
■ Check whether there is a waiting request in the physical volume 15X, and if there is, execute the secondary process 0.

[相] ビットマツプ30Xの対応ビットをオンにし。[Phase] Turn on the corresponding bit of bitmap 30X.

物理ボリューム15Xに対し、更新のための■10命令
を発行する。
Issue the ■10 command for updating to the physical volume 15X.

■ 物理ボリューム15Yに待ち要求があるかどうかを
調べ、ある場合1次の処理■を実行する。
■ Check whether there is a waiting request on the physical volume 15Y, and if there is, execute the first process ■.

0 ビットマツプ30Yの対応ビットをオンにし。0 Turn on the corresponding bit of bitmap 30Y.

物理ボリューム15Yに対し、更新のための■10命令
を発行する。
The 10 command for updating is issued to the physical volume 15Y.

0 相手側の更新がまだ完了していなければ、物理ボリ
ューム15Xに対するI10発行可否チエツクなどを行
う。すなわち、物理ボリューム15Xに対し、待ち要求
があるかどうかを調べ。
0 If the update on the other side has not been completed yet, check whether I10 can be issued to the physical volume 15X. That is, it is checked whether there is a waiting request for the physical volume 15X.

待ち要求があれば、第7図(イ)に示す処理■〜■と同
様な処理を行う。
If there is a waiting request, the same processes as shown in FIG. 7(a) are performed.

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

上記従来方式には1次の(al、 (blの2つの問題
がある。
The above conventional method has two problems of first order (al and (bl).

(a)ある領域に対する更新処理において、一方の物理
ボリューム15Xにおける更新は完了し、他方の物理ボ
リューム15Yにおける更新は未完了とする。この状態
で、ビットマツプ上でオンになっている領域内に対して
、新たな更新要求がきた場合には、その要求を、物理ボ
リューム15Yの更新が完了するまで、待たせなければ
ならない。
(a) In the update process for a certain area, the update in one physical volume 15X is completed, and the update in the other physical volume 15Y is not completed. In this state, if a new update request comes for an area that is turned on on the bitmap, the request must wait until the update of the physical volume 15Y is completed.

新たな更新要求に対して直ちにIloを発行すると、ビ
ットマツプ上で競合が生じるからである。
This is because if Ilo is issued immediately in response to a new update request, a conflict will occur on the bitmap.

このように、更新する領域に排他をかける必要があり、
その排他のためのオーバヘッドが問題となる。特に3分
割した単位に対応する領域に対する更新要求が複数あっ
た場合、1つの更新要求に対し、二重化ボリュームを構
成する両物理ボリュームにおいてIloが完了するまで
、排他制御により1次の更新要求を実行することができ
ないため。
In this way, it is necessary to apply exclusion to the area to be updated,
The overhead for this exclusion becomes a problem. In particular, if there are multiple update requests for the area corresponding to the unit divided into three, the primary update request is executed under exclusive control until Ilo is completed in both physical volumes that make up the duplex volume in response to one update request. Because you can't.

物理ボリュームとしてのレスポンスが悪くなるという問
題がある。
There is a problem that the response as a physical volume deteriorates.

(bl  また、第6図に示すビットマツプのサイズは
(bl Also, the size of the bitmap shown in FIG. 6 is.

二重化ボリュームを構成する物理ボリュームの大きさに
依存するため、ジャーナルの大きさがデバイスの種類に
より異なり、デバイスの変更時などには、それに対処す
るための処理が複雑になるという問題がある。
Since it depends on the size of the physical volumes that make up the duplex volume, the size of the journal varies depending on the type of device, and there is a problem in that when changing devices, the processing to deal with it becomes complicated.

本発明は上記問題点の解決を回り、二重化ボリュームの
更新要求に対する排他のためのオーバヘプトを削減する
手段を提供し、また、デバイスの種類によらないジャー
ナル管理手段を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention aims to solve the above-mentioned problems by providing a means for reducing the overhead for exclusive use of duplexed volume update requests, and also by providing a journal management means independent of the type of device.

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

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、10はCPUおよびメモリなどからな
る処理装置、11は二重化ボリュームに対する更新要求
に対して!10命令を発行する処理を行うI10発行処
理部、12は更新実行中情報のジャーナル情報を採取す
るジャーナル設定処理部、13は二重化ボリュームから
のI10終了割込みに対する処理を行う更新終了処理部
、14X、14Yは二重化ボリュームの各物理ボリュー
ムに対応して設けられたジャーナル、15X、15Yは
二重化ボリュームを構成する物理ボリュームを表す。
In FIG. 1, 10 is a processing unit consisting of a CPU, memory, etc., and 11 is for an update request for a duplex volume! 12 is a journal setting processing unit that collects journal information of information during update execution; 13 is an update completion processing unit that processes I10 completion interrupts from the duplex volume; 14X; 14Y represents a journal provided corresponding to each physical volume of the duplex volume, and 15X and 15Y represent physical volumes forming the duplex volume.

本発明では、二重化ボリュームの等優性を保証するため
のジャーナル14X、14Yは、更新中の開始ブロック
位置情報と、そこから連続する更新ブロックの個数情報
とが格納される構造のエントリを持つように構成される
In the present invention, the journals 14X and 14Y for ensuring equidominance of duplexed volumes have entries with a structure in which information on the starting block position being updated and information on the number of consecutive updated blocks from there are stored. configured.

ジャーナル設定処理部12は、■10発行処理部11に
おいて、二重化ボリュームの更新要求を実行する際に、
その更新実行中情報、すなわち更新する開始ブロック位
置情報と更新ブロックの個数情報とを、ジャーナル14
Xまたはジャーナル14Yの最新エントリに設定する処
理を行う。
When the journal setting processing unit 12 executes a duplex volume update request in the ■10 publication processing unit 11,
The update execution information, that is, the start block position information to be updated and the number information of update blocks, is stored in the journal 14.
The process of setting the latest entry in X or journal 14Y is performed.

更新終了処理部13は、二重化ボリュームを構成する両
物理ボリューム15X、15Yに対する更新が完了した
時点で、その要求に対応する各ジャーナル14X、14
Yのエントリを空きにする処理を行う。
When the update to both physical volumes 15X and 15Y constituting the duplex volume is completed, the update completion processing unit 13 updates each journal 14X and 14 corresponding to the request.
Perform processing to empty the entry of Y.

一方の物理ボリューム15Xまたは15Yにおける更新
が完了した場合に5次の要求があれば。
If there is a 5th request when the update on one physical volume 15X or 15Y is completed.

他方の物理ボリュームにおける更新が完了するのを待つ
ことなく、I10発行処理部11によって。
by the I10 issue processing unit 11 without waiting for the update in the other physical volume to be completed.

次の要求を実行する。Execute the next request.

〔作用〕[Effect]

ジャーナル14X、14Yを、[更新中のブロックは、
二重化ボリューム内の相対何ブロック目から連続何ブロ
ックである」という情報を持つエントリからなる構造体
にしているので、更新要求ごとに、更新する領域に対し
て排他をかける必要がなくなり、従来の排他制御ための
オーバヘッドの問題はなくなる。また、排他をかける必
要がないため、従来のレスポンスの問題も解決される。
Journals 14X, 14Y [The block being updated is
Since the structure is made up of entries that have information on the relative number of blocks in the duplex volume and the number of contiguous blocks, there is no need to apply exclusion to the area to be updated for each update request. The problem of control overhead is eliminated. Furthermore, since there is no need to apply exclusion, the problem of conventional responses is also solved.

ジャーナル14X、14Yのエントリは、サイクリック
に使用することができるため、ジャーナル14X、14
Yのサイズを、二重化ボリュームに対する負荷に応じて
、適当に決めることができる。すなわち、ジャーナルの
サイズをエントリ数によって決定できるので、デバイス
の種類ごとにジャーナルの大きさが異なるという従来の
問題は解決され、ジャーナルの大きさをシステムで一意
にすることができる。
Entries in journals 14X and 14Y can be used cyclically.
The size of Y can be appropriately determined depending on the load on the duplex volume. That is, since the size of the journal can be determined by the number of entries, the conventional problem of journal sizes differing depending on the type of device is solved, and the journal size can be made unique in the system.

もし1片方の物理ボリュームが何らかの理由により、レ
スポンスが低下するなどして、ジャーナルに空きのエン
トリがなくなった場合、それ以後の更新要求を、ジャー
ナルのエントリに空きができるまで待たせるようにすれ
ばよい。
If the response of one physical volume decreases for some reason and there are no free entries in the journal, you can make subsequent update requests wait until there is free space in the journal entry. good.

〔実施例〕〔Example〕

第2図は本発明の一実施例に係るジャーナルの構成例、
第3図は本発明の一実施例によるジャーナルの使用例、
第4図は二重化ボリュームに対する要求イヘントの管理
説明図、第5図は本発明の一実施例処理説明図を示す。
FIG. 2 shows an example of the structure of a journal according to an embodiment of the present invention.
FIG. 3 shows an example of the use of a journal according to an embodiment of the present invention.
FIG. 4 is an explanatory diagram of management of request events for duplexed volumes, and FIG. 5 is an explanatory diagram of processing in an embodiment of the present invention.

本発明では、各物理ボリューム対応のジャーナル14X
、14Yを、ビットマツプで持つのではなく1例えば第
2図に示すような構造のエントリを持つものとしている
。エントリの個数(n)は。
In the present invention, the journal 14X corresponding to each physical volume is
, 14Y are not provided as bitmaps, but have entries having the structure shown in FIG. 2, for example. The number of entries (n) is.

二重化ボリュームに対する負荷を考慮して、適当に決め
てよい。ジャーナルの先頭部分には、使用中の先頭エン
トリ番号と、未使用の先頭エントリ番号が格納される。
It may be determined appropriately, taking into consideration the load on the duplex volume. The leading entry number in use and the unused leading entry number are stored in the leading part of the journal.

各エントリはサイクリックに使用され、最後のn番目の
エントリが使用された後9次の要求に対しては、1番目
のエントリが使用される。
Each entry is used cyclically, and after the last nth entry is used, the first entry is used for the ninth request.

各エントリには、更新中の先頭ブロック番号と。Each entry includes the number of the first block being updated.

そこから更新中の連続するブロック番号とが設定される
From there, the consecutive block numbers being updated are set.

第3図は、二重化ボリュームに対して。Figure 3 shows a duplex volume.

(a)2番目のブロックから連続3ブロツクを更新する
という更新要求と。
(a) An update request to update three consecutive blocks starting from the second block.

(b)4番目のブロックから連続2ブロックを更新する
という更新要求と。
(b) An update request to update two consecutive blocks starting from the fourth block.

があった場合におけるジャーナル14X、14Yの使用
例を示している。
An example of how the journals 14X and 14Y are used in the case where the journals 14X and 14Y are used is shown.

初期状態では、各ジャーナルの使用中の先頭エントリ番
号および未使用の先頭エントリ番号は。
In the initial state, the first used entry number and the first unused entry number for each journal are:

第3図(イ)に示すように、共に「1」になっている。As shown in FIG. 3(a), both are "1".

両物理ボリュームに対して、(a)の更新要求を実行す
ると、第3図(口〉に示すように、各ジャーナルの1番
目のエントリに対して、更新中の先頭ブロック番号とし
て「2」、更新中の連続するブロック数として「3」が
設定される。未使用の先頭エントリ番号は、「2」に更
新される。
When the update request (a) is executed for both physical volumes, as shown in Figure 3, the first block number being updated is "2" for the first entry of each journal. "3" is set as the number of consecutive blocks being updated.The unused leading entry number is updated to "2".

次に、X側の物理ボリュームにおける更新が完了すると
、Y側の更新が未完了であっても、X側の物理ボリュー
ムで(b)の更新要求を実行する。このとき、ジャーナ
ル14Xは、第3図(ハ)に示すように更新される。
Next, when the update on the physical volume on the X side is completed, the update request (b) is executed on the physical volume on the X side even if the update on the Y side is not completed. At this time, the journal 14X is updated as shown in FIG. 3(c).

Y側の物理ボリュームにおいても、(a)の更新要求が
完了すると、ジャーナル14X、14Yにおける1番目
のエントリを空きエントリとし、ジャーナル14Yに、
申)の更新要求を実行するための情報を設定して、Y側
の物理ボリュームに対し。
In the physical volume on the Y side, when the update request in (a) is completed, the first entry in the journals 14X and 14Y is made a free entry, and the journal 14Y is filled with the following:
Set the information to execute the update request for the physical volume on the Y side.

山)の更新要求を実行する。このときのジャーナル14
X、14Yは、第3図(ニ)に示すようになる。
(mountain) update request. Journal 14 at this time
X and 14Y are as shown in FIG. 3(d).

二重化ボリュームに対する要求イベントの管理は1例え
ば第4図に示すように行われる。なお。
Management of request events for duplexed volumes is performed as shown in FIG. 4, for example. In addition.

この管理のし方は、従来と同様である。This management method is the same as before.

物理ボリューム15X、15Y対応に、それを管理する
デバイス制御表20X、20Yがある。
Corresponding to the physical volumes 15X and 15Y, there are device control tables 20X and 20Y that manage them.

更新要求イベン)Wl、W2があると、第4図(イ)に
示すように、それぞれのデバイス制御表20X、20Y
にキューイングされる。
When there are update request events) Wl and W2, the respective device control tables 20X and 20Y are updated as shown in FIG.
will be queued.

今、物理ボリューム15Xに対する更新要求イベントW
1のIloが終了したとすると、第4図(ロ)に示すよ
うに、更新要求イベントW1がデバイス制御表20Xの
キューから外され、デバイス制御表20Xは1次の更新
要求イベン1−W2をポイントする。
Now, update request event W for physical volume 15X
Assuming that Ilo 1 is completed, the update request event W1 is removed from the queue of the device control table 20X, and the device control table 20X processes the primary update request event 1-W2 as shown in FIG. point.

第5図(イ)は、第1図に示すI10発行処理部11の
処理の例、第5図(ロ)は、第1図に示す更新終了処理
部13の処理の例を示している。
FIG. 5(A) shows an example of the processing of the I10 issue processing unit 11 shown in FIG. 1, and FIG. 5(B) shows an example of the processing of the update termination processing unit 13 shown in FIG.

以下の説明における■〜@は、第5図に示す処理■〜@
に対応する。
■~@ in the following explanation refers to the process shown in FIG.
corresponds to

■ 二重化ボリュームに対する更新要求があった場合、
まず物理ボリューム15Xが空きであるかどうか、すな
わち物理ボリューム15Xが!101行中であるかどう
かを判定する。空きでない場合、処理■へ移る。
■ If there is an update request for a duplexed volume,
First, whether physical volume 15X is free or not, that is, physical volume 15X is! Determine whether it is in the 101st line. If it is not empty, move on to process ■.

■ 物理ボリューム15Xが空いている場合、ジャーナ
ル14Xにおける先頭の空きエントリに。
■ If physical volume 15X is free, the first free entry in journal 14X.

第2図に示すような更新実行中情報を設定する。Set update execution information as shown in FIG.

■ 物理ボリューム15Xに対し、更新のためのI10
命令を発行する。
■ I10 for updating physical volume 15X
Issue orders.

■ 次に物理ボリューム15Yが空きであるかどうかを
調べる。空きでない場合、処理を終了する。
■ Next, check whether the physical volume 15Y is free. If it is not empty, the process ends.

■ 物理ボリューム15Yが空いていれば、ジャーナル
14Yにおける先頭の空きエントリに。
■ If physical volume 15Y is free, it becomes the first free entry in journal 14Y.

更新実行中情報を設定する。Set update information.

■ 物理ボリューム15Yに対し、更新のための110
命令を発行し、処理を終了する。
■ 110 for update for physical volume 15Y
Issue the command and end the process.

物理ボリューム15XからのI10終了割込みがあった
とすると9次の処理■〜0を実行する。
If there is an I10 end interrupt from the physical volume 15X, the ninth process ① to 0 is executed.

■ 相手側である物理ボリューム15Yの更新が完了し
ているかどうかを調べる。完了していなければ、処理■
へ移る。
■ Check whether the update of the physical volume 15Y on the other side has been completed. If not completed, process
Move to.

■ 相手側の更新が完了していれば、ジャーナル14X
、14Yの対応するエントリを空きにする。
■ If the update on the other side is completed, journal 14X
, 14Y are made empty.

■ 物理ボリューム15Xに待ち要求があるかどうかを
調べる。ない場合1次の処理[相]、処理■をジャンプ
する。
■ Check whether there is a waiting request for physical volume 15X. If not, jump to the primary process [phase] and process ■.

■ ジャーナル14Xにおける先頭の空きエントリに、
更新実行中情報を設定する。
■ In the first free entry in journal 14X,
Set update information.

■ 物理ボリューム15Xに対し、更新のためのI10
命令を発行する。
■ I10 for updating physical volume 15X
Issue orders.

■ 更新要求元への通知など、その他の終了処理を実行
する。
■ Perform other termination processing, such as notifying the update requester.

物理ボリューム15Y側からI10終了割込みがあった
場合にも、同様な処理を実行する。
Similar processing is executed when there is an I10 end interrupt from the physical volume 15Y side.

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

以上説明したように1本発明によれば、二重化ボリュー
ムの更新要求に対する排他のためのオーバへ・ノドを削
減し、物理ボリュームに対する要求のレスポンスを向上
させることができる。また。
As described above, according to the present invention, it is possible to reduce the number of overloads for exclusive use with respect to update requests for duplexed volumes, and improve the response to requests for physical volumes. Also.

ジャーナルのサイズを、デバイスの種類によらずに決め
ることができる。
Journal size can be determined regardless of device type.

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

第1図は本発明の原理説明図。 第2図は本発明の一実施例に係るジャーナルの構成例。 第3図は本発明の一実施例によるジャーナルの使用例。 第4図は二重化ボリュームに対する要求イヘントの管理
説明図。 第5図は本発明の一実施例処理説明図5第6図は従来方
式の例。 第7図は従来方式の処理フローを示す。 図中、10は処理装置、11はI10発行処理部、12
はジャーナル設定処理部、13は更新終了処理部、14
X、14Yはジャーナル、15X。 15Yは物理ボリュームを表す。
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 shows an example of the structure of a journal according to an embodiment of the present invention. FIG. 3 is an example of the use of a journal according to an embodiment of the present invention. FIG. 4 is an explanatory diagram of management of request events for a duplex volume. FIG. 5 is an explanatory diagram of processing in an embodiment of the present invention. FIG. 6 is an example of a conventional method. FIG. 7 shows the processing flow of the conventional method. In the figure, 10 is a processing device, 11 is an I10 issue processing unit, 12
13 is a journal setting processing section, 13 is an update termination processing section, and 14 is a journal setting processing section.
X, 14Y are journals, 15X. 15Y represents a physical volume.

Claims (1)

【特許請求の範囲】 二重化ボリュームの各ボリューム対応に、更新要求実行
中情報を管理するジャーナルを備え、システム障害時に
おける二重化ボリュームの等価性を、ジャーナルによっ
て保証する処理システムにおける二重化ボリュームの等
価性保証処理方式において、 各ボリュームにおける更新実行中情報について、更新中
の開始ブロック位置情報とそこから連続する更新ブロッ
クの個数情報とが格納される構造のエントリを持つジャ
ーナル(14X、14Y)と、二重化ボリュームの更新
要求を実行する際に、その更新実行中情報を前記ジャー
ナルの最新エントリに設定するジャーナル設定処理手段
(12)と、二重化ボリュームを構成する両物理ボリュ
ームに対する更新が完了した時点で、その要求に対応す
る各ジャーナルのエントリを空きにする更新終了処理手
段(13)とを備え、 一方の物理ボリュームにおける更新が完了した場合に、
次の要求があれば、他方の物理ボリュームにおける更新
が完了するのを待つことなく、次の要求を実行するよう
にしたことを特徴とする二重化ボリュームの等価性保証
処理方式。
[Scope of Claims] A processing system for guaranteeing the equivalence of duplexed volumes in a processing system that includes a journal for managing information during update request execution for each volume of the duplexed volume, and guarantees equivalence of the duplexed volumes by the journal in the event of a system failure. In the processing method, regarding update execution information in each volume, there is a journal (14X, 14Y) having an entry structure in which information on the starting block position being updated and information on the number of consecutive updated blocks from there are stored, and a duplex volume. a journal setting processing means (12) that sets the update execution information to the latest entry of the journal when executing an update request; update completion processing means (13) for emptying entries in each journal corresponding to the physical volume;
A dual volume equivalence guarantee processing method characterized in that if there is a next request, the next request is executed without waiting for the update in the other physical volume to be completed.
JP63095097A 1988-04-18 1988-04-18 Synchronization assurance processing method for duplicated volumes Expired - Lifetime JP2664197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63095097A JP2664197B2 (en) 1988-04-18 1988-04-18 Synchronization assurance processing method for duplicated volumes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63095097A JP2664197B2 (en) 1988-04-18 1988-04-18 Synchronization assurance processing method for duplicated volumes

Publications (2)

Publication Number Publication Date
JPH01266640A true JPH01266640A (en) 1989-10-24
JP2664197B2 JP2664197B2 (en) 1997-10-15

Family

ID=14128385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63095097A Expired - Lifetime JP2664197B2 (en) 1988-04-18 1988-04-18 Synchronization assurance processing method for duplicated volumes

Country Status (1)

Country Link
JP (1) JP2664197B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319637A (en) * 1994-05-26 1995-12-08 Mitsubishi Electric Corp Controller and control method for disk device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319637A (en) * 1994-05-26 1995-12-08 Mitsubishi Electric Corp Controller and control method for disk device

Also Published As

Publication number Publication date
JP2664197B2 (en) 1997-10-15

Similar Documents

Publication Publication Date Title
US6006247A (en) Method and system for scheduling threads and handling exceptions within a multiprocessor data processing system
KR0137406B1 (en) Fault tolerant computer system
US20090271796A1 (en) Information processing system and task execution control method
US20110107344A1 (en) Multi-core apparatus and load balancing method thereof
JP2000330806A (en) Computer system
JP2007108981A (en) Data exchange method between storage device and volume
KR20010070469A (en) Device and method for performing high-speed low overhead context switch
JP2001256062A (en) Interruption processing method and operation processor using the same
US6675238B1 (en) Each of a plurality of descriptors having a completion indicator and being stored in a cache memory of an input/output processor
JPH01266640A (en) Equivalent property guarantee processing system for duplex volume
JPH0519179B2 (en)
JP2005071141A (en) Method and device for managing stack and stack management program
JP3163196B2 (en) Instruction interruption information storage control method in virtual storage control
JPH0452942A (en) File transfer system
JPS603229B2 (en) Information processing method
JPH07114517A (en) Program execution control system of multiprocessor system
JPS6327936A (en) File management method
JPH04314141A (en) Method and mechanism for controlling multi-task
JPH03196222A (en) Program replacing system
JPH02133845A (en) Duplex auxiliary storage device
JPH0486923A (en) Task management controlling system
JPH02234268A (en) Vector instruction processing system
JPH03282756A (en) Asynchronous input/output system
JPH10240556A (en) Loossely coupled computer system with common memory
JPH03182945A (en) Transfer system for data in main storage

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term