JP2021093075A - Information processing apparatus, method for controlling the same, and program - Google Patents
Information processing apparatus, method for controlling the same, and program Download PDFInfo
- Publication number
- JP2021093075A JP2021093075A JP2019224562A JP2019224562A JP2021093075A JP 2021093075 A JP2021093075 A JP 2021093075A JP 2019224562 A JP2019224562 A JP 2019224562A JP 2019224562 A JP2019224562 A JP 2019224562A JP 2021093075 A JP2021093075 A JP 2021093075A
- Authority
- JP
- Japan
- Prior art keywords
- storage
- data
- address
- write
- information processing
- 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
Links
Images
Landscapes
- Hardware Redundancy (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
本発明は、情報処理装置、その制御方法、及びプログラムに関する。 The present invention relates to an information processing device, a control method thereof, and a program.
複数のストレージを備える情報処理装置としての画像形成装置が知られている。画像形成装置は、耐障害性を高めるために、例えば、画像形成装置のストレージ制御装置に接続された2つのストレージの同じアドレスに同じデータを書き込むミラーリングを行う。ストレージは、不揮発性のフラッシュメモリ及び揮発性のキャッシュメモリを備える。ストレージは、ストレージ制御装置から受信した書き込みコマンドに従って、書き込み対象となるデータを上記フラッシュメモリより書き込み速度が速いキャッシュメモリに一時的に保持する。これにより、ストレージ制御装置は、書き込み速度が比較的遅いフラッシュメモリへの書き込みの完了を待たずに、次のデータの書き込みを指示することができる。キャッシュメモリに保持されたデータは、画像形成装置の電源がオフされてもデータが保持されるように、不揮発性のフラッシュメモリに任意のタイミングで書き込まれる。 An image forming apparatus is known as an information processing apparatus including a plurality of storages. The image forming apparatus performs mirroring for writing the same data to the same address of two storages connected to the storage control device of the image forming apparatus in order to improve the fault tolerance. The storage includes a non-volatile flash memory and a volatile cache memory. The storage temporarily holds the data to be written in the cache memory having a write speed faster than that of the flash memory according to the write command received from the storage control device. As a result, the storage control device can instruct the writing of the next data without waiting for the completion of writing to the flash memory having a relatively slow writing speed. The data held in the cache memory is written to the non-volatile flash memory at an arbitrary timing so that the data is held even when the power of the image forming apparatus is turned off.
ミラーリングにおいて2つのストレージの間でデータの同一性が崩れると、ストレージ制御装置は、リビルド処理を行う(例えば、特許文献1参照)。リビルド処理では、2つのストレージの一方に格納された全てのデータが他方のストレージに複製される。 When the data identity between the two storages is broken in mirroring, the storage control device performs a rebuild process (see, for example, Patent Document 1). In the rebuild process, all the data stored in one of the two storages is duplicated in the other storage.
しかしながら、従来のリビルド処理では、ストレージに格納された全てのデータが処理の対象となるため、処理を完了するまでに多大な時間を要する。 However, in the conventional rebuild process, all the data stored in the storage is the target of the process, so it takes a long time to complete the process.
本発明の目的は、リビルド処理の実行に要する時間を短縮することができる情報処理装置、その制御方法、及びプログラムを提供することにある。 An object of the present invention is to provide an information processing apparatus, a control method thereof, and a program capable of shortening the time required to execute a rebuild process.
上記目的を達成するために、本発明の情報処理装置は、揮発性の保持手段及び不揮発性の記録媒体を備える複数のストレージを備える情報処理装置であって、受信した書き込みコマンドに従って、前記複数のストレージの各々に対し、前記書き込みコマンドが示すデータを前記保持手段に保持させ、前記保持されたデータを前記記録媒体における前記書き込みコマンドが示すアドレスに書き込ませる制御を行う書き込み制御手段と、前記複数のストレージにおける第1のストレージに格納されたデータを前記複数のストレージにおける第2のストレージに複製するリビルド処理の実行を制御するリビルド制御手段と、前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較する比較手段とを備え、前記リビルド制御手段は、前記書き込み制御手段によって前記第1のストレージに最後にデータが書き込まれた最終書き込みアドレスから前記比較手段によってアドレスの逆順に前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較した結果において差分があるアドレスのデータを前記第2のストレージに複製することを特徴とする。 In order to achieve the above object, the information processing apparatus of the present invention is an information processing apparatus including a plurality of storages including a volatile holding means and a non-volatile recording medium, and the plurality of information processing devices according to a received write command. A write control means for controlling each of the storages to hold the data indicated by the write command in the holding means and write the held data to the address indicated by the write command in the recording medium, and the plurality of storages. A rebuild control means that controls execution of a rebuild process that replicates data stored in the first storage in the storage to the second storage in the plurality of storages, and the same address in the first storage and the second storage. The rebuild control means includes the comparison means for comparing the data of the data, and the rebuild control means has the first write address in which the data was last written to the first storage by the write control means in the reverse order of the addresses by the comparison means. It is characterized in that the data of the address having a difference in the result of comparing the data of the same address in the storage of 1 and the data of the same address in the second storage is duplicated in the second storage.
本発明によれば、リビルド処理の実行に要する時間を短縮することができる。 According to the present invention, the time required to execute the rebuild process can be shortened.
以下、本発明の実施の形態について図面を参照しながら詳述する。なお、本実施の形態では、情報処理装置としての画像形成装置に本発明を適用した場合について説明するが、本発明は画像形成装置に限られず、リビルド処理を実行するPC等の通信装置に本発明を適用しても良い。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, the case where the present invention is applied to an image forming apparatus as an information processing apparatus will be described, but the present invention is not limited to the image forming apparatus, and the present invention is applied to a communication device such as a PC that executes a rebuild process. The invention may be applied.
図1は、本発明の実施の形態に係る情報処理装置としての画像形成装置100の構成を概略的に示すブロック図である。図1において、画像形成装置100は、メインコントローラ101、ネットワークI/F104、操作表示部105、スキャナ部106、プリンタ部107、ミラーリングコントローラ108、瞬断検知部112、SSD114、及びSSD119を備える。メインコントローラ101は、ネットワークI/F104、操作表示部105、スキャナ部106、プリンタ部107、及びミラーリングコントローラ108と接続されている。ミラーリングコントローラ108は、メインコントローラ101の他に、瞬断検知部112、SSD114、及びSSD119と接続されている。
FIG. 1 is a block diagram schematically showing a configuration of an
画像形成装置100は、印刷処理等の画像形成処理を行う。メインコントローラ101は、CPU102及び記憶部103を備える。CPU102は、画像形成装置100全体を制御する。記憶部103は、ROM(不図示)及びRAM(不図示)で構成される。記憶部103内部のROMには、画像形成装置100の設定及び制御の動作手順が格納されている。CPU102は、記憶部103内部のRAMに展開された制御プログラムを実行することで、各種制御を行う。ネットワークI/F104は、外部装置とデータ通信を行う。操作表示部105は、画像形成装置100に関する情報を表示し、また、ユーザからジョブの実行指示等を受け付ける。スキャナ部106は、載置された原稿を読み取って画像データを生成する。プリンタ部107は、ネットワークI/F104が外部装置から取得した画像データやスキャナ部106が生成した画像データを用紙に印刷する。
The
ミラーリングコントローラ108は、ミラーリング制御部109、アドレス記憶部110、及び瞬断記憶部111を備える。ミラーリングコントローラ108は、接続された複数、例えば、2つのストレージの同じアドレスに同じデータを書き込むミラーリングに関する制御を行う。なお、本実施の形態では、一例として、ミラーリングコントローラ108に接続された2つのストレージを用いてミラーリングを行う構成について説明するが、この構成に限られない。例えば、ミラーリングコントローラ108に接続された3つ以上のストレージを用いてミラーリングを行う構成であっても良い。
The
ミラーリングコントローラ108には、SSD114及びSSD119が接続されている。本実施の形態では、一例として、SSD114がマスターストレージに設定され、SSD119がスレーブストレージに設定されていることとする。ミラーリング制御部109は、SSD114及びSSD119に対し、同じアドレス及び同じデータが示された書き込みコマンドを送信する。ミラーリング制御部109は、SSD114及びSSD119に対する書き込み、読み込み時のデータのアドレスを論理アドレスで制御する。アドレス記憶部110は、SSD114及びSSD119におけるデータの書き込み先を示すアドレスを記憶する。瞬断記憶部111は、不揮発性の記憶部であり、瞬断検知部112から受信したAC瞬断検知信号を記憶する。瞬断検知部112は、画像形成装置100に供給されるAC電源の瞬断を検知した際にこの旨を示すAC瞬断検知信号をミラーリングコントローラ108に送信する。画像形成装置100に供給されるAC電源の瞬断は、例えば、停電時やユーザが不注意に画像形成装置100の電源ソケットをコンセントから抜いた際に発生する。瞬断用コンデンサ113(瞬断対策手段)は、大容量のコンデンサであり、マスターストレージとして機能するSSD114の電源に接続されている。本実施の形態では、瞬断用コンデンサ113はマスターストレージの電源及びスレーブストレージの電源のうち、マスターストレージの電源のみに接続されている。このため、画像形成装置100に供給されるAC電源の瞬断が発生した場合、電力供給元となる電源に瞬断用コンデンサ113が接続されてないスレーブストレージにおける電圧+Vssd2は、図2の実線201に示すように、急激に低下する。一方、電力供給元となる電源に瞬断用コンデンサ113が接続されているマスターストレージにおける電圧+Vssd1は、図2の点線202に示すように、緩やかに低下する。
SSD 114 and SSD 119 are connected to the
SSD114は、SSDコントローラ115及び不揮発性のフラッシュメモリ118(記録媒体)を備え、画像形成装置100のマスターストレージとして機能する。SSDコントローラ115は、SSD制御部116及び揮発性のキャッシュメモリ117を備える。SSD制御部116は、ミラーリング制御部109から受信した書き込みコマンドに従ってデータをフラッシュメモリ118へ書き込む制御を行う。
The SSD 114 includes an
SSD119は、SSDコントローラ120及び不揮発性のフラッシュメモリ123(記録媒体)を備え、画像形成装置100のスレーブストレージとして機能する。SSDコントローラ120は、SSD制御部121及び揮発性のキャッシュメモリ122を備える。SSD制御部121は、ミラーリング制御部109から受信した書き込みコマンドに従ってデータをフラッシュメモリ123へ書き込む制御を行う。
The SSD 119 includes an
図3は、マスターストレージに設定されたSSD114におけるデータの書き込みを説明するための図である。SSD114のSSDコントローラ115は、ミラーリング制御部109から書き込みコマンドを受信すると、当該書き込みコマンドに従って、例えば、図3のデータA〜Eをそれぞれ、書き込み速度がフラッシュメモリ118より速いキャッシュメモリ117における記憶領域117a〜117eに一時的に保持する。これにより、ミラーリング制御部109は、書き込み速度が比較的遅いフラッシュメモリ118への書き込みの完了を待たずに、次の書き込み処理を指示することができる。キャッシュメモリ117に保持されたデータA〜Eは、アドレス順に従って、不揮発性のフラッシュメモリ118に任意のタイミングで書き込まれる。具体的に、キャッシュメモリ117に保持されたデータA〜Eは、それぞれ不揮発性のフラッシュメモリ118における上記書き込みコマンドが示すアドレスに対応する記憶領域118a〜118eに書き込まれる。任意のタイミングは、例えば、画像形成装置100をシャットダウンするタイミングである。
FIG. 3 is a diagram for explaining the writing of data in the
図4は、スレーブストレージに設定されたSSD119におけるデータの書き込みを説明するための図である。ミラーリング制御部109は、SSD119に対し、SSD114に送信した書き込みコマンドと同じアドレス及び同じデータが示された書き込みコマンドを送信する。SSD119のSSDコントローラ120は、ミラーリング制御部109から受信した書き込みコマンドに従って、上述したSSDコントローラ115と同様の書き込み制御を行う(例えば、図4(a)を参照)。これにより、本実施の形態では、マスターストレージ及びスレーブストレージの各フラッシュメモリにおいて同じアドレスに同じデータが書き込まれる。
FIG. 4 is a diagram for explaining the writing of data in the
図5は、図1の画像形成装置100におけるシャットダウン処理の手順を示すフローチャートである。図5において、ミラーリング制御部109は、同じアドレス及び同じデータが示された書き込みコマンドをSSD114及びSSD119へ送信し(ステップS501)、この書き込みコマンドが示す論理アドレスをアドレス記憶部110へ記憶させる。次いで、ユーザによるシャットダウン指示を受け付けると、メインコントローラ101は、シャットダウン処理を開始する(ステップS502)。シャットダウン処理では、ミラーリング制御部109は、後述する瞬断検知フラグを立てない。シャットダウン処理では、画像形成装置100の電源部(不図示)がオフされる前に、メインコントローラ101は、途中の処理を終了させる。次いで、ミラーリング制御部109は、マスターストレージ及びスレーブストレージに対し、キャッシュメモリに保持されている全てのデータをフラッシュメモリに書き込ませる(ステップS503)。次いで、メインコントローラ101は、画像形成装置の電源部(不図示)をオフし(ステップS504)、本処理を終了する。
FIG. 5 is a flowchart showing a procedure of shutdown processing in the
例えば、ミラーリング処理を実行中に画像形成装置100における電源の瞬断が発生した場合、電力供給元の電源に瞬断用コンデンサ113が接続されたSSD114の電圧は、上述したように、緩やかに低下する。このため、SSD114では、電圧が下がりきる前に、キャッシュメモリ117に保持されていたデータをフラッシュメモリ118に書き込むための猶予を確保することができる。その結果、電源の瞬断に起因してキャッシュメモリ117に保持されていたデータが消失するのを抑制することができる。一方、電力供給元の電源に瞬断用コンデンサ113が接続されないSSD119の電圧は、上述したように、急激に低下する。このため、SSD119では、電圧が下がりきる前に、キャッシュメモリ122に保持されていたデータをフラッシュメモリ123に書き込むための猶予を確保できない。その結果、キャッシュメモリ122に保持されていた一部のデータ、例えば、図4(b)に示すように、データC〜Eがフラッシュメモリ123に書き込まれずに、消失してしまう。消失したデータを複製する技術として、ミラーリング制御部109は、マスターストレージに格納された全てのデータをスレーブストレージに複製するリビルド処理を実行する。しかし、マスターストレージに格納された全てのデータを処理の対象とすると、処理を完了するまでに多大な時間を要してしまう。
For example, when a momentary interruption of the power supply in the
これに対し、本実施の形態では、SSD114の最終書き込みアドレスからアドレスの逆順にSSD114及びSSD119における同じアドレスのデータ同士を比較した結果において差分があるアドレスのデータをSSD119に複製する。
On the other hand, in the present embodiment, the data of the address having a difference in the result of comparing the data of the same address in the
図6は、図1のミラーリング制御部109によって実行されるリビルド制御処理の手順を示すフローチャートである。図6の処理では、マスターストレージ及びスレーブストレージの各フラッシュメモリに対し、アドレスの順に従ってデータが書き込まれるミラーリング処理が行われていることを前提とする。
FIG. 6 is a flowchart showing a procedure of the rebuild control process executed by the
図6において、ミラーリング制御部109は、同じアドレス及び同じデータが示された書き込みコマンドをSSD114及びSSD119へ送信し(ステップS601)、この書き込みコマンドが示す論理アドレスをアドレス記憶部110へ記憶させる。ミラーリング制御部109は、瞬断検知部112から送信されたAC瞬断検知信号に基づいて画像形成装置100における電源の瞬断を検知すると(ステップS602)、瞬断記憶部111にAC瞬断検知信号を記憶させ、画像形成装置100における電源の瞬断を検知したことを示す瞬断検知フラグを立てる(ステップS603)。画像形成装置100における電源の瞬断が復旧し、画像形成装置100への電力の供給が再開されると(ステップS604)、ミラーリング制御部109は、瞬断検知フラグを確認する(ステップS605)。瞬断検知フラグが立っていると、ミラーリング制御部109は、マスターストレージであるSSD114に格納されたデータをSSD119に複製するリビルド処理を開始する(ステップS606)。次いで、ミラーリング制御部109は、アドレス記憶部110が最後に記憶したアドレス、つまり、SSD114及びSSD119に対して最後に書き込みが指示されたデータの書き込み先となるアドレスである最終書き込みアドレスを特定する(ステップS607)。次いで、ミラーリング制御部109は、SSD114及びSSD119において、特定したアドレスに対応する記憶領域に格納されたデータ同士を比較する(ステップS608)。例えば、SSD114において、特定した最終書き込みアドレスに対応するフラッシュメモリ118の図3の記憶領域118eに格納されたデータEと、SSD119において、上記最終書き込みアドレスに対応するフラッシュメモリ123の図4(a)の記憶領域123eに格納されたデータEとを比較する。次いで、ミラーリング制御部109は、比較した結果においてデータが一致しているか否かを判別する(ステップS609)。例えば、図4(b)に示すように、SSD119において、上記最終書き込みアドレスに書き込まれるはずのデータEが電源の瞬断に起因して消失している場合、ステップS609では、ミラーリング制御部109は、比較した結果においてデータが一致していないと判別する。
In FIG. 6, the
ステップS609の判別の結果、比較した結果においてデータが一致していないとき、ミラーリング制御部109は、SSD114における上記特定したアドレスに対応する記憶領域に格納されたデータを、SSD119に複製する(ステップS610)。ステップS610では、ミラーリング制御部109は、上記データを、SSD119における上記特定したアドレスに対応する記憶領域に書き込ませる。次いで、ミラーリング制御部109は、特定したアドレスの1つ前のアドレスを特定し(ステップS611)、ステップS608の処理に戻る。このようにして、ミラーリング制御部109は、最終書き込みアドレスからアドレスの逆順にデータを比較した結果においてデータが一致していないアドレスのデータをSSD119に複製する。
As a result of the determination in step S609, when the data do not match in the comparison result, the
ステップS609の判別の結果、比較した結果においてデータが一致しているとき、ミラーリング制御部109は、リビルド処理を終了する(ステップS612)。比較した結果においてデータが一致している場合は、スレーブストレージにおいて上記特定したアドレスのデータは電源の瞬断の発生に起因して消失していないことになる。また、本実施の形態では、マスターストレージ及びスレーブストレージの各フラッシュメモリに対し、アドレスの順に従ってデータが書き込まれているので、上記特定したアドレスのデータが電源の瞬断の発生に起因して消失していないのであれば、当該アドレスより前のアドレスのデータも電源の瞬断の発生に起因して消失していないことになる。このため、本実施の形態では、リビルド処理を継続して、消失していないデータの不要な複製処理が行われないように、比較した結果においてデータが一致している場合には、ミラーリング制御部109は、リビルド処理を終了する。その後、ミラーリング制御部109は、本処理を終了する。
As a result of the determination in step S609, when the data match in the comparison result, the
上述した実施の形態によれば、SSD114の最終書き込みアドレスからアドレスの逆順にSSD114及びSSD119における同じアドレスのデータ同士を比較した結果においてデータが一致していないアドレスのデータをSSD119に複製する。これにより、リビルド処理における処理の対象を、複製する必要がある最小限のデータに絞り込むことができ、もって、リビルド処理の実行に要する時間を短縮することができる。
According to the above-described embodiment, the data at the address where the data does not match in the result of comparing the data of the same address in the
また、上述した実施の形態では、最終書き込みアドレスからアドレスの逆順にSSD114及びSSD119における同じアドレスのデータ同士を比較した結果において差分がない場合、リビルド処理が終了する。これにより、消失していないデータの複製処理の実行を抑制することができる。
Further, in the above-described embodiment, if there is no difference in the results of comparing the data of the same address in
上述した実施の形態では、画像形成装置100における電源の瞬断の発生に起因するSSD114の電圧の急激な低下を抑制する瞬断用コンデンサ113がマスターストレージであるSSD114の電源に接続される。これにより、画像形成装置100における電源の瞬断の発生に起因してスレーブストレージであるSSD119におけるデータが消失するリスクが極めて高い構成において、消失したデータを効率的にSSD119に複製することができる。
In the above-described embodiment, the
以上、本発明について、上述した実施の形態を用いて説明したが、本発明は上述した実施の形態に限定されるものではない。例えば、ミラーリングコントローラ108に接続されるストレージは、SSDに限られず、HDDや他の種別のストレージであっても良い。
Although the present invention has been described above with reference to the above-described embodiments, the present invention is not limited to the above-described embodiments. For example, the storage connected to the
また、上述した実施の形態では、瞬断用コンデンサ113を備える構成について説明したが、この構成に限られず、瞬断用コンデンサ113を備えない構成であっても良い。
Further, in the above-described embodiment, the configuration including the
また、上述した実施の形態では、瞬断用コンデンサがSSD114の電源のみに接続される場合について説明したが、SSD114及びSSD119の少なくとも一方の電源に接続されても良い。
Further, in the above-described embodiment, the case where the momentary interruption capacitor is connected only to the power supply of
本発明は、上述の実施の形態の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、該システム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出して実行する処理でも実現可能である。また、本発明は、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device read the program. It can also be realized by the processing to be executed. The present invention can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
100 画像形成装置
109 ミラーリング制御部
113 瞬断用コンデンサ
114,119 SSD
117,122 キャッシュメモリ
118,123 フラッシュメモリ
100
117,122 cache memory 118,123 flash memory
Claims (7)
受信した書き込みコマンドに従って、前記複数のストレージの各々に対し、前記書き込みコマンドが示すデータを前記保持手段に保持させ、前記保持されたデータを前記記録媒体における前記書き込みコマンドが示すアドレスに書き込ませる制御を行う書き込み制御手段と、
前記複数のストレージにおける第1のストレージに格納されたデータを前記複数のストレージにおける第2のストレージに複製するリビルド処理の実行を制御するリビルド制御手段と、
前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較する比較手段とを備え、
前記リビルド制御手段は、前記書き込み制御手段によって前記第1のストレージに最後にデータが書き込まれた最終書き込みアドレスから前記比較手段によってアドレスの逆順に前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較した結果において差分があるアドレスのデータを前記第2のストレージに複製することを特徴とする情報処理装置。 An information processing device including a plurality of storages including volatile holding means and a non-volatile recording medium.
According to the received write command, each of the plurality of storages is controlled to hold the data indicated by the write command in the holding means and write the held data to the address indicated by the write command in the recording medium. Write control means to perform and
A rebuild control means for controlling execution of a rebuild process for replicating data stored in the first storage in the plurality of storages to the second storage in the plurality of storages.
It is provided with a comparison means for comparing data of the same address in the first storage and the second storage.
The rebuild control means has the same address in the first storage and the second storage in the reverse order of the address by the comparison means from the last write address in which the data was last written to the first storage by the write control means. An information processing apparatus characterized in that the data of addresses having a difference in the result of comparing the data of the above is duplicated in the second storage.
受信した書き込みコマンドに従って、前記複数のストレージの各々に対し、前記書き込みコマンドが示すデータを前記保持手段に保持させ、前記保持されたデータを前記記録媒体における前記書き込みコマンドが示すアドレスに書き込ませる制御を行う書き込み制御ステップと、
前記複数のストレージにおける第1のストレージに格納されたデータを前記複数のストレージにおける第2のストレージに複製するリビルド処理の実行を制御するリビルド制御ステップと、
前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較する比較ステップとを有し、
前記リビルド制御ステップは、前記書き込み制御ステップにて前記第1のストレージに最後にデータが書き込まれた最終書き込みアドレスから前記比較ステップにてアドレスの逆順に前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較した結果において差分があるアドレスのデータを前記第2のストレージに複製することを特徴とする情報処理装置の制御方法。 A control method for an information processing apparatus including a plurality of storages including a volatile holding means and a non-volatile recording medium.
According to the received write command, each of the plurality of storages is controlled to hold the data indicated by the write command in the holding means and write the held data to the address indicated by the write command in the recording medium. Write control steps to perform and
A rebuild control step that controls execution of a rebuild process that replicates data stored in the first storage in the plurality of storages to the second storage in the plurality of storages, and a rebuild control step.
It has a comparison step of comparing data of the same address in the first storage and the second storage.
The rebuild control step is performed in the first storage and the second storage in the reverse order of the address in the comparison step from the last write address in which the data was last written to the first storage in the write control step. A control method for an information processing device, which comprises replicating data of addresses having a difference in the result of comparing data of the same address to the second storage.
前記情報処理装置の制御方法は、
受信した書き込みコマンドに従って、前記複数のストレージの各々に対し、前記書き込みコマンドが示すデータを前記保持手段に保持させ、前記保持されたデータを前記記録媒体における前記書き込みコマンドが示すアドレスに書き込ませる制御を行う書き込み制御ステップと、
前記複数のストレージにおける第1のストレージに格納されたデータを前記複数のストレージにおける第2のストレージに複製するリビルド処理の実行を制御するリビルド制御ステップと、
前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較する比較ステップとを有し、
前記リビルド制御ステップは、前記書き込み制御ステップにて前記第1のストレージに最後にデータが書き込まれた最終書き込みアドレスから前記比較ステップにてアドレスの逆順に前記第1のストレージ及び前記第2のストレージにおける同じアドレスのデータ同士を比較した結果において差分があるアドレスのデータを前記第2のストレージに複製することを特徴とするプログラム。 A program that causes a computer to execute a control method for an information processing apparatus having a plurality of storages including a volatile holding means and a non-volatile recording medium.
The control method of the information processing device is
According to the received write command, each of the plurality of storages is controlled to hold the data indicated by the write command in the holding means and write the held data to the address indicated by the write command in the recording medium. Write control steps to perform and
A rebuild control step that controls execution of a rebuild process that replicates data stored in the first storage in the plurality of storages to the second storage in the plurality of storages, and a rebuild control step.
It has a comparison step of comparing data of the same address in the first storage and the second storage.
The rebuild control step is performed in the first storage and the second storage in the reverse order of the address in the comparison step from the last write address in which the data was last written to the first storage in the write control step. A program characterized by replicating data of addresses having a difference in the result of comparing data of the same address to the second storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019224562A JP2021093075A (en) | 2019-12-12 | 2019-12-12 | Information processing apparatus, method for controlling the same, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019224562A JP2021093075A (en) | 2019-12-12 | 2019-12-12 | Information processing apparatus, method for controlling the same, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021093075A true JP2021093075A (en) | 2021-06-17 |
Family
ID=76312498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019224562A Pending JP2021093075A (en) | 2019-12-12 | 2019-12-12 | Information processing apparatus, method for controlling the same, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021093075A (en) |
-
2019
- 2019-12-12 JP JP2019224562A patent/JP2021093075A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5409159B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
US7971014B2 (en) | Information processing apparatus and data recovering method | |
JP6164938B2 (en) | Image forming apparatus, control method therefor, and program | |
US8924669B2 (en) | Information processing apparatus, control method, and program | |
JP6703790B2 (en) | Information processing apparatus, control method thereof, and program | |
JP2013041430A (en) | Image forming apparatus and control method of image forming apparatus | |
JP5939896B2 (en) | Image forming apparatus | |
JP2021093075A (en) | Information processing apparatus, method for controlling the same, and program | |
JP4122956B2 (en) | Replica volume generation method and disk device | |
JP2007310548A (en) | Disk array device and data management method | |
JP7246869B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP7214381B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP2021082198A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2018073005A (en) | Information processing apparatus and control method therefor and program | |
JP2016110513A (en) | Information processor, control method for information processor, program, and recording medium | |
JP7263067B2 (en) | Information processing device and information processing device control method | |
JP6532240B2 (en) | Information processing apparatus and control method thereof | |
JP2021089524A (en) | Information processing device, control method of the same, and program | |
JP2011159101A (en) | Information processing apparatus, method and program for managing memory | |
JP2021082199A (en) | Storage control device, method for controlling the same, and program | |
JP6901534B2 (en) | Data storage device, control device, stored data management method, and program | |
JP2018063499A (en) | Information processing device, control method thereof, and program | |
JP2021092845A (en) | Image forming apparatus, method for controlling the same, and program | |
JP2012113382A (en) | Image forming device | |
JP2021179730A (en) | Information processing apparatus, control method thereof, and program |