JP2000047891A - Device and method for controlling input/output for computer system and storage medium storing the programmed method - Google Patents

Device and method for controlling input/output for computer system and storage medium storing the programmed method

Info

Publication number
JP2000047891A
JP2000047891A JP11048453A JP4845399A JP2000047891A JP 2000047891 A JP2000047891 A JP 2000047891A JP 11048453 A JP11048453 A JP 11048453A JP 4845399 A JP4845399 A JP 4845399A JP 2000047891 A JP2000047891 A JP 2000047891A
Authority
JP
Japan
Prior art keywords
block
logical block
physical
checkpoint
storage device
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.)
Pending
Application number
JP11048453A
Other languages
Japanese (ja)
Inventor
Kuniyasu Shimizu
邦保 清水
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11048453A priority Critical patent/JP2000047891A/en
Publication of JP2000047891A publication Critical patent/JP2000047891A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily realize the capacity efficiency improvement of a secondary storage device. SOLUTION: This device is provided with an address conversion map 111 assigning at least one logical lock to the logic block of a disk device 12 and assigning a pointer to a physical block with a logic block image at the time point of the newest checking point and a pointer to a physical block with a newest block image to each block, and an ineffective block managing module 113 managing a physical block without effective data on the disk device. Then, in a check point processing, the physical block with the newest logic block image in each logic block on the conversion map is set to be a physical block with a check point image with respect to the logical block and a newest image, and the physical block with the logic block image at the time point of a checking point in each logic block on the conversion map at the time of recovery is set to be a physical block with a check point image with respect to the logic block and the newest image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は計算機システムにお
ける入出力制御方式、特に高信頼計算機システムに用い
て好適な入出力制御装置、及び同システムにおける入出
力制御方法並びに同方法がプログラムされ記憶された計
算機読取り可能な記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control method in a computer system, particularly an input / output control apparatus suitable for use in a highly reliable computer system, an input / output control method in the system, and a method in which the method is programmed and stored. The present invention relates to a computer-readable storage medium.

【0002】[0002]

【従来の技術】高信頼性計算機システムでは、定期的に
チェックポイントを採取しながら処理を進め、システム
に障害が発生した場合には、直前に採取したチェックポ
イント時点にシステムの状態を戻し(ロールバック)、
処理を再実行することによって、システムの一時故障を
回避するようなチェックポイント・ロールバック機構を
持つものが考えられていた。このチェックポイント・ロ
ールバック機構を内蔵し、かつ、二次記憶装置との間で
データの格納、読み出しを行うような計算機システムに
おいては、障害発生によるロールバックの後でも、主記
憶やプロセッサ等の状態とディスク装置の内容等入出力
装置との整合性を保証する必要がある。
2. Description of the Related Art In a high-reliability computer system, processing is performed while periodically collecting checkpoints, and when a failure occurs in the system, the state of the system is returned to the immediately preceding checkpoint (roll). back),
A device having a checkpoint / rollback mechanism that avoids a temporary failure of the system by re-executing the process has been considered. In a computer system that incorporates this checkpoint / rollback mechanism and stores and reads data to and from a secondary storage device, even after a rollback due to a failure, the main storage and the processor, etc. It is necessary to ensure consistency between the state and the input / output device such as the contents of the disk device.

【0003】このため、通常チェックポイント・ロール
バック方式においては、オペレーティングシステム(O
S)等によって要求された入出力リクエストは、次回の
チェックポイントによって発行が確定した後にディスク
装置に対して発行するものであった。
For this reason, in the normal checkpoint / rollback method, the operating system (O
The input / output request requested by S) is issued to the disk device after the issuance is determined by the next checkpoint.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上述した
入出力制御方法においては、少なくとも入出力装置の状
態を変更する(書き込む)ような要求に関しては、次回
のチェックポイント採取処理以降に発行を遅延すること
になっていた。更に、次回のチェックポイント処理時以
降にチェックポイント時点まで遅延した要求をまとめて
発行するため、チェックポイント・ロールバック方式に
よって高信頼化をはかる計算機システムの性能を劣化す
る一つの原因となっていた。
However, in the input / output control method described above, issuance of at least a request to change (write) the state of the input / output device is delayed after the next checkpoint collection process. Had become. Furthermore, since requests delayed until the time of the checkpoint are issued collectively after the next checkpoint processing, this is one cause of deteriorating the performance of the computer system that achieves high reliability by the checkpoint rollback method. .

【0005】これを解消するために、二次記憶装置上で
一つの論理ブロックに対して必ず二つの物理ブロックを
割り当てることにより、最新チェックポイント時点の論
理ブロックのイメージを残したまま、もう一つの物理ブ
ロックに新たに発生した書き込み処理を行なう方式が考
えられていた。この方式によれば、チェックポイントを
待たずに二次記憶装置に対するライト処理を行なうこと
ができる。しかしながら、この場合、実際の物理ディス
ク容量の50%のデータ領域が有効なディスク容量とし
て使用できないため、物理ディスクの容量効率が悪いと
いった問題があった。
In order to solve this problem, two physical blocks are always assigned to one logical block on the secondary storage device. A method of performing a write process newly generated in a physical block has been considered. According to this method, the write processing to the secondary storage device can be performed without waiting for the checkpoint. However, in this case, a data area of 50% of the actual physical disk capacity cannot be used as an effective disk capacity, and there is a problem that the capacity efficiency of the physical disk is poor.

【0006】一方、二次記憶装置に対して書き込み要求
が発生した際には、二次記憶装置に書き込むデータを一
旦不揮発性メモリ上に置き、次回のチェックポイントを
経た後にこの不揮発性メモリ上のデータを二次記憶装置
に書き込み、同じくチェックポイントを待たずに二次記
憶装置に対するライト処理を行なう方法が特願平7−1
51737号で提案されている。しかしながら、このこ
とを実現するためには、不揮発性メモリを含めその周辺
部分に特別なハードウェアが必要であるため、実現が容
易ではないといった問題があった。
On the other hand, when a write request is issued to the secondary storage device, data to be written to the secondary storage device is temporarily stored in a non-volatile memory, and after the next checkpoint, the data in the non-volatile memory is rewritten. A method of writing data to a secondary storage device and performing a write process to the secondary storage device without waiting for a checkpoint is also disclosed in Japanese Patent Application No. 7-1 701.
No. 51737. However, in order to realize this, there is a problem that it is not easy to realize because special hardware is required in the peripheral part including the nonvolatile memory.

【0007】そこで本発明は上記事情を考慮してなされ
たものであり、実現が容易で性能劣化が小さく、かつ二
次記憶装置の容量効率を改善することのできる上述不具
合を解消した計算機システムにおける入出力制御装置、
及び同システムにおける入出力制御方法並びに同方法が
プログラムされ記録されたコンピュータ読取り可能な記
憶媒体を提供することを目的としている。
Accordingly, the present invention has been made in view of the above circumstances, and has been made in a computer system which is easy to realize, has small performance degradation, and can improve the capacity efficiency of a secondary storage device and which solves the above-mentioned problems. I / O control unit,
It is another object of the present invention to provide an input / output control method in the system and a computer-readable storage medium on which the method is programmed and recorded.

【0008】[0008]

【課題を解決するための手段】本発明の計算機システム
における入出力制御方式は、定期的にチェックポイント
を採取しながら処理を進め、システムに障害が発生した
場合には直前に採取したチェックポイント時点にシステ
ムの状態を戻し、処理を再実行するチェックポイント・
ロールバック機構を持つと共に、二次記憶装置との間で
データの書き込みおよび読み出しを行なう入出カモジュ
ールをもつ計算機システムにおいて、上記二次紀億装置
を構成するそれぞれの論理ブロックに対して少なくとも
一つの物理ブロックを割り当て、各論理ブロックに対し
て、最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックヘのポインタを割り当てる
アドレス変換マップと、二次記憶装置上で有効なデータ
を持たない物理ブロックを管理する無効ブロック管理モ
ジュールを有し、入出力モジュールがこ次記憶装置への
書き込み要求を受け付けたときには、その論理ブロック
に対して最新チェックポイントイメージとは異なる物理
ブロックに対してデータを書き込み、この物理ブロック
を最新の論理ブロックイメージとして上記アドレス変換
マップに登録し、入出カモジュールが二次記憶装置に対
する読み出し要求を受け付けたときには、その論理ブロ
ックに対する最新の論理ブロックイメージを持つ物理ブ
ロックからデータを読み出し、チェックポイント処理で
は、上記アドレス変換マップ上の各論理ブロックに対し
て、最新の論理ブロックイメージを持つ物理ブロックを
この論理ブロックに対するチェックポイントイメージか
つ最新のイメージを持つ物理ブロックとし、リカバリ時
には、上記アドレス変換マップ上の各論理ブロックに対
して、チェックポイント時点の論理ブロックイメージを
持つ物理ブロックをこの論理ブロックに対するチェック
ポイントイメージかつ最新のイメージをもつ物理ブロッ
クとすることを特徴とする。
According to an input / output control method in a computer system of the present invention, a process is performed while periodically collecting checkpoints. Checkpoints that return the system status to
In a computer system having a rollback mechanism and an input / output module for writing and reading data to and from a secondary storage device, at least one logical block constituting the secondary storage device is provided. An address translation map for allocating physical blocks and assigning a pointer to a physical block having a logical block image at the latest checkpoint, a pointer to a physical block having a latest logical block image to each logical block, and a secondary storage device When the I / O module receives a write request to the next storage device, the latest checkpoint image is assigned to the logical block when the I / O module receives a write request to the next storage device. For different physical blocks Data, and registers this physical block as the latest logical block image in the address conversion map. When the input / output module receives a read request for the secondary storage device, it has the latest logical block image for that logical block. Data is read from the physical block, and in the checkpoint processing, for each logical block on the address translation map, the physical block having the latest logical block image is replaced with the physical block having the checkpoint image and the latest image for this logical block. At the time of recovery, for each logical block on the address translation map, the physical block having the logical block image at the checkpoint is replaced with the checkpoint image for this logical block and the latest image. Characterized in that the physical block with.

【0009】また、アドレス変換マップには、更にそれ
ぞれの論理ブロックに最後に書き込みを行った時刻を記
録し、上記入出力モジュールが二次記憶装置への書き込
み要求を受け付けたときには、その論理ブロックに対し
て最新チェックポイントイメージとは異なる物理ブロッ
クに対してデータを書き込み、この物理ブロックを最新
の論理ブロックイメージとして登録すると共にこの物理
ブロックに書き込み処理を行なった時刻をアドレス変換
マップに登録し、入出力モジュールが二次記憶装置から
の読み出し要求を受け付けたときには、その論理ブロッ
クに対する最新の論理ブロックイメージを持つ物理ブロ
ックからデータを読み出し、チェックポイント処理で
は、現在の時刻をチェックポイントタイムスタンプとし
て保存し、リカバリ時には、アドレス変換マップ上の各
論理ブロックに対して、チェックポイントタイムスタン
プよりも新しいタイムスタンプを持つ最新の物理ブロッ
クへのポインタが登録されている場合は最新の物理ブロ
ックを無効ブロック管理モジュールに渡して解放し、チ
ェックポイント時点の物理ブロックへのポインタを最新
の物理ブロックへのポインタとしてアドレス変換マップ
に登録することも特徴とする。
The address conversion map further records the time of the last write to each logical block, and when the input / output module receives a write request to the secondary storage device, the logical block is written to the logical block. On the other hand, data is written to a physical block different from the latest checkpoint image, this physical block is registered as the latest logical block image, and the time at which the write processing was performed on this physical block is registered in the address translation map. When the output module receives a read request from the secondary storage device, data is read from the physical block having the latest logical block image for the logical block, and the current time is stored as a checkpoint time stamp in the checkpoint processing. ,recovery If a pointer to the latest physical block with a time stamp newer than the checkpoint time stamp is registered for each logical block on the address translation map, the latest physical block is sent to the invalid block management module. It is also characterized in that it is passed and released, and the pointer to the physical block at the time of the checkpoint is registered in the address translation map as a pointer to the latest physical block.

【0010】更に、最新チェックポイント時点以降に書
き込み処理を行なった論理ブロックに関して、この論理
ブロックと、書き込み処理を行なう前にこの論理ブロッ
クに割り当てられていた物理ブロックの組を記録する差
分記録機構を有し、入出力モジュールが二次記憶装置へ
の書き込み要求を受け付けたときには、この時点のこの
論理ブロックと物理ブロックのアドレス変換マップ上の
マッピングを上記差分記録機構に記録し、上記無効ブロ
ック管理モジュールから新たに確保した物理ブロックを
この論理ブロックに対する物理ブロックとしてアドレス
変換マップに登録し、この物理ブロックに対して書き込
み処理を行い、チェックポイント処理では、上記差分記
録機構に記録した全ての物理ブロックを無効ブロック管
理モジュールに解放し、上記差分記録機構に記録してあ
る全ての論理ブロックと物理ブロックの組の登録を抹消
し、リカバリ時には、上記差分記録機構に記録してある
全ての論理ブロックについて、アドレス変換マップでそ
の論理ブロックにマップされている物理ブロックを無効
ブロック管理モジュールに渡して解放し、アドレス変換
マップに対して、上記差分記録機構に登録してある論理
ブロックと物理ブロックの組を書き戻すことで最新チェ
ックポイント時点のアドレス変換マップを復元すること
も特徴とする。
Further, for a logical block that has been subjected to a write process after the latest checkpoint, a difference recording mechanism for recording a set of the logical block and a physical block assigned to the logical block before the write process is performed is provided. When the input / output module receives a write request to the secondary storage device, the mapping of the logical block and the physical block on the address translation map at this time is recorded in the difference recording mechanism, and the invalid block management module The newly allocated physical block is registered in the address conversion map as a physical block for this logical block, a write process is performed on this physical block, and in the checkpoint process, all the physical blocks recorded in the difference recording mechanism are checked. Solution to invalid block management module Then, the registration of all pairs of logical blocks and physical blocks recorded in the above-mentioned difference recording mechanism is deleted, and at the time of recovery, all the logical blocks recorded in the above-mentioned difference recording mechanism are subjected to the logical conversion in the address conversion map. Pass the physical block mapped to the block to the invalid block management module to release it, and write back the set of the logical block and the physical block registered in the difference recording mechanism to the address translation map, so that the latest checkpoint is obtained. It is also characterized by restoring the address conversion map at the time.

【0011】また、入出力モジュールが二次記憶装置へ
の書き込み要求を受け付けたときに、もし指定された論
理ブロックが差分記録機構に登録されていなければこの
時点のこの論理ブロックと物理ブロックのアドレス変換
マップ上のマッピングを差分記録機構に記録し、無効ブ
ロック管理モジュールから新たに確保した物理ブロック
をこの論理ブロックに対する物理ブロックとしてアドレ
ス変換マップに登録した後、この物理ブロックに対して
書き込み処理を行い、もし指定きれた論理ブロックが差
分記録機構に登録されていればアドレス変換マップでこ
の論理ブロックにマップされている物理ブロックにデー
タを書き込み、チェックポイント処理では、上記差分記
録機構に記録した全ての物理プロックを上記無効ブロッ
ク管理モジュールに解放し、差分記録機構に記録してあ
る全ての論理ブロックと物理ブロックの組の登録を抹消
し、リカバリ時には、上記差分記録機構に記録してある
全ての論理ブロックについて、アドレス変換マップでそ
の論理ブロックにマップされている物理ブロックを無効
ブロック管理モジュールに渡して解放し、アドレス変換
マップに対して、差分記録機構に登録してある論理ブロ
ックと物理ブロックの組を書き戻すことで最新チェック
ポイント時点のアドレス変換マップの内容を復元するこ
とも特徴とする。
When the input / output module receives a write request to the secondary storage device, if the specified logical block is not registered in the differential recording mechanism, the addresses of the logical block and the physical block at this time are After recording the mapping on the translation map in the difference recording mechanism, registering the newly secured physical block from the invalid block management module as a physical block for this logical block in the address translation map, and performing a write process on this physical block If the specified logical block is registered in the difference recording mechanism, data is written to the physical block mapped to this logical block in the address conversion map, and in the checkpoint processing, all data recorded in the difference recording mechanism are written. The physical block is converted to the invalid block management module. Release, delete the registration of all the pairs of logical blocks and physical blocks recorded in the differential recording mechanism, and at the time of recovery, for all the logical blocks recorded in the differential recording mechanism, Pass the physical block mapped to the block to the invalid block management module to release it, and write back the set of logical block and physical block registered in the difference recording mechanism to the address translation map, so that the latest checkpoint It is also characterized by restoring the contents of the address conversion map.

【0012】上記構成によれば、チェックポイント・ロ
ールバック方式の計算機システムで、チェックポイント
を待たずに二次記憶装置への入出力を発行することがで
きるため、システムのパフォーマンスが向上する。更
に、二次記憶装置上で冗長な物理ブロックの数も減少で
きるため、二次記憶装置の容量効率も改善できる。
According to the above configuration, in a checkpoint / rollback computer system, input / output to / from the secondary storage device can be issued without waiting for a checkpoint, thereby improving the performance of the system. Furthermore, since the number of redundant physical blocks on the secondary storage device can be reduced, the capacity efficiency of the secondary storage device can be improved.

【0013】[0013]

【発明の実施の形態】以下に本発明の実施形態を図面を
参照して説明する。 (第1実施形態)図1は本発明の第1実施形態に係わる
高信頼性計算機システムの概略構成を示すブロック図で
ある。図中、11は計算機本体であり、本発明と関係す
るところでは、アドレス変換マップ111と、ディスク
入出力モジュール(ディスクI/Oモジュール)112
と、無効ブロック管理モジュール113がメモリに割り
付けられ格納される。12は二次記憶装置となる大容量
のディスク装置、13は不揮発性メモリ(NVRAM)
である。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing a schematic configuration of a high-reliability computer system according to a first embodiment of the present invention. In the figure, reference numeral 11 denotes a computer main body, which is related to the present invention.
Then, the invalid block management module 113 is allocated and stored in the memory. 12 is a large-capacity disk device serving as a secondary storage device, and 13 is a nonvolatile memory (NVRAM)
It is.

【0014】通常、ディスク入出カモジュール112
は、ファイルシステムからディスク入出力要求を受け取
り、ディスク装置12へ入出力要求を発行する。本実施
形態によれば、ディスク入出力モジュール112でディ
スク装置12のデータブロックの論理アドレスと物理ア
ドレスを管理する。
Usually, the disk input / output module 112
Receives a disk I / O request from the file system and issues an I / O request to the disk device 12. According to the present embodiment, the disk input / output module 112 manages the logical address and the physical address of the data block of the disk device 12.

【0015】アドレス変換マップ111の構造を図2に
示す。アドレス変換マップ111は、ディスク装置12
の全ての論理ブロックに対して有効と旧有効の二つの物
理ブロックアドレスのエントリを持つ。
FIG. 2 shows the structure of the address conversion map 111. The address conversion map 111 is stored in the disk device 12
Has an entry of two physical block addresses of valid and old valid for all logical blocks.

【0016】ここで、有効物理ブロックとは、この論理
ブロックの最新のディスクイメージを持つ物理ブロック
のことである。旧有効物理ブロックとは、この論理ブロ
ックの最新チェックポイント時点のディスクイメージを
持ち、かつ、最新チェックポイント時点以降に対応する
論理ブロックに対して書き込み処理が発生したために別
の物理ブロックがこの論理ブロックに対して有効物理ブ
ロックとして割り当てられているような物理ブロックの
ことである。
Here, the effective physical block is a physical block having the latest disk image of the logical block. The old valid physical block is the disk image at the latest checkpoint of this logical block, and another physical block is assigned to this logical block because a write process has occurred on the corresponding logical block after the latest checkpoint. Is a physical block that is allocated as an effective physical block to

【0017】全ての論理ブロックに対して一つの有効な
物理ブロックが存在し、アドレス変換マップ111の有
効物理ブロックアドレスエントリには、この物理ブロッ
クのアドレスを格納する。旧有効な物理ブロックが存在
する論理ブロックでは、旧有効物理アドレスエントリに
旧有効な物理ブロックのアドレスを格納する。旧有効な
物理ブロックが存在しない論理ブロックでは旧有効物理
ブロックエントリにはNULLを記録する。
One valid physical block exists for all logical blocks, and the address of this physical block is stored in the valid physical block address entry of the address translation map 111. For a logical block having an old valid physical block, the address of the old valid physical block is stored in the old valid physical address entry. For a logical block in which an old valid physical block does not exist, NULL is recorded in the old valid physical block entry.

【0018】図3は、無効ブロック管理モジュール11
3の内部構造を示す。無効ブロック管理モジュール11
3は、物理ブロックのフリーリストを管理する。即ち、
ディスク装置12上の全ての物理ブロックのうち、どの
論理ブロックの有効物理ブロックでも旧有効物理ブロッ
クでもない物理ブロック(無効ブロックアドレスリスト
B、C、…他)を管理するモジュールである。
FIG. 3 shows an invalid block management module 11.
3 shows the internal structure. Invalid block management module 11
3 manages a free list of physical blocks. That is,
This module manages physical blocks (invalid block address lists B, C,..., Etc.) that are not valid physical blocks of any logical block or old valid physical blocks among all physical blocks on the disk device 12.

【0019】以下に、図4に示すディスク入出力モジュ
ール112が書き込み要求を受け取ったときの動作を示
すフローチャートを参照して本実施形態の動作について
説明する。
The operation of the present embodiment will be described below with reference to the flowchart shown in FIG. 4 showing the operation when the disk input / output module 112 receives a write request.

【0020】ディスク入出力モジュール112が書き込
み要求を受け取ったとき、ディスク入出力モジュール1
12は、ステップS41にてアドレス変換マップ111
を用いて、論理アドレスに対して旧有効アドレスが存在
するか否かチェックする。アドレス変換マップ111
で、指定された論理ブロックに対して旧有効な物理ブロ
ックアドレスが登録されている場合には(ステップS4
1のY)、現在有効な物理ブロックとして登録されてい
る物理ブロックに書き込み処理を行なう(ステップS4
2)。一方、アドレス変換マップ111で、指定された
論理ブロックに対して旧有効な論理ブロックがNULL
であった場合には(ステップS41のN)、指定された
論理ブロックに対して、現在有効な物理ブロックのアド
レスを旧有効な物理ブロックアドレスとして登録(ステ
ップS43)し、無効ブロック管理モジュール113か
ら新たに物理ブロックを確保して、この物理ブロックを
指定された論理ブロックの有効物理ブロックとしてアド
レス変換マップ111に登録する(ステップS44)。
そして、この物理ブロックに対して書き込み処理(ステ
ップS42)を行なう。
When the disk input / output module 112 receives a write request, the disk input / output module 1
12 is the address conversion map 111 in step S41.
Is used to check whether an old valid address exists for the logical address. Address conversion map 111
If the old valid physical block address is registered for the specified logical block (step S4
1; Y), write processing is performed on a physical block registered as a currently valid physical block (step S4)
2). On the other hand, in the address conversion map 111, the old valid logical block is NULL for the specified logical block.
(N in step S41), the address of the currently valid physical block is registered as the old valid physical block address for the specified logical block (step S43), and the invalid block management module 113 A new physical block is secured, and this physical block is registered in the address translation map 111 as an effective physical block of the specified logical block (step S44).
Then, a write process (step S42) is performed on this physical block.

【0021】ところで、チェックポイント処理では、ア
ドレス変換マップ111に登録されている全ての旧有効
物理ブロックを無効ブロック管理モジュール113に渡
すことにより解放し、全ての旧有効物理ブロックエント
リの値をNULLにする。また、リカバリ処理では、ア
ドレス変換マップ111において、旧有効物理アドレス
エントリの値がNULLでない全ての論理ブロックに対
して、有効な物理ブロックを無効ブロック管理モジュー
ル113に渡すことで解放し、旧有効物理ブロックアド
レスエントリの値を有効物理ブロックアドレスエントリ
に移動し、旧有効物理ブロックアドレスエントリの値は
NULLとする。更に、システムシャトダウン時には、
アドレス変換マップ111を不揮発性メモリ(NVRA
M)13に保存することにより、次回のブート時にはア
ドレス変換マップ111をシャトダウン完了時点の状態
に復元するものである。 (第2実施形態)図5は本発明の第2実施形態に係わる
高信頼性計算機システムの概略構成を示すブロック図で
ある。図中、21は計算機本体であり、本実施形態と関
係するところでは、アドレス変換マップ211と、ディ
スク入出力モジュール212(ディスクI/Oモジュー
ル)と、無効ブロック管理モジュール213、タイムス
タンプ機能を有すタイムスタンプ214がメモリに割り
付けられ格納される。22は二次記憶装置となる大容量
のディスク装置、23は不揮発性メモリ(NVRAM)
である。
In the checkpoint process, all the old valid physical blocks registered in the address translation map 111 are released by passing them to the invalid block management module 113, and the values of all old valid physical block entries are set to NULL. I do. In the recovery processing, in the address conversion map 111, the valid physical block is released by passing the valid physical block to the invalid block management module 113 with respect to all the logical blocks in which the value of the old valid physical address entry is not NULL. The value of the block address entry is moved to the valid physical block address entry, and the value of the old valid physical block address entry is set to NULL. Furthermore, at the time of system shutdown,
The address conversion map 111 is stored in a nonvolatile memory (NVRA).
M) 13, the address conversion map 111 is restored to the state at the time of the shutdown completion at the next boot. (Second Embodiment) FIG. 5 is a block diagram showing a schematic configuration of a highly reliable computer system according to a second embodiment of the present invention. In the figure, reference numeral 21 denotes a computer main body, which has an address conversion map 211, a disk input / output module 212 (disk I / O module), an invalid block management module 213, and a time stamp function in relation to the present embodiment. A time stamp 214 is allocated and stored in the memory. 22 is a large-capacity disk device serving as a secondary storage device, and 23 is a nonvolatile memory (NVRAM)
It is.

【0022】ここで示す実施形態では、ディスク入出力
モジュール212にて、ディスク装置22のデータブロ
ックの論理アドレスと物理アドレス、および物理ブロッ
クに書き込み処理を行なった時刻を管理する。
In the embodiment shown here, the disk input / output module 212 manages the logical address and physical address of the data block of the disk device 22, and the time at which the write processing was performed on the physical block.

【0023】図6は、本実施形態のディスク入出カモジ
ュール212で用いるアドレス変換マップ211の例を
示す図である。アドレス変換マップ211では、ディス
ク装置22の全ての論理ブロックに対して有効と旧有効
の二つの物理ブロックアドレスのエントリを持ち、更
に、NULLでない物理ブロックアドレスエントリには
その物理ブロックに最後に書き込み処理を行なった時刻
を示すタイムスタンプ215を持つ。
FIG. 6 is a diagram showing an example of the address conversion map 211 used in the disk input / output module 212 of this embodiment. The address translation map 211 has entries of two physical block addresses, valid and old valid, for all the logical blocks of the disk device 22, and further writes the physical block address entry which is not NULL to the physical block at the end. Has a time stamp 215 indicating the time at which the operation was performed.

【0024】ここで、有効物理ブロックとは、この論理
ブロックの最新のディスクイメージをもつ物理ブロック
のことである。旧有効物理ブロックとは、この論理ブロ
ックの最新チェックポイント時点のディスクイメージを
もち、かつ、最新チェックポイント時点以降に対応する
論理ブロックに対して書き込み処理が発生したために別
の物理ブロックがこの論理ブロックに対して有効物理ブ
ロックとして割り当てられているような物理ブロックの
ことである。
Here, the effective physical block is a physical block having the latest disk image of the logical block. The old valid physical block is a logical block that has a disk image at the latest checkpoint of this logical block and another physical block has been written to the corresponding logical block since the latest checkpoint. Is a physical block that is allocated as an effective physical block to

【0025】全ての論理ブロックに対して一つの有効な
物理ブロックが存在し、アドレス変換マップ211の有
効物理ブロックアドレスエントリにはこの物理ブロック
のアドレスを格納する。旧有効な物理ブロックが存在す
る論理ブロックでは、旧有効物理アドレスエントリに旧
有効な物理ブロックのアドレスを格納する。旧有効な物
理ブロックが存在しない論理ブロックでは旧有効物理ブ
ロックエントリにはNULLを記録する。
One valid physical block exists for all logical blocks, and the address of this physical block is stored in the valid physical block address entry of the address conversion map 211. For a logical block having an old valid physical block, the address of the old valid physical block is stored in the old valid physical address entry. For a logical block in which an old valid physical block does not exist, NULL is recorded in the old valid physical block entry.

【0026】図7に無効ブロック管理モジュール213
の構造を示す。無効ブロック管理モジュール213は、
図1に示す無効ブロック管理モジュール113同様、物
理ブロックのフリーリストを管理する。つまり、ディス
ク装置22上の全ての物理ブロックのうち、どの論理ブ
ロックの有効物理ブロックでも旧有効物理ブロックでも
ない物理ブロックを管理するモジュールである。ここで
は更に、無効ブロック管理モジュール213は定期的に
アドレス変換マップ211を走査し、有効物理ブロック
アドレスエントリのタイムスタンプ215が最新チェッ
クポイント時点のタイムスタンプ(チェックポイントタ
イムスタンプ)214よりも古い場合には、この有効物
理ブロックと同じ論理ブロックに割り当てられている旧
有効物理ブロックを解放し、この旧有効物理ブロックエ
ントリの値をNULLにする。
FIG. 7 shows an invalid block management module 213.
The structure of is shown. The invalid block management module 213 includes:
Like the invalid block management module 113 shown in FIG. 1, it manages a free list of physical blocks. In other words, the module manages physical blocks that are neither valid physical blocks of any logical block nor old valid physical blocks among all physical blocks on the disk device 22. Here, further, the invalid block management module 213 periodically scans the address conversion map 211, and when the time stamp 215 of the valid physical block address entry is older than the time stamp 214 at the latest check point (check point time stamp) 214. Releases the old valid physical block allocated to the same logical block as the valid physical block, and sets the value of the old valid physical block entry to NULL.

【0027】以下、図8に示すディスク入出カモジュー
ル212がライトリクエストを受け取ったときの動作の
フローチャートを参照して、本実施形態の動作について
説明する。
The operation of this embodiment will be described below with reference to the flowchart of the operation when the disk input / output module 212 shown in FIG. 8 receives a write request.

【0028】ディスク入出力モジュール212が書き込
み要求を受け取ったときに、ディスク入出カモジュール
212は、まず、有効ブロックのタイムスタンプが最新
チェックポイントのタイムスタンプ214より古いか否
かをチェックする(ステップS81)。アドレス変換マ
ップ211で、指定された論理ブロックに対して有効な
物理ブロックのタイムスタンプ215がチェックポイン
トタイムスタンプ214よりも古くない場合には(ステ
ップS81のN)、ステップS82の処理に移り、現在
有効な物理ブロックとして登録されている物理ブロック
に書き込み処理を行なう。アドレス変換マップ211
で、指定された論理ブロックに対して有効な物理ブロッ
クのタイムスタンプ215がチェックポイントタイムス
タンプ214よりも古い場合には(S81のY)、更に
ステップS83において旧有効アドレスが存在するか否
かをチェックする。指定された論理ブロックの旧有効物
理ブロックアドレスがNULLでなければ(ステップS
83のY)、この旧有効物理ブロックを無効ブロック管
理モジュール213に渡すことで解放し(ステップS8
5)、指定された論理ブロックに対して、現在有効な物
理ブロックのアドレスを旧有効な物理ブロックアドレス
として登録し(ステップS84)、無効ブロック管理モ
ジュール213から新たに物理ブロックを確保して、こ
の物理ブロックを指定された論理ブロックの有効物理ブ
ロックとしてアドレス変換マップ211に登録する(ス
テップS86)。そして、この物理ブロックに対して書
き込み処理を行なう(ステップS82)。
When the disk input / output module 212 receives a write request, the disk input / output module 212 first checks whether or not the valid block time stamp is older than the latest check point time stamp 214 (step S81). ). If the time stamp 215 of the physical block valid for the specified logical block is not older than the checkpoint time stamp 214 in the address conversion map 211 (N in step S81), the process proceeds to step S82, and the process proceeds to step S82. A write process is performed on a physical block registered as a valid physical block. Address conversion map 211
If the time stamp 215 of the physical block valid for the specified logical block is older than the checkpoint time stamp 214 (Y in S81), it is further determined in step S83 whether an old valid address exists. To check. If the old valid physical block address of the specified logical block is not NULL (step S
83, the old valid physical block is released by passing it to the invalid block management module 213 (step S8).
5) With respect to the specified logical block, the address of the currently valid physical block is registered as the old valid physical block address (step S84), and a new physical block is secured from the invalid block management module 213. The physical block is registered in the address conversion map 211 as a valid physical block of the specified logical block (step S86). Then, a write process is performed on this physical block (step S82).

【0029】ところで、チェックポイント処理では、最
新チェックポイントの時刻をチェックポイントタイムス
タンプ214として登録する。リカバリ処理では、アド
レス変換マップ211上の全ての論理ブロックに対し
て、もし、その論理ブロックに対応する有効物理ブロッ
クのタイムスタンプ215がチェックポイントタイムス
タンプ214よりも新しい場合は、有効物理ブロックを
無効ブロック管理モジュール213に渡すことで解放
し、旧有効物理ブロックアドレスエントリの値を有効物
理ブロックアドレスに移動し、旧有効物理ブロックアド
レスエントリの値をNULLにする。システムシャトダ
ウン時には、アドレス変換マップ211を不揮発性メモ
リ(NVRAM)23に保存することにより、次回のブ
ート時にはアドレス変換マップ211をシャトダウン完
了時点の状態に復元するものである。 (第3実施形態)図9は本発明の第3実施形態に係わる
高信頼性計算機システムの概略構成を示すブロック図で
ある。図中、31は計算機本体であり、本実施形態と関
係するところでは、アドレス変換マップ311と、ディ
スク入出力モジュール(ディスクI/Oモジュール)3
12と無効ブロック管理モジュール313、差分記録機
構315がメモリに割り付けられ格納される。32は二
次記憶装置となる大容量のディスク装置、33は不揮発
性メモリ(NVRAM)である。
In the checkpoint process, the time of the latest checkpoint is registered as a checkpoint time stamp 214. In the recovery process, for all logical blocks on the address translation map 211, if the time stamp 215 of the valid physical block corresponding to the logical block is newer than the checkpoint time stamp 214, the valid physical block is invalidated. The value is released by passing it to the block management module 213, the value of the old valid physical block address entry is moved to the valid physical block address, and the value of the old valid physical block address entry is set to NULL. At the time of system shutdown, the address conversion map 211 is stored in the nonvolatile memory (NVRAM) 23, so that the address conversion map 211 is restored to the state at the time of the shutdown completion at the next boot. (Third Embodiment) FIG. 9 is a block diagram showing a schematic configuration of a highly reliable computer system according to a third embodiment of the present invention. In the figure, reference numeral 31 denotes a computer main body, which is related to the present embodiment.
12, the invalid block management module 313, and the difference recording mechanism 315 are allocated and stored in the memory. Reference numeral 32 denotes a large-capacity disk device serving as a secondary storage device, and reference numeral 33 denotes a nonvolatile memory (NVRAM).

【0030】本実施形態では、最新チェックポイント以
降に新たに書き込み処理を行なった論理ブロックについ
て、チェックポイント時点の論理ブロックイメージをも
つ物理ブロックを、差分記録機構315によって管理す
るものである。
In the present embodiment, for a logical block newly written after the latest checkpoint, a physical block having a logical block image at the time of the checkpoint is managed by the difference recording mechanism 315.

【0031】図10に、ディスク入出力モジュール31
2で用いる差分記録機構315を示す。差分記録機構3
15は、最新チェックポイント以降に新たに書き込み処
理を行なったディスク装置32の論理ブロックに関し
て、論理ブロックアドレスとチェックポイント時点で割
り当てれられていた物理ブロックのアドレスの組を記録
する。
FIG. 10 shows the disk input / output module 31.
2 shows a difference recording mechanism 315 used in FIG. Difference recording mechanism 3
Reference numeral 15 records a set of a logical block address and an address of a physical block assigned at the time of the check point, with respect to the logical block of the disk device 32 which has newly performed write processing after the latest check point.

【0032】図11は、無効ブロック管理モジュール3
13の構造を示す図である。無効ブロック管理モジュー
ル313は、物理ブロックのフリーリストを管理する。
つまり、ディスク記憶装置32上の全ての物理ブロック
のうち、どの論理ブロックにも割り当てられていない物
理ブロックを管理するモジュールである。
FIG. 11 shows an invalid block management module 3
13 is a diagram illustrating a structure of a thirteenth embodiment. The invalid block management module 313 manages a free list of physical blocks.
In other words, the module manages physical blocks that are not allocated to any logical block among all physical blocks on the disk storage device 32.

【0033】以下、図12のディスク入出力モジュール
312が書き込み要求を受け取ったときの動作を示すフ
ローチャートを参照して本実施形態の動作について説明
する。
Hereinafter, the operation of this embodiment will be described with reference to a flowchart showing the operation when the disk input / output module 312 of FIG. 12 receives a write request.

【0034】まず、ディスク入出力モジュール312が
書き込み要求を受け取ったときに、ディスク入出力モジ
ュール312は、指定された論理ブロックに関して、現
在の論理ブロックと物理ブロックの組を差分記録機構3
15に登録し(ステップS121)、無効ブロック管理
モジュール313から新たに物理ブロックを確保し、こ
の物理ブロックを指定された論理ブロックに対するマッ
ピングとしてアドレス変換マップ311に登録する(ス
テップS122)。この後に、この物理ブロックに対し
て書き込み処理(ステップS123:アドレス変換マッ
プ311で指定した物理ブロックにデータライト)を行
なう。
First, when the disk input / output module 312 receives a write request, the disk input / output module 312 stores a set of a current logical block and a physical block with respect to a specified logical block.
15 (step S121), a new physical block is secured from the invalid block management module 313, and this physical block is registered in the address translation map 311 as a mapping for the specified logical block (step S122). Thereafter, write processing (step S123: data write to the physical block specified by the address conversion map 311) is performed on this physical block.

【0035】ところで、チェックポイント処理では、差
分記録機構315に登録されている全ての物理ブロック
を無効ブロック管理モジュール313に渡すことにより
解放し、差分記録機構315に登録されている全ての論
理ブロックアドレスと物理ブロックアドレスの組の登録
を抹消する。リカバリ処理では、差分記録機構315に
登録してある全ての論理ブロックに関して、アドレス変
換マップ311上でその論理ブロックにマッピングされ
ている物理ブロックを無効ブロック管理モジュール31
3に渡すことにより解放し、アドレス変換マップ311
に対して、差分記録機構315に登録している論理ブロ
ックと物理ブロックのマッピングを上書きすることによ
り、最新チェックポイント時点のアドレス変換マップ3
11を復元する。尚、アドレス変換マップ311、無効
ブロック管理モジュール313、差分記録機構315
を、ロールバックするメモリ上に構成した場合には、各
構造の状態はロールバックによって自動的にチェックポ
イント時点の状態を復元できるため、ここでのリカバリ
処理は必要がなくなる。
In the checkpoint process, all physical blocks registered in the difference recording mechanism 315 are released by passing them to the invalid block management module 313, and all the logical block addresses registered in the difference recording mechanism 315 are released. And the registration of the set of the physical block address is deleted. In the recovery processing, for all the logical blocks registered in the difference recording mechanism 315, the physical blocks mapped to the logical blocks on the address translation map 311 are invalidated by the invalid block management module 31.
3 to be released by passing it to the address conversion map 311.
By overwriting the mapping between the logical block and the physical block registered in the difference recording mechanism 315, the address conversion map 3 at the latest checkpoint
11 is restored. Note that the address conversion map 311, the invalid block management module 313, and the difference recording mechanism 315
Is configured on a memory to be rolled back, the state of each structure can be automatically restored by rollback to the state at the time of the checkpoint, so that the recovery processing here is not necessary.

【0036】また、システムシャットダウン時には、一
対一のアドレス変換マップをもつ通常のシステムと同様
に、アドレス変換マップ311を不揮発性メモリ33に
保存することにより、次回のブート時にはアドレス変換
マップをシャトダウン完了時点の状態に復元する。 (第4実施形態)図13は本発明の第4実施形態に係わ
る高信頼性計算機システムの概略構成を示すブロック図
である。図中、41は計算機本体であり、本発明実施形
態と関係するところでは、アドレス変換マップ411
と、ディスク入出力モジュール(ディスクI/Oモジュ
ール)412と、無効ブロック管理モジュール413
と、差分記録機構415がメモリに割り付けられ格納さ
れる。42は二次記憶装置となる大容量のディスク装
置、43は不揮発性メモリ(NVRAM)である。
When the system is shut down, the address conversion map 311 is stored in the nonvolatile memory 33 in the same manner as in a normal system having a one-to-one address conversion map, so that the shutdown of the address conversion map is completed at the next boot. Restore to the point in time. (Fourth Embodiment) FIG. 13 is a block diagram showing a schematic configuration of a high-reliability computer system according to a fourth embodiment of the present invention. In the figure, reference numeral 41 denotes a computer main body, which is related to the embodiment of the present invention.
, A disk input / output module (disk I / O module) 412, and an invalid block management module 413
Then, the difference recording mechanism 415 is allocated and stored in the memory. Reference numeral 42 denotes a large-capacity disk device serving as a secondary storage device, and reference numeral 43 denotes a nonvolatile memory (NVRAM).

【0037】ここで示す実施形態では、最新チェックポ
イント以降に新たに書き込み処理を行なった論理ブロッ
クについて、チェックポイント時点の論理ブロックイメ
ージをもつ物理ブロックを、差分記録機構415によっ
て管理する。差分記録機構415は、最新チェックポイ
ント以降に新たに書き込み処理を行なったディスク装置
42の論理ブロックに関して、論理ブロックアドレスと
チェックポイント時点で割り当てれられていた物理ブロ
ックのアドレスの組を記録する(図14参照)。
In the embodiment shown here, a physical block having a logical block image at the time of the checkpoint is managed by the difference recording mechanism 415 for a logical block newly written after the latest checkpoint. The difference recording mechanism 415 records a set of the logical block address and the address of the physical block assigned at the time of the check point, for the logical block of the disk device 42 that has newly written after the latest check point (FIG. 14).

【0038】図15に無効ブロック管理モジュール41
3の構造を示す。無効ブロック管理モジュール413
は、物理ブロックのフリーリストを管理する。つまり、
ディスク装置42上の全ての物理ブロックのうち、どの
論理ブロックにも割り当てられていない物理ブロックを
管理するモジュールである。
FIG. 15 shows an invalid block management module 41.
3 shows the structure of No. 3. Invalid block management module 413
Manages a free list of physical blocks. That is,
This is a module that manages physical blocks that are not allocated to any logical block among all physical blocks on the disk device 42.

【0039】以下、図16のディスク入出力モジュール
412が書き込み要求を受け取ったときの動作を示すフ
ローチャートを参照して本実施形態の動作について説明
する。
Hereinafter, the operation of this embodiment will be described with reference to the flowchart of FIG. 16 showing the operation when the disk input / output module 412 receives a write request.

【0040】ディスク入出力モジュール412が書き込
み要求を受け取ったときに、ディスク入出力モジュール
412は、まず、その論理アドレスが差分記録機構41
5に存在するか否かをチェックする(ステップS16
1)。もし、指定された論理ブロックが差分記録機構4
15に登録されていなければ(S161のN)、指定さ
れた論理ブロックに関して、現在の論理ブロックと物理
ブロックの組を差分記録機構415に登録し(ステップ
S163)、無効ブロック管理モジュール413から新
たに物理ブロックを確保し、この物理ブロックを指定さ
れた論理ブロックに対するマッピングとしてアドレス変
換マップ411に登録する(ステップS164)。この
後に、この論理ブロックにマッピングされた物理ブロッ
クに対して書き込み処理を行なう(ステップS16
2)。一方、差分記録機構415に存在するときは(ス
テップS161のY)、ステップS162に移行してア
ドレス変換マップ411により指定された物理ブロック
に対して書き込み処理を行う。
When the disk input / output module 412 receives a write request, the disk input / output module 412 first stores the logical address in the difference recording mechanism 41.
5 is checked (step S16).
1). If the designated logical block is the difference recording mechanism 4
15 (N in S161), for the specified logical block, the current pair of the logical block and the physical block is registered in the difference recording mechanism 415 (step S163), and the invalid block management module 413 newly registers the set. A physical block is secured, and this physical block is registered in the address translation map 411 as a mapping for the specified logical block (step S164). Thereafter, write processing is performed on the physical block mapped to this logical block (step S16).
2). On the other hand, if it exists in the difference recording mechanism 415 (Y in step S161), the process proceeds to step S162 to perform a write process on the physical block specified by the address conversion map 411.

【0041】ところで、チェックポイント処理では、差
分記録機構415に登録されている全ての物理ブロック
を無効ブロック管理モジュール413に渡すことにより
解放し、差分記録機構415に登録されている全ての論
理ブロックアドレスと物理ブロックアドレスの組の登録
を抹消する。リカバリ処理では、差分記録機構415に
登録してある全ての論理ブロックに関して、アドレス変
換マップ411上でその論理ブロックにマップされてい
る物理ブロックを無効ブロック管理モジュール413に
渡すことにより解放し、アドレス変換マップ411に対
して、差分記録機構415に登録している論理ブロック
と物理ブロックのマッピングを上書きすることにより、
最新チェックポイント時点のアドレス変換マップ411
の内容を復元する。尚、図9に示す実施形態同様、アド
レス変換マップ411、無効ブロック管理モジュール4
13、差分記録機構415をロールバックするメモリ上
に構成した場合には、各構造の状態はロールバックによ
って自動的にチェックポイント時点の状態を復元できる
ため、リカバリ処理は必要なくなる。システムシャトダ
ウン時には、一対一のアドレス変換マップをもつ通常の
システムと同様に、アドレス変換マップ411を不揮発
性メモリ43に保存することにより、次回のブート時に
はアドレス変換マップ411をシャットダウン完了時点
の状態に復元する。このことにより、チェックポイント
・ロールバック方式の計算機システムで、二次記憶装置
に対する入出力を遅延なしで発行することにより、シス
テムのパフォーマンスが向上し、かつ、二次記憶装置の
容量効率も改善する。 (第5実施形態)図17は、本発明の第5実施形態に係
わる高信頼性計算機システムの概略構成を示すブロック
図である。図中、51は計算機本体であり、本発明実施
形態と関係するところでは、アドレス変換マップ511
と、ディスク入出力モジュール(ディスクI/Oモジュ
ール)512、無効ブロック管理モジュール513、ア
ドレス変換マップページング機構516がメモリに割り
付けられ格納される。52は二次記憶装置となる大容量
のディスク装置であり、アドレス変換マップ521を持
つ。53は不揮発性メモリ(NVRAM)である。
In the checkpoint process, all physical blocks registered in the difference recording mechanism 415 are released by passing them to the invalid block management module 413, and all logical block addresses registered in the difference recording mechanism 415 are released. And the registration of the set of the physical block address is deleted. In the recovery processing, all the logical blocks registered in the difference recording mechanism 415 are released by passing the physical block mapped to the logical block on the address conversion map 411 to the invalid block management module 413, and the address conversion is performed. By overwriting the map 411 with the mapping of the logical block and the physical block registered in the difference recording mechanism 415,
Address conversion map 411 at the time of the latest checkpoint
Restore the contents of As in the embodiment shown in FIG. 9, the address conversion map 411, the invalid block management module 4
13. When the difference recording mechanism 415 is configured on a roll-back memory, the state of each structure can be automatically restored by rollback to the state at the time of the checkpoint, so that the recovery process becomes unnecessary. At the time of system shutdown, the address conversion map 411 is stored in the non-volatile memory 43 in the same manner as in a normal system having a one-to-one address conversion map, so that the next time the boot is performed, the address conversion map 411 is set to the state at the time of shutdown completion. Restore. As a result, in the computer system of the checkpoint / rollback method, the performance of the system is improved and the capacity efficiency of the secondary storage device is improved by issuing the I / O to the secondary storage device without delay. . (Fifth Embodiment) FIG. 17 is a block diagram showing a schematic configuration of a high-reliability computer system according to a fifth embodiment of the present invention. In the figure, reference numeral 51 denotes a computer main body, which is related to the embodiment of the present invention.
And a disk input / output module (disk I / O module) 512, an invalid block management module 513, and an address conversion map paging mechanism 516 are allocated and stored in the memory. A large-capacity disk device 52 serving as a secondary storage device has an address conversion map 521. 53 is a nonvolatile memory (NVRAM).

【0042】ここで示す実施形態では、通常、ディスク
入出力モジュール512はファイルシステムからディス
ク入出力リクエストを受け取り、ディスク装置52へ入
出力リクエストを発行する。また、ディスク入出力モジ
ュール512にてディスク装置52のデータブロックの
論理アドレスと物理アドレスを管理する。
In the embodiment shown here, the disk input / output module 512 normally receives a disk input / output request from the file system and issues an input / output request to the disk device 52. The disk input / output module 512 manages the logical address and the physical address of the data block of the disk device 52.

【0043】図18にディスク入出力モジュール512
で用いるアドレス変換マップの例を示す。アドレス変換
マップ511ではディスク装置52の全ての論理ブロッ
クに対して有効と旧有効の二つの物理ブロックアドレス
のエントリを持つ。つまり、アドレス変換マップ511
の各エントリのうち、メインメモリ上には有限個のエン
トリだけが存在し、その他のエントリはディスク装置5
2上に存在する。
FIG. 18 shows the disk input / output module 512.
2 shows an example of an address conversion map used in the example. The address translation map 511 has entries of two physical block addresses, valid and old valid, for all logical blocks of the disk device 52. That is, the address conversion map 511
Out of the entries, only a finite number of entries exist on the main memory, and the other entries are
2 on

【0044】ここで、アドレス変換マップ511におい
て、有効物理ブロックとは、この論理ブロックの最新の
ディスクイメージをもつ物理ブロックのことである。旧
有効物理ブロックとは、この論理ブロックの最新チェッ
クポイント時点のディスクイメージをもち、かつ、最新
チェックポイント時点以降に対応する論理ブロックに対
して書き込み処理が発生したために別の物理ブロックが
この論理ブロックに対して有効物理ブロックとして割り
当てられているような物理ブロックのことである。全て
の論理ブロックに対して一つの有効な物理ブロックが存
在し、アドレス変換マップ511の有効物理ブロックア
ドレスエントリには、この物理ブロックのアドレスを格
納する。旧有効な物理ブロックが存在する論理ブロック
では、旧有効物理アドレスエントリに旧有効な物理ブロ
ックのアドレスを格納する。旧有効な物理ブロックが存
在しない論理ブロックでは、旧有効物理ブロックエント
リにはNULLを記録する。
Here, in the address translation map 511, a valid physical block is a physical block having the latest disk image of this logical block. The old valid physical block is a logical block that has a disk image at the latest checkpoint of this logical block and another physical block has been written to the corresponding logical block since the latest checkpoint. Is a physical block that is allocated as an effective physical block to One valid physical block exists for all logical blocks, and the address of this physical block is stored in the valid physical block address entry of the address conversion map 511. For a logical block having an old valid physical block, the address of the old valid physical block is stored in the old valid physical address entry. For a logical block having no old valid physical block, NULL is recorded in the old valid physical block entry.

【0045】図19に無効ブロック管理モジュール51
3の構造を示す。無効ブロック管理モジュール513
は、物理ブロックのフリーリストを管理する。つまり、
ディスク装置52上の全ての物理ブロックのうち、どの
論理ブロックの有効物理ブロックでも旧有効物理ブロッ
クでもない物理ブロックを管理するモジュールである。
FIG. 19 shows an invalid block management module 51.
3 shows the structure of No. 3. Invalid block management module 513
Manages a free list of physical blocks. That is,
It is a module that manages physical blocks that are neither valid physical blocks of any logical block nor old valid physical blocks among all physical blocks on the disk device 52.

【0046】以下、図20のディスク入出力モジュール
512がライトリクエストを受け取ったときの動作を示
すフローチャートを参照して本実施形態の動作について
説明する。
Hereinafter, the operation of this embodiment will be described with reference to a flowchart showing the operation when the disk input / output module 512 of FIG. 20 receives a write request.

【0047】ディスク入出力モジュール512が書き込
みリクエストを受け取ったときには、ディスク入出力モ
ジュール512は以下の手順でライトリクエストを発行
する。まず、指定された論理ブロックに対応するエント
リがメモリ上のアドレス変換マップ511に存在しない
場合は(ステップS502のN)、アドレス変換マップ
ページング機構516がアドレス変換マップ511のペ
ージングを行い、指定の論理ブロックに対応するアドレ
ス変換マップ511のエントリをメモリ上に置くもので
ある(ステップS508、S510)。指定された論理
ブロックに対応するエントリがメモリ上のアドレス変換
マップ511に存在し(ステップS502のY)、アド
レス変換マップ511にて指定された論理ブロックに対
して旧有効な物理ブロックアドレスが登録されている場
合には(S504のY)、現在有効な物理ブロックとし
て登録されている物理ブロックに書き込み処理を行なう
(ステップS506)。アドレス変換マップ511で、
指定された論理ブロックに対して旧有効な物理ブロック
がNULLであった場合には(ステップS504の
N)、指定された論理ブロックに対して、現在有効な物
理ブロックのアドレスを旧有効な物理ブロックアドレス
として登録し(ステッップS512)、無効ブロック管
理モジュール513から新たに物理ブロックを確保し
て、この物理ブロックを指定された論理ブロックの有効
物理ブロックとしてアドレス変換マップ511に登録す
る(ステップS514)。そして、この物理ブロックに
対して書き込み処理を行なう(ステップS506)。
When the disk input / output module 512 receives a write request, the disk input / output module 512 issues a write request in the following procedure. First, when the entry corresponding to the designated logical block does not exist in the address translation map 511 on the memory (N in step S502), the address translation map paging mechanism 516 performs paging of the address translation map 511, and executes the designated logic. The entry of the address translation map 511 corresponding to the block is placed on the memory (steps S508 and S510). An entry corresponding to the specified logical block exists in the address conversion map 511 on the memory (Y in step S502), and an old valid physical block address is registered for the logical block specified in the address conversion map 511. If yes (Y in S504), a write process is performed on a physical block registered as a currently valid physical block (step S506). In the address translation map 511,
If the old valid physical block is NULL for the specified logical block (N in step S504), the address of the currently valid physical block for the specified logical block is changed to the old valid physical block. It registers as an address (step S512), secures a new physical block from the invalid block management module 513, and registers this physical block in the address conversion map 511 as a valid physical block of the specified logical block (step S514). Then, a write process is performed on this physical block (step S506).

【0048】システムシャトダウン時には、アドレス変
換マップ511を不揮発性メモリ53に保存することに
より、次回のブート時にはアドレス変換マップをシャッ
トダウン完了時点の状態に復元するものである。
At the time of system shutdown, the address conversion map 511 is stored in the nonvolatile memory 53, so that the address conversion map is restored to the state at the time of shutdown completion at the next boot.

【0049】ところで、アドレス変換マップページング
機構516の機能を述べるに、メモリ上のアドレス変換
マップ511はロールバックで最新チェックポイント時
点の状態に戻るものである。
The function of the address translation map paging mechanism 516 will be described. The address translation map 511 in the memory is to return to the state at the latest checkpoint by rollback.

【0050】ディスク装置52上のある論理ブロックに
対してアドレス変換マップ511を書き換える必要があ
る場合、もし、その論理ブロックに対するアドレス変換
マップ511のエントリがメモリ上に存在するときは、
そのエントリの各有効/旧有効の値を適切に書きかえる
だけでよいものである。一方、エントリがメモリ上に存
在しない、即ちディスク上にページアウトされていると
きは、適当なアルゴリズム(LRU等)でメモリ上のア
ドレス変換マップ511の一つ以上のエントリを選択
し、この選択したエントリをディスクへページアウトす
る。このとき、ページアウト先の論理ブロックに対する
アドレス変換マップ511のエントリも正しく設定す
る。斯様な手順にてメモリ上のアドレス変換マップ51
1の一部を置き換えるものである。 (第6実施形態)図21は、本発明の第6実施形態に係
わる高信頼性計算機システムの概略構成を示すブロック
図である。図中、61は計算機本体であり、本発明実施
形態と関係するところでは、アドレス変換マップ611
と、ディスク入出力モジュール(ディスクI/Oモジュ
ール)612、無効ブロック管理モジュール613、ア
ドレス変換マップページング機構616、アドレス差分
テーブル617がメモリに割り付けられ格納される。6
2は二次記憶装置となる大容量のディスク装置であり、
アドレス変換マップ621を持つ。63は不揮発性メモ
リ(NVRAM)である。
When it is necessary to rewrite the address translation map 511 for a certain logical block on the disk device 52, if an entry of the address translation map 511 for the logical block exists in the memory,
It is only necessary to appropriately rewrite each valid / old valid value of the entry. On the other hand, when the entry does not exist in the memory, that is, when it is paged out on the disk, one or more entries of the address translation map 511 on the memory are selected by an appropriate algorithm (such as LRU), and the selected Page out the entry to disk. At this time, the entry of the address conversion map 511 for the page-out destination logical block is also set correctly. In such a procedure, the address translation map 51 on the memory
1 is replaced. Sixth Embodiment FIG. 21 is a block diagram showing a schematic configuration of a high-reliability computer system according to a sixth embodiment of the present invention. In the figure, reference numeral 61 denotes a computer main body, which is related to the embodiment of the present invention.
Then, a disk input / output module (disk I / O module) 612, an invalid block management module 613, an address conversion map paging mechanism 616, and an address difference table 617 are allocated and stored in the memory. 6
Reference numeral 2 denotes a large-capacity disk device serving as a secondary storage device,
It has an address translation map 621. 63 is a nonvolatile memory (NVRAM).

【0051】ここで示す実施形態では、通常、ディスク
入出力モジュール612はファイルシステムからディス
ク入出力リクエストを受け取り、ディスク装置62へ入
出力リクエストを発行する。本実施形態では、ディスク
入出力モジュール612でディスク装置62のデータブ
ロックの論理アドレスと物理アドレスを管理する。
In the embodiment shown here, the disk input / output module 612 normally receives a disk input / output request from the file system and issues an input / output request to the disk device 62. In this embodiment, the disk input / output module 612 manages the logical address and the physical address of the data block of the disk device 62.

【0052】図22にディスク入出力モジュール612
で用いるアドレス変換マップ611の例を示す。アドレ
ス変換マップ611では、ディスク装置62のすべての
論理ブロックに対して有効と旧有効の二つの物理ブロッ
クアドレスのエントリを持つ。アドレス変換マップ61
1の各エントリのうち、ロールバックによって最新のチ
ェックポイントの状態に戻らない記憶領域(例えばPC
Iデバイス上のメモリ)上に有限個のエントリだけが存
在し、その他のエントリはディスク装置62上に存在す
る。
FIG. 22 shows the disk input / output module 612.
4 shows an example of the address conversion map 611 used in the example. The address translation map 611 has entries of two physical block addresses of valid and old valid for all logical blocks of the disk device 62. Address conversion map 61
1 is a storage area that does not return to the latest checkpoint state by rollback (for example, PC
Only a finite number of entries exist on the memory on the I device), and the other entries exist on the disk device 62.

【0053】アドレス変換マップ611において、有効
物理ブロックとは、この論理ブロックの最新のディスク
イメージをもつ物理ブロックのことである。旧有効物理
ブロックとは、この論理ブロックの最新チェックポイン
ト時点のディスクイメージをもち、かつ、最新チェック
ポイント時点以降に対応する論理ブロックに対して書き
込み処理が発生したために別の物理ブロックがこの論理
ブロックに対して有効物理ブロックとして割り当てられ
ているような物理ブロックのことである。すべての論理
ブロックに対して一つの有効な物理ブロックが存在し、
アドレス変換マップ611の有効物理ブロックアドレス
エントリにはこの物理ブロックのアドレスを格納する。
In the address translation map 611, a valid physical block is a physical block having the latest disk image of this logical block. The old valid physical block is a logical block that has a disk image at the latest checkpoint of this logical block and another physical block has been written to the corresponding logical block since the latest checkpoint. Is a physical block that is allocated as an effective physical block to There is one valid physical block for all logical blocks,
The address of this physical block is stored in the valid physical block address entry of the address conversion map 611.

【0054】旧有効な物理ブロックが存在する論理ブロ
ックでは、旧有効物理アドレスエントリに旧有効な物理
ブロックのアドレスを格納する。旧有効な物理ブロック
が存在しない論理ブロックでは旧有効物理ブロックエン
トリにはNULLを記録するものである。
For a logical block having an old valid physical block, the address of the old valid physical block is stored in the old valid physical address entry. For a logical block in which an old valid physical block does not exist, NULL is recorded in the old valid physical block entry.

【0055】図23に無効ブロック管理モジュール61
3の構成を示す。無効ブロック管理モジュール613
は、物理ブロックのフリーリストを管理する。つまり、
ディスク装置62上のすべての物理ブロックのうち、ど
の論理ブロックの有効物理ブロックでも旧有効物理ブロ
ックでもない物理ブロックを管理するモジュールであ
る。
FIG. 23 shows an invalid block management module 61.
3 is shown. Invalid block management module 613
Manages a free list of physical blocks. That is,
This module manages physical blocks that are neither valid physical blocks of any logical block nor old valid physical blocks among all physical blocks on the disk device 62.

【0056】図24にアドレスマップ差分テーブル61
7を示す。アドレスマップ差分テーブル617は、最新
チェックポイント時点以降、メモリ上のアドレス変換マ
ップ611の変更履歴を保存している。メモリ上のアド
レス変換マップ611に割り当てられた領域の内容が、
アドレス変換マップ611のページングによってディス
ク装置62に書き出す際、ページアウトされるエントリ
の内容をアドレスマップ差分テーブル617に保存す
る。メモリ上のアドレス変換マップ611のエントリの
内容をアドレスマップ差分テーブル617に保存し、デ
ィスク装置62に書き出した後に、このメモリ上のアド
レス変換マップ611のエントリは無効になる。新たに
別のエントリをディスク装置62上のアドレス変換マッ
プ612からメモリ上のアドレス変換マップ611に読
み込む際には、メモリ上のアドレス変換マップ611の
無効な領域にのみエントリを読み込むことができる。
FIG. 24 shows an address map difference table 61.
7 is shown. The address map difference table 617 stores the change history of the address conversion map 611 on the memory after the latest check point. The contents of the area assigned to the address conversion map 611 on the memory are
When writing to the disk device 62 by paging the address translation map 611, the contents of the entry to be paged out are stored in the address map difference table 617. After the contents of the entry of the address translation map 611 on the memory are stored in the address map difference table 617 and written to the disk device 62, the entry of the address translation map 611 on this memory becomes invalid. When another entry is newly read from the address conversion map 612 on the disk device 62 to the address conversion map 611 on the memory, the entry can be read only into an invalid area of the address conversion map 611 on the memory.

【0057】以下、図25に示すディスク入出力モジュ
ール612がライトリクエストを受け取ったときの動作
を示すフローチャートを参照して、本実施形態の動作を
説明する。
Hereinafter, the operation of this embodiment will be described with reference to the flowchart shown in FIG. 25 which shows the operation when the disk input / output module 612 receives a write request.

【0058】ディスク入出力モジュール612が書き込
みリクエストを受け取ったときには、ディスク入出力モ
ジュール612は以下の手順でライトリクエストを発行
する。まず、指定された論理ブロックに対応するエント
リがメモリ上のアドレス変換マップ611に存在しない
場合は(ステップS602のN)、アドレス変換マップ
ページング機構616がアドレス変換マップ611のペ
ージングを行ない、指定の論理ブロックに対応するアド
レス変換マップ611のエントリをメモリ上に置き(ス
テップS610、S612)、ステップS604に移行
する。指定された論理ブロックに対応するエントリがメ
モリ上のアドレス変換マップ611に存在し(ステップ
S602のY)、アドレス変換マップ611にて指定さ
れた論理ブロックに対して旧有効な物理ブロックアドレ
スが登録されている場合には(ステップS604の
Y)、現在有効な物理ブロックとして登録されている物
理ブロックに書き込み処理を行なう(ステップS60
8)。一方、アドレス変換マップ611で、指定された
論理ブロックに対して旧有効な物理ブロックがNULL
であった場合には(ステップS604のN)、指定され
た論理ブロックに対して現在有効な物理ブロックのアド
レスを旧有効な物理ブロックアドレスとして登録し(ス
テップS614)、無効ブロック管理モジュール613
から新たに物理ブロックを確保すると共に、この物理ブ
ロックを指定された論理ブロックの有効物理ブロックと
してアドレス変換マップ611に登録し(ステップS6
14)、この物理ブロックに対して書き込み処理を行な
う(ステップS616)。
When the disk input / output module 612 receives a write request, the disk input / output module 612 issues a write request in the following procedure. First, when the entry corresponding to the specified logical block does not exist in the address conversion map 611 on the memory (N in step S602), the address conversion map paging mechanism 616 performs paging of the address conversion map 611, and executes the specified logical block. The entry of the address conversion map 611 corresponding to the block is placed on the memory (steps S610 and S612), and the process proceeds to step S604. An entry corresponding to the specified logical block exists in the address conversion map 611 on the memory (Y in step S602), and an old valid physical block address is registered for the logical block specified in the address conversion map 611. If yes (Y in step S604), write processing is performed on a physical block registered as a currently valid physical block (step S60).
8). On the other hand, in the address translation map 611, the old valid physical block is NULL for the specified logical block.
(N in step S604), the address of the currently valid physical block for the specified logical block is registered as the old valid physical block address (step S614), and the invalid block management module 613
, A new physical block is secured, and this physical block is registered in the address translation map 611 as an effective physical block of the specified logical block (step S6).
14), write processing is performed on this physical block (step S616).

【0059】チェックポイント処理では、アドレス変換
マップ611に登録しているすべての旧有効物理ブロッ
クを無効ブロック管理モジュールに渡すことにより解放
し、すべての旧有効物理ブロックエントリの値をNUL
Lにする。また、リカバリ処理では、アドレス変換マッ
プ611において、旧有効物理アドレスエントリの値が
NULLでないすべての論理ブロックに対して、有効な
物理ブロックを無効ブロック管理モジュールに渡すこと
で解放して、旧有効物理ブロックアドレスエントリの値
を有効物理ブロックアドレスエントリに移動し、旧有効
物理ブロックアドレスエントリの値はNULLとする。
システムシャトダウン時には、アドレス変換マップ61
1を不揮発性メモリ63に保存することにより、次回の
ブート時にはアドレス変換マップ611をシャトダウン
完了時点の状態に復元する。
In the checkpoint process, all old valid physical blocks registered in the address translation map 611 are released by passing them to the invalid block management module, and the values of all old valid physical block entries are set to NULL.
L. In the recovery processing, in the address conversion map 611, the valid physical block is released by passing the valid physical block to the invalid block management module for all the logical blocks in which the value of the old valid physical address entry is not NULL. The value of the block address entry is moved to the valid physical block address entry, and the value of the old valid physical block address entry is set to NULL.
At the time of system shutdown, the address conversion map 61
By saving 1 in the nonvolatile memory 63, the address conversion map 611 is restored to the state at the time of the shutdown completion at the next boot.

【0060】ところで、アドレス変換マップページング
機構616について述べるに、メモリ上のアドレス変換
マップ611はロールバックで最新チェックポイント時
点の状態に戻らないものである。
The address conversion map paging mechanism 616 will be described. The address conversion map 611 in the memory does not return to the state at the time of the latest checkpoint by rollback.

【0061】ディスク装置62上のある論理ブロックに
対してアドレス変換マップ611を書き換える必要があ
る場合、もし、その論理ブロックに対するアドレス変換
マップのエントリがメモリ上に存在するときは、そのエ
ントリの各有効/旧有効の値を適切に書きかえるだけで
よい。
When it is necessary to rewrite the address translation map 611 for a certain logical block on the disk device 62, if an entry of the address translation map for the logical block exists in the memory, each valid entry of that entry is It is only necessary to rewrite the old valid value appropriately.

【0062】もし、エントリがメモリ上に存在しない
(ディスク上にページアウトされている)ときは、適当
なアルゴリズム(LRU等)でメモリ上のアドレス変換
マップ611の一つ以上のエントリを選択し、この選択
したエントリをメモリ上のアドレスマップ差分テーブル
617にコピーする。また、選択したエントリをディス
ク装置62へページアウトする。このとき、ページアウ
ト先の論理ブロックに対するアドレス変換マップのエン
トリも正しく設定する。斯様な手順にてメモリ上のアド
レス変換マップ611の一部を置きかえるものである。
If the entry does not exist in the memory (it is paged out on the disk), one or more entries of the address translation map 611 on the memory are selected by an appropriate algorithm (such as LRU), and The selected entry is copied to the address map difference table 617 on the memory. Further, the selected entry is paged out to the disk device 62. At this time, the address translation map entry for the logical block at the page-out destination is also set correctly. In such a procedure, a part of the address conversion map 611 on the memory is replaced.

【0063】チェックポイント処理の一環で、アドレス
マップ差分テーブル617をクリアする。リカバリ処理
の一環では、アドレスマップ差分テーブル617に記録
した各エントリを、アドレス変換マップ611に書き戻
すものである。
As part of the checkpoint processing, the address map difference table 617 is cleared. As part of the recovery processing, each entry recorded in the address map difference table 617 is written back to the address conversion map 611.

【0064】尚、上記各実施形態にて述べた手法は、当
該手法が計算機にて実行可能となるようプログラムされ
たコンピュータ読取り可能な記憶媒体として提供するこ
とは勿論可能である。
The methods described in the above embodiments can be provided as a computer-readable storage medium programmed so that the methods can be executed by a computer.

【0065】[0065]

【発明の効果】以上詳記したように本発明によれば、チ
ェックポイント・ロールバック方式の計算機システム
で、チェックポイントを待たずに二次記憶装置への入出
力を発行することができるため、システムのパフォーマ
ンスが向上する。更に、二次記憶装置上で冗長な物理ブ
ロックの数も減少できるため、二次記憶装置の容量効率
も改善できる。更にタイムスタンプを用いることによ
り、チェックポイント処理が軽くなり一層システムのパ
フォーマンスが向上する。
As described above in detail, according to the present invention, a checkpoint / rollback computer system can issue an input / output to / from a secondary storage device without waiting for a checkpoint. Improves system performance. Furthermore, since the number of redundant physical blocks on the secondary storage device can be reduced, the capacity efficiency of the secondary storage device can be improved. Further, by using the time stamp, the checkpoint processing is lightened, and the performance of the system is further improved.

【0066】また、図1と図5に示す実施形態が論理ブ
ロックと物理ブロックが1対多数の特殊なマッピングに
対して適用できるのに対して、図9と図13に示す実施
形態は1対1の一般的なマッピングに対して適用でき、
チェックポイント・ロールバック方式の計算機システム
にて、チェックポイントを待たずに二次記憶装置への入
出力を発行することができるため、システムのパフォー
マンスが向上する。更に、二次記憶装置上で冗長な物理
ブロックの数も減少できるため、二次記憶装置の容量効
率も改善できるものである。
The embodiments shown in FIGS. 1 and 5 can be applied to one-to-many special mapping of logical blocks and physical blocks, whereas the embodiments shown in FIGS. One general mapping,
In the computer system of the checkpoint / rollback system, the input / output to / from the secondary storage device can be issued without waiting for the checkpoint, thereby improving the performance of the system. Furthermore, since the number of redundant physical blocks on the secondary storage device can be reduced, the capacity efficiency of the secondary storage device can be improved.

【0067】また、図13に示す実施形態では図9に示
す実施形態に比較してチェックポイント時の処理が軽く
なるため、システムのパフォーマンスが更に向上する。
In the embodiment shown in FIG. 13, the processing at the time of the checkpoint is lighter than that in the embodiment shown in FIG. 9, so that the performance of the system is further improved.

【0068】更に、本発明によれば、チェックポイント
/ロールバック方式の計算機システムで、チェックポイ
ントを待たずに二次記憶装置への入出力を発行すること
ができるため、システムのパフォーマンスが向上でき
る。加えて、二次記憶装置の容量にかかわらずメインメ
モリ上やのアドレス変換マップで必要な記憶領域が一定
であり、メインメモリを圧迫することはない。チェック
ポイント処理の負荷も軽減される。
Further, according to the present invention, the checkpoint
In a computer system of the rollback system, input / output to / from a secondary storage device can be issued without waiting for a checkpoint, so that system performance can be improved. In addition, regardless of the capacity of the secondary storage device, the required storage area on the main memory or in the address conversion map is constant, and the main memory is not pressed. The load of checkpoint processing is also reduced.

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

【図1】本発明の第1実施形態に係わる高信頼性計算機
システムの概略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a highly reliable computer system according to a first embodiment of the present invention.

【図2】同実施形態に係わるアドレス変換マップの構造
を示す図。
FIG. 2 is an exemplary view showing the structure of an address conversion map according to the embodiment;

【図3】同実施形態に係わる無効ブロック管理モジュー
ルの構造を示す図。
FIG. 3 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図4】同実施形態に係わるディスク入出力モジュール
の動作手順を示すフローチャート。
FIG. 4 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment;

【図5】本発明の第2実施形態に係わる高信頼性計算機
システムの概略構成を示すブロック図。
FIG. 5 is a block diagram showing a schematic configuration of a highly reliable computer system according to a second embodiment of the present invention.

【図6】同実施形態に係わり、アドレス変換マップの構
造を示す図。
FIG. 6 is a view showing the structure of an address translation map according to the embodiment;

【図7】同実施形態に係わる無効ブロック管理モジュー
ルの構造を示す図。
FIG. 7 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図8】同実施形態に係わるディスク入出力モジュール
の動作手順を示すフローチャート。
FIG. 8 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment;

【図9】本発明の第3実施形態に係わる高信頼性計算機
システムの概略構成を示すブロック図。
FIG. 9 is a block diagram showing a schematic configuration of a high-reliability computer system according to a third embodiment of the present invention.

【図10】同実施形態に係わる差分記録機構の構造を示
す図。
FIG. 10 is an exemplary view showing the structure of a difference recording mechanism according to the embodiment.

【図11】同実施形態に係わる無効ブロック管理モジュ
ールの構造を示す図。
FIG. 11 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図12】同実施形態に係わるディスク入出力モジュー
ルの動作手順を示すフローチャート。
FIG. 12 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment;

【図13】本発明の第4実施形態に係わる高信頼性計算
機システムの概略構成を示すブロック図。
FIG. 13 is a block diagram showing a schematic configuration of a high-reliability computer system according to a fourth embodiment of the present invention.

【図14】同実施形態に係わる差分記録機構の構造を示
す図。
FIG. 14 is an exemplary view showing the structure of a difference recording mechanism according to the embodiment.

【図15】同実施形態に係わる無効ブロック管理モジュ
ールの構造を示す図。
FIG. 15 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図16】同実施形態に係わるディスク入出力モジュー
ルの動作手順を示すフローチャート。
FIG. 16 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment.

【図17】本発明の第5実施形態に係わる高信頼性計算
機システムの概略構成を示すブロック図。
FIG. 17 is a block diagram showing a schematic configuration of a high-reliability computer system according to a fifth embodiment of the present invention.

【図18】同実施形態に係わるドレス変換マップの構造
を示す図。
FIG. 18 is an exemplary view showing the structure of a dress conversion map according to the embodiment;

【図19】同実施形態に係わる無効ブロック管理モジュ
ールの構造を示す図。
FIG. 19 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図20】同実施形態に係わるディスク入出力モジュー
ルの動作手順を示すフローチャート。
FIG. 20 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment;

【図21】本発明の第6実施形態に係わる高信頼性計算
機システムの概略構成を示すブロック図。
FIG. 21 is a block diagram showing a schematic configuration of a high-reliability computer system according to a sixth embodiment of the present invention.

【図22】同実施形態に係わるアドレス変換マップの構
造を示す図。
FIG. 22 is an exemplary view showing the structure of an address translation map according to the embodiment;

【図23】同実施形態に係わる無効ブロック管理モジュ
ールの構造を示す図。
FIG. 23 is an exemplary view showing the structure of an invalid block management module according to the embodiment;

【図24】同実施形態に係わるアドレス差分テーブルの
構造を示す図。
FIG. 24 is a view showing the structure of an address difference table according to the embodiment.

【図25】同実施形態に係わるディスク入出力モジュー
ルの動作手順を示すフローチャート。
FIG. 25 is an exemplary flowchart showing the operation procedure of the disk input / output module according to the embodiment;

【符号の説明】[Explanation of symbols]

11(22,32,42,51,61)…計算機本体、
12(22,32,42,52,62)…ディスク装
置、13(23,33,43,53,63)…不揮発性
メモリ、111(211,311,411,511,6
11)…アドレス変換マップ、112(212,31
2,412,512,612)…ディスク入出力モジュ
ール、113(213,313,413,513,61
3)…無効ブロック管理モジュール、214…タイムス
タンプ、315(415)…差分記録機構、516(6
16)…アドレス変換マップページング機構、617…
アドレス差分テーブル。
11 (22, 32, 42, 51, 61) ... computer body,
12 (22, 32, 42, 52, 62): Disk device, 13 (23, 33, 43, 53, 63): Non-volatile memory, 111 (211, 311, 411, 511, 6)
11) Address conversion map 112 (212, 31)
2, 412, 512, 612) Disk input / output module, 113 (213, 313, 413, 513, 61)
3) Invalid block management module 214 Time stamp 315 (415) Difference recording mechanism 516 (6)
16) Address translation map paging mechanism 617
Address difference table.

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置との間でデータの書き
込みおよび読み出しを行なう入出力モジュールをもつ計
算機システムにおいて、 上記二次記憶装置を構成するそれぞれの論理ブロックに
対して少なくとも一つの物理ブロックを割り当て、各論
理ブロックに対して、最新チェックポイント時点の論理
ブロックイメージを持つ物理ブロックへのポインタ、最
新の論理ブロックイメージをもつ論理ブロックへのポイ
ンタを割り当てるアドレス変換マップと、二次記憶装置
上で有効なデータを持たない物理ブロックを管理する無
効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、その論理ブロックに対して
最新チェックポイントイメージとは異なる物理ブロック
に対してデータを書き込み、この物理ブロックを最新の
論理ブロックイメージとして上記アドレス変換マップに
登録し、 上記入出カモジュールが上記二次記憶装置に対する読み
出し要求を受け付けたときには、その論理ブロックに対
する最新の論理ブロックイメージを持つ物理ブロックか
らデータを読み出し、 チェックポイント処理では、上記アドレス変換マップ上
の各論理ブロックに対して、最新の論理ブロックイメー
ジを持つ物理ブロックをこの論理ブロックに対するチェ
ックポイントイメージかつ最新のイメージを持つ物理ブ
ロックとし、 リカバリ時には、上記アドレス変換マップ上の各論理ブ
ロックに対して、チェックポイント時点の論理ブロック
イメージを持つ物理ブロックをこの論理ブロックに対す
るチェックポイントイメージかつ最新のイメージをもつ
物理ブロックとすることを特徴とする計算機システムに
おける入出力制御方法。
1. A checkpoint / roll function for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, at least one physical block for each logical block constituting the secondary storage device An address translation map for assigning a pointer to a physical block having a logical block image at the latest checkpoint, a pointer to a logical block having the latest logical block image for each logical block, and Manages physical blocks without valid data When the I / O module receives a write request to the secondary storage device, the I / O module writes data to a physical block different from the latest checkpoint image for the logical block. When the input / output module receives a read request for the secondary storage device, the physical block having the latest logical block image for the logical block is registered as the latest logical block image in the address conversion map. Data is read from the block, and in the checkpoint process, for each logical block on the address translation map, a physical block having the latest logical block image is replaced with a physical block having the latest checkpoint image and the latest image for this logical block. At the time of recovery, for each logical block on the address translation map, the physical block having the logical block image at the time of the checkpoint shall be the physical block having the checkpoint image for this logical block and the latest image. Characteristic input / output control method in a computer system.
【請求項2】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置との間でデータの書き
込みおよび読み出しを行なう入出力モジュールをもつ計
算機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックヘのポインタを割り当て、
更にそれぞれの物理ブロックに最後に書き込み処理を行
なった時刻を記録するアドレス変換マップと、二次記憶
装置上で有効なデータを持たない物理ブロックを管理す
る無効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、その論理ブロックに対して
最新チェックポイントイメージとは異なる物理ブロック
に対してデータを書き込み、この物理ブロックを最新の
論理ブロックイメージとして登録すると共にこの物理ブ
ロックに書き込み処理を行なった時刻をアドレス変換マ
ップに記録し、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、その論理ブロックに対す
る最新の論理ブロックイメージを持つ物理ブロックから
データを読み出し、 チェックポイント処理では、現在の時刻をチェックポイ
ントタイムスタンプとして保存し、 リカバリ時には、上記アドレス変換マップ上の各論理ブ
ロックに対して、上記チェックポイントタイムスタンプ
よりも新しいタイムスタンプを持つ最新の物理ブロック
へのポインタが登録されている場合は最新の物理ブロッ
クを上記無効ブロック管理モジュールに渡して解放し、
チェックポイント時点の物理ブロックへのポインタを最
新の物理ブロックヘのポインタとして上記アドレス変換
マップに登録することを特徴とする計算機システムにお
ける入出力制御方法。
2. A checkpoint / role for performing a process while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the point of the checkpoint collected immediately before and re-executing the process. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, one or more physical blocks are assigned to each logical block of the secondary storage device. Allocate a pointer to a physical block having a logical block image at the latest checkpoint, a pointer to a physical block having a latest logical block image for each logical block,
Further, it has an address conversion map for recording the time of the last write processing to each physical block, and an invalid block management module for managing physical blocks that do not have valid data on the secondary storage device. When the output module receives a write request to the secondary storage device, data is written to the logical block in a physical block different from the latest checkpoint image, and this physical block is registered as the latest logical block image. At the same time, the time at which the writing process was performed on this physical block is recorded in the address conversion map, and when the input / output module receives a read request from the secondary storage device, it has the latest logical block image for the logical block. Read data from physical block In the checkpoint process, the current time is stored as a checkpoint timestamp. At the time of recovery, each logical block on the address translation map has the latest physical timestamp with a timestamp newer than the checkpoint timestamp. If the pointer to the block is registered, pass the latest physical block to the invalid block management module and release it,
An input / output control method in a computer system, wherein a pointer to a physical block at a check point is registered in the address conversion map as a pointer to the latest physical block.
【請求項3】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置の論理ブロックと物理
ブロックのマッピングを行なうアドレス変換マップと、
上記二次記憶装置との間でデータの書き込みおよび読み
出しを行なう入出力モジュールを持つ計算機システムに
おいて、 最新チェックポイント時点以降に書き込み処理を行なっ
た論理ブロックに関し、この論理ブロックと、書き込み
処理を行なう前にこの論理ブロックに割り当てられてい
た物理ブロックの組を記録する差分記録機構と、上記二
次記憶装置上で有効なデータを持たない物理ブロックを
管理する無効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、この時点のこの論理ブロッ
クと物理ブロックのアドレス変換マップ上のマッピング
を上記差分記録機構に記録し、上記無効ブロック管理モ
ジュールから新たに確保した物理ブロックをこの論理ブ
ロックに対する物理ブロックとしてアドレス変換マップ
に登録し、この物理ブロックに対して書き込み処理を行
い、 チェックポイント処理では、上記差分記録機構に記録し
た全ての物理ブロックを無効ブロック管理モジュールに
解放し、上記差分記録機構に記録してある全ての論理ブ
ロックと物理ブロックの組の登録を抹消し、 リカバリ時には、上記差分記録機構に記録してある全て
の論理ブロックについて、上記アドレス変換マップでそ
の論理ブロックにマップされている物理ブロックを上記
無効ブロック管理モジュールに渡して解放し、上記アド
レス変換マップに対して、上記差分記録機構に登録して
ある論理ブロックと物理ブロックの組を書き戻すことで
最新チェックポイント時点の上記アドレス変換マップを
復元することを特徴とする計算機システムにおける入出
力制御方法。
3. A checkpoint / role for performing a process while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. An address translation map that has a back mechanism and maps logical blocks and physical blocks of the secondary storage device;
In a computer system having an input / output module for writing and reading data to and from the secondary storage device, a logical block that has been subjected to write processing after the latest checkpoint, and the logical block and the A difference recording mechanism for recording a set of physical blocks allocated to the logical block, and an invalid block management module for managing a physical block having no valid data on the secondary storage device. When the output module receives a write request to the secondary storage device, the mapping of the logical block and the physical block on the address translation map at this time is recorded in the difference recording mechanism, and a new one is sent from the invalid block management module. Assign the allocated physical block to this logical block. Registered in the address translation map as a physical block, write processing is performed on this physical block, and in the checkpoint processing, all physical blocks recorded in the difference recording mechanism are released to the invalid block management module, and the difference recording mechanism is released. In the recovery, all the logical blocks recorded in the difference recording mechanism are mapped to the logical blocks by the address conversion map. Passing the physical block to the invalid block management module and releasing it, and writing back the set of the logical block and the physical block registered in the difference recording mechanism to the address translation map, thereby obtaining the Computer system characterized by restoring an address translation map Input and output control method in the arm.
【請求項4】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置の論理ブロックと物理
ブロックのマッピングを行なうアドレス変換マップと、
上記二次記憶装置との間でデータの書き込みおよび読み
出しを行なう入出力モジュールを持つ計算機システムに
おいて、 最新チェックポイント時点以降に書き込み処理を行なっ
た論理ブロックに関し、この論理ブロックと、書き込み
処理を行なう前にこの論理ブロックに割り当てられてい
た物理ブロックの組を記録する差分記録機構と、上記二
次記憶装置上で有効なデータを持たない物理ブロックを
管理する無効ブロック管理モジュールを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときに、指定された論理ブロックが上
記差分記録機構に登録されていなければこの時点のこの
論理ブロックと物理ブロックの上記アドレス変換マップ
上のマッピングを上記差分記録機構に記録し、上記無効
ブロック管理モジュールから新たに確保した物理ブロッ
クをこの論理ブロックに対する物理ブロックとしてアド
レス変換マップに登録した後、この物理ブロックに対し
て書き込み処理を行い、指定された論理ブロックが上記
差分記録機構に登録されていれば上記アドレス変換マッ
プでこの論理ブロックにマップされている物理ブロック
にデータを書き込み、 チェックポイント処理では、上記差分記録機構に記録し
た全ての物理ブロックを上記無効ブロック管理モジュー
ルに解放し、上記差分記録機構に記録してある全ての論
理ブロックと物理ブロックの組の登録を抹消し、 リカバリ時には、上記差分記録機構に記録してある全て
の論理ブロックについて、アドレス変換マップでその論
理ブロックにマップされている物理ブロックを上記無効
ブロック管理モジュールに渡して解放し、上記アドレス
変換マップに対して、上記差分記録機構に登録してある
論理ブロックと物理ブロックの組を書き戻すことで最新
チェックポイント時点の上記アドレス変換マップの内容
を復元することを特徴とする計算機システムにおける入
出力制御方法。
4. A checkpoint / roller for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, restoring the state of the system to the immediately preceding checkpoint and re-executing the process. An address translation map that has a back mechanism and maps logical blocks and physical blocks of the secondary storage device;
In a computer system having an input / output module for writing and reading data to and from the secondary storage device, a logical block that has been subjected to write processing after the latest checkpoint, and the logical block and the A difference recording mechanism for recording a set of physical blocks assigned to the logical block, and an invalid block management module for managing a physical block having no valid data on the secondary storage device. If the specified logical block is not registered in the differential recording mechanism when the module receives the write request to the secondary storage device, the mapping of the logical block and the physical block at this time on the address translation map Is recorded in the difference recording mechanism, and the invalid block management mode is recorded. After a physical block newly secured from the logical block is registered as a physical block for this logical block in the address translation map, a write process is performed on this physical block, and the specified logical block is registered in the above-mentioned differential recording mechanism. For example, data is written to the physical block mapped to this logical block in the address conversion map. In the checkpoint process, all physical blocks recorded in the difference recording mechanism are released to the invalid block management module, and the difference recording is performed. The registration of all pairs of logical blocks and physical blocks recorded in the mechanism is deleted, and at the time of recovery, all the logical blocks recorded in the difference recording mechanism are mapped to the logical blocks in the address translation map. The physical block that is To the address conversion map, and write back the set of the logical block and the physical block registered in the difference recording mechanism to the address conversion map, thereby restoring the contents of the address conversion map at the latest checkpoint. An input / output control method in a computer system.
【請求項5】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共、二次記憶装置との間でデータの書き込
みおよび読み出しを行なう入出力モジュールをもつ計算
機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して、最新チェックポイント時点の論理ブロックイメー
ジを持つ物理ブロックへのポインタ、最新の論理ブロッ
クイメージをもつ物理ブロックへのポインタを割り当
て、リカバリによって最新チェックポイント時点の状態
に戻るメモリ領域および上記二次記憶装置上に配置され
るアドレス変換マップと、上記二次記憶装置とメモリの
間でアドレス変換マップのページングを行なうアドレス
変換マップページング機構と、上記二次記憶装置上で有
効なデータを持たない物理ブロックを管理する無効ブロ
ック管理モジュールとをもち、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップが上記メモリ上に存在し
ない場合、上記アドレスマップページング機構により上
記メモリ上の上記アドレス変換マップの一部の領域を次
回のチェックポイント時点以降に上記二次記憶装置上に
書き出した後にこの領域に該当する論理ブロックに対応
する上記アドレス変換マップのエントリを上記二次記憶
装置から読み込み、その論理ブロックの最新チェックポ
イントイメージとは異なる物理ブロックに対してデータ
を書き込み、この物理ブロックを最新の論理ブロックイ
メージとして上記アドレス変換マップに登録し、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、該当する論理ブロックに
対応する上記アドレス変換マップが上記メモリ上に存在
しない場合、上記アドレスマップページング機構によっ
て上記メモリ上の上記アドレス変換マップの一部の領域
を次回のチェックポイント時点以降に上記二次記憶装置
上に書き出した後にこの領域に該当する論理ブロックに
対応する上記アドレス変換マップのエントリを上記二次
記憶装置から読み込み、その論理ブロックに対する最新
の論理ブロックイメージをもつ物理ブロックからデータ
を読み出し、 チェックポイント処理では、上記アドレス変換マップ上
の各論理ブロックに対して、最新の論理ブロックイメー
ジを持つ物理ブロックをこの論理ブロックに対するチェ
ックポイントイメージと最新のイメージを持つ物理ブロ
ックとするようにしたことを特徴とする計算機システム
における入出力制御方法。
5. A checkpoint / role for performing a process while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the point of the checkpoint collected immediately before and re-executing the process. In a computer system having an input / output module for writing and reading data to and from a secondary storage device having a back mechanism, one or more physical blocks are provided for each logical block of the secondary storage device. And assign a pointer to the physical block that has the logical block image at the latest checkpoint and a pointer to the physical block that has the latest logical block image for each logical block. Return memory area and located on the secondary storage device An address translation map, an address translation map paging mechanism for paging the address translation map between the secondary storage device and the memory, and an invalid block for managing a physical block having no valid data on the secondary storage device When the input / output module receives a write request to the secondary storage device, if the address translation map corresponding to the logical block does not exist in the memory, the address map paging mechanism After writing a partial area of the address conversion map on the memory on the secondary storage device after the next checkpoint, the entry of the address conversion map corresponding to the logical block corresponding to this area is written to the Read from secondary storage and Writes data to a physical block different from the new checkpoint image, registers this physical block as the latest logical block image in the address translation map, and accepts a read request from the secondary storage device by the input / output module If the address translation map corresponding to the corresponding logical block does not exist in the memory, the address map paging mechanism causes a partial area of the address translation map in the memory to be moved to the next checkpoint or later. After writing on the secondary storage device, an entry of the address translation map corresponding to the logical block corresponding to this area is read from the secondary storage device, and data is read from the physical block having the latest logical block image for the logical block. Read In the checkpoint processing, for each logical block on the address translation map, the physical block having the latest logical block image is used as the physical block having the checkpoint image and the latest image for this logical block. An input / output control method in a computer system, characterized in that:
【請求項6】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置との間でデータの書き
込みおよび読み出しを行なう入出力モジュールをもつ計
算機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックへのポインタを割り当て、
リカバリによって最新チェックポイント時点の状態に戻
らないメモリ領域および上記二次記憶装置上に配置され
るアドレス変換マップと、上記二次記憶装置とメモリの
間で上記アドレス変換マップのページングを行なうアド
レス変換マップページング機構と、最新チェックポイン
ト時点以降のメモリ上の上記アドレス変換マップの変更
履歴を保存するアドレスマップ差分テーブルと、上記二
次記憶装置上で有効なデータを持たない物理ブロックを
管理する無効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップが上記メモリ上に存在し
ない場合、上記アドレスマップページング機構によって
メモリ上の上記アドレス変換マップの一部の領域を上記
アドレスマップ差分テーブルに登録すると共に、次回の
チェックポイント時点以降に上記二次記憶装置上に書き
出した後にこの領域に該当する論理ブロックに対応する
上記アドレス変換マップのエントリを上記二次記憶装置
から読み込み、その論理ブロックの最新チェックポイン
トイメージとは異なる物理ブロックに対してデータを書
き込み、この物理ブロックを最新の論理ブロックイメー
ジとして上記アドレス変換マップに登録し、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、該当する論理ブロックに
対応する上記アドレス変換マップが上記メモリ上に存在
しない場合には、上記アドレスマップページング機構に
より上記メモリ上の上記アドレス変換マップの一部の領
域を上記アドレスマップ差分テーブルに登録すると共
に、次回のチェックポイント時点以降に上記二次記憶装
置上に書き出した後にこの領域に該当する論理ブロック
に対応する上記アドレス変換マップのエントリを上記二
次記憶装置から読み込み、その論理ブロックに対する最
新の論理ブロックイメージを有する物理ブロックからデ
ータを読み出し、 チェックポイント処理では、上記アドレス変換マップ上
の各論理ブロックに対して、最新の論理ブロックイメー
ジを持つ物理ブロックをこの論理ブロックに対するチェ
ックポイントイメージと最新のイメージを持つ物理ブロ
ックとし、上記アドレスマップ差分テーブルに登録され
たエントリを抹消し、 リカバリ時には、上記アドレスマップ差分テーブル登録
された各エントリを上記アドレス変換テーブルに書き戻
すことを特徴とする計算機システムにおける入出力制御
方法。
6. A checkpoint / roller for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, returning the state of the system to the point of the checkpoint collected immediately before and re-executing the process. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, one or more physical blocks are assigned to each logical block of the secondary storage device. Allocation, assigning a pointer to a physical block having a logical block image at the latest checkpoint, a pointer to a physical block having a latest logical block image to each logical block,
A memory area that does not return to the state at the time of the latest checkpoint due to recovery, an address translation map arranged on the secondary storage device, and an address translation map for paging the address translation map between the secondary storage device and the memory A paging mechanism, an address map difference table for storing a change history of the address translation map on the memory after the latest checkpoint, and an invalid block management for managing a physical block having no valid data on the secondary storage device When the input / output module receives a write request to the secondary storage device, if the address conversion map corresponding to the logical block does not exist in the memory, the address map paging mechanism By the above address on the memory A part of the area of the conversion map is registered in the address map difference table, and after writing to the secondary storage device after the next checkpoint, the area of the address conversion map corresponding to the logical block corresponding to this area is written. The entry is read from the secondary storage device, data is written to a physical block different from the latest checkpoint image of the logical block, and this physical block is registered in the address conversion map as the latest logical block image, and When the output module receives a read request from the secondary storage device, if the address translation map corresponding to the corresponding logical block does not exist in the memory, the address map paging mechanism causes the address map paging mechanism to execute the read operation on the memory. Some of the address translation maps The area is registered in the address map difference table, and after writing to the secondary storage device after the next checkpoint, the entry of the address conversion map corresponding to the logical block corresponding to this area is stored in the secondary storage. Read from the device, read data from the physical block having the latest logical block image for the logical block, and in the checkpoint process, for each logical block on the address translation map, A physical block having a checkpoint image and the latest image for this logical block is deleted, and the entries registered in the address map difference table are deleted. Output control method in a computer system, wherein a write back to the conversion table.
【請求項7】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置との間でデータの書き
込みおよび読み出しを行なう入出力モジュールをもつ計
算機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックへのポインタを割り当て、
それぞれの物理ブロックに最後に書き込み処理を行なっ
た時刻を記録し、リカバリによって最新チェックポイン
ト時点に戻るメモリ領域および上記二次記憶装置上に配
置されるアドレス変換マップと、上記二次記憶装置とメ
モリの間で上記アドレス変換マップのページングを行な
うアドレス変換マップページング機構と、上記二次記憶
装置上で有効なデータを持たない物理ブロックを管理す
る無効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップがメモリ上に存在しない
場合、上記アドレス変換マップページング機構によりメ
モリ上の上記アドレス変換マップの一部の領域を次回の
チェックポイント時点以降に上記二次記憶装置に書き出
した後にこの領域に該当する論理ブロックに対応する上
記アドレス変換マップのエントリを上記二次記憶装置か
ら読み込み、その論理ブロックに対して最新チェックポ
イントイメージとは異なる物理ブロックに対してデータ
を書き込み、この物理ブロックを最新の論理ブロックイ
メージとすること、およびこの物理ブロックに書き込み
処理を行なった時刻を上記アドレス変換マップに登録
し、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、該当する論理ブロックに
対応する上記アドレス変換マップが上記メモリ上に存在
しない場合、上記アドレスマップページング機構によっ
て上記メモリ上の上記アドレス変換マップの一部の領域
を次回のチェックポイント時点以降に上記二次記憶装置
上に書き出した後にこの領域に該当する論理ブロックに
対応する上記アドレス変換マップのエントリを上記二次
記憶装置から読み込み、その論理ブロックに対する最新
の論理ブロックイメージをもつ物理ブロックからデータ
を読み出し、 チェックポイント処理では、現在の時刻をチェックポイ
ントタイムスタンプとして保存するようにしたこと特徴
とする計算機システムにおける入出力制御方法。
7. A checkpoint / roller that periodically proceeds with processing while collecting checkpoints, and when a failure occurs in the system, returns the state of the system to the point of the checkpoint that was collected immediately before and re-executes processing. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, one or more physical blocks are assigned to each logical block of the secondary storage device. Allocation, assigning a pointer to a physical block having a logical block image at the latest checkpoint, a pointer to a physical block having a latest logical block image to each logical block,
A memory area for recording the time of the last write processing in each physical block, and returning to the latest checkpoint by recovery, an address translation map arranged on the secondary storage device, the secondary storage device and the memory An address translation map paging mechanism that performs paging of the address translation map, and an invalid block management module that manages a physical block that does not have valid data on the secondary storage device. When a write request to the secondary storage device is received, if the address translation map corresponding to the relevant logical block does not exist in the memory, the address translation map paging mechanism causes a part of the address translation map in the memory to be read. Area after the next checkpoint After writing to the secondary storage device, the entry of the address translation map corresponding to the logical block corresponding to this area is read from the secondary storage device, and the logical block is stored in a physical block different from the latest checkpoint image. Write the data to the physical block to make the physical block the latest logical block image, and register the time at which the write processing was performed on the physical block in the address conversion map. When the read request is received, if the address translation map corresponding to the relevant logical block does not exist in the memory, the address map paging mechanism causes a partial area of the address translation map on the memory to be updated in the next time. After the checkpoint After writing on the storage device, read the entry of the address translation map corresponding to the logical block corresponding to this area from the secondary storage device, read data from the physical block having the latest logical block image for the logical block, In the checkpoint processing, an input / output control method in a computer system, wherein a current time is stored as a checkpoint time stamp.
【請求項8】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には直前
に採取したチェックポイント時点にシステムの状態を戻
し、処理を再実行するチェックポイント・ロールバック
機構を持つと共に、二次記憶装置との間でデータの書き
込みおよび読み出しを行なう入出力モジュールをもつ計
算機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックへのポインタを割り当て、
それぞれの物理ブロックに最後に書き込み処理を行なっ
た時刻を記録し、リカバリによって最新チェックポイン
ト時点の状態に戻らないメモリ領域および上記二次記憶
装置上に配置されるアドレス変換マップと、二次記憶装
置とメモリの間でアドレス変換マップのページングを行
なうアドレス変換マップページング機構と、最新チェッ
クポイント時点以降のメモリ上のアドレス変換マップの
変更履歴を保存するアドレスマップ差分テーブルと、上
記二次記憶装置上で有効なデータを持たない物理ブロッ
クを管理する無効ブロック管理モジュールとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップが上記メモリ上に存在し
ない場合、上記アドレス変換マップページング機構によ
って上記メモリ上の上記アドレス変換マップの一部の領
域を次回のチェックポイント時点以降に上記二次記憶装
置に書き出した後にこの領域に該当する論理ブロックに
対応する上記アドレス変換マップのエントリを上記二次
記憶装置から読み込み、その論理ブロックに対して最新
チェックポイントイメージとは異なる物理ブロックに対
してデータを書き込み、この物理ブロックを最新の論理
ブロックイメージとすること、およびこの物理ブロック
に書き込み処理を行なった時刻を上記アドレス変換マッ
プに登録し、 上記入出力モジュールが二次記憶装置からの読み出し要
求を受け付けたときには、該当する論理ブロックに対応
する上記アドレス変換マップが上記メモリ上に存在しな
い場合、上記アドレスマップページング機構によって上
記メモリ上の上記アドレス変換マップの一部の領域を上
記アドレスマップ差分テーブルに登録すると共に、次回
のチェックポイント時点以降に上記二次記憶装置上に書
き出した後にこの領域に該当する論理ブロックに対応す
る上記アドレス変換マップのエントリを上記二次記憶装
置から読み込み、その論理ブロックに対する最新の論理
ブロックイメージをもつ物理ブロックからデータを読み
出し、 チェックポイント処理では、現在の時刻をチェックポイ
ントタイムスタンプとして保存し、上記アドレスマップ
差分テーブルに登録されたエントリを抹消し、 リカバリ時には、上記アドレスマップ差分テーブルに登
録された各エントリを上記アドレスマップ差分テーブル
に書き戻すようにしたことを特徴とする計算機システム
における入出力制御方法。
8. A checkpoint / roll which performs processing while periodically collecting checkpoints, and when a failure occurs in the system, returns the state of the system to the time of the immediately preceding checkpoint and re-executes the processing. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, one or more physical blocks are assigned to each logical block of the secondary storage device. Allocate, for each logical block, assign a pointer to the physical block having the logical block image at the latest checkpoint, assign a pointer to the physical block having the latest logical block image,
A memory area that records the time of the last write processing in each physical block, does not return to the state at the time of the latest checkpoint by recovery, and an address translation map arranged on the secondary storage device; An address translation map paging mechanism for paging the address translation map between the memory and the memory; an address map difference table for storing a change history of the address translation map on the memory after the latest checkpoint; An invalid block management module that manages a physical block having no valid data, wherein when the input / output module receives a write request to the secondary storage device, the address conversion map corresponding to a corresponding logical block is provided. Is not in the memory, The address conversion map corresponding to the logical block corresponding to this area after writing a part of the address conversion map on the memory to the secondary storage device after the next checkpoint by the paging mechanism. Is read from the secondary storage device, data is written to a physical block different from the latest checkpoint image for the logical block, and this physical block is used as the latest logical block image. The time at which the write processing was performed is registered in the address conversion map. When the input / output module receives a read request from the secondary storage device, the address conversion map corresponding to the corresponding logical block is stored in the memory. If it does not exist, the above address A partial area of the address translation map on the memory is registered in the address map difference table by the up-paging mechanism, and after writing to the secondary storage device after the next checkpoint, a logic corresponding to this area is written. The entry of the address translation map corresponding to the block is read from the secondary storage device, and data is read from the physical block having the latest logical block image for the logical block. And the entries registered in the address map difference table are deleted, and at the time of recovery, each entry registered in the address map difference table is written back to the address map difference table. Input and output control method in the machine system.
【請求項9】 チェックポイント/ロールバック機構を
有し、二次記憶装置の論理ブロックと物理ブロックのマ
ッピングを行なうリカバリにより最新のチェックポイン
ト時点の状態に戻らないメモリ領域、および上記二次記
憶装置上にアドレス変換マップを有し、上記二次記憶装
置との間でデータの書き込みおよび読み出しを行なう入
出力モジュールを持つ計算機システムにおいて、 最新チェックポイント時点以降に書き込み処理をおこな
った論理ブロックに関してこの論理ブロックと、書き込
み処理を行なう前にこの論理ブロックに割り当てられて
いた物理ブロックの組を記録する差分記録機構と、上記
二次記憶装置とメモリの間で上記アドレス変換マップの
ページングを行なうアドレス変換マップページング機構
と、上記二次記憶装置上で有効なデータを持たない物理
ブロックを管理する無効ブロック管理モジュールとを有
し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップが上記メモリ上に存在し
ない場合、上記アドレス変換マップページング機構によ
って上記メモリ上の上記アドレス変換マップの一部の領
域を次回のチェックポイント時点以降に上記二次記憶装
置に書き出した後にこの領域に該当する論理ブロックに
対応する上記アドレス変換マップのエントリを上記二次
記憶装置から読み込み、この時点のこの論理ブロックと
物理ブロックの上記アドレス変換マップ上のマッピング
を上記差分記録機構に記録し、上記無効ブロック管理モ
ジュールから新たに確保した物理ブロックをこの論理ブ
ロックに対する物理ブロックとして上記アドレス変換マ
ップに登録し、この物理ブロックに対して書き込み処理
を行ない、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、該当する論理ブロックに
対応する上記アドレス変換マップが上記メモリ上に存在
しない場合、上記アドレスマップページング機構によっ
て上記メモリ上の上記アドレス変換マップの一部の領域
を上記アドレスマップ差分テーブルに登録すると共に、
次回のチェックポイント時点以降に上記二次記憶装置上
に書き出した後にこの領域に該当する論理ブロックに対
応する上記アドレス変換マップのエントリを二次記憶装
置から読み込み、その論理ブロックに対する最新の論理
ブロックイメージをもつ物理ブロックからデータを読み
出し、 チェックポイント処理では、上記差分記録機構に記録し
たすべての物理ブロックを上記無効ブロック管理モジュ
ールに解放し、上記差分記録機構に記録してあるすべて
の論理ブロックと物理ブロックの組の登録を抹消し、 リカバリ時には、上記差分記録機構に記録してあるすべ
ての論理ブロックについて、上記アドレス変換マップで
その論理ブロックにマップされている物理ブロックを上
記無効ブロック管理モジュールに渡して解放し、上記ア
ドレス変換マップに対して、上記差分記録機構に登録し
てある論理ブロックと物理ブロックの組を書き戻すこと
で最新チェックポイント時点の上記アドレス変換マップ
を復元するようにしたことを特徴とする計算機システム
における入出力制御方法。
9. A memory area having a checkpoint / rollback mechanism and not returning to the state at the latest checkpoint by recovery for mapping a logical block and a physical block of a secondary storage device, and the secondary storage device In a computer system having an address conversion map above and an input / output module for writing and reading data to and from the secondary storage device, a logical block for which writing processing has been performed since the time of the latest checkpoint is referred to as a logical block. A block, a difference recording mechanism for recording a set of physical blocks allocated to the logical block before performing the write processing, and an address conversion map for paging the address conversion map between the secondary storage device and the memory On the paging mechanism and on the secondary storage device An invalid block management module that manages a physical block having no valid data, and when the input / output module receives a write request to the secondary storage device, the address conversion map corresponding to a corresponding logical block. Is not present in the memory, the address translation map paging mechanism writes the partial area of the address translation map in the memory to the secondary storage device after the next checkpoint, and then corresponds to this area. The entry of the address translation map corresponding to the logical block to be read is read from the secondary storage device, and the mapping of the logical block and the physical block on the address translation map at this time is recorded in the difference recording mechanism, and the invalid block is recorded. Physical block newly secured from the management module Is registered in the address translation map as a physical block for this logical block, a write process is performed on this physical block, and when the input / output module receives a read request from the secondary storage device, If the address translation map corresponding to the address does not exist in the memory, while registering a part of the address translation map on the memory in the address map difference table by the address map paging mechanism,
After writing to the secondary storage device after the next checkpoint, an entry of the address translation map corresponding to the logical block corresponding to this area is read from the secondary storage device, and the latest logical block image for the logical block is read. In the checkpoint process, all physical blocks recorded in the difference recording mechanism are released to the invalid block management module, and all logical blocks recorded in the difference recording mechanism are At the time of recovery, the physical block mapped to the logical block in the address conversion map is passed to the invalid block management module for all logical blocks recorded in the differential recording mechanism. And release the above address translation In the computer system, the address conversion map at the latest checkpoint is restored by writing back a set of logical blocks and physical blocks registered in the difference recording mechanism. I / O control method.
【請求項10】 チェックポイント/ロールバック機構
を有し、二次記憶装置の論理ブロックと物理ブロックの
マッピングを行なうリカバリによりて最新チェックポイ
ント時点の状態に戻らないメモリ領域および上記二次記
憶装置上に配置されるアドレス変換マップをもち、上記
二次記憶装置との間でデータの書き込みおよび読み出し
を行なうような入出力モジュールをもつ計算機システム
において、 上記二次記憶装置とメモリの間で上記アドレス変換マッ
プのページングを行なう上記アドレス変換マップページ
ング機構をもち、最新チェックポイント時点以降に書き
込み処理を行なった論理ブロックに関して、この論理ブ
ロックと、書き込み処理を行なう前にこの論理ブロック
に割り当てられていた物理ブロックの組を記録する差分
記録機構と、上記二次記憶装置上で有効なデータを持た
ない物理ブロックを管理する無効ブロック管理モジュー
ルとを有し、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、該当する論理ブロックに対
応する上記アドレス変換マップが上記メモリ上に存在し
ない場合、上記アドレス変換マップページング機構によ
って上記メモリ上の上記アドレス変換マップの一部の領
域を次回のチェックポイント時点以降に上記二次記憶装
置に書き出した後にこの領域に該当する論理ブロックに
対応する上記アドレス変換マップのエントリを上記二次
記憶装置から読み込み、指定された論理ブロックが上記
差分記録機構に登録されていなければこの時点のこの論
理ブロックと物理ブロックの上記アドレス変換マップ上
のマッピングを上記差分記録機構に記録し、上記無効ブ
ロック管理モジュールから新たに確保した物理ブロック
をこの論理ブロックに対する物理ブロックとして上記ア
ドレス変換マップに登録した後、この物理ブロックに対
して書き込み処理を行ない、指定された論理ブロックが
上記差分記録機構に登録されていれば上記アドレス変換
マップでこの論理ブロックにマップされている物理ブロ
ックにデータを書き込み、 上記入出力モジュールが上記二次記憶装置からの読み出
し要求を受け付けたときには、該当する論理ブロックに
対応する上記アドレス変換マップがメモリ上に存在しな
い場合、上記アドレスマップページング機構によって上
記メモリ上の上記アドレス変換マップの一部の領域を上
記アドレスマップ差分テーブルに登録すると共に次回の
チェックポイント時点以降に上記二次記憶装置上に書き
出した後にこの領域に該当する論理ブロックに対応する
上記アドレス変換マップのエントリを上記二次記憶装置
から読み込み、その論理ブロックに対する最新の論理ブ
ロックイメージをもつ物理ブロックからデータを読み出
し、 チェックポイント処理では、上記差分記録機構に記録し
たすべての物理ブロックを上記無効ブロック管理モジュ
ールに解放し、上記差分記録機構に記録してあるすべて
の論理ブロックと物理ブロックの組の登録を抹消し、 リカバリ時には、上記差分記録機構に記録してあるすべ
ての論理ブロックについて、上記アドレス変換マップで
その論理ブロックにマップされている物理ブロックを上
記無効ブロック管理モジュールに渡して解放し、上記ア
ドレス変換マップに対して、上記差分記録機構に登録し
てある論理ブロックと物理ブロックの組を書き戻すこと
で最新チェックポイント時点の上記アドレス変換マップ
を復元するようにしたことを特徴とする計算機システム
における入出力制御方法。
10. A memory area which has a checkpoint / rollback mechanism, does not return to the state at the latest checkpoint by recovery for mapping logical blocks and physical blocks of the secondary storage device, and A computer system having an input / output module for writing and reading data to and from the secondary storage device having an address conversion map arranged in the secondary storage device; The logical translation block having the address translation map paging mechanism for performing paging of a map, and for which a logical block has been written after the latest checkpoint, is assigned to this logical block and a physical block assigned to this logical block before the write processing is performed. Recording mechanism that records a set of An invalid block management module that manages a physical block having no valid data on the secondary storage device. When the input / output module receives a write request to the secondary storage device, If the address translation map corresponding to the block does not exist in the memory, the address translation map paging mechanism causes a partial area of the address translation map on the memory to be moved to the secondary storage device after the next checkpoint. After writing the data in the address conversion map corresponding to the logical block corresponding to this area, the entry is read from the secondary storage device. If the specified logical block is not registered in the difference recording mechanism, Mapping of blocks and physical blocks on the above address translation map After recording in the difference recording mechanism and registering the newly secured physical block from the invalid block management module as a physical block for this logical block in the address translation map, a write process is performed on this physical block, and If the logical block is registered in the difference recording mechanism, data is written to the physical block mapped to the logical block in the address conversion map, and the input / output module receives a read request from the secondary storage device. When the address translation map corresponding to the relevant logical block does not exist in the memory, the address map paging mechanism registers a partial area of the address translation map in the memory in the address map difference table. With the next check After writing to the secondary storage device after the time point, the entry of the address translation map corresponding to the logical block corresponding to this area is read from the secondary storage device, and the latest logical block image for the logical block is read. In the checkpoint process, all physical blocks recorded in the difference recording mechanism are released to the invalid block management module, and all logical blocks and physical blocks recorded in the difference recording mechanism are read out. At the time of recovery, for all the logical blocks recorded in the difference recording mechanism, the physical blocks mapped to the logical blocks in the address conversion map are passed to the invalid block management module. Release and use the above address translation map On the other hand, the address conversion map at the time of the latest checkpoint is restored by writing back a set of a logical block and a physical block registered in the difference recording mechanism. Method.
【請求項11】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置との間でデータの書
き込みおよび読み出しを行なう入出力モジュールが記憶
装置に割り付けられ格納される計算機システムにおい
て、 上記二次記憶装置を構成するそれぞれの論理ブロックに
対して少なくとも一つの物理ブロックを割り当て、各論
理ブロックに対して最新チェックポイント時点の論理ブ
ロックイメージを持つ物理ブロックへのポインタ、なら
びに最新の論理ブロックイメージをもつ物理ブロックへ
のポインタを割り当てるアドレス変換マップが割り付け
られ保持される記憶手段と、 上記二次記憶装置上で有効なデータを持たない物理ブロ
ックを管理する無効ブロック管理手段と、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、その論理ブロックに対して
最新チェックポイントイメージとは異なる物理ブロック
に対してデータを書き込み、この物理ブロックを最新の
論理ブロックイメージとして上記アドレス変換マップに
登録し、上記入出力モジュールが上記二次記憶装置に対
する読み出し要求を受け付けたときには、その論理ブロ
ックに対する最新の論理ブロックイメージを持つ物理ブ
ロックからデータを読み出し、チェックポイント処理で
は、上記アドレス変挽マップ上の各論理ブロックに対し
て、最新の論理ブロックイメージを持つ物理ブロックを
この論理ブロックに対するチェックポイントイメージか
つ最新のイメージを持つ物理ブロックとし、リカバリ時
には、上記アドレス変換マップ上の各論理ブロックに対
して、チェックポイント時点の論理ブロックイメージを
持つ物理ブロックをこの論理ブロックに対するチェック
ポイントイメージかつ最新のイメージをもつ物理ブロッ
クとする入出力制御手段とを具備することを特徴とする
計算機システムにおける入出力制御装置。
11. A checkpoint / role for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, restoring the state of the system to the immediately preceding checkpoint and re-executing the process. A computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device is allocated and stored in the storage device. Address translation map for allocating at least one physical block to each logical block and assigning a pointer to a physical block having a logical block image at the latest checkpoint and a pointer to a physical block having the latest logical block image to each logical block Is allocated and retained Storage means, invalid block management means for managing a physical block having no valid data on the secondary storage device, and a logical block when the input / output module receives a write request to the secondary storage device. Writes data to a physical block different from the latest checkpoint image, registers the physical block as the latest logical block image in the address conversion map, and requests the input / output module to read from the secondary storage device. Is received, the data is read from the physical block having the latest logical block image for the logical block. In the checkpoint processing, the physical block having the latest logical block image is read for each logical block on the address modification map. Block this logical block At the time of recovery, the physical block having the logical block image at the time of the checkpoint is used as the checkpoint image for the logical block. An input / output control device in a computer system, comprising: an input / output control unit configured as a physical block having the latest image.
【請求項12】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置との間でデータの書
き込みおよび読み出しを行なう入出力モジュールを持つ
計算機システムにおいて、 上記二次記憶装置のそれぞれの論理ブロックに対して一
つ以上の物理ブロックを割り当て、各論理ブロックに対
して最新チェックポイント時点の論理ブロックイメージ
を持つ物理ブロックへのポインタ、最新の論理ブロック
イメージをもつ物理ブロックへのポインタを割り当て、
更にそれぞれの物理ブロックに最後に書き込み処理を行
なった時刻を記録するアドレス変換マップが割り付けら
れ保持される記憶手投と、 二次記憶装置上で有効なデータを持たない物理ブロック
を管理する無効ブロック管理手段と、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、その論理ブロックに対して
最新チェックポイントイメージとは異なる物理ブロック
に対してデータを書き込み、この物理ブロックを最新の
論理ブロックイメージとして登録すると共にこの物理ブ
ロックに書き込み処理を行なった時刻をアドレス変換マ
ップに登録し、上記入出力モジュールが上記二次記憶装
置からの読み出し要求を受け付けたときには、その論理
ブロックに対する最新の論理ブロックイメージを持つ物
理ブロックからデータを読み出し、チェックポイント処
理では、現在の時刻をチェックポイントタイムスタンプ
として保存し、リカバリ時には、アドレス変換マップ上
の各論理ブロックに対して、チェックポイントタイムス
タンプよりも新しいタイムスタンプを持つ最新の物理ブ
ロックへのポインタが登録されている場合は最新の物理
ブロックを上記無効ブロック管理モジュールに渡して解
放し、チェックボイント時点の物理ブロックへのポイン
タを最新の物理ブロックヘのポインタとして上記アドレ
ス変換マップに登録する入出力制御手段とを具備するこ
とを計算機システムにおける入出力制御装置。
12. A checkpoint / role for performing processing while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the point of the checkpoint collected immediately before and re-executing the processing. In a computer system having a back mechanism and an input / output module for writing and reading data to and from a secondary storage device, one or more physical blocks are assigned to each logical block of the secondary storage device. Allocate, for each logical block, assign a pointer to the physical block having the logical block image at the latest checkpoint, assign a pointer to the physical block having the latest logical block image,
In addition, an address conversion map that records the time of the last write processing for each physical block is allocated and retained, and an invalid block that manages physical blocks that do not have valid data on the secondary storage device When the management unit and the input / output module receive a write request to the secondary storage device, data is written to the logical block in a physical block different from the latest checkpoint image, and the physical block is updated to the latest. And the time at which the write processing was performed on this physical block is registered in the address translation map. When the input / output module receives a read request from the secondary storage device, the latest Physical block with a logical block image of In the checkpoint process, the current time is stored as a checkpoint timestamp, and at the time of recovery, each logical block on the address translation map has a newer timestamp than the checkpoint timestamp. When the pointer to the physical block is registered, the latest physical block is passed to the invalid block management module to be released, and the pointer to the physical block at the time of the check point is set as the pointer to the latest physical block. And an input / output control means for registering the input / output in the computer system.
【請求項13】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置の論理ブロックと物
理ブロックのマッピングを行なうアドレス変換マップ
と、上記二次記憶装置との間でデータの書き込みおよび
読み出しを行なう入出力モジュールを持つ計算機システ
ムにおいて、 最新チェックポイント時点以降に書き込み処理を行なっ
た論理ブロックに関してこの論理ブロックと、書き込み
処理を行なう前にこの論理ブロックに割り当てられてい
た物理ブロックの組が記録される差分記録機構と、 上記二次記憶装置上で有効なデータを持たない物理ブロ
ックを管理する無効ブロック管理手投と、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときには、この時点のこの論理ブロッ
クと物理ブロックの上記アドレス変換マップ上のマッピ
ングを上記差分記録機構に記録し、上記無効ブロック管
理モジュールから新たに確保した物理ブロックをこの論
理ブロックに対する物理ブロックとして上記アドレス変
換マップに登録し、この物理ブロックに対して書き込み
処理を行い、チェックポイント処理では、上記差分記録
機構に記録した全ての物理ブロックを上記無効ブロック
管理モジュールに解放し、上記差分記録機構に記録して
ある全ての論理ブロックと物理ブロックの組の登録を抹
消し、リカバリ時には、上記差分記録機構に記録してあ
る全ての論理ブロックについて、上記アドレス変換マッ
プでその論理ブロックにマップされている物理ブロック
を上記無効ブロック管理モジュールに渡して解放し、上
記アドレス変換マップに対して、上記差分記録機構に登
録してある論理ブロックと物理ブロックの組を書き戻す
ことで最新チェックポイント時点の上記アドレス変換マ
ップを復元する入出力制御手段とを具備することを特徴
とする計算機システムにおける入出力制御装置。
13. A checkpoint / roll which periodically proceeds with processing while collecting checkpoints, and when a failure occurs in the system, returns the state of the system to the point of the checkpoint collected immediately before and executes the processing again. A computer system having a back mechanism and an input / output module for writing and reading data to and from the secondary storage device, and an address translation map for mapping logical blocks and physical blocks of the secondary storage device, A difference recording mechanism for recording a set of a logical block that has been subjected to a write process after the latest checkpoint, and a set of physical blocks allocated to the logical block before the write process; Manage physical blocks that do not have valid data on the device When the input / output module receives a write request to the secondary storage device, the mapping of the logical block and the physical block on the address translation map at this time is stored in the difference recording mechanism. The physical block newly recorded from the invalid block management module is recorded in the address conversion map as a physical block for the logical block, and a write process is performed on the physical block. All physical blocks recorded in the mechanism are released to the invalid block management module, all the logical block and physical block pairs recorded in the difference recording mechanism are deleted, and at the time of recovery, the difference recording mechanism is deleted. For all recorded logical blocks, the above A physical block mapped to the logical block in the address translation map is passed to the invalid block management module to be released, and a set of a logical block and a physical block registered in the difference recording mechanism is registered in the address translation map. Input / output control means for restoring the address conversion map at the time of the latest checkpoint by writing back the data.
【請求項14】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置の論理ブロックと物
理ブロックのマッピングを行なうアドレス変換マップ
と、上記二次記憶装置との間でデータの書き込みおよび
読み出しを行なう入出力モジュールを持つ計算機システ
ムにおいて、 最新チェックポイント時点以降に書き込み処理を行なっ
た論理ブロックに関してこの論理ブロックと、書き込み
処理を行なう前にこの論理ブロックに割り当てられてい
た物理ブロックの組が記録される差分記録手段と、 二次記憶装置上で有効なデータを持たない物理ブロック
を管理する無効ブロック管理機構と、 上記入出力モジュールが上記二次記憶装置への書き込み
要求を受け付けたときに、指定された論理ブロックが上
記差分記録機構に登録されていなければこの時点のこの
論理ブロックと物理ブロックの上記アドレス変換マップ
上のマッピングを上記差分記録機構に記録し、上記無効
ブロック管理モジュールから新たに確保した物理ブロッ
クをこの論理ブロックに対する物理ブロックとして上記
アドレス変換マップに登録した後、この物理ブロックに
対して書き込み処理を行い、もし指定された論理ブロッ
クが上記差分記録機構に登録されていれば上記アドレス
変換マップでこの論理ブロックにマップされている物理
ブロックにデータを書き込み、チェックポイント処理で
は、上記差分記録機構に記録した全ての物理ブロックを
上記無効ブロック管理モジュールに解放し、上記差分記
録機構に記録してある全ての論理ブロックと物理ブロッ
クの組の登録を抹消し、リカバリ時には、上記差分記録
機構に記録してある全ての論理ブロックについて、上記
アドレス変換マップでその論理ブロックにマップされて
いる物理ブロックを上記無効ブロック管理機構に渡して
解放し、上記アドレス変換マップに対して、上記差分記
録機構に登録してある論理ブロックと物理ブロックの組
を書き戻すことで最新チェックポイント時点の上記アド
レス変換マップの内容を復元する入出力制御手段とを具
備することを特徴とする計算機システムにおける入出力
制御装置。
14. A checkpoint / roll function for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. A computer system having a back mechanism and an input / output module for writing and reading data to and from the secondary storage device, and an address translation map for mapping logical blocks and physical blocks of the secondary storage device, Difference recording means for recording a set of logical blocks for which logical processing has been performed since the latest checkpoint and physical blocks allocated to the logical blocks before performing the write processing; and a secondary storage device. Manages physical blocks that have no valid data on them An effective block management mechanism, and when the specified logical block is not registered in the difference recording mechanism when the input / output module receives a write request to the secondary storage device, The mapping of the block on the address translation map is recorded in the difference recording mechanism, and the newly secured physical block from the invalid block management module is registered in the address translation map as a physical block for this logical block. If the specified logical block is registered in the difference recording mechanism, data is written to the physical block mapped to this logical block in the address conversion map. All physical blocks recorded in the difference recording mechanism Block is released to the invalid block management module, and all the pairs of logical blocks and physical blocks recorded in the difference recording mechanism are deleted. For the logical block, the physical block mapped to the logical block in the address translation map is passed to the invalid block management mechanism to be released, and the logical block registered in the difference recording mechanism for the address translation map. And an input / output control means for restoring the contents of the address conversion map at the latest checkpoint by rewriting a set of physical blocks.
【請求項15】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置を構成するそれぞれ
の論理ブロックに対して少なくとも1つの物理ブロック
を割り当て、最新チェックポイント時点の論理ブロック
イメージを持つ物理ブロックへのポインタ、最新の論理
ブロックイメージを持つ物理ブロックへのポインタを割
り当てるアドレス変換マップと、上記二次記憶装置との
間でデータの書き込みおよび読み出しを行なう入出力モ
ジュールを持つ計算機システムにおいて用いられ、 上記入出力モジュールが書き込み要求を受け取ったと
き、その論理アドレスに対して最新の論理ブロックイメ
ージが存在するか否かチェックさせる機能と、上記アド
レス変換マップを参照することにより、指定された論理
ブロックに対して最新の論理ブロックイメージが登録さ
れている場合には、最新の論理ブロックイメージとして
登録されている物理ブロックに書き込み処理を行なわせ
る機能と、指定された論理ブロックに対して最新の論理
ブロックイメージが割り当てられていない場合には、無
効ブロック管理モジュールから新たに物理ブロックを確
保して、この物理ブロックを指定された論理ブロックの
最新のイメージを持つ有効物理ブロックとして上記アド
レス変換マップに登録し、この物理ブロックに対して書
き込みを行なわせる機能とがプログラムされ記憶される
コンピュータ読み取り可能な記憶媒体。
15. A checkpoint / roll function for performing a process while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. At least one physical block is allocated to each logical block constituting the secondary storage device, and a pointer to a physical block having a logical block image at the latest checkpoint and the latest logical block image are stored. Used in a computer system having an address conversion map for allocating a pointer to a physical block having the I / O module for writing and reading data to and from the secondary storage device, the I / O module receiving a write request When the logical address When the latest logical block image is registered for the specified logical block by referring to the address conversion map and the function for checking whether or not the latest logical block image exists, A function to write to the physical block registered as the latest logical block image, and if the latest logical block image is not assigned to the specified logical block, a new A function of securing a physical block, registering this physical block as an effective physical block having the latest image of the specified logical block in the address translation map, and writing the physical block is programmed and stored. Computer readable storage medium.
【請求項16】 チェックポイント処理において、アド
レス変換マップに登録されている全ての最新チェックポ
イント時点の論理ブロックイメージとなる物理アドレス
エントリを前記無効ブロック管理モジュールに渡すこと
により解放し、全ての最新チェックポイント時点の論理
ブロックイメージとなる物理アドリスエントリを物理ブ
ロックが割り当てられていないことを示す特定の値に設
定させる機能と、リカバリ処理において、上記アドレス
変換マップを参照することにより最新チェックポイント
時点の論理ブロックイメージとなる物理アドレスエント
リが上記特定の値でない全ての論理ブロックに対して対
応する有効物理ブロックを上記無効ブロック管理モジュ
ールに渡すことで解放し、最新チェックポイント時点の
論理ブロックイメージとなる物理ブロックアドレスエン
トリの値を最新の論理ブロックイメージとなる物理ブロ
ックアドレスエントリに移動し、最新チェックポイント
時点の論理ブロックイメージとなる物理ブロックアドレ
スエントリに対し上記特定の値を設定させる機能と、シ
ステムシャットダウン時には、アドレス変換マップの内
容を不揮発性記憶領域に保存し、次回ブート時にはアド
レス変換マップの内容をシャットダウン完了時点の状態
に復元させる機能とがプログラムされ記録されるコンピ
ュータ読み取り可能な請求項15記載の記憶媒体。
16. In the checkpoint process, physical address entries that are logical block images at the time of the latest checkpoint registered in the address conversion map are released by passing them to the invalid block management module, and all the latest checks are performed. A function to set a physical address entry that is a logical block image at the point in time to a specific value indicating that a physical block has not been allocated, and in the recovery processing, refer to the address conversion map to obtain the latest checkpoint time. For each logical block whose physical address entry that is a logical block image is not the specific value, the corresponding valid physical block is released by passing it to the invalid block management module, and the logical block image at the latest checkpoint is released. A function of moving the value of the physical block address entry that becomes the latest logical block image to the physical block address entry that becomes the latest logical block image, and setting the specific value to the physical block address entry that becomes the logical block image at the time of the latest checkpoint. A computer-readable program which is programmed and recorded with a function of storing the contents of the address conversion map in a nonvolatile storage area at the time of system shutdown, and restoring the contents of the address conversion map to the state at the time of shutdown completion at the next boot. 16. The storage medium according to 15.
【請求項17】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置を構成するそれぞれ
の論理ブロックに対して少なくとも1つの物理ブロック
を割り当て、最新チェックポイント時点の論理ブロック
イメージを持つ物理ブロックへのポインタ、最新の論理
ブロックイメージを持つ物理ブロックヘのポインタ、タ
イムスタンプを割り当てるアドレス変換マップと、上記
二次記憶装置との間でデータの書き込みおよび読み出し
を行なう入出カモジュールを持つ計算機システムにおい
て用いられ、 上記入出力モジュールが書き込み要求を受け取ったと
き、最新の論理ブロックイメージとなるブロックのタイ
ムスタンプが最新のチェックポイントタイムスタンプよ
り古いか否かをチェックさせる機能と、上記アドレス変
換マップの内容を参照することにより、指定された論理
ブロックに対して有効な物理ブロックのタイムスタンプ
がチェックポイントタイムスタンプよりも古くない場合
には、現在有効な物理ブロックとして登録されている物
理ブロックに書き込み行なわせる機能と、指定された論
理ブロックに対して最新の論理ブロックイメージである
物理ブロックのタイムスタンプがチェックポイントタイ
ムスタンプよりも古い場合、更に最新チェックポイント
時点の論理ブロックイメージであるアドレスが存在する
か否かをチェックさせる機能と、指定された論理ブロッ
クの最新チェックポイント時点の論理ブロックイメージ
である物理ブロックアドレスが上記特定の値でなけれ
ば、この物理ブロックを無効ブロック管理モジュールに
渡すことで解放し、指定された論理ブロックに対して、
最新の論理ブロックイメージである現在有効な物理ブロ
ックのアドレスを最新チェックポイント時点の論理ブロ
ックイメージの物理ブロックアドレスとして登録させる
機能と、上記無効ブロック管理モジュールから新たに物
理ブロックを確保して、この物理ブロックを指定された
論理ブロックの有効物理ブロックとして上記アドレス変
換マップに登録し、この物理ブロックに対して書き込み
を行なわせる機能とがプログラムされ記憶されるコンピ
ュータ読み取り可能な記憶媒体。
17. A checkpoint / roll function for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. At least one physical block is allocated to each logical block constituting the secondary storage device, and a pointer to a physical block having a logical block image at the latest checkpoint and the latest logical block image are stored. Used in a computer system having an address conversion map for allocating a pointer to a physical block and a time stamp, and an input / output module for writing and reading data to and from the secondary storage device. When you receive it, A function to check whether the time stamp of a block serving as a logical block image is older than the latest check point time stamp, and by referring to the contents of the address translation map, If the timestamp of the physical block is not older than the checkpoint timestamp, the function to write to the physical block registered as the currently valid physical block and the latest logical block image for the specified logical block If the timestamp of the physical block is older than the checkpoint timestamp, a function to further check whether an address which is a logical block image at the latest checkpoint exists, and the latest checkpoint of the specified logical block If the physical block address that is the logical block image at the time is not the specific value, the physical block is released by passing the physical block to the invalid block management module, and for the specified logical block,
A function for registering the address of the currently valid physical block, which is the latest logical block image, as the physical block address of the logical block image at the time of the latest checkpoint, and securing a new physical block from the invalid block management module, A computer-readable storage medium in which a block is registered as an effective physical block of a designated logical block in the address conversion map, and a function of writing the physical block is programmed and stored.
【請求項18】 チェックポイント処理において、現在
の時刻をチェックポイントタイムスタンプとして登録さ
せる機能と、リカバリ処理において、アドレス変換マッ
プ上の全ての論理ブロックに対して、その論理ブロック
に対応する有効物理ブロックのタイムスタンプがチェッ
クポイントタイムスタンプよりも新しい場合は、有効物
理ブロックを上記無効ブロック管理モジュールに渡すこ
とで解放し、最新チェックポイント時点の論理ブロック
イメージである物理ブロックアドレスエントリの値を最
新の論理ブロックイメージである物理ブロックアドレス
に移動し、最新チェックポイント時点の論理ブロックイ
メージである物理ブロックアドレスエントリの値を上記
特定の値に設定させる機能と、システムシャトダウン時
には、上記アドレス変換マップを不揮発性記憶に保存す
ることにより、次回ブート時には上記アドレス変換マッ
プをシャトダウン完了時点の状態に復元させる機能とが
プログラムされ記録される請求項15記載のコンピュー
タ読み取り可能な記憶媒体。
18. A function for registering the current time as a checkpoint time stamp in the checkpoint processing, and for each logical block on the address translation map, a valid physical block corresponding to the logical block in the recovery processing. If the timestamp is newer than the checkpoint timestamp, the valid physical block is released by passing it to the invalid block management module, and the value of the physical block address entry which is the logical block image at the latest checkpoint is updated to the latest logical block. A function to move to a physical block address which is a block image and set the value of a physical block address entry which is a logical block image at the time of the latest checkpoint to the above-mentioned specific value; 16. The computer-readable storage medium according to claim 15, wherein a function of restoring the address conversion map to a state at the time of shutdown completion at the next boot is programmed and recorded by storing the conversion map in a nonvolatile storage.
【請求項19】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置の論理ブロックと物
理ブロックのマッピングを行なうアドレス変換マップ
と、上記二次記憶装置との間でデータの書き込みおよび
読み出しを行なう入出力モジュールを持つ計算機システ
ムにおいて用いられ、 上記入出力モジュールが書き込み要求を受け取ったと
き、指定された論理ブロックに関して、現在の論理ブロ
ックと物理ブロックの組を差分登録機構に登録させる機
能と、無効ブロック管理モジュールから新たに物理ブロ
ックを確保し、この物理ブロックを指定された論理ブロ
ックに対するマッピングとして上記アドレス変換マップ
に登録させる機能と、登録を終えた後この物理ブロック
に対して書き込みを行なわせる機能とがプログラムされ
記憶されるコンピュータ読み取り可能な記憶媒体。
19. A checkpoint / roller for performing a process while periodically collecting checkpoints and, when a failure occurs in the system, returning the state of the system to the point of the checkpoint just collected and re-executing the process. Used in a computer system having a back mechanism, an address translation map for mapping logical blocks and physical blocks of a secondary storage device, and an input / output module for writing and reading data to and from the secondary storage device. When the input / output module receives the write request, a function for registering the current logical block and physical block pair in the differential registration mechanism with respect to the specified logical block, and a new physical block from the invalid block management module. Allocate this physical block to the specified logical block. A function of registering in the address translation map as a mapping for the click, a computer-readable storage medium which functions and to perform a write to this physical block after the completion of registration is programmed and stored.
【請求項20】 チェックポイント処理において、上記
差分記録機構に登録されている全ての物理ブロックを上
記無効ブロック管理モジュールに渡すことにより解放
し、上記差分登録機構に登録されている全ての論理ブロ
ックアドレスと物理ブロックアドレスの組の登録を抹消
させる機能と、リカバリ処理において、上記差分記録機
構に登録されてある全ての論理ブロックに関して、上記
アドレス変換マップ上でその論理ブロックにマッピング
されている物理ブロックを上記無効ブロック管理モジュ
ールに渡すことにより解放し、上記アドレス変換マップ
に対して、上記差分記録機構に登録されている論理ブロ
ックと物理ブロックのマッピングを上書きすることによ
り、最新チェックポイント時点のアドレス変換マップの
内容を復元させる機能とがプログラムされ記憶される請
求項19記載のコンピュータ読み取り可能な記憶媒体。
20. In the checkpoint process, all physical blocks registered in the difference recording mechanism are released by being passed to the invalid block management module, and all logical block addresses registered in the difference registration mechanism are released. And a function of deleting the registration of the set of the physical block address and the physical block address, and in the recovery process, for all the logical blocks registered in the difference recording mechanism, Release by passing to the invalid block management module, and overwrite the address conversion map with the mapping of the logical block and the physical block registered in the difference recording mechanism, thereby obtaining the address conversion map at the latest checkpoint. Function to restore the contents of 20. The computer-readable storage medium according to claim 19, wherein are stored and programmed.
【請求項21】 定期的にチェックポイントを採取しな
がら処理を進め、システムに障害が発生した場合には直
前に採取したチェックポイント時点にシステムの状態を
戻し、処理を再実行するチェックポイント・ロールバッ
ク機構を持つと共に、二次記憶装置の論理ブロックと物
理ブロックのマッピングを行なうアドレス変換マップ
と、上記二次記憶装置との間でデータの書き込みおよび
読み出しを行なう入出力モジュールを持つ計算機システ
ムにおいて用いられ、 上記入出力モジュールが書き込み要求を受け取ったと
き、指定された論理ブロックが差分記録機構に登録され
ていなければ、指定された論理ブロックに関して現在の
論理ブロックと物理ブロックの組を上記差分記録機構に
登録させる機能と、無効ブロック管理モジュールから新
たに物理ブロックを確保し、この物理ブロックを指定さ
れた論理ブロックに対するマッピングとして上記アドレ
ス変換マップに登録させる機能と、登録を終えた後、こ
の論理ブロックにマッピングされた物理ブロックに対し
て書き込みを行なわせる機能とがプログラムされ記憶さ
れるコンピュータ読み取り可能な記憶媒体。
21. A checkpoint / role for performing a process while periodically collecting checkpoints, and when a failure occurs in the system, returning the state of the system to the immediately preceding checkpoint and re-executing the process. Used in a computer system having a back mechanism, an address translation map for mapping logical blocks and physical blocks of a secondary storage device, and an input / output module for writing and reading data to and from the secondary storage device. When the input / output module receives the write request, if the specified logical block is not registered in the differential recording mechanism, the current logical block and physical block pair of the specified logical block is stored in the differential recording mechanism. New function from the invalid block management module And a function of registering the physical block in the address translation map as a mapping for the specified logical block, and performing a write operation on the physical block mapped to the logical block after completing the registration. A computer-readable storage medium in which a function to be programmed is programmed and stored.
【請求項22】 チェックポイント処理において、上記
差分記録機構に登録されている全ての物理ブロックを上
記無効ブロック管理モジュールに渡すことにより解放
し、上記差分登録機構に登録されている全ての論理ブロ
ックアドレスと物理ブロックアドレスの組の登録を抹消
させる機能と、リカバリ処理において、上記差分記録機
構に登録されてある全ての論理ブロックに関して、上記
アドレス変換マップ上でその論理ブロックにマップされ
ている物理ブロックを上記無効ブロック管理モジュール
に渡すことにより解放し、上記アドレス変換マップに対
して、上記差分記録機機構に登録している論理ブロック
と物理ブロックのマッピングを上書きすることにより、
最新チェックポイント時点の上記アドレス変換マップの
内容を復元する機能とがプログラムされ記憶される請求
項21記載のコンピュータ読み取り可能な記憶媒体。
22. In the checkpoint processing, all physical blocks registered in the difference recording mechanism are released by being passed to the invalid block management module, and all logical block addresses registered in the difference registration mechanism are released. And a function of deleting the registration of the set of the physical block address and the physical block address, and in the recovery processing, for all the logical blocks registered in the difference recording mechanism, the physical block mapped to the logical block on the address conversion map is deleted. By releasing by passing to the invalid block management module, by overwriting the mapping of the logical block and the physical block registered in the difference recording mechanism with respect to the address translation map,
22. The computer-readable storage medium according to claim 21, wherein a function of restoring the contents of the address conversion map at the time of the latest checkpoint is programmed and stored.
JP11048453A 1998-05-29 1999-02-25 Device and method for controlling input/output for computer system and storage medium storing the programmed method Pending JP2000047891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11048453A JP2000047891A (en) 1998-05-29 1999-02-25 Device and method for controlling input/output for computer system and storage medium storing the programmed method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-150041 1998-05-29
JP15004198 1998-05-29
JP11048453A JP2000047891A (en) 1998-05-29 1999-02-25 Device and method for controlling input/output for computer system and storage medium storing the programmed method

Publications (1)

Publication Number Publication Date
JP2000047891A true JP2000047891A (en) 2000-02-18

Family

ID=26388727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11048453A Pending JP2000047891A (en) 1998-05-29 1999-02-25 Device and method for controlling input/output for computer system and storage medium storing the programmed method

Country Status (1)

Country Link
JP (1) JP2000047891A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007148906A (en) * 2005-11-29 2007-06-14 Fujitsu Ltd Operating environment switching program and information processing apparatus
JP2011517820A (en) * 2008-04-06 2011-06-16 フュージョン−アイオー・インコーポレーテッド Apparatus, system and method for converting a storage request into an additional data storage command
JP2013109419A (en) * 2011-11-17 2013-06-06 Toshiba Corp Information processor
US9268706B2 (en) 2011-08-01 2016-02-23 Kabushiki Kaisha Toshiba Information processing device including host device and semiconductor memory device having plurality of address conversion information
US10114635B2 (en) 2012-04-05 2018-10-30 International Business Machines Corporation Software development support

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007148906A (en) * 2005-11-29 2007-06-14 Fujitsu Ltd Operating environment switching program and information processing apparatus
JP2011517820A (en) * 2008-04-06 2011-06-16 フュージョン−アイオー・インコーポレーテッド Apparatus, system and method for converting a storage request into an additional data storage command
US9268706B2 (en) 2011-08-01 2016-02-23 Kabushiki Kaisha Toshiba Information processing device including host device and semiconductor memory device having plurality of address conversion information
US9542117B2 (en) 2011-08-01 2017-01-10 Kabushiki Kaisha Toshiba Information processing device including host device and semiconductor memory device having a plurality of address conversion information
US9870155B2 (en) 2011-08-01 2018-01-16 Toshiba Memory Corporation Information processing device including host device and semiconductor memory device having a block rearrangement to secure free blocks
US10331356B2 (en) 2011-08-01 2019-06-25 Toshiba Memory Corporation Data writing processing into memory of a semiconductor memory device by using a memory of a host device
US10949092B2 (en) 2011-08-01 2021-03-16 Toshiba Memory Corporation Memory system with block rearrangement to secure a free block based on read valid first and second data
US11537291B2 (en) 2011-08-01 2022-12-27 Kioxia Corporation Data reading and writing processing from and to a semiconductor memory and a memory of a host device by using first and second interface circuits
US11868618B2 (en) 2011-08-01 2024-01-09 Kioxia Corporation Data reading and writing processing from and to a semiconductor memory and a memory of a host device by using first and second interface circuits
JP2013109419A (en) * 2011-11-17 2013-06-06 Toshiba Corp Information processor
US10114635B2 (en) 2012-04-05 2018-10-30 International Business Machines Corporation Software development support

Similar Documents

Publication Publication Date Title
US10289545B2 (en) Hybrid checkpointed memory
US7266669B2 (en) File system with file management function and file management method
KR102395360B1 (en) A device controller and method for performing a plurality of write transactions atomically within a nonvolatile data storage device
JP5021677B2 (en) Managing state with delta pager
US5949970A (en) Dual XPCS for disaster recovery
US9405680B2 (en) Communication-link-attached persistent memory system
US8621144B2 (en) Accelerated resume from hibernation in a cached disk system
CN107735774B (en) SMR perception only adds file system
US7035881B2 (en) Organization of read-write snapshot copies in a data storage system
US7293137B2 (en) Storage system with inhibition of cache destaging
US20130080687A1 (en) Solid state disk employing flash and magnetic random access memory (mram)
US9009396B2 (en) Physically addressed solid state disk employing magnetic random access memory (MRAM)
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
JPH0644010A (en) Method and system for polling under sub-file in time zero-backup-copy-process
US10515071B2 (en) Database management system and database management method using logical addresses and timestamps
US9003106B1 (en) Crash consistency
US9335941B1 (en) Crash consistency
CN115705153A (en) Conditional update and deferred lookup
JP2000047891A (en) Device and method for controlling input/output for computer system and storage medium storing the programmed method
JP3135714B2 (en) Checkpoint restart method
CN114528355B (en) Cloud native object storage of page-based relational databases
US11593352B2 (en) Cloud-native object storage for page-based relational database
US12013783B2 (en) Snapshotting data of a host application
Ni et al. Leveraging ssd's flexible address mapping to accelerate data copy operations
CN115437550A (en) Writing method of storage system and writing method of distributed storage system