[go: up one dir, main page]

JP2021092846A - Information processing apparatus, method for controlling the same, and program - Google Patents

Information processing apparatus, method for controlling the same, and program Download PDF

Info

Publication number
JP2021092846A
JP2021092846A JP2019221407A JP2019221407A JP2021092846A JP 2021092846 A JP2021092846 A JP 2021092846A JP 2019221407 A JP2019221407 A JP 2019221407A JP 2019221407 A JP2019221407 A JP 2019221407A JP 2021092846 A JP2021092846 A JP 2021092846A
Authority
JP
Japan
Prior art keywords
rebuild
access
external recording
information processing
raid
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
JP2019221407A
Other languages
Japanese (ja)
Inventor
今村 武
Takeshi Imamura
武 今村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019221407A priority Critical patent/JP2021092846A/en
Publication of JP2021092846A publication Critical patent/JP2021092846A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

To prevent, in an information processing apparatus, a reduction in performance as the apparatus due to the influence of rebuild processing.SOLUTION: An information processing apparatus 100 can be connected to a plurality of external recording devices 108, 109, and has: rebuild execution means that executes rebuild processing of copying data of one of the plurality of external recording devices 108, 109 to the other; access determination means that determines the presence or absence of access to the plurality of external recording devices 108, 109 made by the information processing apparatus 100; and stop setting means that, when the access determination means determines the presence of the access to the plurality of external recording devices 108, 109 made by the information processing apparatus 100, sets a rebuild stop period. The rebuild execution means stops the rebuild processing during the rebuild stop period.SELECTED DRAWING: Figure 2

Description

本発明は、複数の外部記録装置を接続可能な情報処理装置、その制御方法、およびプログラムに関する。 The present invention relates to an information processing device capable of connecting a plurality of external recording devices, a control method thereof, and a program.

画像処理装置といった情報処理装置では、たとえばハードディスクドライブ(HDD)、SSD(SolidStateDrive)などの外部記録装置を接続して使用している。そして、近年の動画データおよび画像データの高精細化、高速ネットワークの普及などにより、それらで使用する外部記録装置についても、記録容量の大容量化、パフォーマンスの向上、データ信頼性の向上、などが求められるようになってきている。そこで、情報処理装置では、データの信頼性などを向上するために、RAIDコントローラを用いて、RAIDコントローラに複数の外部記録装置を接続するようになってきている。たとえば複数の外部記録装置に同一のデータを記録させるミラーリング(RAID1)技術を用いることにより、データ信頼性を向上できる。ミラーリング手法を採用する情報処理装置では、データの書込み時には、RAIDコントローラがデータを複製して、同一のデータを複数の外部記録装置の各々に書込む。また、データの読出し時には、RAIDコントローラは、複数の外部記録装置のうちの一方からデータを読出す。これにより複数の外部記録装置のいずれか一方に障害が発生したとしても、正常な他方の外部記録装置から正しいデータを読出すことができる。情報処理装置の耐障害性が高まる。 In an information processing device such as an image processing device, an external recording device such as a hard disk drive (HDD) or SSD (Solid State Drive) is connected and used. In recent years, due to the high definition of video data and image data, the spread of high-speed networks, etc., the external recording devices used for them have also increased the recording capacity, improved performance, improved data reliability, etc. It is becoming more and more sought after. Therefore, in the information processing device, in order to improve the reliability of data and the like, a plurality of external recording devices are connected to the RAID controller by using the RAID controller. For example, data reliability can be improved by using a mirroring (RAID1) technique in which a plurality of external recording devices record the same data. In an information processing device that employs a mirroring method, when writing data, the RAID controller duplicates the data and writes the same data to each of a plurality of external recording devices. Further, when reading data, the RAID controller reads data from one of the plurality of external recording devices. As a result, even if one of the plurality of external recording devices fails, the correct data can be read from the other normal external recording device. The fault tolerance of the information processing device is increased.

ところで、複数の外部記録装置のいずれか一方に障害が発生すると、複数の外部記録装置のデータ同一性が崩れる。この場合、障害が発生した一方の外部記録装置を新たなものに交換して、他方の外部記録装置のデータをコピーするリビルド処理を実行する必要がある。RAIDコントローラは、複数の外部記録装置の1つが交換されると、自らの判断によりリビルド処理を実行する。その一方で、動作中の情報処理装置のCPUは、RAIDコントローラがリビルド処理中であるか否かにかかわらず、それを知ることなく、外部記録装置へアクセスする。情報処理装置のCPUのアクセスと、RAIDコントローラのリビルド処理とが競合すると、情報処理装置のCPUのアクセス速度が低下し、情報処理装置のパフォーマンスが低下する。 By the way, if one of the plurality of external recording devices fails, the data identity of the plurality of external recording devices is broken. In this case, it is necessary to replace one of the failed external recording devices with a new one and execute a rebuild process of copying the data of the other external recording device. When one of the plurality of external recording devices is replaced, the RAID controller executes the rebuild process at its own discretion. On the other hand, the CPU of the operating information processing device accesses the external recording device without knowing whether or not the RAID controller is undergoing rebuild processing. When the access of the CPU of the information processing device and the rebuild process of the RAID controller conflict with each other, the access speed of the CPU of the information processing device is lowered, and the performance of the information processing device is lowered.

特開2016‐139251公報Japanese Unexamined Patent Publication No. 2016-139251

そこで、特許文献1では、CPUが外部記録装置へアクセスする場合、CPUは、まずRAIDコントローラに対してリビルド処理の停止処理を行い、その後に外部記録装置へアクセスしている。しかしながら、このようにCPUがRAIDコントローラに対してリビルド処理の停止処理を行う場合、CPUは、外部記録装置へのアクセスを開始しようとする度に、リビルド処理の停止処理、およびアクセス後の再開処理を実行しなければならない。CPUのアクセスに対する応答の遅延を抑制できるものの、CPUそのものの処理が増えるなどして、情報処理装置のパフォーマンス低下を効果的に抑制できるとは限らない。 Therefore, in Patent Document 1, when the CPU accesses the external recording device, the CPU first stops the rebuild process on the RAID controller, and then accesses the external recording device. However, when the CPU performs the rebuild process stop process for the RAID controller in this way, the CPU stops the rebuild process and restarts the rebuild process each time it tries to start access to the external recording device. Must be executed. Although it is possible to suppress the delay in the response to the access of the CPU, it is not always possible to effectively suppress the deterioration of the performance of the information processing device due to the increase in the processing of the CPU itself.

このように情報処理装置では、リビルド処理の影響による装置としてのパフォーマンスの低下を抑制することが求められている。 As described above, the information processing device is required to suppress the deterioration of the performance of the device due to the influence of the rebuild process.

本発明に係る情報処理装置は、複数の外部記録装置を接続可能な情報処理装置において、複数の前記外部記録装置の一方のデータを他方へコピーするリビルド処理を実行するリビルド実行手段と、前記情報処理装置による複数の前記外部記録装置へのアクセスの有無を判断するアクセス判断手段と、前記アクセス判断手段が前記情報処理装置による複数の前記外部記録装置へのアクセスをありと判断する場合に、リビルド停止期間を設定する停止設定手段と、を有し、前記リビルド実行手段は、前記リビルド停止期間中には、前記リビルド処理を停止する。 The information processing device according to the present invention is an information processing device to which a plurality of external recording devices can be connected, a rebuild executing means for executing a rebuild process of copying one data of the plurality of external recording devices to the other, and the information. Rebuild when the access determination means for determining the presence / absence of access to the plurality of external recording devices by the processing device and the access determination means determine that the information processing device has access to the plurality of external recording devices. It has a stop setting means for setting a stop period, and the rebuild execution means stops the rebuild process during the rebuild stop period.

本発明では、リビルド処理の影響による装置としてのパフォーマンスの低下を抑制できる。 In the present invention, it is possible to suppress a decrease in performance as a device due to the influence of the rebuild process.

本発明の実施形態に係る情報処理装置としての画像形成装置のブロック図である。It is a block diagram of the image forming apparatus as an information processing apparatus which concerns on embodiment of this invention. 図1のRAID制御系の詳細なブロック図である。It is a detailed block diagram of the RAID control system of FIG. RAID制御状態の遷移図である。It is a transition diagram of the RAID control state. 本発明の第一実施形態におけるリビルド処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the rebuild process in 1st Embodiment of this invention. 図4のリビルド処理の下での、画像形成装置のCPUによるライトアクセスの一例のタイミングチャートである。It is a timing chart of an example of the write access by the CPU of the image forming apparatus under the rebuild process of FIG. 図4のリビルド処理の下での、画像形成装置のCPUによるリードアクセスとリビルド処理との一例のタイミングチャートである。It is a timing chart of an example of the read access by the CPU of the image forming apparatus and the rebuild process under the rebuild process of FIG. 図4のリビルド処理の下での、画像形成装置のCPUによるリードアクセスの他の例のタイミングチャートである。It is a timing chart of another example of read access by the CPU of the image forming apparatus under the rebuild process of FIG. 本発明の第二実施形態におけるリビルド処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the rebuild process in the 2nd Embodiment of this invention. 図8のリビルド処理の下での、画像形成装置のCPUによるライトアクセスの一例のタイミングチャートである。It is a timing chart of an example of the write access by the CPU of the image forming apparatus under the rebuild process of FIG. 図8のリビルド処理の下での、画像形成装置のCPUによるリードアクセスとリビルド処理との一例のタイミングチャートである。It is a timing chart of an example of the read access by the CPU of the image forming apparatus and the rebuild process under the rebuild process of FIG.

以下、本発明の実施形態について図面を参照しながら詳細に説明する。しかしながら、以下の実施形態に記載されている構成はあくまで例示に過ぎず、本発明の範囲は実施形態に記載されている構成によって限定されることはない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, the configurations described in the following embodiments are merely examples, and the scope of the present invention is not limited by the configurations described in the embodiments.

[第一実施形態]
図1は、本発明の実施形態に係る情報処理装置としての画像形成装置100のブロック図である。図1の画像形成装置100は、操作部101、スキャナ部103、プリンタ部104、およびこれらが接続されるコントローラ部102、を有する。コントローラ部102は、メモリ部105、RAIDコントローラ部107、画像処理部110、およびこれらが接続されるCPU部106、を有する。操作部101は、表示部及び操作キーを備え、ユーザから入力された各処理の実行の指示を受け付ける。スキャナ部103は、原稿台に配置された原稿を読み取って画像データを生成する。画像処理部110は、スキャナ部103で生成された画像データに対して色空間変換などの画像処理を実行し、処理後の印刷用の画像データをプリンタ部104へ出力する。プリンタ部104は、印刷用の画像データを用紙に印刷する。画像形成装置100は、この他にもたとえば不図示のネットワークI/Fを有し、ネットワークI/Fを通じて画像データを授受してよい。このような画像形成装置100は、MFPとして機能し得る。
[First Embodiment]
FIG. 1 is a block diagram of an image forming apparatus 100 as an information processing apparatus according to an embodiment of the present invention. The image forming apparatus 100 of FIG. 1 includes an operation unit 101, a scanner unit 103, a printer unit 104, and a controller unit 102 to which these are connected. The controller unit 102 includes a memory unit 105, a RAID controller unit 107, an image processing unit 110, and a CPU unit 106 to which these are connected. The operation unit 101 includes a display unit and operation keys, and receives an instruction to execute each process input from the user. The scanner unit 103 reads the document placed on the platen and generates image data. The image processing unit 110 executes image processing such as color space conversion on the image data generated by the scanner unit 103, and outputs the processed image data for printing to the printer unit 104. The printer unit 104 prints image data for printing on paper. The image forming apparatus 100 also has, for example, a network I / F (not shown), and image data may be exchanged through the network I / F. Such an image forming apparatus 100 can function as an MFP.

RAIDコントローラ部107には、第一外部記録装置108および第二外部記録装置109が交換可能に接続される。RAIDコントローラ部107は、自らRAID処理を実行し、接続されている複数の外部記録装置108,109にアクセスする。図1の画像形成装置100は、複数の外部記録装置108,109を接続可能な情報処理装置である。RAIDコントローラ部107は、複数の外部記録装置108,109が接続されるストレージコントローラとして機能する。第一外部記録装置108、第二外部記録装置109には、RAIDコントローラ部107を通じて、画像形成装置100のCPU部106が実行するプログラム、画像形成装置100のCPU部106が使用する設定データなどが記録される。メモリ部105は、たとえば揮発性メモリである。メモリ部105には、CPU部106の各プログラムの実行によって生成されたデータなどが一時的に記録される。CPU部106は、複数の外部記録装置108,109にアクセスしてプログラムを読み込んでメモリ部105に展開して実行する。これにより、CPU部106は、画像形成装置100を全体的に制御する制御部として機能する。制御部としてのCPU部106は、RAIDコントローラ部107を通じて複数の外部記録装置108,109にアクセスして、画像形成装置100のための各種の処理を実行する。 The first external recording device 108 and the second external recording device 109 are interchangeably connected to the RAID controller unit 107. The RAID controller unit 107 executes RAID processing by itself and accesses a plurality of connected external recording devices 108 and 109. The image forming apparatus 100 of FIG. 1 is an information processing apparatus capable of connecting a plurality of external recording devices 108 and 109. The RAID controller unit 107 functions as a storage controller to which a plurality of external recording devices 108 and 109 are connected. The first external recording device 108 and the second external recording device 109 receive a program executed by the CPU unit 106 of the image forming device 100, setting data used by the CPU unit 106 of the image forming device 100, and the like through the RAID controller unit 107. Recorded. The memory unit 105 is, for example, a volatile memory. Data generated by executing each program of the CPU unit 106 is temporarily recorded in the memory unit 105. The CPU unit 106 accesses a plurality of external recording devices 108 and 109, reads a program, expands the program into the memory unit 105, and executes the program. As a result, the CPU unit 106 functions as a control unit that controls the image forming apparatus 100 as a whole. The CPU unit 106 as a control unit accesses a plurality of external recording devices 108 and 109 through the RAID controller unit 107 and executes various processes for the image forming device 100.

図2は、図1のRAID制御系の詳細なブロック図である。RAIDコントローラ部107は、RAIDメモリ部202、RAIDROM部204、RAIDバッファ部206、および、これらが不図示の内部バスを通じて接続されるRAIDCPU部203、を有する。RAIDCPU部203には、この他にも上位SATAIF部201、第一SATAIF部205、第二SATAIF部207、が接続される。上位SATAIF部201は、CPU部106に接続される。第一SATAIF部205は、第一外部記録装置108に接続される第二SATAIF部207は、第二外部記録装置109に接続される。RAIDバッファ部206は、RAIDCPU部203がCPU部106、第一外部記録装置108、または第二外部記録装置109と授受するデータを一時的に記録する。RAIDROM部204は、RAIDCPU部203により実行されるファームウェアプログラムおよび設定データを記録する。RAIDROM部204は、たとえば後述するリビルド処理の最終LBAなどを記録してよい。RAIDメモリ部202は、たとえば揮発性メモリである。RAIDCPU部203は、RAIDROM部204からファームウェアプログラムを読み込んでRAIDメモリ部202に展開して実行する。これにより、RAIDCPU部203は、RAIDコントローラ部107の全体的に制御する。RAIDCPU部203は、画像形成装置100の他のデバイス、たとえばCPU部106の動作または制御によらず、これらとは独立して自らのRAID処理を実行する。 FIG. 2 is a detailed block diagram of the RAID control system of FIG. The RAID controller unit 107 includes a RAID memory unit 202, a RAID ROM unit 204, a RAID buffer unit 206, and a RAID CPU unit 203 to which these are connected through an internal bus (not shown). In addition to this, the upper SATAIF unit 201, the first SATAIF unit 205, and the second SATAIF unit 207 are connected to the RAID CPU unit 203. The upper SATAIF unit 201 is connected to the CPU unit 106. The first SATAIF unit 205 is connected to the first external recording device 108. The second SATAIF unit 207 is connected to the second external recording device 109. The RAID buffer unit 206 temporarily records data exchanged with the CPU unit 106, the first external recording device 108, or the second external recording device 109 by the RAID CPU unit 203. The RAID ROM unit 204 records the firmware program and setting data executed by the RAID CPU unit 203. The RAID ROM unit 204 may record, for example, the final LBA of the rebuild process described later. The RAID memory unit 202 is, for example, a volatile memory. The RAID CPU unit 203 reads a firmware program from the RAID ROM unit 204, expands the firmware program into the RAID memory unit 202, and executes the program. As a result, the RAID CPU unit 203 controls the RAID controller unit 107 as a whole. The RAID CPU unit 203 executes its own RAID processing independently of other devices of the image forming apparatus 100, for example, the operation or control of the CPU unit 106.

第一外部記録装置108は、たとえばハードディスクデバイスである。第一外部記録装置108は、第一キャッシュ部209、第一記録部210、および、これらが接続される第一CPU部208、を有する。第一CPU部208は、第一SATAIF部205に取外可能な構成で接続される。第一記録部210は、データを不揮発性に記録する。第一キャッシュ部209は、第一外部記録装置108が入出力するデータを一時的に記録する。第一CPU部208は、RAIDCPU部203から取得したデータを、最初に第一キャッシュ部209に記録し、その後に第一キャッシュ部209から第一記録部210へ記録する。これにより、RAIDCPU部203からの見た目の書込時間および読出時間を短縮することができる。第一外部記録装置108は、それ単独でデータの書込および読出が可能となっている独立動作可能な記録装置である。 The first external recording device 108 is, for example, a hard disk device. The first external recording device 108 includes a first cache unit 209, a first recording unit 210, and a first CPU unit 208 to which these are connected. The first CPU unit 208 is connected to the first SATAIF unit 205 in a removable configuration. The first recording unit 210 records the data non-volatilely. The first cache unit 209 temporarily records the data input / output by the first external recording device 108. The first CPU unit 208 first records the data acquired from the RAID CPU unit 203 in the first cache unit 209, and then records the data from the first cache unit 209 to the first recording unit 210. As a result, the apparent writing time and reading time from the RAID CPU unit 203 can be shortened. The first external recording device 108 is an independently operable recording device capable of writing and reading data by itself.

第二外部記録装置109は、たとえばハードディスクデバイスである。第一外部記録装置108は、第二キャッシュ部212、第二記録部213、および、これらが接続される第二CPU部211、を有する。第二CPU部211は、第二SATAIF部207に取外可能な構成で接続される。第二記録部213は、データを不揮発性に記録する。第二キャッシュ部212は、第二外部記録装置109が入出力するデータを一時的に記録する。第二CPU部211は、RAIDCPU部203から取得したデータを、まず第二キャッシュ部212に記録し、その後に第二キャッシュ部212から第二記録部213へ記録する。これにより、RAIDCPU部203からの見た目の書込時間および読出時間を短縮することができる。第二外部記録装置109は、第一外部記録装置108とは独立して、それ単独でデータの書込および読出が可能となっている独立動作可能な記録装置である。なお、第一外部記録装置108と第二外部記録装置109とは、ハードディスクデバイス以外の、たとえば半導体メモリデバイスであってもよい。 The second external recording device 109 is, for example, a hard disk device. The first external recording device 108 includes a second cache unit 212, a second recording unit 213, and a second CPU unit 211 to which these are connected. The second CPU unit 211 is connected to the second SATAIF unit 207 in a removable configuration. The second recording unit 213 records the data non-volatilely. The second cache unit 212 temporarily records the data input / output by the second external recording device 109. The second CPU unit 211 first records the data acquired from the RAID CPU unit 203 in the second cache unit 212, and then records the data from the second cache unit 212 to the second recording unit 213. As a result, the apparent writing time and reading time from the RAID CPU unit 203 can be shortened. The second external recording device 109 is an independently operable recording device capable of writing and reading data independently of the first external recording device 108. The first external recording device 108 and the second external recording device 109 may be, for example, a semiconductor memory device other than the hard disk device.

図3は、RAID制御状態の遷移図である。RAIDコントローラ部107には、シングルモードと、ミラーリングモードとの2つの動作モードがある。シングルモードとは、RAIDコントローラ部107に、第一外部記録装置108または第二外部記録装置109のみが接続されている場合の動作モードである。ミラーリングモードとは、RAIDコントローラ部107に、第一外部記録装置108および第二外部記録装置109が接続されている場合の動作モードである。RAIDCPU部203は、第一SATAIF部205と第二SATAIF部207とについての外部記録装置の接続状態を監視し、接続状態に応じて自動的に動作モードを切り替えてよい。たとえば第一SATAIF部205および第二SATAIF部207の一方のみに1台の外部記録装置が接続されている場合には、RAIDCPU部203は、シングルモードで動作する。双方に2台の外部記録装置が接続されている場合には、ミラーリングモードで動作するように自動切り替えしてよい。なお、RAIDCPU部203は、ユーザの設定に応じて、動作モードを強制的に切り替えてもよい。ミラーリングモードには、ミラーステート、デグレードステート、リビルドステート、ホールトステート、の4つの動作状態がある。RAIDCPU部203は、接続されている2台の外部記録装置の故障有無を検出して、自動的に動作状態を切り換えてよい。なお、RAIDCPU部203は、ユーザの設定に応じて、動作状態を強制的に切り替えてもよい。そして、これらの動作状態の切り替えは、画像形成装置100の動作中の任意のタイミングで実行されてもよいが、本実施形態では、画像形成装置100の起動タイミングのみで実行している。 FIG. 3 is a transition diagram of the RAID control state. The RAID controller unit 107 has two operation modes, a single mode and a mirroring mode. The single mode is an operation mode when only the first external recording device 108 or the second external recording device 109 is connected to the RAID controller unit 107. The mirroring mode is an operation mode when the first external recording device 108 and the second external recording device 109 are connected to the RAID controller unit 107. The RAID CPU unit 203 may monitor the connection state of the external recording device for the first SATAIF unit 205 and the second SATAIF unit 207, and automatically switch the operation mode according to the connection state. For example, when one external recording device is connected to only one of the first SATAIF unit 205 and the second SATAIF unit 207, the RAID CPU unit 203 operates in the single mode. When two external recording devices are connected to both, it may be automatically switched to operate in the mirroring mode. The RAID CPU unit 203 may forcibly switch the operation mode according to the user's setting. There are four operating states in the mirroring mode: mirror state, degraded state, rebuild state, and held state. The RAID CPU unit 203 may detect the presence or absence of failure of the two connected external recording devices and automatically switch the operating state. The RAID CPU unit 203 may forcibly switch the operating state according to the user's setting. The switching of these operating states may be executed at any timing during the operation of the image forming apparatus 100, but in the present embodiment, it is executed only at the starting timing of the image forming apparatus 100.

ミラーステートは、第一外部記録装置108および第二外部記録装置109がともに正常に動作している状態である。RAIDコントローラ部107のRAIDCPU部203は、2台の外部記録装置のうちの一台をマスター外部記録装置とし、もう一台をスレーブ外部記録装置とする。そして、リードアクセスは、マスター外部記録装置のみに実行する。ライトアクセスは、マスター外部記録装置およびスレーブ外部記録装置の双方に対して実行する。ミラーステートにおいて第一外部記録装置108および第二外部記録装置109の一方が故障すると、動作状態は、デグレードステートとなる。 The mirror state is a state in which both the first external recording device 108 and the second external recording device 109 are operating normally. The RAID CPU unit 203 of the RAID controller unit 107 uses one of the two external recording devices as the master external recording device and the other as the slave external recording device. Then, read access is performed only to the master external recording device. Write access is performed on both the master external recorder and the slave external recorder. If one of the first external recording device 108 and the second external recording device 109 fails in the mirror state, the operating state becomes the degraded state.

デグレードステートは、故障していない他方の外部記録装置のみで動作している状態である。RAIDコントローラ部107のRAIDCPU部203は、故障していない他方の外部記録装置のみに対して、ライトアクセスおよびリードアクセスする。そして、デグレードステートにおいて、故障している一方の外部記録装置が新たなものに交換されると、動作状態は、リビルドステートとなる。また、デグレードステートにおいて、さらに他方の外部記録装置が故障すると、動作状態は、ホールトステートとなる。 The degraded state is a state in which only the other external recording device that has not failed is operating. The RAID CPU unit 203 of the RAID controller unit 107 performs write access and read access only to the other external recording device that has not failed. Then, in the degraded state, when one of the failed external recording devices is replaced with a new one, the operating state becomes the rebuild state. Further, in the degraded state, when the other external recording device fails, the operating state becomes the held state.

リビルドステートは、故障していない他方の外部記録装置のみで動作している状態である。また、リビルドステートでは、RAIDコントローラ部107のRAIDCPU部203は、故障していない外部記録装置をマスター外部記録装置とし、新たに接続された外部記録装置をスレーブ外部記録装置とする。そして、RAIDCPU部203は、マスター外部記録装置にリードアクセスし、スレーブ外部記録装置にライトアクセスし、マスター外部記録装置のデータをスレーブ外部記録装置へコピーする。マスター外部記録装置のすべてのデータがスレーブ外部記録装置へコピーされると、リビルドが完了して、動作状態は、ミラーステートとなる。マスター外部記録装置のすべてのデータについてのスレーブ外部記録装置へのコピーが完了する前に、マスター外部記録装置が故障すると、動作状態は、ホールトステートとなる。スレーブ外部記録装置が故障すると、デグレードステートとなる。 The rebuild state is a state in which only the other external recording device that has not failed is operating. Further, in the rebuild state, the RAID CPU unit 203 of the RAID controller unit 107 uses the non-failed external recording device as the master external recording device and the newly connected external recording device as the slave external recording device. Then, the RAID CPU unit 203 has read access to the master external recording device, write access to the slave external recording device, and copies the data of the master external recording device to the slave external recording device. When all the data of the master external recording device is copied to the slave external recording device, the rebuild is completed and the operating state becomes the mirror state. If the master external recorder fails before copying of all data from the master external recorder to the slave external recorder is complete, the operating state will be in the halt state. If the slave external recording device fails, it goes into a degraded state.

ホールトステートは、2台の外部記録装置の両方が故障している状態である。この場合、RAIDCPU部203は、外部記録装置にアクセスすることはできない。画像形成装置100は、外部記録装置にアクセスして使用することができない。 The halt state is a state in which both of the two external recording devices are out of order. In this case, the RAID CPU unit 203 cannot access the external recording device. The image forming apparatus 100 cannot access and use the external recording apparatus.

このようなRAIDコントローラを使用することにより、画像形成装置100は、記録容量の大容量化、パフォーマンスの向上、データ信頼性の向上、などを実現できる。動画データおよび画像データの高精細化、高速ネットワークの普及などに好適に対応できるようになる。また、RAIDコントローラに接続されている複数の外部記録装置108,109のいずれか一方に障害が発生すると、複数の外部記録装置108,109のデータ同一性が崩れる。このため、上述するようにRAIDコントローラは、障害が発生した一方の外部記録装置を新たなものに交換した後に、他方の外部記録装置のデータをコピーするリビルド処理を実行する。RAIDコントローラは、複数の外部記録装置108,109の1つが交換されると、自らの判断によりリビルド処理を自動的に実行する。その一方で、動作中の画像形成装置100のCPU部106は、RAIDコントローラがリビルド処理中であるか否かにかかわらず、それを知ることなく、外部記録装置へアクセスする。 By using such a RAID controller, the image forming apparatus 100 can realize an increase in recording capacity, an improvement in performance, an improvement in data reliability, and the like. It will be possible to cope with high definition of video data and image data, widespread use of high-speed networks, and the like. Further, if any one of the plurality of external recording devices 108 and 109 connected to the RAID controller fails, the data identity of the plurality of external recording devices 108 and 109 is broken. Therefore, as described above, the RAID controller executes a rebuild process of copying the data of the other external recording device after replacing the failed external recording device with a new one. When one of the plurality of external recording devices 108 and 109 is replaced, the RAID controller automatically executes the rebuild process at its own discretion. On the other hand, the CPU unit 106 of the image forming apparatus 100 in operation accesses the external recording apparatus without knowing whether or not the RAID controller is in the rebuilding process.

画像形成装置100のCPU部106のアクセスと、RAIDコントローラのリビルド処理とが競合すると、画像形成装置100のCPU部106のアクセス速度が低下し、画像形成装置100のパフォーマンスが低下する。特に、画像形成装置100のCPU部106は、外部記録装置に対して、データのリードアクセスやライトアクセスだけでなく、データ消失を抑制するためのキャッシュフラッシュコマンドや、IDENTIFYDeviceコマンドを発行することがある。キャッシュフラッシュ処理では、外部記録装置は、外部記録装置のキャッシュ部に保持しているデータを即座に記録部に書込んで記録する。これにより、外部記録装置に記録したデータが電源断などにより消失しないようになる。しかしながら、キャッシュフラッシュ処理の期間は、キャッシュに保持されているデータ量に応じて異なる。また、時間がかかることがある。これらの処理を伴うライトアクセスを実行する場合、画像形成装置100のパフォーマンスが低下する可能性がある。また、画像形成装置100のCPU部106が外部記録装置に対してアクセスする場合、連続しているLBAに対してシーケンシャルにアクセスする場合と、不連続なLBAに対してランダムにアクセスする場合とがある。シーケンシャルアクセス中にキャッシュフラッシュコマンドを発行してもLBAが連続しているためにその応答処理期間は最小限である。しかしながら、ランダムアクセスにおいてはLBAが離れるため、ハードディスクデバイスでのヘッドの移動期間や記録メディアの回転待ちが発生し、処理期間が長くなる。リビルド処理はCPUからのアクセスとは独立した処理である。このため、リビルド処理のライトデータのLBAと、画像形成装置100のCPU部106のライトデータのLBAとが離れている可能性は極めて高い。その結果、リビルド処理中の画像形成装置100のCPU部106のライトアクセスは、ランダムアクセスとなる可能性が高い。そして、リビルド処理のライトデータと画像形成装置100のCPU部106のライトデータとの両方がキャッシュにある状態においてキャッシュフラッシュコマンドが発行されると、外部記録装置からの応答が遅れることになる。画像形成装置100のCPU部106が電源断などの対策のためにライトアクセスとキャッシュフラッシュコマンドとを連続的に実行している期間においてRAIDコントローラがリビルド処理を実行すると、ライトアクセスごとに遅延が発生する。このような遅延が連続的に発生することにより、パフォーマンスが大きく低下する。このように画像形成装置100といった情報処理装置では、リビルド処理の影響による装置としてのパフォーマンスの低下をできるだけ抑制することが求められている。 If the access of the CPU unit 106 of the image forming apparatus 100 and the rebuilding process of the RAID controller conflict with each other, the access speed of the CPU unit 106 of the image forming apparatus 100 decreases, and the performance of the image forming apparatus 100 deteriorates. In particular, the CPU unit 106 of the image forming apparatus 100 may issue a cache flash command or an IDENTIFY device command for suppressing data loss as well as read access and write access of data to the external recording apparatus. .. In the cache flush process, the external recording device immediately writes and records the data held in the cache section of the external recording device in the recording section. As a result, the data recorded in the external recording device will not be lost due to a power failure or the like. However, the period of cache flush processing varies depending on the amount of data held in the cache. It may also take some time. When the light access accompanied by these processes is executed, the performance of the image forming apparatus 100 may be deteriorated. Further, when the CPU unit 106 of the image forming apparatus 100 accesses the external recording device, there are cases where the continuous LBAs are accessed sequentially and cases where the discontinuous LBAs are randomly accessed. is there. Even if a cache flush command is issued during sequential access, the response processing period is minimal because the LBA is continuous. However, in random access, since the LBA is separated, the head movement period in the hard disk device and the rotation waiting of the recording medium occur, and the processing period becomes long. The rebuild process is a process independent of access from the CPU. Therefore, it is highly possible that the LBA of the write data of the rebuild process and the LBA of the write data of the CPU unit 106 of the image forming apparatus 100 are separated from each other. As a result, the write access of the CPU unit 106 of the image forming apparatus 100 during the rebuild process is likely to be a random access. If the cache flush command is issued while both the write data of the rebuild process and the write data of the CPU unit 106 of the image forming apparatus 100 are in the cache, the response from the external recording device will be delayed. If the RAID controller executes the rebuild process while the CPU unit 106 of the image forming apparatus 100 continuously executes the write access and the cache flush command as a countermeasure against power failure, a delay occurs for each write access. To do. The continuous occurrence of such delays greatly reduces performance. As described above, in the information processing apparatus such as the image forming apparatus 100, it is required to suppress the deterioration of the performance as an apparatus due to the influence of the rebuilding process as much as possible.

図4は、本発明の第一実施形態におけるリビルド処理の流れを示すフローチャートである。ストレージコントローラとしてのRAIDコントローラ部107のRAIDCPU部203は、画像形成装置100のCPU部106のアクセスの有無にかかわらず独自の処理として、画像形成装置100の動作中に図4のリビルド処理を繰り返し実行する。ステップS101において、RAIDCPU部203は、RAIDコントローラの初期設定を実行する。RAIDコントローラの初期設定において、RAIDCPU部203は、RAIDROM部204からRAIDコントローラ部107の設定情報を読出して初期設定を実行する。初期設定には、たとえば、上述した動作モードやステート、がある。ステップS102において、RAIDCPU部203は、画像形成装置100のCPU部106から、モード変更指示があるか否かを判断する。モード変更指示がない場合、RAIDCPU部203は、処理をステップS104へ進める。モード変更指示がある場合、RAIDCPU部203は、処理をステップS103へ進める。ステップS103において、RAIDCPU部203は、RAIDコントローラ部107の動作モードを、CPU部106に指示されたモードへ変更する。CPU部106がシングルモードへの変更を指示している場合、RAIDCPU部203は、RAIDコントローラ部107をシングルモードに設定する。CPU部106がミラーリングモードへの変更を指示している場合、RAIDCPU部203は、RAIDコントローラ部107をミラーリングモードに設定する。ミラーリングモードに変更された時点でのステートは、RAIDCPU部203が自動的に第一外部記録装置108および第二外部記録装置109と通信して独自に判断してよい。ステップS104において、RAIDCPU部203は、現在の動作モードがミラーリングモードであるか否かを判断する。ミラーリングモードである場合、RAIDCPU部203は、処理をステップS105へ進める。ミラーリングモードでない場合、RAIDCPU部203は、処理をステップS110へ進める。ステップS110において、RAIDCPU部203は、RAIDコントローラ部107をシングルモードとして動作させる。シングルモードでは、RAIDCPU部203は、RAIDコントローラ部107に第一外部記録装置108および第二外部記録装置109が接続されている場合でも、CPU部106の指示にしたがってその一方のみにアクセスする。RAIDCPU部203は、第一外部記録装置108の接続状況と第二外部記録装置109の接続状況とを判断して、1つの外部記録装置を選択すればよい。 FIG. 4 is a flowchart showing the flow of the rebuild process according to the first embodiment of the present invention. The RAID CPU unit 203 of the RAID controller unit 107 as a storage controller repeatedly executes the rebuild process of FIG. 4 during the operation of the image forming apparatus 100 as an original process regardless of whether or not the CPU unit 106 of the image forming apparatus 100 is accessed. To do. In step S101, the RAID CPU unit 203 executes the initial setting of the RAID controller. In the initial setting of the RAID controller, the RAID CPU unit 203 reads the setting information of the RAID controller unit 107 from the RAID ROM unit 204 and executes the initial setting. The initial settings include, for example, the above-mentioned operation mode and state. In step S102, the RAID CPU unit 203 determines whether or not there is a mode change instruction from the CPU unit 106 of the image forming apparatus 100. If there is no mode change instruction, the RAID CPU unit 203 advances the process to step S104. When there is a mode change instruction, the RAID CPU unit 203 advances the process to step S103. In step S103, the RAID CPU unit 203 changes the operation mode of the RAID controller unit 107 to the mode instructed by the CPU unit 106. When the CPU unit 106 has instructed to change to the single mode, the RAID CPU unit 203 sets the RAID controller unit 107 to the single mode. When the CPU unit 106 has instructed to change to the mirroring mode, the RAID CPU unit 203 sets the RAID controller unit 107 to the mirroring mode. The state at the time of changing to the mirroring mode may be independently determined by the RAID CPU unit 203 automatically communicating with the first external recording device 108 and the second external recording device 109. In step S104, the RAID CPU unit 203 determines whether or not the current operation mode is the mirroring mode. In the mirroring mode, the RAID CPU unit 203 advances the process to step S105. If it is not in the mirroring mode, the RAID CPU unit 203 advances the process to step S110. In step S110, the RAID CPU unit 203 operates the RAID controller unit 107 in the single mode. In the single mode, even when the first external recording device 108 and the second external recording device 109 are connected to the RAID controller unit 107, the RAID CPU unit 203 accesses only one of them according to the instruction of the CPU unit 106. The RAID CPU unit 203 may determine one external recording device by determining the connection status of the first external recording device 108 and the connection status of the second external recording device 109.

ステップS105において、RAIDCPU部203は、ミラーリングモードでの状態がリビルドステートであるか否かを判断する。リビルドステートである場合、RAIDCPU部203は、処理をステップS106へ進める。リビルドステートでない場合、すなわちたとえばミラーステートである場合、RAIDCPU部203は、処理をステップS109へ進める。ステップS109において、RAIDCPU部203は、画像形成装置100のCPU部106のアクセスを、ミラーステートでの処理により実行する。RAIDコントローラ部107のRAIDCPU部203は、2台の外部記録装置のうちの一台をマスター外部記録装置とし、もう一台をスレーブ外部記録装置とする。そして、リードアクセスは、マスター外部記録装置のみに実行する。ライトアクセスは、マスター外部記録装置およびスレーブ外部記録装置の双方に対して実行する。ステップS106において、RAIDCPU部203は、実際にCPU部106からアクセス指示を受信したか否かを判断する。RAIDCPU部203は、アクセス判断手段として、画像形成装置100による複数の外部記録装置108,109へのアクセスの有無を判断する。そして、実際のアクセスを受信している場合、RAIDCPU部203は、処理をステップS107へ進める。実際のアクセスを受信していない場合、RAIDCPU部203は、処理をステップS111へ進める。ステップS107において、RAIDCPU部203は、CPU部106のアクセス指示の内容がライトアクセスであるか否かを判断する。RAIDCPU部203は、アクセス判断手段として、画像形成装置100による複数の外部記録装置108,109へのアクセスの有無を判断する際に、画像形成装置100による複数の外部記録装置108,109へのライトアクセスの有無を判断する。そして、ライトアクセスである場合、RAIDCPU部203は、処理をステップS108へ進める。ライトアクセスでない場合、すなわちリードアクセスなどである場合、RAIDCPU部203は、処理をステップS111へ進める。 In step S105, the RAID CPU unit 203 determines whether or not the state in the mirroring mode is the rebuild state. In the rebuild state, the RAID CPU unit 203 advances the process to step S106. If it is not in the rebuild state, that is, if it is in the mirror state, for example, the RAID CPU unit 203 advances the process to step S109. In step S109, the RAID CPU unit 203 executes access to the CPU unit 106 of the image forming apparatus 100 by processing in the mirror state. The RAID CPU unit 203 of the RAID controller unit 107 uses one of the two external recording devices as the master external recording device and the other as the slave external recording device. Then, read access is performed only to the master external recording device. Write access is performed on both the master external recorder and the slave external recorder. In step S106, the RAID CPU unit 203 determines whether or not an access instruction is actually received from the CPU unit 106. The RAID CPU unit 203 determines whether or not the image forming apparatus 100 has accessed the plurality of external recording devices 108 and 109 as the access determining means. Then, when the actual access is received, the RAID CPU unit 203 advances the process to step S107. When the actual access is not received, the RAID CPU unit 203 advances the process to step S111. In step S107, the RAID CPU unit 203 determines whether or not the content of the access instruction of the CPU unit 106 is write access. The RAID CPU unit 203 writes to the plurality of external recording devices 108 and 109 by the image forming apparatus 100 when determining whether or not the image forming apparatus 100 has access to the plurality of external recording devices 108 and 109 as an access determining means. Determine if there is access. Then, in the case of write access, the RAID CPU unit 203 advances the process to step S108. If it is not write access, that is, if it is read access or the like, the RAID CPU unit 203 advances the process to step S111.

ステップS108において、RAIDCPU部203は、RAIDコントローラ部107によるリビルド処理を一時的に停止するために、ライト用のリビルド停止期間を設定する。RAIDCPU部203は、停止設定手段として、画像形成装置100による連続的なライトアクセスを妨げないライト用のリビルド停止期間を設定する。RAIDCPU部203は、通常、リビルド処理と比べてCPUのアクセスの優先度を高く設定している。この場合、RAIDCPU部203は、CPUのアクセスの合間に、リビルド処理を実行することになる。本実施形態では、さらにリビルド停止期間を設定する。RAIDCPU部203は、CPUのアクセスがあると、その後にCPUのアクセスがなくとも、一定のリビルド停止期間においてリビルド処理を継続的に停止することになる。そして、CPUのアクセスがこのリビルド停止期間以下で繰り返される場合、RAIDCPU部203は、その期間の全体においてリビルド処理を継続的に停止することになる。その後、RAIDCPU部203は、処理をステップS111へ進める。ステップS111において、RAIDCPU部203は、リビルド停止期間中であるか否かを判断する。リビルド停止期間は、たとえばRAIDCPU部203によりプログラム計測されてよい。リビルド停止期間中である場合、RAIDCPU部203は、処理をステップS106へ戻す。リビルド停止期間中でない場合、すなわちリビルド停止期間が経過した後である場合、RAIDCPU部203は、処理をステップS112へ進める。 In step S108, the RAID CPU unit 203 sets a rebuild stop period for the write in order to temporarily stop the rebuild process by the RAID controller unit 107. The RAID CPU unit 203 sets a rebuild stop period for the light that does not interfere with continuous light access by the image forming apparatus 100 as a stop setting means. The RAID CPU unit 203 usually sets the priority of CPU access higher than that of the rebuild process. In this case, the RAID CPU unit 203 executes the rebuild process between CPU accesses. In the present embodiment, the rebuild stop period is further set. When the RAID CPU unit 203 is accessed by the CPU, the rebuild process is continuously stopped in a certain rebuild stop period even if there is no subsequent access by the CPU. Then, when the CPU access is repeated within this rebuild stop period or less, the RAID CPU unit 203 continuously stops the rebuild process during the entire period. After that, the RAID CPU unit 203 advances the process to step S111. In step S111, the RAID CPU unit 203 determines whether or not the rebuild stop period is in progress. The rebuild stop period may be programmatically measured by, for example, the RAID CPU unit 203. If the rebuild is stopped, the RAID CPU unit 203 returns the process to step S106. If it is not during the rebuild stop period, that is, after the rebuild stop period has elapsed, the RAID CPU unit 203 advances the process to step S112.

ステップS112において、RAIDCPU部203は、リビルド処理を実行する。RAIDCPU部203は、リビルド実行手段として、複数の外部記録装置108,109の一方のデータを他方へコピーするリビルド処理を実行する。その後、RAIDCPU部203は、処理をステップS105へ戻す。リビルドモードであり続ける場合、RAIDCPU部203は、ステップS105〜S108およびステップS111〜S112の処理を繰り返す。CPUのアクセスの合間であって、かつ、リビルド停止期間中でない場合に、RAIDCPU部203は、リビルド処理を実行する。十分な期間の後に、複数の外部記録装置108,109のデータは、同じになる。このように画像形成装置100のCPU部106からライトアクセスがあると、RAIDCPU部203は、ライト用のリビルド停止期間を設定し、その期間中にライトアクセスがないとしてもリビルド処理を停止する。したがって、画像形成装置100のCPU部106が、このライト用のリビルド停止期間以下の間隔でライトアクセスが断続的に繰り返し発生した場合、その期間の全体においてリビルド処理が停止されることになる。断続的なライトアクセスの間にリビルド処理が入り込まないので、画像形成装置100のパフォーマンスは、リビルド処理の影響を受けにくくなり、リビルド処理がない場合と同等となり得る。外部記録装置の応答の遅延が低減される。 In step S112, the RAID CPU unit 203 executes the rebuild process. The RAID CPU unit 203 executes a rebuild process of copying one of the data of the plurality of external recording devices 108 and 109 to the other as the rebuild execution means. After that, the RAID CPU unit 203 returns the process to step S105. When continuing in the rebuild mode, the RAID CPU unit 203 repeats the processes of steps S105 to S108 and steps S111 to S112. The RAID CPU unit 203 executes the rebuild process during the CPU access interval and not during the rebuild stop period. After a sufficient period of time, the data of the plurality of external recording devices 108, 109 will be the same. When there is a write access from the CPU unit 106 of the image forming apparatus 100 in this way, the RAID CPU unit 203 sets a rebuild stop period for the write, and stops the rebuild process even if there is no write access during that period. Therefore, when the CPU unit 106 of the image forming apparatus 100 intermittently and repeatedly causes write access at intervals equal to or less than the rebuild stop period for the write, the rebuild process is stopped for the entire period. Since the rebuild process does not enter during the intermittent write access, the performance of the image forming apparatus 100 is less affected by the rebuild process and can be equivalent to the case without the rebuild process. The delay in the response of the external recording device is reduced.

図5は、図4のリビルド処理の下での、画像形成装置100のCPUによるライトアクセスの一例のタイミングチャートである。図5(A)は、画像形成装置100のCPUによるライトアクセスである。図5(B)は、RAIDCPU部203による第一外部記録装置108へのライトアクセスである。図5(C)は、RAIDCPU部203による第二外部記録装置109へのライトアクセスである。このように、画像形成装置100のCPUがRAIDCPU部203へ繰り返しライトアクセスすると、RAIDCPU部203は、第一外部記録装置108および第二外部記録装置109へ繰り返しライトアクセスする。ここで、図中の期間T1は、CPU部106が先のライトアクセスが終了してから次のライトアクセスを開始するまでのライト間隔である。RAIDCPU部203が、このライト間隔より長いライト用のリビルド停止期間を設定することにより、断続的なライトアクセスの間にリビルド処理が発生し難くなる。また、図5では、画像形成装置100のCPUは、ライトアクセスする度にキャッシュフラッシュを実行している。図中の期間T2は、ライトアクセスを開始してからキャッシュフラッシュが終了するまでのライト期間である。RAIDCPU部203が、このライト期間より長いライト用のリビルド停止期間を設定することにより、この期間内にリビルド処理が入り込みにくくなる。リビルド処理が入り込む前にキャッシュフラッシュを実行することにより、応答遅延の増大を抑制できる可能性が高くなる。 FIG. 5 is a timing chart of an example of write access by the CPU of the image forming apparatus 100 under the rebuild process of FIG. FIG. 5A is a write access by the CPU of the image forming apparatus 100. FIG. 5B is a write access to the first external recording device 108 by the RAID CPU unit 203. FIG. 5C is a write access to the second external recording device 109 by the RAID CPU unit 203. In this way, when the CPU of the image forming apparatus 100 repeatedly writes and accesses the RAID CPU unit 203, the RAID CPU unit 203 repeatedly writes and accesses the first external recording device 108 and the second external recording device 109. Here, the period T1 in the figure is a write interval from the end of the previous write access to the start of the next write access by the CPU unit 106. By setting the rebuild stop period for writes longer than this write interval, the RAID CPU unit 203 makes it difficult for the rebuild process to occur during intermittent write access. Further, in FIG. 5, the CPU of the image forming apparatus 100 executes a cache flash every time a write access is made. The period T2 in the figure is a write period from the start of write access to the end of cache flush. By setting the rebuild stop period for the write longer than this write period, the RAID CPU unit 203 makes it difficult for the rebuild process to enter within this period. By executing the cache flush before the rebuild process enters, it is highly possible that the increase in response delay can be suppressed.

また、図中の期間T3は、先のライトアクセスが終了してから次のライトアクセスのキャッシュフラッシュを開始するまでの期間である。これは、ライト間隔T1より長い。RAIDCPU部203が、この期間T3より長いライト用のリビルド停止期間を設定することにより、ライトアクセス毎のキャッシュフラッシュを含む断続的なライトアクセス間にリビルド処理がほぼ確実に発生し難くなる。RAIDCPU部203は、図4のステップS108において、これらいずれかより長いライト用のリビルド停止期間を設定するとよい。具体的にはたとえば、いずれかの期間の倍の長さの期間などを設定するとよい。RAIDCPU部203は、たとえば期間T3をライト用のリビルド停止期間を設定する。この場合、CPU部106からライトアクセスがあると、RAIDCPU部203は、それに応じたライトアクセスが終えると、期間T3のリビルド停止期間を設定する。RAIDCPU部203は、リビルド処理を実行しない。その後再び、CPU部106からライトアクセスがあると、RAIDCPU部203は、それに応じたライトアクセスを実行する。また、ライトアクセスが終えると、期間T3のリビルド停止期間を再び設定する。RAIDCPU部203は、先に設定したリビルド停止期間が経過していなくとも、新たにリビルド停止期間を再設定する。そして、RAIDCPU部203は、CPU部106からライトアクセスがある限り、以上の処理を繰り返し、その全期間においてリビルド処理を実行しなくなる。また、最後に設定したリビルド停止期間が経過すると、RAIDCPU部203は、リビルド処理を再開することができる。 Further, the period T3 in the figure is a period from the end of the previous write access to the start of the cache flush of the next write access. This is longer than the light interval T1. By setting the rebuild stop period for the write longer than this period T3 by the RAID CPU unit 203, the rebuild process is almost certainly unlikely to occur during the intermittent write access including the cache flush for each write access. The RAID CPU unit 203 may set a rebuild stop period for a write longer than any one of them in step S108 of FIG. Specifically, for example, a period that is twice as long as any of the periods may be set. The RAID CPU unit 203 sets, for example, a rebuild stop period for writing the period T3. In this case, when there is a write access from the CPU unit 106, the RAID CPU unit 203 sets the rebuild stop period of the period T3 when the corresponding write access is completed. The RAID CPU unit 203 does not execute the rebuild process. After that, when there is a write access from the CPU unit 106 again, the RAID CPU unit 203 executes the write access corresponding to the write access. Further, when the write access is completed, the rebuild stop period of the period T3 is set again. The RAID CPU unit 203 newly resets the rebuild stop period even if the previously set rebuild stop period has not elapsed. Then, as long as there is a write access from the CPU unit 106, the RAID CPU unit 203 repeats the above process and does not execute the rebuild process during the entire period. Further, when the last set rebuild stop period elapses, the RAID CPU unit 203 can restart the rebuild process.

図6は、図4のリビルド処理の下での、画像形成装置100のCPUによるリードアクセスとリビルド処理との一例のタイミングチャートである。図6は、ライトアクセス以外のアクセスの一例である。図6(A)から(C)は、図5(A)から(C)と同様である。画像形成装置100のCPUがライトアクセスではなくリードアクセスする場合、RAIDCPU部203は、リビルド停止期間を設定しない。このため画像形成装置100のCPUが断続的なリードアクセスを繰り返すと、RAIDCPU部203は、第一外部記録装置108にリードアクセスする。また、断続的なリードアクセスの間において、RAIDCPU部203は、リビルド処理のために第一外部記録装置108にリードアクセスする。また、RAIDCPU部203は、リビルド処理のために第一外部記録装置108から詠み出したデータを第二外部記録装置109に書き込むために、第二外部記録装置109にライトアクセスする。そして、リビルド処理中に、CPU部106のリードアクセスがあると、RAIDCPU部203は、リビルド処理を一時停止して、第一外部記録装置108へリードアクセスする。RAIDCPU部203は、このような動作を繰り返す。 FIG. 6 is a timing chart of an example of read access by the CPU of the image forming apparatus 100 and the rebuild process under the rebuild process of FIG. FIG. 6 is an example of access other than write access. 6 (A) to 6 (C) are the same as those of FIGS. 5 (A) to 5 (C). When the CPU of the image forming apparatus 100 makes read access instead of write access, the RAID CPU unit 203 does not set the rebuild stop period. Therefore, when the CPU of the image forming apparatus 100 repeats intermittent read access, the RAID CPU unit 203 makes read access to the first external recording apparatus 108. Further, during the intermittent read access, the RAID CPU unit 203 reads and accesses the first external recording device 108 for the rebuild process. Further, the RAID CPU unit 203 has write access to the second external recording device 109 in order to write the data read from the first external recording device 108 for the rebuild process to the second external recording device 109. Then, if there is read access from the CPU unit 106 during the rebuild process, the RAID CPU unit 203 suspends the rebuild process and makes read access to the first external recording device 108. The RAID CPU unit 203 repeats such an operation.

図7は、画像形成装置100のCPUがライトアクセスとリードアクセスとを繰り返し実行する場合のタイミングチャートである。図7(A)から(C)は、図5(A)から(C)と同様である。図7の場合、画像形成装置100のCPUは、先のライトアクセスの後に、キャッシュフラッシュコマンドを発行し、リードアクセスし、その後に次のライトアクセスを実行する。この場合、RAIDCPU部203は、第一外部記録装置108に対して、先のライトアクセスし、キャッシュフラッシュを実行し、リードアクセスし、その後に次のライトアクセスを実行する。また、RAIDCPU部203は、第二外部記録装置109に対して、先のライトアクセスし、キャッシュフラッシュを実行し、リードアクセスの時間の後に次のライトアクセスを実行する。このようなアクセスを画像形成装置100のCPUが実行する場合、RAIDCPU部203は、図中の期間T4より長いライト用のリビルド停止期間を設定するとよい。期間T4は、図5中の期間T1と同様に、先のライトアクセスの終了から次のライトアクセスの開始までの期間である。これにより、連続する複数のライトアクセスの間にキャッシュフラッシュやリードアクセスが挟まれることがあったとしても、リビルド停止期間が経過する前に、次のライトアクセスが開始される。その結果、RAIDCPU部203は、リビルド停止期間を再設定し続けて、その全期間においてリビルド処理を実行しないようになり得る。応答遅延を発生し難くできる。 FIG. 7 is a timing chart when the CPU of the image forming apparatus 100 repeatedly executes write access and read access. 7 (A) to 7 (C) are the same as those of FIGS. 5 (A) to 5 (C). In the case of FIG. 7, the CPU of the image forming apparatus 100 issues a cache flush command after the previous write access, makes read access, and then executes the next write access. In this case, the RADIUS CPU unit 203 performs the first write access, the cache flush, the read access, and then the next write access to the first external recording device 108. Further, the RADIUS CPU unit 203 performs the first write access to the second external recording device 109, executes the cache flush, and executes the next write access after the read access time. When the CPU of the image forming apparatus 100 executes such access, the RAID CPU unit 203 may set a rebuild stop period for a write longer than the period T4 in the drawing. The period T4 is a period from the end of the previous write access to the start of the next write access, similarly to the period T1 in FIG. As a result, even if a cache flush or read access is sandwiched between a plurality of consecutive write accesses, the next write access is started before the rebuild stop period elapses. As a result, the RAID CPU unit 203 may continue to reset the rebuild stop period and not execute the rebuild process during the entire period. Response delay can be less likely to occur.

以上のように、本実施形態では、ライト用のリビルド停止期間を設定することにより、画像形成装置100のCPUが断続的にライトアクセスしている最中に、RAIDCPU部203がリビルド処理を実行し難くできる。画像形成装置100のCPUが断続的にライトアクセスしている最中でのリビルド処理による応答遅延が、発生し難くなる。また、CPUのライトアクセスがなくなれば、リビルド処理を再開して、リビルド処理を完了することができる。 As described above, in the present embodiment, by setting the rebuild stop period for the write, the RAID CPU unit 203 executes the rebuild process while the CPU of the image forming apparatus 100 is intermittently performing write access. It can be difficult. The response delay due to the rebuild process while the CPU of the image forming apparatus 100 is intermittently performing write access is less likely to occur. Further, when the write access of the CPU is lost, the rebuild process can be restarted and the rebuild process can be completed.

[第二実施形態]
次に、本発明の第二実施形態に係る画像形成装置100を説明する。本実施形態では、ライト用のリビルド停止期間またはリード用のリビルド停止期間を、画像形成装置100のCPUのアクセス内容に応じて切り替えて設定する。以下の説明では、主に上述した実施形態との相違点について説明する。
[Second Embodiment]
Next, the image forming apparatus 100 according to the second embodiment of the present invention will be described. In the present embodiment, the rebuild stop period for write or the rebuild stop period for read is switched and set according to the access content of the CPU of the image forming apparatus 100. In the following description, differences from the above-described embodiments will be mainly described.

図8は、本発明の第二実施形態におけるリビルド処理の流れを示すフローチャートである。ストレージコントローラとしてのRAIDコントローラ部107のRAIDCPU部203は、画像形成装置100のCPU部106のアクセスの有無にかかわらず独自の処理として、画像形成装置100の動作中に図8のリビルド処理を繰り返し実行する。図8のステップS201からステップS207、ステップS210からステップS213は、図4のステップS101からステップS107、ステップS209からステップS212までと同様であり、説明を省略する。ただし、ステップS206において実際のアクセスを受信していないと判断する場合、RAIDCPU部203は、処理をステップS212へ進める。また、ステップS212においてリビルド停止期間中であると判断する場合、RAIDCPU部203は、処理をステップS206へ戻す。そして、ステップS207において、RAIDCPU部203は、CPU部106のアクセス指示の内容がライトアクセスであるか否かを判断する。RAIDCPU部203は、アクセス判断手段として、画像形成装置100による複数の外部記録装置108,109へのアクセスの有無を判断する際に、画像形成装置100による複数の外部記録装置108,109へのライトアクセスの有無を判断する。そして、ライトアクセスである場合、RAIDCPU部203は、処理をステップS208へ進める。ライトアクセスでない場合、すなわちリードアクセスなどである場合、RAIDCPU部203は、処理をステップS209へ進める。 FIG. 8 is a flowchart showing the flow of the rebuild process according to the second embodiment of the present invention. The RAID CPU unit 203 of the RAID controller unit 107 as a storage controller repeatedly executes the rebuild process of FIG. 8 during the operation of the image forming apparatus 100 as an original process regardless of whether or not the CPU unit 106 of the image forming apparatus 100 is accessed. To do. Steps S201 to S207 and steps S210 to S213 in FIG. 8 are the same as steps S101 to S107 and steps S209 to S212 in FIG. 4, and the description thereof will be omitted. However, if it is determined in step S206 that the actual access has not been received, the RAID CPU unit 203 advances the process to step S212. Further, when it is determined in step S212 that the rebuild stop period is in progress, the RAID CPU unit 203 returns the process to step S206. Then, in step S207, the RAID CPU unit 203 determines whether or not the content of the access instruction of the CPU unit 106 is write access. The RAID CPU unit 203 writes to the plurality of external recording devices 108 and 109 by the image forming apparatus 100 when determining whether or not the image forming apparatus 100 has access to the plurality of external recording devices 108 and 109 as an access determining means. Determine if there is access. Then, in the case of write access, the RAID CPU unit 203 advances the process to step S208. If it is not write access, that is, if it is read access or the like, the RAID CPU unit 203 advances the process to step S209.

ステップS208において、RAIDCPU部203は、RAIDコントローラ部107によるリビルド処理を一時的に停止するために、ライト用のリビルド停止期間を設定する。RAIDCPU部203は、停止設定手段として、画像形成装置100による連続的なライトアクセスを妨げないライト用のリビルド停止期間を設定する。RAIDCPU部203は、通常、リビルド処理と比べてCPUのアクセスの優先度を高く設定している。この場合、RAIDCPU部203は、CPUのアクセスの合間に、リビルド処理を実行することになる。本実施形態では、さらにリビルド停止期間を設定する。RAIDCPU部203は、CPUのアクセスがあると、その後にCPUのアクセスがなくとも、一定のリビルド停止期間においてリビルド処理を継続的に停止することになる。そして、CPUのライトアクセスがこのリビルド停止期間以下で繰り返される場合、RAIDCPU部203は、その期間の全体においてリビルド処理を継続的に停止することになる。その後、RAIDCPU部203は、処理をステップS212へ進める。 In step S208, the RAID CPU unit 203 sets a rebuild stop period for the write in order to temporarily stop the rebuild process by the RAID controller unit 107. The RAID CPU unit 203 sets a rebuild stop period for the light that does not interfere with continuous light access by the image forming apparatus 100 as a stop setting means. The RAID CPU unit 203 usually sets the priority of CPU access higher than that of the rebuild process. In this case, the RAID CPU unit 203 executes the rebuild process between CPU accesses. In the present embodiment, the rebuild stop period is further set. When the RAID CPU unit 203 is accessed by the CPU, the rebuild process is continuously stopped in a certain rebuild stop period even if there is no subsequent access by the CPU. Then, when the write access of the CPU is repeated within this rebuild stop period or less, the RAID CPU unit 203 continuously stops the rebuild process during the entire period. After that, the RAID CPU unit 203 advances the process to step S212.

ステップS209において、RAIDCPU部203は、RAIDコントローラ部107によるリビルド処理を一時的に停止するために、リード用のリビルド停止期間を設定する。RAIDCPU部203は、停止設定手段として、画像形成装置100による連続的なリードアクセスを妨げないリード用のリビルド停止期間を設定する。RAIDCPU部203は、通常、リビルド処理と比べてCPUのアクセスの優先度を高く設定している。この場合、RAIDCPU部203は、CPUのアクセスの合間に、リビルド処理を実行することになる。本実施形態では、さらにリビルド停止期間を設定する。RAIDCPU部203は、CPUのアクセスがあると、その後にCPUのアクセスがなくとも、一定のリビルド停止期間においてリビルド処理を継続的に停止することになる。そして、CPUのリードアクセスがこのリビルド停止期間以下で繰り返される場合、RAIDCPU部203は、その期間の全体においてリビルド処理を継続的に停止することになる。その後、RAIDCPU部203は、処理をステップS212へ進める。 In step S209, the RAID CPU unit 203 sets a rebuild stop period for the read in order to temporarily stop the rebuild process by the RAID controller unit 107. The RAID CPU unit 203 sets a rebuild stop period for leads that does not interfere with continuous read access by the image forming apparatus 100 as a stop setting means. The RAID CPU unit 203 usually sets the priority of CPU access higher than that of the rebuild process. In this case, the RAID CPU unit 203 executes the rebuild process between CPU accesses. In the present embodiment, the rebuild stop period is further set. When the RAID CPU unit 203 is accessed by the CPU, the rebuild process is continuously stopped in a certain rebuild stop period even if there is no subsequent access by the CPU. Then, when the read access of the CPU is repeated within this rebuild stop period or less, the RAID CPU unit 203 continuously stops the rebuild process during the entire period. After that, the RAID CPU unit 203 advances the process to step S212.

図9は、図8のリビルド処理の下での、画像形成装置100のCPUによるライトアクセスの一例のタイミングチャートである。図9(A)から(C)は、図5(A)から(C)と同様である。図9の場合、画像形成装置100のCPUは、先のライトアクセスの後に、キャッシュフラッシュコマンドを発行し、その後に次のライトアクセスを実行する。この場合、RAIDCPU部203は、第一外部記録装置108に対して、先のライトアクセスし、キャッシュフラッシュを実行し、その後に次のライトアクセスを実行する。また、RAIDCPU部203は、第二外部記録装置109に対して、先のライトアクセスし、キャッシュフラッシュを実行し、その後に次のライトアクセスを実行する。そして、画像形成装置100のCPUがライトアクセスする場合、RAIDCPU部203は、ライト用のリビルド停止期間を設定する。RAIDCPU部203は、画像形成装置100のCPUがライトアクセスのたびに、ライト用のリビルド停止期間を再設定する。これにより、画像形成装置100のCPUが断続的にライトアクセスする場合、RAIDCPU部203は、その間にリビルド処理を実行しなくなる。特に、図9の期間T5は、CPUが先のライトアクセスを終了してから、次のライトアクセスを開始するまでの期間である。このような期間T5、またはそれ以上の期間のとなるライト用のリビルド停止期間を設定することにより、RAIDCPU部203は、画像形成装置100のCPUが断続的にライトアクセスする全期間においてリビルド処理を実行し難くなる。外部記録装置の応答遅延の増大を抑制できる。 FIG. 9 is a timing chart of an example of write access by the CPU of the image forming apparatus 100 under the rebuild process of FIG. 9 (A) to 9 (C) are the same as those of FIGS. 5 (A) to 5 (C). In the case of FIG. 9, the CPU of the image forming apparatus 100 issues a cache flush command after the previous write access, and then executes the next write access. In this case, the RADIUS CPU unit 203 performs the first write access to the first external recording device 108, executes the cache flush, and then executes the next write access. Further, the RADIUS CPU unit 203 makes a first write access to the second external recording device 109, executes a cache flush, and then executes a next write access. Then, when the CPU of the image forming apparatus 100 has write access, the RAID CPU unit 203 sets the rebuild stop period for the write. The RAID CPU unit 203 resets the rebuild stop period for the write every time the CPU of the image forming apparatus 100 makes a write access. As a result, when the CPU of the image forming apparatus 100 intermittently writes and accesses, the RAID CPU unit 203 does not execute the rebuild process during that time. In particular, the period T5 in FIG. 9 is a period from the end of the previous write access to the start of the next write access. By setting the rebuild stop period for the write, which is such a period T5 or longer, the RAID CPU unit 203 performs the rebuild process during the entire period in which the CPU of the image forming apparatus 100 intermittently writes and accesses. It becomes difficult to execute. It is possible to suppress an increase in the response delay of the external recording device.

図10は、図8のリビルド処理の下での、画像形成装置100のCPUによるリードアクセスとリビルド処理との一例のタイミングチャートである。図10(A)から(C)は、図5(A)から(C)と同様である。図10の場合、画像形成装置100のCPUは、断続的に繰り返してリードアクセスする。この場合、RAIDCPU部203は、第一外部記録装置108に対して、断続的に繰り返してリードアクセスする。また、RAIDCPU部203は、画像形成装置100のCPUのライトアクセスが終了すると、リード用のリビルド停止期間を設定する。リード用のリビルド停止期間は、ライト用のリビルド停止期間より短い。停止設定手段としてのRAIDCPU部203は、画像形成装置100がリードアクセスする場合のリード用のリビルド停止期間として、ライト用のリビルド停止期間より短い期間T6を設定する。RAIDCPU部203は、このリード用のリビルド停止期間において、断続的にリビルド処理を実行し難くなる。そして、リード用のリビルド停止期間が経過すると、RAIDCPU部203は、リビルド処理を開始する。断続的なリードアクセスの間において、RAIDCPU部203は、リビルド処理のために第一外部記録装置108にリードアクセスする。また、RAIDCPU部203は、リビルド処理のために第一外部記録装置108から詠み出したデータを第二外部記録装置109に書き込むために、第二外部記録装置109にライトアクセスする。そして、リビルド処理中に、CPU部106のリードアクセスがあると、RAIDCPU部203は、リビルド処理を一時停止して、第一外部記録装置108へリードアクセスする。RAIDCPU部203は、このような動作を繰り返す。 FIG. 10 is a timing chart of an example of read access by the CPU of the image forming apparatus 100 and the rebuild process under the rebuild process of FIG. 10 (A) to 10 (C) are the same as those of FIGS. 5 (A) to 5 (C). In the case of FIG. 10, the CPU of the image forming apparatus 100 intermittently and repeatedly makes read access. In this case, the RAID CPU unit 203 intermittently and repeatedly makes read access to the first external recording device 108. Further, the RAID CPU unit 203 sets a rebuild stop period for reading when the write access of the CPU of the image forming apparatus 100 is completed. The rebuild stop period for reads is shorter than the rebuild stop period for writes. The RAID CPU unit 203 as the stop setting means sets a period T6 shorter than the rebuild stop period for the write as the rebuild stop period for the read when the image forming apparatus 100 reads and accesses. The RAID CPU unit 203 becomes difficult to intermittently execute the rebuild process during the rebuild stop period for the read. Then, when the read rebuild stop period elapses, the RAID CPU unit 203 starts the rebuild process. During the intermittent read access, the RAID CPU unit 203 makes read access to the first external recording device 108 for the rebuild process. Further, the RAID CPU unit 203 has write access to the second external recording device 109 in order to write the data read from the first external recording device 108 for the rebuild process to the second external recording device 109. Then, if there is read access from the CPU unit 106 during the rebuild process, the RAID CPU unit 203 suspends the rebuild process and makes read access to the first external recording device 108. The RAID CPU unit 203 repeats such an operation.

以上のように、本実施形態では、画像形成装置100のCPU部106からのアクセス内容に応じて、設定するリビルド停止期間を切り替える。これにより、画像形成装置100のCPU部106のアクセスが生じている場合において、ライトだけでなくリードにおいてもリビルド処理を実行し難くできる。しかも、本実施形態では、リード用のリビルド停止期間がライト用のリビルド停止期間よりも短く設定される。これにより、画像形成装置100のCPU部106による連続したライトアクセス中での応答遅延を効果的に抑制しつつ、連続したリードアクセスの期間においてリビルド処理を実行できる。 As described above, in the present embodiment, the rebuild stop period to be set is switched according to the access content from the CPU unit 106 of the image forming apparatus 100. As a result, when the CPU unit 106 of the image forming apparatus 100 is accessed, it is possible to make it difficult to execute the rebuild process not only in the write but also in the read. Moreover, in the present embodiment, the rebuild stop period for read is set shorter than the rebuild stop period for write. As a result, the rebuild process can be executed during the continuous read access period while effectively suppressing the response delay during the continuous write access by the CPU unit 106 of the image forming apparatus 100.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。本発明は、上述の実施の形態の1以上の機能を実現するプログラムを、ネットワークや記録媒体を介してシステムや装置に供給し、そのシステム又は装置のコンピュータの1つ以上のプロセッサーがプログラムを読み出して実行する処理でも実現可能である。また、本発明は、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 Although the present invention has been described in detail based on the preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various embodiments within the scope of the gist of the present invention are also included in the present invention. included. 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 recording medium, and one or more processors of the computer of the system or device reads 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 画像形成装置
106 CPU部
107 RAIDコントローラ部
108 第一外部記録装置
109 第二外部記録装置
202 RAIDメモリ部
203 RAIDCPU部
204 RAIDROM部
208 第一CPU部
209 第一キャッシュ部
210 第一記録部
211 第二CPU部
212 第二キャッシュ部
213 第二記録部
100 Image forming device 106 CPU unit 107 RAID controller unit 108 First external recording device 109 Second external recording device 202 RAID memory unit 203 RAID CPU unit 204 RAID ROM unit 208 First CPU unit 209 First cache unit 210 First recording unit 211 2 CPU unit 212 2nd cache unit 213 2nd recording unit

Claims (9)

複数の外部記録装置を接続可能な情報処理装置において、
複数の前記外部記録装置の一方のデータを他方へコピーするリビルド処理を実行するリビルド実行手段と、
前記情報処理装置による複数の前記外部記録装置へのアクセスの有無を判断するアクセス判断手段と、
前記アクセス判断手段が前記情報処理装置による複数の前記外部記録装置へのアクセスをありと判断する場合に、リビルド停止期間を設定する停止設定手段と、
を有し、
前記リビルド実行手段は、前記リビルド停止期間中には、前記リビルド処理を停止する、
情報処理装置。
In an information processing device that can connect multiple external recording devices
A rebuild execution means for executing a rebuild process of copying one data of a plurality of the external recording devices to the other, and
An access determination means for determining whether or not the information processing device has access to the plurality of external recording devices,
When the access determination means determines that the information processing device has access to the plurality of external recording devices, the stop setting means for setting the rebuild stop period and the stop setting means.
Have,
The rebuild execution means stops the rebuild process during the rebuild stop period.
Information processing device.
前記アクセス判断手段は、前記情報処理装置による複数の前記外部記録装置へのライトアクセスの有無を判断し、
前記停止設定手段は、前記情報処理装置による連続的なライトアクセスを妨げないライト用のリビルド停止期間を設定する、
請求項1記載の情報処理装置。
The access determining means determines whether or not there is write access to the plurality of external recording devices by the information processing device, and determines whether or not there is write access to the plurality of external recording devices.
The stop setting means sets a rebuild stop period for a light that does not interfere with continuous write access by the information processing device.
The information processing device according to claim 1.
前記停止設定手段は、前記情報処理装置が複数の前記外部記録装置へ連続的にライトアクセスする場合における先のライトアクセスが終了してから次のライトアクセスが開始するまでのライト間隔より長いライト用のリビルド停止期間を設定する、
請求項2記載の情報処理装置。
The stop setting means is for a light longer than the write interval from the end of the previous write access to the start of the next write access when the information processing device continuously writes access to the plurality of external recording devices. Set the rebuild stop period for
The information processing device according to claim 2.
前記情報処理装置は、複数の前記外部記録装置へライトアクセスする度にキャッシュフラッシュを実行し、
前記停止設定手段は、ライトアクセスを開始してからキャッシュフラッシュが終了するまでの期間より長いライト用のリビルド停止期間を設定する、
請求項2記載の情報処理装置。
The information processing device executes a cache flush each time the write access is performed to the plurality of external recording devices.
The stop setting means sets a rebuild stop period for a write that is longer than the period from the start of the write access to the end of the cache flush.
The information processing device according to claim 2.
前記停止設定手段は、複数の前記外部記録装置へ連続的にライトアクセスする場合において、ライトアクセスする度にキャッシュフラッシュを実行し、
前記停止設定手段は、先のライトアクセスが終了してから次のライトアクセスのキャッシュフラッシュを開始するまでの期間より長いライト用のリビルド停止期間を設定する、
請求項2記載の情報処理装置。
When the stop setting means continuously writes access to a plurality of the external recording devices, the stop setting means executes a cache flush each time the write access is performed.
The stop setting means sets a rebuild stop period for a write that is longer than the period from the end of the previous write access to the start of the cache flush of the next write access.
The information processing device according to claim 2.
前記アクセス判断手段は、前記情報処理装置による複数の前記外部記録装置へのリードアクセスの有無を判断し、
前記停止設定手段は、前記情報処理装置がリードアクセスする場合には、ライト用のリビルド停止期間より短いリード用のリビルド停止期間を設定する、
請求項2から5のいずれか一項記載の情報処理装置。
The access determining means determines whether or not the information processing device has read access to the plurality of external recording devices, and determines whether or not the information processing device has read access.
When the information processing apparatus makes read access, the stop setting means sets a rebuild stop period for read, which is shorter than the rebuild stop period for write.
The information processing device according to any one of claims 2 to 5.
複数の前記外部記録装置が接続されるストレージコントローラと、
前記ストレージコントローラを通じて複数の前記外部記録装置にアクセスする制御部と、を有し、
前記リビルド実行手段、前記アクセス判断手段、および前記停止設定手段は、前記ストレージコントローラに設けられる、
請求項1から6のいずれか一項記載の情報処理装置。
A storage controller to which the plurality of external recording devices are connected, and
It has a control unit that accesses a plurality of the external recording devices through the storage controller, and has.
The rebuild execution means, the access determination means, and the stop setting means are provided in the storage controller.
The information processing device according to any one of claims 1 to 6.
複数の外部記録装置を接続可能な情報処理装置の制御方法であって、
複数の前記外部記録装置の一方のデータを他方へコピーするリビルド処理を実行するリビルド実行工程と、
前記情報処理装置による複数の前記外部記録装置へのアクセスの有無を判断するアクセス判断工程と、
前記アクセス判断工程において前記情報処理装置による複数の前記外部記録装置へのアクセスをありと判断する場合に、リビルド停止期間を設定する停止設定工程と、
を有し、
前記リビルド実行工程は、前記リビルド停止期間中には、前記リビルド処理を停止する、
情報処理装置の制御方法。
A control method for an information processing device that can connect multiple external recording devices.
A rebuild execution step of executing a rebuild process of copying one data of a plurality of the external recording devices to the other, and
An access determination step of determining whether or not the information processing device has access to the plurality of external recording devices, and
In the access determination step, when it is determined that the information processing device has access to a plurality of the external recording devices, a stop setting step for setting a rebuild stop period and a stop setting step.
Have,
The rebuild execution process stops the rebuild process during the rebuild stop period.
Information processing device control method.
複数の外部記録装置を接続可能な情報処理装置の制御方法をコンピュータに実行させるプログラムであって、
前記情報処理装置の制御方法は、
複数の前記外部記録装置の一方のデータを他方へコピーするリビルド処理を実行するリビルド実行工程と、
前記情報処理装置による複数の前記外部記録装置へのアクセスの有無を判断するアクセス判断工程と、
前記アクセス判断工程において前記情報処理装置による複数の前記外部記録装置へのアクセスをありと判断する場合に、リビルド停止期間を設定する停止設定工程と、
を有し、
前記リビルド実行工程は、前記リビルド停止期間中には、前記リビルド処理を停止する、
プログラム。
A program that causes a computer to execute a control method for an information processing device that can connect multiple external recording devices.
The control method of the information processing device is
A rebuild execution step of executing a rebuild process of copying one data of a plurality of the external recording devices to the other, and
An access determination step of determining whether or not the information processing device has access to the plurality of external recording devices, and
In the access determination step, when it is determined that the information processing device has access to a plurality of the external recording devices, a stop setting step for setting a rebuild stop period and a stop setting step.
Have,
The rebuild execution process stops the rebuild process during the rebuild stop period.
program.
JP2019221407A 2019-12-06 2019-12-06 Information processing apparatus, method for controlling the same, and program Pending JP2021092846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019221407A JP2021092846A (en) 2019-12-06 2019-12-06 Information processing apparatus, method for controlling the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019221407A JP2021092846A (en) 2019-12-06 2019-12-06 Information processing apparatus, method for controlling the same, and program

Publications (1)

Publication Number Publication Date
JP2021092846A true JP2021092846A (en) 2021-06-17

Family

ID=76312439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019221407A Pending JP2021092846A (en) 2019-12-06 2019-12-06 Information processing apparatus, method for controlling the same, and program

Country Status (1)

Country Link
JP (1) JP2021092846A (en)

Similar Documents

Publication Publication Date Title
JP5409159B2 (en) Information processing apparatus, information processing apparatus control method, and program
US9952966B2 (en) Control apparatus and control method therefor
KR101410596B1 (en) Information processing apparatus, computer program, and copy control method
US20100174940A1 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
US9065941B2 (en) Image processing apparatus and method for controlling the same
JP4719801B2 (en) Device management apparatus, device initialization method, device initialization program, and device system
JP2021092846A (en) Information processing apparatus, method for controlling the same, and program
US20120011317A1 (en) Disk array apparatus and disk array control method
US8453007B2 (en) Storage device and recovery method
JP2004252570A (en) Disk array device and image forming device
US10748574B2 (en) Apparatus and method for retracting the magnetic head to a home position after a predetermined time period
JP2021082198A (en) Information processing apparatus, method for controlling the same, and program
JP2007323377A (en) Recording apparatus, method for writing management data and method for repairing management data
JP6532240B2 (en) Information processing apparatus and control method thereof
JP7371483B2 (en) Storage control device and control program
JP2021089524A (en) Information processing device, control method of the same, and program
JP2021092845A (en) Image forming apparatus, method for controlling the same, and program
US20200288031A1 (en) Information processing apparatus equipped with storage device, control method therefor, and storage medium
JP2021082199A (en) Storage control device, method for controlling the same, and program
JP2017174026A (en) Information processor
US10181340B2 (en) Electronic device and control method with instruction units based on a number of power supply off operations
JP2007018417A (en) Ata disk array device, and operation control method and operation control program for ata disk array device
JP2009187406A (en) Disk array device, data switch back method, and data switch back program
JP2021086373A (en) Information processing apparatus, and method of controlling information processing apparatus
JP2020013222A (en) CONTROL DEVICE, CONTROL PROGRAM, AND CONTROL METHOD