JP2005165619A - Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor - Google Patents
Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor Download PDFInfo
- Publication number
- JP2005165619A JP2005165619A JP2003402995A JP2003402995A JP2005165619A JP 2005165619 A JP2005165619 A JP 2005165619A JP 2003402995 A JP2003402995 A JP 2003402995A JP 2003402995 A JP2003402995 A JP 2003402995A JP 2005165619 A JP2005165619 A JP 2005165619A
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- information
- processor
- register
- data
- 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
Abstract
Description
本発明は、データ転送装置の制御方法、データ転送装置、記憶デバイス制御装置、記憶デバイス制御装置の制御方法、及びチャネルアダプタに関する。 The present invention relates to a data transfer device control method, a data transfer device, a storage device control device, a storage device control device control method, and a channel adapter.
CPUを介さずにメモリとデバイスとの間で直接データを転送する方法として、従来からDMA(Direct Memory Access)コントローラを用いたDMA転送技術が広く使われている。DMA転送に際し、CPUは、DMAコントローラにデータの転送元や転送先といったデータ転送に必要な情報を設定して、データ転送処理の指示を行う。DMAコントローラはデータ転送処理の指示がなされると、CPUを介することなくデータの転送処理を行う。
しかしながら、従来のDMA転送の処理では、CPUが直接DMAコントローラのレジスタにデータの転送元や転送先等の情報を設定しているため、特にデータ転送処理が頻繁に発生するような状況では、CPUによるDMAコントローラへの設定処理にかかる時間が無視できない。また、DMAコントローラはデータ転送処理を終了すると、割り込みなどによってその旨をCPUに通知するが、データ転送処理が増加するにつれ、DMAコントローラからCPUへの通知も増加するため、通知の度にCPUの処理が中断されてしまうことになる。 However, in the conventional DMA transfer processing, since the CPU directly sets information such as the data transfer source and transfer destination in the register of the DMA controller, in a situation where data transfer processing frequently occurs, the CPU The time required for the setting process to the DMA controller cannot be ignored. When the DMA controller finishes the data transfer process, it notifies the CPU by an interrupt or the like. However, as the data transfer process increases, the notification from the DMA controller to the CPU also increases. Processing will be interrupted.
本発明は、このような背景を鑑みてなされたものであり、CPUを効率的に利用することができる、データ転送装置の制御方法、データ転送装置、記憶デバイス制御装置、記憶デバイス制御装置の制御方法、及びチャネルアダプタを提供することを目的とする。 The present invention has been made in view of such a background, and a data transfer apparatus control method, a data transfer apparatus, a storage device control apparatus, and a storage device control apparatus control capable of efficiently using a CPU. It is an object to provide a method and a channel adapter.
第1の記憶領域を特定する情報と第2の記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、前記データ転送情報を前記キューに登録する第1のプロセッサと、前記第1の記憶領域に記憶されているデータを前記第2の記憶領域に転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、を備え、前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記レジスタに前記中止コマンドが設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止することとする。 A memory including a queue for storing data transfer information including information for specifying a first storage area and information for specifying a second storage area; a first processor for registering the data transfer information in the queue; A second processor that performs a data transfer process for transferring data stored in the first storage area to the second storage area and includes a register, wherein the first processor A stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, is written to the register of the second processor, and the second processor stores the data transfer information registered in the queue The data transfer processing is performed based on the read data transfer information, and whether the stop command is set in the register. Or the determining, if the stop command to the register is set, and to cancel the data transfer process for subsequent said data transfer information registered in the queue.
CPUを効率的に利用することができる、データ転送装置、データ転送装置の制御方法、記憶デバイス制御装置、記憶デバイス制御装置の制御方法、及びチャネルアダプタを提供できる。 A data transfer apparatus, a data transfer apparatus control method, a storage device control apparatus, a storage device control apparatus control method, and a channel adapter that can efficiently use a CPU can be provided.
以下、本発明の実施の形態について図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
===第1の実施の形態===
図1は、本発明の一実施の形態であるコンピュータを示すブロック図である。
コンピュータ1は、CPU10、RAM20、記憶装置30、入力装置40、出力装置50、DMAコントローラ60、I/Oインタフェース70を備える。
=== First Embodiment ===
FIG. 1 is a block diagram showing a computer according to an embodiment of the present invention.
The
CPU10は、コンピュータ1の全体の制御を司るプロセッサである。CPU10は記憶装置30に記録されているプログラムを適宜RAM20に読み出し、RAM20に格納されたプログラムを実行することによって各種の機能を実現する。記憶装置30には、例えば、ハードディスクやフレキシブルディスク、半導体記憶装置など様々なものを用いることができる。記憶装置30は図に示すようにコンピュータ1の外部に接続するようにしてもよいし、コンピュータ1に一体的に組み込んでもよい。入力装置40はユーザによるコンピュータ1へのデータ入力等のために用いられる装置で、例えばキーボードやマウス等である。出力装置50は情報を外部に出力するための装置で、例えばディスプレイやプリンタ等である。
The CPU 10 is a processor that controls the
I/Oインタフェース70は、コンピュータ1が外部の装置との間で通信を行うためのインタフェースである。I/Oインタフェース70は、例えば、LAN(Local Area Network)に接続する通信インタフェースやシリアル接続のRS232Cインタフェースなどである。I/Oインタフェース70はバッファメモリ71を備えており、CPU10の制御により、受信したデータをバッファメモリ71に書き込んだり、バッファメモリ71に記憶されているデータを外部の装置に送信したりすることができる。
The I /
DMAコントローラ60は、デバイスとメモリとの間、あるいはメモリとメモリとの間でのデータの転送を行うものである。DMAコントローラ60は、CPU10の指示によりデータ転送の処理を開始すると、CPU10を介さずにデータ転送処理を続けることができる。DMAコントローラ60は、例えば、I/Oインタフェース70の備えるバッファメモリ71と記憶装置30との間でデータを転送するデータ転送処理を行うことができる。DMAコントローラ60は複数のレジスタを備えており、そのひとつがスタートレジスタ61である。スタートレジスタ61は、DMAコントローラ60の動作を開始させるためのレジスタである。DMAコントローラ60はスタートレジスタ61に書き込みがなされたことを契機にデータの転送処理を開始する。また、DMAコントローラ60の備える他のレジスタのひとつが、アボートレジスタ62である。アボートレジスタ62は、DMAコントローラ60の動作を終了させるためのレジスタである。DMAコントローラ60はアボートレジスタ62に所定の値が書き込まれたことを契機にデータの転送処理を中止する。DMAコントローラ60がデータ転送処理を中止する処理については後述する。
The
RAM20には2つのキューが設けられている。キューとはFIFO(First In First Out)方式でデータが読み出されるように制御される記憶領域である。転送情報キュー21は、CPU10が、データの転送元のアドレスや転送するデータのデータ長等の、データ転送に必要なデータを設定するデータ転送情報を登録するためのキューである。終了ステータスキュー22は、DMAコントローラ60がデータ転送処理を終了したときに、そのデータ転送処理の結果を示す終了ステータスを登録するためのキューである。終了ステータスとは、例えば、エラーコード等が設定されたデータである。CPU10はデータ転送情報を転送情報キュー21に登録する。DMAコントローラ60は転送情報キュー21からデータ転送情報を読み出し、読み出したデータ転送情報に基づいたデータ転送処理を行う。DMAコントローラ60はデータ転送処理の終了ステータスを終了ステータスキュー22に登録する。
The
===データ転送情報===
図2は、データ転送情報の一例を示す図である。図2に示すように、データ転送情報は、転送ID欄201、転送方向欄202、ディスクアドレス欄203、転送長欄204を備える。
=== Data transfer information ===
FIG. 2 is a diagram illustrating an example of data transfer information. As shown in FIG. 2, the data transfer information includes a
転送ID欄201には、データ転送情報を特定するIDが設定される。CPU10は、データ転送情報を生成する際に、各データ転送情報を特定するIDを付与し、この転送ID欄201に設定する。
転送方向欄202には、記憶装置30とバッファメモリ71との間でデータが転送される方向を示す値が設定される。例えば、転送方向欄202に「0」が設定されているときは、バッファメモリ71に記憶されているデータが記憶装置30に転送される。転送方向欄202に「1」が設定されているときは、記憶装置30に記憶されているデータがバッファメモリ71に転送される。
ディスクアドレス欄203には、記憶装置30のアドレスが設定される。DMAコントローラ60は、記憶装置30のディスクアドレス欄203に記憶されているデータをバッファメモリ71に転送したり、バッファメモリ71に記憶されているデータを記憶装置30のディスクアドレス欄203から始まる記憶領域に転送したりする。
転送長欄204には、バッファメモリ71と記憶装置30との間で転送されるデータのデータ長が設定される。
In the
A value indicating the direction in which data is transferred between the
In the
In the
DMAコントローラ60は、上記のデータ転送情報によって、記憶装置30上に、ディスクアドレス欄203に設定されているアドレスから、転送長欄204に設定されているデータ長分の記憶領域を特定することができる。例えば、データ転送情報の転送方向欄202に「0」が設定されている場合、DMAコントローラ60は、記憶装置30上のディスクアドレス欄203に設定されているアドレスから、転送長欄204に設定されているデータ長分の記憶領域に、バッファメモリ71から読み出したデータを転送する。
The
なお、本実施形態では、DMAコントローラ60は常にバッファメモリ71の同じアドレスに対して読み書きをするものとし、データ転送情報にはバッファメモリ71のアドレスは設定しないものとする。もちろん、データ転送情報にバッファメモリ71のアドレスを設定し、DMAコントローラ60が、そのアドレスに対してデータの読み書きをするようにしてもよい。
In the present embodiment, it is assumed that the
===データ転送処理===
図3は、本実施の形態における、バッファメモリ71と記憶装置30との間でのデータの転送処理の流れを示すフローチャートである。
=== Data transfer processing ===
FIG. 3 is a flowchart showing a flow of data transfer processing between the
CPU10はデータの転送情報をRAM20の転送情報キュー21に登録する(S3001)。CPU10は、DMAコントローラ60のスタートレジスタに書き込みを行い、データ転送処理の開始を指示する(S3002)。
DMAコントローラ60はスタートレジスタに書き込みがなされたことを検出すると、転送情報キュー21からデータ転送情報を読み出す(S3003)。DMAコントローラ60は、読み出したデータ転送情報に基づいてデータ転送処理を行う(S3004)。DMAコントローラ60はデータ転送処理を終了すると、終了ステータスを終了ステータスキュー22に登録する(S3005)。
The CPU 10 registers data transfer information in the
When the
一方、CPU10は、他の処理を行いながら、その処理の合間に終了ステータスキュー22に新しい終了ステータスが登録されているかどうかを検査する(S3006)。CPU10は、終了ステータスが終了ステータスキュー22に書き込まれたことを検出すると(S3006:YES)、その終了ステータスに応じた処理を行う(S3007)。終了ステータスに応じた処理とは、例えば、DMAコントローラ60によるデータ転送処理が異常終了していた場合に、データ転送処理が失敗したことを示すメッセージ等を、出力装置50に出力することである。
DMAコントローラ60は、転送情報キュー21に後続のデータ転送情報が登録されている場合、スタートレジスタへの書き込みを待たずに、(S3003)からの処理を続ける。
On the other hand, while performing other processes, the CPU 10 checks whether a new end status is registered in the
If the subsequent data transfer information is registered in the
なお、上述したデータ転送処理では、CPU10がDMAコントローラ60のスタートレジスタに書き込みを行うことでDMAコントローラ60はデータ転送処理を開始するようにしたが、DMAコントローラ60が転送情報キュー21を監視し、データ転送情報が書き込まれたことを検出したときにデータ転送処理を開始するようにしてもよい。
In the data transfer process described above, the
上述のように、CPU10は、転送情報キュー21にデータ転送情報を登録していくことにより、複数のデータ転送処理をDMAコントローラ60に指示することができる。DMAコントローラ60は、転送情報キュー21からデータ転送情報を読み出し、読み出したデータ転送情報に基づいてデータ転送処理を行うため、CPU10がデータ転送処理に必要なデータをデータ転送情報に設定して転送情報キュー21に登録する処理とは独立して非同期にデータ転送処理を行うことができる。
As described above, the CPU 10 can instruct the
本発明によれば、第1のプロセッサ(CPU10)は、メモリ(RAM20)に設けられたキュー(転送情報キュー21)にデータ転送情報を登録していくことで、第2のプロセッサ(DMAコントローラ60)と直接やり取りを行わずに、第2のプロセッサにデータ転送処理を指示することができる。従って、第1のプロセッサは、第2のプロセッサからデータ転送処理が終了する度に終了通知を通知されることなく、他の処理を行うことができるので、第1のプロセッサの効率的な利用を図ることが可能となる。 According to the present invention, the first processor (CPU 10) registers the data transfer information in a queue (transfer information queue 21) provided in the memory (RAM 20), whereby the second processor (DMA controller 60). The data transfer process can be instructed to the second processor without directly exchanging data with). Therefore, the first processor can perform other processing without being notified of the end notification every time the data transfer processing ends from the second processor, so that the first processor can be used efficiently. It becomes possible to plan.
また、第1のプロセッサは、第2のプロセッサが行ったデータ転送処理の結果をメモリ(終了ステータスキュー22)を参照することによって把握することができる。そのため、第1のプロセッサは、第2のプロセッサから直接終了通知を受けることなく、第2のプロセッサのデータ転送処理の終了結果をメモリを介して間接的に取得することができる。従って、第1のプロセッサの効率的な動作を図ることができる。 Further, the first processor can grasp the result of the data transfer process performed by the second processor by referring to the memory (end status queue 22). Therefore, the first processor can indirectly obtain the end result of the data transfer process of the second processor via the memory without receiving the end notification directly from the second processor. Therefore, efficient operation of the first processor can be achieved.
また、一般的に、CPU10が動作するクロックは、DMAコントローラ60に使用されるクロックよりも高速であるため、CPU10からDMAコントローラ60のレジスタにアクセスする時間よりも、RAM20にアクセスする時間の方が短いことが多い。そのため、本発明によって、CPU10がDMAコントローラ60に対してデータ転送処理に必要な情報を設定するのにかかる時間は短縮され、CPU10はより効率的に動作することが可能となる。
In general, since the clock for operating the CPU 10 is faster than the clock used for the
なお、DMAコントローラ60は、RAM20からデータ転送情報を読み出す際に、DMAコントローラ60とRAM20とを結ぶバス上をバースト転送するようにしてもよい。これにより、DMAコントローラ60はバスの使用効率のよいデータの読み出しが可能となる。よって、コンピュータ1全体として、効率的な転送処理を実現することが可能となる。
The
また、一般的には、CPU10がDMAコントローラ60に連続してデータ転送処理を実行させる場合には、CPU10はDMAコントローラ60がデータ転送処理が終了したことを検出した後に、続くデータ転送に必要な情報をDMAコントローラ60に設定しなくてはならない。これに対し、本発明よれば、CPU10はDMAコントローラ60の動作状況にかかわらず、データ転送処理に必要な情報をRAM20に書き込むことができる。そのため、CPU10はDMAコントローラ60に対して複数のデータ転送処理を指示することができる。
In general, when the CPU 10 causes the
===データ転送中止処理===
ここで、第1のプロセッサ(CPU10)が既にキュー(転送情報キュー21)に登録したデータ転送情報について、第1のプロセッサが、例えば、その内容を変更したり、キューから削除したりしたいという状況が考えられる。このとき、第2のプロセッサ(DMAコントローラ60)が、例えば、第1のプロセッサが変更している最中のデータ転送情報を読み出し、そのデータ転送情報に基づいてデータ転送処理を行ってしまうと、第1のプロセッサがそのデータ転送情報によって指示しようとする記憶領域とは異なる記憶領域間でのデータ転送処理が行われてしまうおそれがある。また、第2のプロセッサが、例えば、第1のプロセッサによってキューから削除されようとしているデータ転送情報に基づいてデータ転送処理を行ってしまうと、第2のプロセッサは無駄なデータ転送処理を行うことになってしまい、第2のプロセッサの処理効率のみならず、データ転送装置全体としてのデータ転送の効率も下げてしまうおそれがある。
そのため、第1のプロセッサは、第2のプロセッサのデータ転送処理を一時中止させ、第1のプロセッサが変更や削除を行おうとしているデータ転送情報を第2のプロセッサが読み出すことがないようにする必要がある。ただし、第2のプロセッサがデータ転送処理を実行中にその実行中のデータ転送処理を中止してしまうと、再度そのデータ転送処理をやり直す必要があり、全体としてデータ転送にかかる処理時間が長くなってしまうおそれがある。そこで、本発明では、第2のプロセッサはデータ転送処理を完了した後に、レジスタ(アボートレジスタ62)に、データ転送処理を中止することを示すコマンドである中止コマンドが設定されていれば、後続のデータ転送処理を中止するようにしている。
=== Data transfer cancellation processing ===
Here, for the data transfer information that the first processor (CPU 10) has already registered in the queue (transfer information queue 21), for example, the first processor wants to change its contents or delete it from the queue. Can be considered. At this time, for example, when the second processor (DMA controller 60) reads out data transfer information being changed by the first processor and performs data transfer processing based on the data transfer information, There is a possibility that the data transfer process between the storage areas different from the storage area to be instructed by the first processor by the data transfer information may be performed. Also, if the second processor performs a data transfer process based on data transfer information that is about to be deleted from the queue by the first processor, for example, the second processor performs a useless data transfer process. As a result, not only the processing efficiency of the second processor but also the data transfer efficiency of the entire data transfer device may be reduced.
Therefore, the first processor temporarily stops the data transfer process of the second processor so that the second processor does not read the data transfer information that the first processor is changing or deleting. There is a need. However, if the second processor cancels the data transfer process being executed while the data transfer process is being executed, the data transfer process needs to be performed again, resulting in a longer processing time for the data transfer as a whole. There is a risk that. Therefore, in the present invention, after the second processor completes the data transfer process, if a stop command that is a command to stop the data transfer process is set in the register (abort register 62), the subsequent processor The data transfer process is canceled.
以下に、第1のプロセッサが第2のプロセッサのデータ転送処理を中止する処理について説明する。
CPU10は、DMAコントローラ60のアボートレジスタ62に所定の値を設定することにより、DMAコントローラ60のデータ転送処理を中止するように指示する。アボートレジスタ62に設定される値として、あるデータ転送情報に基づくデータ転送処理を終了した時点で処理を中止するように指示する中止コマンドと、実行中のデータ転送処理を即座に中止するように指示する強制終了コマンドとの2種類がある。中止コマンドとは、例えば、「0x0001」のような値である。また、強制終了コマンドとは、例えば、「0x0002」のような値である。
Hereinafter, a process in which the first processor stops the data transfer process of the second processor will be described.
The CPU 10 instructs the
図4は、DMAコントローラ60がデータ転送処理を中止する処理の流れを示すフローチャートである。CPU10が、データ転送情報を転送情報キュー21に登録し、DMAコントローラ60のスタートレジスタ61に書き込みを行うことによって、DMAコントローラ60のデータ転送処理が開始される。
DMAコントローラ60は、スタートレジスタ61に書き込みがなされたことを検出すると、転送情報キュー21からデータ転送情報を読み出す(S4001)。DMAコントローラ60は、読み出したデータ転送情報に基づいて、バッファメモリ71と記憶装置30との間でデータを転送するデータ転送処理を開始する(S4002)。
DMAコントローラ60は、アボートレジスタ62に書き込みがなされたことを検出すると(S4003)、アボートレジスタ62を参照し、強制終了コマンドが設定されているかどうかを検査する(S4004)。アボートレジスタ62に強制終了コマンドが設定されていた場合には(S4004:YES)、DMAコントローラ60は実行中であるデータ転送処理を中止する(S4005)。DMAコントローラ60は、データ転送処理を強制終了した旨を示す終了ステータスを作成し、作成した終了ステータスを終了ステータスキュー22に登録して(S4006)、動作を終了する。
FIG. 4 is a flowchart showing a flow of processing in which the
When the
When the
一方、アボートレジスタ62に強制終了コマンドが設定されていなかった場合(S4004:NO)、DMAコントローラ60は、アボートレジスタ62に中止コマンドが書き込まれていたとしても、データ転送処理を継続する(S4007)。DMAコントローラ60は、バッファメモリ71と記憶装置30との間でのデータ転送処理を行った後、アボートレジスタ62を参照し、アボートレジスタ62に中止コマンドが設定されているかどうかを判断する(S4008)。DMAコントローラ60は、アボートレジスタ62に中止コマンドが設定されている場合(S4008:YES)、以降のデータ転送処理を中止する。DMAコントローラ60は、以降の処理を中止した旨を示す終了ステータスを作成し、終了ステータスキュー22に登録する(S4009)。アボートレジスタ62に中止コマンドが設定されていない場合には(S4008:NO)、正常に終了した旨を示す終了ステータスを作成して終了ステータスキュー22に登録する(S4010)。その後、(S4002)に進み、転送情報キュー21に登録されている後続のデータ転送情報についてのデータ転送処理を行う。
On the other hand, if the abort command is not set in the abort register 62 (S4004: NO), the
上記のように、本発明では、第2のプロセッサ(DMAコントローラ60)はデータ転送処理を完了した後に、レジスタ(アボートレジスタ62)に中止コマンドが設定されていれば、後続のデータ転送処理を中止する。従って、第2のプロセッサは、実行中のデータ転送処理の途中でそのデータ転送処理を中止してしまうことがない。また、第1のプロセッサ(CPU10)は、第2のプロセッサがデータ転送処理を完了したかどうかの監視を行ったり、第2のプロセッサからの完了通知を受けたりすることなく、データ転送処理を中止させるための中止コマンドを第2のプロセッサに指示することができる。従って、第1のプロセッサは、第2のプロセッサのレジスタに中止コマンドを設定することにより、第2のプロセッサがデータ転送処理を完了した時点で後続のデータ転送処理を中止するように、容易に第2のプロセッサを制御することができる。よって、第1のプロセッサの効率的な利用を図りつつ、第2のプロセッサのデータ転送処理の中止による、データ転送装置全体(コンピュータ1)としてのデータ転送能力の低下を最小限に抑えることができる。 As described above, in the present invention, after the second processor (DMA controller 60) completes the data transfer process, if a cancel command is set in the register (abort register 62), the subsequent data transfer process is canceled. To do. Therefore, the second processor does not stop the data transfer process during the data transfer process being executed. Also, the first processor (CPU 10) stops the data transfer process without monitoring whether the second processor has completed the data transfer process or receiving a completion notification from the second processor. The second processor can be instructed to stop the operation. Therefore, the first processor can easily set the stop command in the register of the second processor so that the subsequent data transfer process is stopped when the second processor completes the data transfer process. Two processors can be controlled. Therefore, it is possible to minimize the decrease in the data transfer capability of the entire data transfer apparatus (computer 1) due to the suspension of the data transfer process of the second processor while efficiently using the first processor. .
なお、第1のプロセッサは、第2のプロセッサのレジスタに中止コマンドを設定した後、所定の時間のうちに、第2のプロセッサがデータ転送処理を中止したことを確認できなければ、第2のプロセッサがデータ転送処理を強制終了するように、強制終了コマンドをレジスタに書き込むようにしてもよい。これにより、例えば、第2のプロセッサがデータ転送処理を完了できずに待機してしまっているような場合に、第1のプロセッサは第2のプロセッサがデータ転送処理を強制的に終了するように制御することができる。よって、第1のプロセッサが第2のプロセッサのデータ転送処理を中止させるときに、第2のプロセッサがデータ転送処理を中止するまでにかかる時間が所定の時間を超えないようにすることができる。これにより、第1及び第2のプロセッサが効率的な処理を図ることができる。また、データ転送装置全体としてのデータ転送能力の低下を抑えることができる。 If the first processor cannot confirm that the second processor has stopped the data transfer process within a predetermined time after setting the stop command in the register of the second processor, the second processor A forced termination command may be written in the register so that the processor forcibly terminates the data transfer process. As a result, for example, when the second processor is waiting without being able to complete the data transfer process, the first processor forces the second processor to end the data transfer process. Can be controlled. Therefore, when the first processor stops the data transfer process of the second processor, the time taken for the second processor to stop the data transfer process can be prevented from exceeding a predetermined time. As a result, the first and second processors can perform efficient processing. Further, it is possible to suppress a decrease in data transfer capability of the entire data transfer apparatus.
このように、CPU10は、DMAコントローラ60がデータ転送処理を終了した時点で、それ以降のデータ転送処理を行わないようにさせることができる。CPU10はDMAコントローラ60のデータ転送処理が中止されると、例えば、転送情報キュー21に登録されているデータ転送情報について、その内容を更新したり、転送情報キュー21から削除したりする。
In this manner, the CPU 10 can prevent the subsequent data transfer processing from being performed when the
その後、CPU10はDMAコントローラ60のアボートレジスタ62に「0」を書き込み、アボートレジスタ62に設定されている中止コマンドや強制終了コマンドをクリアする。DMAコントローラ60は、アボートレジスタ62に書き込みがなされたことを検出すると、アボートレジスタ62に設定されている値を参照する。DMAコントローラ60は、アボートレジスタ62に設定されている値が、中止コマンドや強制終了コマンドではなかった場合には、転送情報キュー21からデータ転送情報を読み出し、データ転送処理を再開する。
Thereafter, the CPU 10 writes “0” in the
なお、DMAコントローラ60が、例えば、データ転送処理を再開するように指示するためのレジスタである再開レジスタを備えるようにし、CPU10がアボートレジスタ62に「0」を書き込む代わりに、この再開レジスタに値を設定することによってDMAコントローラ60がデータ転送処理を再開するようにしてもよい。
For example, the
また、スタートレジスタ61やアボートレジスタ62、上記の再開レジスタといったレジスタは、例えば、同一のレジスタ(制御レジスタ)とすることもできる。この場合、DMAコントローラ60は、この制御レジスタに設定される値の所定のビット位置に「1」が設定されているかどうかによって、データ転送処理の開始、中止、強制終了、又は再開を行うようにしてもよい。
Further, the registers such as the
===登録済みデータ転送情報の削除===
ここで、CPU10は、転送情報キュー21に登録されているデータ転送情報を削除する場合に、削除しようとしているデータ転送情報の転送長欄204に、データ転送処理を行わないことを示す値を設定するようにすることもできる。データ転送処理を行わないことを示す値とは、例えば「0」である。データ転送処理を行わないことを示す値として、例えば「−1」等の、通常データ長としては使われない値を用いるようにしてもよい。DMAコントローラ60は、転送情報キュー21から読み出したデータ転送情報の転送長欄204に、このようなデータ転送処理を行わないことを示す値が設定されていると、データ転送処理を行わないようにすることができる。
=== Deleting registered data transfer information ===
Here, when deleting the data transfer information registered in the
CPU10は、転送情報キュー21からデータ転送情報を削除することによっても、転送情報キュー21に登録済みのデータ転送情報についてのデータ転送処理をキャンセルすることができる。しかしながら、CPU10が、転送情報キュー21に登録済みのデータ転送情報の転送長欄204にデータ転送処理を行わないことを示す値を設定するだけで、転送情報キュー21に登録済みのデータ転送情報についてのデータ転送処理をキャンセルすることもできる。すなわち、CPU10は、転送情報キュー21に登録されているデータ転送情報の転送長欄204を更新するのみで、転送情報キュー21からデータ転送情報を削除するのと同様の効果を実現することができる。従って、CPU10が転送情報キュー21からデータ転送情報を削除するのに比べ、転送情報キュー21に登録されているデータ転送情報のデータ長に値を設定する方が、CPU10のRAM20へのアクセスは少なくなる。よって、CPU10のRAM20へのアクセスによる処理負担が軽減され、効率的なCPU10の動作が可能となる。また、CPU10は、転送情報キュー21からデータ転送情報を削除する際に、DMAコントローラ60のデータ転送処理を中止させる。そのため、CPU10のRAM20へのアクセスが減り、データ転送処理のキャンセルするための処理時間が短縮されるため、DMAコントローラ60がデータ転送処理を中止している時間も短縮される。よって、データ転送処理をキャンセルすることによるコンピュータ1のデータ転送能力の低下を抑えることができる。
The CPU 10 can also cancel the data transfer process for the data transfer information registered in the
このように、CPU10の処理負荷を軽減し、DMAコントローラ60の処理の中止時間を短縮することによって、コンピュータ1全体としてのデータ転送処理効率を向上することができる。
As described above, by reducing the processing load of the CPU 10 and shortening the processing stop time of the
===第2の実施の形態===
次に、本発明を、記憶デバイス制御装置に適用した実施の形態を説明する。
図5は、本発明に係る第2の実施の形態として説明する情報処理システムの全体構成を示すブロック図である。
=== Second Embodiment ===
Next, an embodiment in which the present invention is applied to a storage device control apparatus will be described.
FIG. 5 is a block diagram showing an overall configuration of an information processing system described as the second embodiment according to the present invention.
情報処理装置100と記憶デバイス制御装置200とはネットワーク400に接続され、ネットワーク400を介して相互に通信が可能となっている。ネットワーク400は例えば、SAN(Storage Area Network)である。ネットワーク400は、SAN以外にも、LAN(Local Area Network)による接続としてもよい。ネットワーク400のプロトコルには、ファイバーチャネル、ESCON(登録商標)、FICON(登録商標)、SCSI(Small Computer System Interface)といった様々なものを利用することができる。
The
情報処理装置100は、記憶デバイス制御装置200の提供する記憶資源を利用することにより情報処理サービスを行うコンピュータである。情報処理装置100の行う情報処理サービスとは、例えば、銀行の自動預金預け払いシステムや航空機の座席予約システムなどである。情報処理装置100は、CPU(Central Processing Unit)やメモリを備えたコンピュータであり、CPUによって各種のプログラムが実行されることにより様々な機能が実現される。情報処理装置100は、例えば、メインフレームコンピュータやワークステーション、パーソナルコンピュータ等とすることができる。
The
記憶デバイス300は、多数のディスクドライブを備えており、情報処理装置100に対して記憶領域を提供する。ディスクドライブとしては、例えばハードディスク装置やフレキシブルディスク装置、半導体記憶装置等様々なものを用いることができる。記憶デバイス300は、例えば複数のディスクドライブによりディスクアレイを構成するようにすることもできる。この場合、情報処理装置100に対して提供される記憶領域は、RAIDにより管理された複数のディスクドライブにより提供されるようにすることもできる。
The
記憶デバイス制御装置200は、情報処理装置100から記憶デバイス300に対するデータ入出力要求を受け付け、記憶デバイス300に対するデータ入出力に関する処理を行う装置である。記憶デバイス制御装置200は、チャネル制御部210、共有メモリ220、キャッシュメモリ230、ディスク制御部240を含んで構成される。チャネル制御部210は、情報処理装置100との間で通信を行うための通信インタフェースを備え、情報処理装置100から記憶デバイス300に対するデータ入出力要求を受信する機能を有する。チャネル制御部210は、受信したデータ入出力要求に応じて、ディスク制御部240に記憶デバイス300に対するデータ入出力を指示するコマンドをディスク制御部240に伝達する。ディスク制御部240は、このコマンドを受け付け、記憶デバイス300に対するデータ入出力に関する処理を行う。共有メモリ220は、チャネル制御部210やディスク制御部240により共有されるメモリで、例えば、上記のようなデータ入出力の制御を指示するコマンドなどを記憶する。キャッシュメモリ230は、チャネル制御部210とディスク制御部240との間で授受されるデータを記憶する。
The storage
情報処理装置100が記憶デバイス制御装置200に対してデータの書き込みを求めるデータ入出力要求(以下、データ書き込み要求と称する)を送信すると、チャネル制御部210がそのデータ入出力要求を受信する。チャネル制御部210は受信したデータ入出力要求に応じて、データ書き込みを指示するコマンド(以下、データ書き込みコマンドと称する)を生成し、共有メモリ220に書き込むとともに、情報処理装置100から受信した書き込みデータをキャッシュメモリ230に書き込む。ディスク制御部240はデータ書き込みコマンドを共有メモリ120から読み出し、それに基づいてキャッシュメモリ230に書き込まれたデータを記憶デバイス300に対して書き込むための処理を行う。なお、チャネル制御部210が共有メモリ220に書き込むデータ書き込みコマンドや、チャネル制御部210がキャッシュメモリ230に書き込むデータは、チャネル制御部210が直接ディスク制御部240に伝達するようにすることもできる。
When the
===チャネル制御部===
図6は、チャネル制御部210のハードウエア構成を示すブロック図である。この図に示すように、チャネル制御部210は、マイクロプロセッサ211、ローカルメモリ212、通信インタフェース213、バッファメモリ214、データ転送LSI500を備え、これらが同一のユニットに形成されて構成されている。チャネル制御部210は、記憶デバイス制御装置200に一体的に組み込まれた形態とすることもできるし、記憶デバイス制御装置200から着脱可能な独立したチャネル制御装置とすることもできる。
=== Channel Control Unit ===
FIG. 6 is a block diagram illustrating a hardware configuration of the
なお、この図において、チャネル制御部210はマイクロプロセッサ211、ローカルメモリ212、及び通信インタフェース213をそれぞれ4つずつ、またバッファメモリ214を2つ、データ転送LSI500を1つ備えているが、これらの数に限定するものではなく、例えば、マイクロプロセッサ211を1つ、データ転送LSI500を2つ備えるような形態とすることもできる。チャネル制御部210がデータ転送LSI500を複数備える場合、マイクロプロセッサ211は複数のデータ転送LSI500のそれぞれに対してデータ転送情報を通知する必要があるが、本発明によればマイクロプロセッサ211はデータ転送LSI500からの通知を待つことなく次に行うべき処理に移ることができるため、マイクロプロセッサ211はデータ転送LSI500のそれぞれに対してメモリを介して間接的にデータ転送情報を通知することができる。従って、データ転送処理の処理効率の向上が図られる。
In this figure, the
マイクロプロセッサ211は、チャネル制御部210全体の制御を司るプロセッサであり、ローカルメモリ212に格納されたプログラムを実行することによって各種の機能を実現する。図6に示す4つのマイクロプロセッサ211は、それぞれ独立して通信インタフェース213から受信したデータ入出力要求の解釈をし、受信したデータ入出力要求に従ってデータ転送LSI500に対してデータ転送の指示をしたり、ディスク制御部240に対して記憶デバイス300からのデータ読み出しの指示を行ったりする。
The
ローカルメモリ212には様々なプログラムやデータが記憶される。本実施の形態におけるチャネル制御部210では、マイクロプロセッサ211は、それぞれ1つのローカルメモリ212を管理している。ローカルメモリ212はバスを介してマイクロプロセッサ211に接続されている。またローカルメモリ212はマイクロプロセッサ211内のバスを介することによって、データ転送LSI500とも間接的に接続されている。ローカルメモリ212は、マイクロプロセッサ211が実行するプログラムを格納したり、プログラムによって利用されるデータを記憶したりする。
Various programs and data are stored in the
通信インタフェース213は、情報処理装置100との間で通信を行うためのインタフェースであり、情報処理装置100との間で通信を行うための通信コネクタを備えている。チャネル制御部210の場合は、例えばファイバーチャネルやSCSI、FICON(登録商標)、ESCON(登録商標)、ACONARC(登録商標)、FIBARC(登録商標)のプロトコルに従って情報処理装置100から送信されたデータ入出力要求などを受信する。通信インタフェース213は受信したデータをバッファメモリ214に記憶する。また、通信インタフェース213はバッファメモリ214に記憶されたデータを情報処理装置100に対して送信することもできる。
The
データ転送LSI500は上述した第1の実施の形態であるコンピュータ1の備えるDMAコントローラ60と同様、デバイスとメモリの間、あるいはメモリとメモリとの間でのデータの転送を行うものである。本実施の形態において、データ転送LSI500は、主にバッファメモリ214とキャッシュメモリ230との間でのデータの転送を行う。このデータ転送の処理は、記憶デバイス制御装置200が情報処理装置100からデータ入出力要求を受け付けたときの、データの入出力処理の一部として行われる。通信インタフェース213がデータ入出力要求を受信すると、マイクロプロセッサ211は受信したデータ入出力要求に応じてデータ転送情報を生成し、生成したデータ転送情報をローカルメモリ212に書き込む。データ転送LSI500はローカルメモリ212に書き込まれたデータ転送情報を読み出し、読み出したデータ転送情報に基づいてデータを転送する。例えば、チャネル制御部210が情報処理装置100からデータ書き込み要求を受信した場合、データ転送LSI500は、通信インタフェース213が受信してバッファメモリ214に記憶したデータをキャッシュメモリ230に転送する。
Similar to the
===データ転送LSI===
図7は、データ転送LSI500の構成を示すブロック図である。
データ転送LSI500は、DMA501、PCIインタフェース502、PCIインタフェース503、バッファ制御部504、キャッシュインタフェース505、データ転送情報フェッチ部506を備える。
=== Data Transfer LSI ===
FIG. 7 is a block diagram showing a configuration of the
The
PCIインタフェース502は、PCIバスに接続し、PCIバスとの間でデータを授受する。データ転送LSI500は、PCIインタフェース502を介して通信インタフェース213と接続する。
PCIインタフェース503もPCIインタフェース502と同様、PCIバスに接続する。データ転送LSI500はPCIインタフェース503を介してマイクロプロセッサ211やローカルメモリ212と接続する。
なお、通信インタフェース213やマイクロプロセッサ211、ローカルメモリ212などとの接続を同じPCIバスで接続するようにしてもよい。その場合、データ転送LSI500にはPCIインタフェースは少なくとも1つ存在すればよい。また、上記PCIインタフェース502及びPCIインタフェース503はPCIバス以外のバスを使用して外部の装置と接続するようにしてもよい。
The
Similarly to the
The
バッファメモリ214は、チャネル制御部210が情報処理装置100との間でデータをやり取りする際に、データを一時的に記憶しておくためのバッファである。
バッファ制御部504は、バッファメモリ214に対するデータのやり取りをするための制御を行う。
キャッシュインタフェース505は、キャッシュメモリ230との間でデータをやり取りするインタフェースである。キャッシュインタフェース505には、より効率的にデータ転送をするためのバッファメモリ等を備えるようにすることもできる。
The
The
The
DMA501は、例えばDMA(Direct Memory Access)プロセッサなどである。
DMA501は、データを転送する元となる記憶領域と、データを転送する先となる記憶領域を指定する情報を設定することによって、データ転送元の記憶領域に記憶されているデータをデータ転送先の記憶領域に転送することができる。DMA501はDMAプロセッサ以外にも、例えばマイクロプロセッサなどのプロセッサ上で実行されるプログラムとしてもよいし、特定用途向けIC上にロジックを組み込むことなどによって実現してもよい。
データ転送情報フェッチ部506は、データ転送に必要な情報をローカルメモリ212から読み出し、DMA501のレジスタに設定を行うなどの処理を行う。データ転送情報フェッチ部506は、例えば、特定用途向けICやマイクロプロセッサとすることができる。
なお、データ転送LSI500は、データ転送情報フェッチ部506を備えず、DMA501がローカルメモリ212にアクセスするようにしてもよい。
The
The
The data transfer information fetch
The
===データ転送情報===
図8は、データ転送LSI500がデータ転送に必要な情報であるデータ転送情報の詳細を示す表である。データ転送情報600は、マスク欄601、転送バイト数欄602、キャッシュアドレス欄603、CRC欄604、転送方向欄605、フラグ欄606、識別情報欄607、チェインフラグ欄608、RCRC欄609、バッファアドレス欄610、LRC欄611を備える。
=== Data transfer information ===
FIG. 8 is a table showing details of data transfer information, which is information necessary for the
マイクロプロセッサ211は、ローカルメモリ212の所定のアドレスから複数のデータ転送情報600を連続的に書き込む。よって、データ転送LSI500は、複数のデータ転送情報のそれぞれを連続してメモリから読み出すことができる。
また、マイクロプロセッサ211は、所定の数のデータ転送情報600から形成される一群のデータ転送情報600(以下、転送情報リストと称する)を単位として、一連のデータ転送処理に必要なデータ転送情報600を管理する。一連のデータ転送処理とは、例えば、チャネル制御部210が受信したひとつのデータ入出力要求に応じて行うデータ転送に関して、データの転送元あるいは転送先であるキャッシュメモリ230上の記憶領域が不連続であるような場合に、データ転送LSI500が行う複数のデータ転送処理である。
The
Further, the
以下に、データ転送情報600の各欄について説明する。
マスク欄601には、当該データ転送情報600の所属する転送情報リストに属するデータ転送情報600のうち、データ転送LSI500が直前に処理をしたデータ転送情報600の各欄に設定されていた値を引き継ぐ目的として、当該データ転送情報600の各欄にコピーして利用する場合に、どの欄の値をコピーするかを示す情報が設定される。
転送バイト数欄602には、転送対象となるデータの長さが設定される。
キャッシュアドレス欄603には、データ転送LSI500がデータの転送を行う転送元あるいは転送先として利用する、キャッシュメモリ230上のアドレスが設定される。
Hereinafter, each column of the data transfer
In the
In the transfer
In the
CRC欄604には、転送対象となるデータについての誤り検出符号が設定される。例えば、マイクロプロセッサ211は、転送対象となるデータについてCRC(Cyclic Redundancy Check)手法を用いてCRC符合を計算し、CRC欄604に設定する。データ転送LSI500はデータ転送を行う際に、この欄に設定された値を用いて、転送対象となるデータに誤りがないことを確認できる。例えば、転送対象となるデータに誤りがあると判断された場合、データ転送LSI500はデータの転送処理を行わないようにすることができる。
In the
転送方向欄605には、データ転送LSI500が、キャッシュメモリ230に記憶されているデータをバッファメモリ214に転送するのか、あるいは、バッファメモリ214に記憶されているデータをキャッシュメモリ230に転送するのかを示す値が設定される。転送方向欄605には、例えば、データ転送LSI500がデータをキャッシュメモリ230からバッファメモリ214に転送する場合には「0」が設定され、バッファメモリ214からキャッシュメモリ230に転送する場合には「1」が設定される。
The
フラグ欄606には、様々な設定項目を示す情報が設定される。マイクロプロセッサ211は、例えば、上記のCRC欄の値を用いたデータの誤り検出をするかどうか、あるいはディスク制御部240に対してデータの書き込みを同期的にするか非同期的にするかといった設定を示す値をフラグ欄606に設定することができる。
Information indicating various setting items is set in the
識別情報欄607には、マイクロプロセッサ211が転送情報リスト毎に付与する識別情報(処理識別情報)が設定される。これにより、データ転送LSI500は、同一の転送情報リストに所属する一連のデータ転送情報を連続的にローカルメモリ212から読み出すことが可能となる。
In the
チェインフラグ欄608には、転送情報リストに属する一連のデータ転送情報600のおいて、直後に続くデータ転送情報600を処理するべきかどうかを示すフラグ値が設定される。データ転送LSI500は、識別情報欄607あるいはチェインフラグ欄608に設定される値を用いて、メモリから読み出したデータ転送情報が関連して処理されるデータ転送情報群に所属するかどうかを判別することができる。また、データ転送LSI500は、当該データ転送情報600が所属するデータ転送群に所属するの他のデータ転送情報600を読み出し、データ転送処理を行うことができる。
In the
RCRC欄609には、転送対象となるデータについての誤り検出符号が設定される。RCRC欄609に設定される誤り検出符号は、例えば、CRC手法によって計算される。RCRC欄609は、例えば、本記憶デバイス制御装置200が情報処理装置100との記憶デバイス300との間でのデータ転送ではなく、他の記憶装置に対するデータの複製(リモートコピー)に関するデータの転送を実施する場合に転送対象となるデータについての誤り検出符号である。RCRC欄609には、上述したCRC欄604と同様に転送対象となるデータについての誤り検出符号が設定されるが、RCRC欄609に設定される誤り検出符号は、後述する終了ステータス情報にコピーされ、ローカルメモリ212に書き込まれる。よって、マイクロプロセッサ211はデータ転送処理終了後に、その転送対象となったデータについての誤り検出符号を取得することができる。マイクロプロセッサ211は、例えば、データ転送処理の転送対象となるデータについての誤り検出符合を計算する初期値として、終了ステータス情報から取得した過去のデータ転送処理の転送対象となったデータについての誤り検出符号を用いることができる。マイクロプロセッサ211は、複数のデータ転送情報600に跨って転送対象となるデータ全体についての誤り検出符号を計算することができる。
In the RCRC column 609, an error detection code for data to be transferred is set. The error detection code set in the RCRC column 609 is calculated by, for example, a CRC method. In the RCRC column 609, for example, the storage
バッファアドレス欄610には、データ転送LSI500がデータの転送を行う転送元あるいは転送先として利用するバッファメモリ214上のアドレスが設定される。
LRC欄611には、当該データ転送情報600についての誤り検出符号が設定される。この誤り検出符号は、例えば、LRC手法によって計算されたLRC符号である。マイクロプロセッサ211は、データ転送情報600をローカルメモリ212上に書き込む基準となるアドレスを初期値として、マスク欄601、転送バイト数欄602、キャッシュアドレス欄603、CRC欄604、転送方向欄605、フラグ欄606、識別情報欄607、チェインフラグ欄608、RCRC欄609、及びバッファアドレス欄610の各欄の値を用いてLRC符号を計算する。
In the
In the LRC column 611, an error detection code for the data transfer
データ転送LSI500は、読み出したデータ転送情報が正しい情報であるかどうかを、データ転送情報に付帯される誤り検出符号により確認することができる。よって、より信頼性の高いデータ転送を実現できる。
また、マイクロプロセッサ211は、データ転送情報のみでなく、データ転送LSI500がローカルメモリ212からデータ転送情報を読み出す位置を決定するための基準位置も計算対象に含めて誤り検出符号を生成する。そのため、データ転送LSI500は、データ転送情報の内容に誤りがある場合であっても、データ転送LSI500がデータ転送情報を読み出したメモリ上の記憶位置が間違っている場合であっても、誤りがあることを検出することができる。
The
The
なお、本実施の形態において、データ転送情報600のCRC欄604、RCRC欄609及びLRC欄611に設定される誤り検出符号は、CRC符号やLRC符号に限定されるものではなく、チェックサムやハミング符号など様々なものを用いることができる。また、データ転送情報600のCRC欄604、RCRC欄609及びLRC欄611に設定される誤り検出符号は、データ転送LSI500が計算するようにしてもよい。
In the present embodiment, the error detection codes set in the
また、本実施の形態では、識別情報欄607に設定される識別情報は転送情報リスト単位に設定されるが、データ転送情報600単位に識別情報が付与されるようにしてもよい。データ転送LSI500は、データ転送情報600に基づいてデータ転送処理を行い、その結果である後述の終了ステータス情報を転送情報リスト単位に付与された識別情報に対応させてローカルメモリ212に書き込む。よって、マイクロプロセッサ211は、識別情報を付与する単位でデータ転送処理の結果を取得することができる。
In this embodiment, the identification information set in the
===終了ステータス情報===
図9は、データ転送LSI500によるデータ転送が終了した際に、データ転送LSI500がローカルメモリ212に書き込む終了ステータス情報の一例を示す表である。
=== End status information ===
FIG. 9 is a table showing an example of end status information that the
終了ステータス情報700は、識別情報欄701、終了ステータスコード欄702、転送処理数欄703、RCRC欄704を備える。
識別情報欄701には、データ転送LSI500が読み出したデータ転送情報600の識別情報欄607に設定されている識別情報がそのまま設定される。これにより、データ転送LSI500は終了ステータス情報700を転送情報リストと対応付ける
終了ステータスコード欄702には、データ転送LSI500がデータを転送をどのように終了したかを示す値が設定される。本実施の形態では、終了ステータスコード欄702の第1ビットが「1」である場合、データ転送LSI500が転送情報リストについてのデータ転送処理を正常に終了したことを示す。第2ビットが「1」である場合は、データ転送LSI500がマイクロプロセッサ211の強制終了コマンドによってデータ転送処理を強制終了したことを示す。第3ビットが「1」である場合は、データ転送LSI500がマイクロプロセッサ211からの中止コマンドによってデータ転送処理を中止していることを示す。第4ビットが「1」である場合は、データ転送LSI500がハードウェアのエラーによってデータ転送処理を中止したことを示す。
The
In the identification information column 701, the identification information set in the
本発明によれば、データ転送情報600と終了ステータス情報700とが、マイクロプロセッサ211がデータ転送情報600に付与する識別情報によって対応づけられる。従って、例えば、ローカルメモリ212に複数の終了ステータス情報700が併存する場合でも、マイクロプロセッサ211は前記各終了ステータスが、それぞれどのデータ転送情報600についての終了ステータスであるのかを特定することができる。また、マイクロプロセッサ211は、データ転送情報600をデータ転送LSI500が正しく処理して、ローカルメモリ212へ終了ステータス情報700を返答したかを判断することができる。例えば、データ転送LSI500により終了ステータス情報700が書き込まれるローカルメモリ212上のアドレスが既知である場合、マイクロプロセッサ211は、データ転送LSI500がローカルメモリ212に書き込んだ終了ステータス情報700が、マイクロプロセッサ211が指示したデータ転送情報600に対応するものであることを確認できる。これにより、マイクロプロセッサ211は、データ転送LSI500がマイクロプロセッサ211の期待するデータ転送情報600を読み出したこと、及びデータ転送LSI500がローカルメモリ212上の既知のアドレスに終了ステータス情報700を書き込んだことを検査することができる。
According to the present invention, the data transfer
転送処理数欄703には、転送情報リストに所属するデータ転送情報600のうち、データ転送LSI500が処理をしたデータ転送情報600の数が設定される。マイクロプロセッサ211は、データ転送情報600のチェインフラグ欄608を用いて、転送情報リストのうち処理すべきデータ転送情報600の数をデータ転送LSI500に指示し、データ転送LSI500は、実際にデータ転送の処理を行った数を終了ステータス情報700の転送処理数欄703に設定する。マイクロプロセッサ211は、指示したデータ転送処理の数と、データ転送LSI500が行った処理の数とを比較して、データ転送LSI500が正しく動作したかどうかを判断することができる。
RCRC欄704には、データ転送情報600のRCRC欄509に設定されている値がそのまま設定される。なお、データ転送LSI500が、データ転送情報600のRCRC欄509に設定される値に基づいて、転送対象となるデータ等についての誤り検出符号を計算し、その結果をRCRC欄704に設定するようにもできる。
In the transfer
In the
本発明では、マイクロプロセッサ211からデータ転送LSI500に対してメモリを介して間接的にデータ転送情報が通知されるが、このようにデータ転送LSI500が終了ステータス情報700をメモリに書き込むことで、例えば、マイクロプロセッサ211が終了ステータスを事後的に調べることで、データ転送LSI500によりデータ転送処理が行われたかどうかを調べることができる。
In the present invention, the data transfer information is indirectly notified from the
データ転送LSI500は、ローカルメモリ212から読み出したデータ転送情報600の識別情報を、データ転送処理の終了ステータス情報700の識別情報欄701に設定する。従って、複数の終了ステータス情報700がローカルメモリ212上に併存する場合にも、マイクロプロセッサ211は、各終了ステータス情報700が夫々どのデータ転送情報600についての終了ステータス情報700であるかを特定することができる。
データ転送LSI500は、データ転送処理を終了すると、その結果を終了ステータス情報700として、ローカルメモリ212の所定のアドレスから順に書き込む。本実施の形態では、このローカルメモリ212の所定のアドレスは、マイクロプロセッサ211が初期設定などによって、予めデータ転送LSI500のレジスタに設定するものとする。以下に、データ転送LSI500の各レジスタの設定について説明する。
The
When the
===レジスタ構成===
図10は、データ転送LSI500が備えるレジスタを示す図である。データ転送LSI500は、LPBAレジスタ801、LSBAレジスタ802、LSIBAレジスタ803、LNUMレジスタ804、SNUMレジスタ805、LIPレジスタ806、STPレジスタ807、LOPレジスタ808、POPレジスタ809、ABORTレジスタ810を備えている。
=== Register configuration ===
FIG. 10 is a diagram illustrating a register included in the
LPBAレジスタ801には、マイクロプロセッサ211がローカルメモリ212にデータ転送情報600を書き込むアドレスの基準となるアドレス(以下、リストベースアドレスと称する)が設定される。マイクロプロセッサ211は、LPBAレジスタ801に設定されるリストベースアドレスから順にデータ転送情報600を書き込む。
LSBAレジスタ802には、データ転送LSI500がローカルメモリ212に終了ステータス情報700を書き込むアドレスの基準となるアドレス(以下、ステータスベースアドレスと称する)が設定される。データ転送LSI500は、ステータスベースアドレスから順に終了ステータス情報700を書き込む。
LSIBAレジスタ803には、データ転送LSI500がステータスベースアドレスから何番目に終了ステータス情報700を書き込んだかを示すポインタ(以下ステータスポインタと称する)を書き込むローカルメモリ212上のアドレス(以下、ステータスポインタアドレスと称する)が設定される。
LNUMレジスタ804には、1つの転送情報リストに設定可能なデータ転送情報600の数が設定される。
SNUMレジスタ805には、データ転送LSI500がローカルメモリ212上に終了ステータス700を書き込むことのできる数が設定される。
In the LPBA register 801, an address (hereinafter referred to as a list base address) serving as a reference for the address at which the
In the LSBA register 802, an address serving as a reference for the address at which the
In the
In the
In the
LIPレジスタ806には、マイクロプロセッサ211がローカルメモリ212に書き込んだ転送情報リストがリストベースアドレスから何番目のものであるかを示す情報(以下、リスト書き込みポインタと称する)がマイクロプロセッサ211により設定される。マイクロプロセッサ211は転送情報リストに属するデータ転送情報600をローカルメモリ212に書き込む度に、LIPレジスタ806を更新する。
STPレジスタ807には、ステータスポインタが設定される。データ転送LSI500は、終了ステータス情報700をローカルメモリ212に書き込む度にSTPレジスタ807を更新する。また、データ転送LSI500は、STPレジスタ807に設定された値を、ローカルメモリ212上のステータスポインタアドレスに書き込む。
LOPレジスタ808には、データ転送LSI500が読み出したデータ転送情報600が所属する転送情報リストがリストベースアドレスから何番目のものであるかを示すポインタ(以下、リスト読み出しポインタと称する)がデータ転送LSI500によって設定される。
The
A status pointer is set in the
In the
POPレジスタ809には、データ転送LSI500がローカルメモリ212から読み出したデータ転送情報600が属する転送情報リストについて、その転送情報リストに属するデータ転送情報600のうちデータ転送LSI500が実際の処理を行った数が設定される。マイクロプロセッサ212は、上述したデータ転送情報600のチェインフラグ欄608などを用いて指示したデータ転送処理の数と、データ転送LSI500が実際に行ったデータ転送処理の数とを比較して、正しくデータ転送処理が行われたことを確認することができる。
In the
ABORTレジスタ810は、データ転送LSI500が行っているデータ転送処理を中止するように指示するためのレジスタである。ABORTレジスタ810には、データ転送LSI500が転送情報リスト単位でデータ転送処理を行い、各データ転送処理が終わったところで中止するように指示する値(以下、SUSABORTと称する)を設定することができる。SUSABORTとは、例えば、「0x0004」のような値である。また、ABORTレジスタ810には、データ転送LSI500が実行しているデータ転送処理を即座に終了することを指示する値(以下、MPABORTと称する)を設定することもできる。MPABORTとは、例えば、「0x0001」のような値である。なお、データ転送LSI500がデータ転送処理の中止を行う処理の詳細は後述する。
The
データ転送LSI500は、LIPレジスタ806に設定されているリスト書き込みポインタとLOPレジスタ808に設定されているリスト読み出しポインタとを比較することによって、マイクロプロセッサ211から新しいデータ転送処理の指示が与えられたことを検出することができる。
データ転送LSI500は、LIPレジスタ806及びLOPレジスタ808の内容を比較することにより、後続して処理すべき転送情報リストが存在するかどうかを調べることができる。
The
The
このように、マイクロプロセッサ211がリストベースアドレスから順に転送情報リストを書き込み、データ転送LSI500がリストベースアドレスから順に転送情報リストを読み出すことができる。つまり、ローカルメモリ212上に転送情報リストを登録するキューを実現することができる。
Thus, the
なお、上述した各レジスタは、データ転送情報フェッチ回路506が備えるようにしてもよいし、DMA501が備えるようにしてもよい。また、これらのレジスタに格納する情報は、レジスタではなく、ローカルメモリ212や共有メモリ220に格納し、データ転送LSI500がローカルメモリ212や共有メモリ220を参照するようにしてもよい。
Each register described above may be included in the data transfer information fetch
===転送情報リストを用いたデータ転送処理の流れ===
次に、本実施の形態による、転送情報リストを用いたデータ転送処理について説明する。図11は、転送情報リストを用いたデータ転送処理が行われる処理の流れを示すフローチャートである。
=== Flow of Data Transfer Processing Using Transfer Information List ===
Next, data transfer processing using a transfer information list according to the present embodiment will be described. FIG. 11 is a flowchart showing a flow of processing in which data transfer processing using a transfer information list is performed.
マイクロプロセッサ211は、データ転送LSI500のLNUMレジスタ804に設定した所定の数のデータ転送情報600を転送情報リストとしてローカルメモリ212に書き込み(S11001)、データ転送LSI500のLIPレジスタ806にリストポインタを設定する(S11002)。
The
一方、データ転送LSI500は、LIPレジスタ806とLOPレジスタ808とを比較しながら(S11003)、LIPレジスタ806に新しいリストポインタが設定されるのを待機している。データ転送LSI500は、マイクロプロセッサ212によってLIPレジスタ806にリストポインタが設定されたことを検出すると(S11003:NO)、ローカルメモリ212上のデータ転送情報600を読み出す(S11004)。データ転送LSI500内部では、データ転送情報フェッチ回路506がローカルメモリ212からデータ転送情報600が読み出し、DMA501のレジスタにデータ転送処理に必要な値を設定する(S11005)。データ転送LSI500は読み出したデータ転送情報600に基づいて、キャッシュメモリ230とバッファメモリ214との間のデータ転送に関する処理を行う(S11006)。
データ転送LSI500はデータ転送処理を終了すると、そのデータ転送情報600のチェインフラグ欄608に設定されている値が「1」であるかどうかを調べる(S11007)。データ転送情報600のチェインフラグ欄608に設定されている値が「1」であった場合(S11007:YES)には(S11004)に進む。ただし、次の(S11004)において読み出すデータ転送情報600は、先にデータ転送LSI500がデータ転送情報600を読み出したアドレスから、データ転送情報600のデータ長分進めたアドレスに記憶されているデータ転送情報600を読み出す。このようにして、データ転送LSI500は、読み出したデータ転送情報600のチェインフラグ608に基づいて、順次データ転送情報600を読み出す。なお、データ転送LSI500は、同一の転送情報リストに属するデータ転送情報600の全てを一度に読み出すようにしてもよい。この場合、データ転送LSI500は、データ転送情報600の識別情報欄607に同一の値が設定されているデータ転送情報600を、同一の転送情報リストに属しているものと判断する。
On the other hand, the
When the
データ転送情報600のチェインフラグ欄608が「1」でなかった場合(S11007:NO)には、データ転送LSI500は、データ転送処理の結果を終了ステータス情報700としてローカルメモリ212に書き込み(S11008)、STPレジスタ807に設定されるステータスポインタを1つ増やす(S11009)。データ転送LSI500は、STPレジスタ807に設定されたステータスポインタをローカルメモリ212上のステータスポインタアドレスに書き込み、LOPレジスタ808に設定されるリストポインタを1増やして、LOPレジスタ808を更新する(S11010)。
If the
一方、データ転送LSI500によってステータスポインタが更新されると、マイクロプロセッサ211はその更新を検出し(S11011:YES)、ローカルメモリ212から終了ステータス情報700を読み出し、例えば、情報処理装置100にエラー情報を送信したり、表示装置にエラーの表示をするなど、その終了ステータス情報700に応じた終了処理を行う(S11012)。
On the other hand, when the status pointer is updated by the
このように、マイクロプロセッサ211が、複数のデータ転送情報600をひとつの転送情報リストとしてローカルメモリ212に書き込むことによって、データ転送LSI500は、複数のデータ転送情報のそれぞれを連続してメモリから読み出すことができる。また、データ転送LSI500は、メモリから読み出したデータ転送情報600が関連して処理されるデータ転送情報群に所属するかどうかを、データ転送情報600の識別情報を用いて判別することができる。また、データ転送LSI500は、ローカルメモリ212から読み出したデータ転送情報600の識別情報欄607あるいはチェインフラグ欄608を用いて、そのデータ転送情報が所属するデータ転送群に所属するの他のデータ転送情報600を読み出し、データ転送処理を行うことができる。
As described above, the
例えば、ディスクアレイ装置において、外部ホスト装置からデータの書き込み要求に付随する書き込みデータはキャッシュメモリに転送される。この場合に、キャッシュメモリ上に書き込みデータの全てについて連続したアドレスを確保できない場合がある。このように、データの転送元や転送先の記憶領域が不連続の領域であるような場合等、複数のデータ転送処理を連続して行いたい場合、本発明では、第1のプロセッサは、不連続の記憶領域を指定する複数のデータ転送情報に同一の処理識別情報を設定し、それら一群のデータ転送情報をキューに登録する。第2のプロセッサは、同一の処理識別情報が付帯されている一群のデータ転送情報についてデータ転送処理を行うことで、一群のデータ転送転送情報に対応するデータ転送処理を連続して行うことができる。 For example, in a disk array device, write data accompanying a data write request from an external host device is transferred to a cache memory. In this case, a continuous address may not be secured for all the write data on the cache memory. As described above, when a plurality of data transfer processes are to be performed continuously, such as when the data transfer source and transfer destination storage areas are discontinuous areas, in the present invention, the first processor The same processing identification information is set in a plurality of data transfer information designating continuous storage areas, and the group of data transfer information is registered in the queue. The second processor can continuously perform the data transfer process corresponding to the group of data transfer transfer information by performing the data transfer process on the group of data transfer information attached with the same process identification information. .
なお、データ転送LSI500はSTPレジスタ807に設定されるステータスポインタを定期的にローカルメモリ212に書き込むようにしてもよい。また、データ転送LSI500はSTPレジスタを用いず、直接ローカルメモリ212にステータスポインタを格納するようにしてもよい。
Note that the
===転送情報リスト単位でのデータ転送処理の中止===
次に、データ転送LSI500が上記のようなデータ転送処理を中止する処理について説明する。
=== Cancellation of data transfer processing in units of transfer information list ===
Next, a process in which the
上述したように、データ転送LSI500は、転送情報リストに設定されている複数のデータ転送情報600について、チェインフラグ欄608に「1」が設定されている間、連続的にデータ転送処理を行う。ここで、マイクロプロセッサ211が、データ転送LSI500のABORTレジスタ810にSUSABORTを書き込むと、データ転送LSI500は、上記の転送情報リストに設定されている複数のデータ転送情報についての一連のデータ転送処理を終了した後に、ローカルメモリ212に書き込まれている後続の転送情報リストについてのデータ転送処理を中止する。一方、マイクロプロセッサ211がデータ転送LSI500のABORTレジスタ810にMPABORTを書き込むと、データ転送LSI500は、上記のデータ転送処理を行っている間であっても、処理を中止する。すなわち、マイクロプロセッサ211は、MPABORTをABORTレジスタ810に書き込むことにより、データ転送LSI500が実行している処理を強制終了することが可能となる。そのため、マイクロプロセッサ211は、例えば、データ転送LSI500がローカルメモリ212に終了ステータス情報700を一定期間書き込まなかった場合に、MPABORTをABORTレジスタ810に書き込み、データ転送LSI500のデータ転送処理を強制終了するように、データ転送LSI500を制御することができる。
As described above, the
データ転送LSI500がデータ転送処理を中止する流れは、図4を用いて説明した、上述の第1の実施の形態に係るDMAコントローラ60のデータ転送処理の中止する流れと同様である。DMAコントローラ60の代わりにデータ転送LSI500がデータ転送処理を行い、中止コマンドや強制終了コマンドが設定されるレジスタは、アボートレジスタ62に代わり上記ABORTレジスタ810である。
The flow in which the
また、(S4006)において継続するデータ転送処理は、ここでは転送情報リストに設定されている複数のデータ転送情報600についてのデータ転送処理となる。また、転送情報キュー21は、ローカルメモリ212上のリストベースアドレスから連続する記憶領域として実現され、終了ステータスキュー22は、ローカルメモリ212上のステータスベースアドレスから連続する記憶領域として実現されている。
Further, the data transfer process continued in (S4006) is a data transfer process for a plurality of data transfer
また、データ転送LSI500は、データ転送処理を終了した結果の終了ステータスとして、上記の終了ステータス情報700を作成し、ローカルメモリ212に書き込む。その際に、データ転送LSI500は、ローカルメモリ212から読み出したデータ転送情報600の識別情報欄607に設定されている識別情報を、識別情報欄701に設定する。また、データ転送LSI500は、ABORTレジスタ810にSUSABORTやMPABORTが設定されていた場合には、終了ステータスコード欄702の該当するビットに「1」を設定する。
Further, the
このように、本発明では、第2のプロセッサ(データ転送LSI500)は、同一の処理識別情報が付帯されている一群のデータ転送情報(チェインフラグ欄608によって連結されているデータ転送情報群)についてデータ転送処理を行い、これら一群のデータ転送情報全てについてのデータ転送処理を行った後に、レジスタに中止コマンドが設定されていると、それ以降のデータ転送処理を中止する。従って、第2のプロセッサは、これら一群のデータ転送情報に基づく一連のデータ転送処理を完了した時点でデータ転送処理を中止することができる。よって、第2のプロセッサが、連続して処理すべき複数のデータ転送処理の途中でデータ転送処理を中止することがない。これにより、第2のプロセッサのデータ転送処理の中止による、データ転送装置全体としてのデータ転送能力の低下を最小限に抑えることができる。 As described above, in the present invention, the second processor (data transfer LSI 500) performs a group of data transfer information (data transfer information group linked by the chain flag column 608) to which the same processing identification information is attached. After performing the data transfer process and performing the data transfer process for all of the group of data transfer information, if a cancel command is set in the register, the subsequent data transfer process is stopped. Therefore, the second processor can stop the data transfer process when a series of data transfer processes based on the group of data transfer information is completed. Therefore, the second processor does not stop the data transfer process in the middle of a plurality of data transfer processes to be processed continuously. Thereby, it is possible to minimize a decrease in the data transfer capability of the entire data transfer device due to the cancellation of the data transfer process of the second processor.
また、データ転送LSI500は、中止コマンドがABORTレジスタ810に設定されたことにより、データ転送処理を中止したかどうかを示す中止フラグを終了ステータス情報700の終了ステータスコード欄702に設定する。従って、マイクロプロセッサ211は、データ転送LSI500のABORTレジスタ810に設定した中止コマンドに応じてデータ転送LSI500がデータ転送処理を中止したことを、ローカルメモリ212に記憶される終了ステータス情報700の終了ステータスコード欄702を参照することによって取得することができる。よって、マイクロプロセッサ211は、データ転送LSI500の動作を監視したり、データ転送LSI500からデータ転送処理を中止した旨の通知を直接受けたりすることなく、データ転送LSI500がデータ転送処理を中止したことをローカルメモリ212を介して間接的に取得することができる。そのため、マイクロプロセッサ211の効率的な動作を図ることができる。
Further, the
===その他の実施の形態===
本実施の形態では、マイクロプロセッサ211がローカルメモリ212に書き込む単位を転送情報リスト単位としたが、データ転送情報単位とすることもできる。例えば、データ転送LSI500のLIPレジスタ804を、ローカルメモリ212上に記憶されている複数のデータ転送情報600の何番目かを示す情報とする。マイクロプロセッサ211が連続する複数のデータ転送情報600を書き込んだ際に、その最後となるデータ転送情報600がローカルメモリ212上で何番目に書き込まれたデータ転送情報になったかをLIPレジスタ804に設定する。データ転送LSI500は、リストベースアドレスにデータ転送情報600のデータ長を、LOPレジスタ808に設定された数分加算して、ローカルメモリ212からデータ転送情報600を読み出すアドレスを求め、データ転送情報600を読み出すことができる。また、データ転送LSI500は、読み出したデータ転送情報600のチェインフラグ欄608が「1」である間、読み出すアドレスにデータ転送情報600のデータ長を足しながら、データ転送情報600を読み続けることができる。これにより、マイクロプロセッサ211からデータ転送LSI500に伝達されるデータ転送に関する情報は、転送情報リスト単位ではなくデータ転送情報600単位となり、可変長のデータ転送情報600の受け渡しをすることができる。
=== Other Embodiments ===
In this embodiment, the unit that the
また、本発明の形態において、データ転送情報600はマイクロプロセッサ211の管理するローカルメモリ212に書き込まれるようにしたが、ローカルメモリ212の代わりに、共有メモリ220やキャッシュメモリ230、その他のメモリ等、マイクロプロセッサ及びデータ転送LSIが同様にアクセス可能な記憶デバイスに記憶するようにしてもよい。
In the embodiment of the present invention, the data transfer
また、本発明はディスク制御部240に適用する形態とすることもできる。例えば、ディスク制御部240がマイクロプロセッサと、ローカルメモリと、記憶デバイス300にアクセスするインタフェースと、データ転送LSIとを備えるとすると、キャッシュメモリ230と記憶デバイス300との間で転送されるデータに関するデータ転送処理に、上述したチャネル制御部210でのデータ転送処理と同様のデータ転送処理を実現できる。
The present invention can also be applied to the
また、本発明は、チャネル制御部210の備える通信インタフェース213(通信インタフェース部)と、マイクロプロセッサ211と、ローカルメモリ212と、データ転送LSI500と、記憶デバイス300に対するインタフェース(記憶デバイスインタフェース)とが一体的に配された記憶デバイス制御装置に適用することもできる。この場合、データ転送LSI500は、キャッシュメモリ230に替えて、記憶デバイス300と、バッファメモリ214との間でのデータ転送処理を行うことができる。
In the present invention, the communication interface 213 (communication interface unit) included in the
以上本実施の形態について説明したが、上記実施の形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明はその趣旨を逸脱することなく変更、改良され得ると共に、本発明にはその等価物も含まれる。 Although the present embodiment has been described above, the above embodiment is intended to facilitate understanding of the present invention and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.
1 コンピュータ
10 CPU 20 RAM
21 転送情報キュー 22 終了ステータスキュー
30 記憶装置 40 入力装置
50 出力装置 60 DMAコントローラ
61 スタートレジスタ 62 アボートレジスタ
70 I/Oインタフェース 71 バッファメモリ
100 情報処理装置 200 記憶デバイス制御装置
210 チャネル制御部 211 マイクロプロセッサ
212 ローカルメモリ 213 通信インタフェース
214 バッファメモリ 220 共有メモリ
230 キャッシュメモリ 240 ディスク制御部
300 記憶デバイス 400 ネットワーク
500 データ転送LSI500
600 データ転送情報 700 終了ステータス情報
1 Computer 10
21
600
Claims (15)
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記第1の記憶領域に記憶されているデータを前記第2の記憶領域に転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備え、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記レジスタに前記中止コマンドが設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とするデータ転送装置。 A memory comprising a queue for storing data transfer information including information for specifying a first storage area and information for specifying a second storage area;
A first processor for registering the data transfer information in the queue;
A second processor that performs data transfer processing for transferring data stored in the first storage area to the second storage area, and includes a register;
With
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A data transfer device.
前記第1のプロセッサは、前記データ転送を再開することを示すコマンドである再開コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記レジスタに前記再開コマンドが設定されているかどうかを判断し、前記レジスタに前記再開コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を再開すること、
を特徴とするデータ転送装置。 The data transfer device according to claim 1,
The first processor writes a resume command, which is a command indicating that the data transfer is resumed, to the register of the second processor;
The second processor determines whether the resume command is set in the register, and if the resume command is set in the register, the subsequent data transfer information registered in the queue Resuming the data transfer process for
A data transfer device.
前記データ転送情報には、前記第2のプロセッサが転送するデータのデータ長が設定され、
前記第2のプロセッサは、前記キューから読み出した前記データ転送情報の前記データ長に、データ転送処理を行わないことを示す値が設定されているかどうかを判断し、当該データ転送情報の前記データ長に前記値が設定されている場合、当該データ転送情報に基づく前記データ転送処理を行わないこと、
を特徴とするデータ転送装置。 The data transfer device according to claim 1,
In the data transfer information, a data length of data transferred by the second processor is set,
The second processor determines whether or not a value indicating that data transfer processing is not performed is set in the data length of the data transfer information read from the queue, and the data length of the data transfer information When the value is set in, the data transfer processing based on the data transfer information is not performed,
A data transfer device.
前記第2のプロセッサは、前記キューから読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記データ転送処理の結果を示す終了ステータス情報を前記メモリに書き込むこと、
を特徴とするデータ転送装置。 The data transfer device according to claim 1,
The second processor performs the data transfer process based on the data transfer information read from the queue, and writes end status information indicating a result of the data transfer process to the memory;
A data transfer device.
前記第1のプロセッサは、前記データ転送情報に識別情報を設定して前記キューに登録し、
前記第2のプロセッサは、前記キューから読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記レジスタに前記中止コマンドが設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止し、
前記第2のプロセッサは、前記レジスタに前記中止コマンドが設定されていたかどうかを示す中止フラグと、前記データ転送処理の結果を示す情報と、前記データ転送情報に設定されている前記識別情報とを含む終了ステータス情報を前記メモリに書き込み、
前記第1のプロセッサは、前記メモリから前記終了ステータス情報を読み出し、読み出した前記終了ステータス情報の前記中止フラグを参照して、前記第2のプロセッサが前記データ転送処理を中止したかどうかを判断すること、
を特徴とするデータ転送装置。 The data transfer device according to claim 1,
The first processor sets identification information in the data transfer information and registers it in the queue,
The second processor performs the data transfer process based on the data transfer information read from the queue, determines whether the stop command is set in the register, and sets the stop command in the register. The data transfer process for the subsequent data transfer information registered in the queue is stopped,
The second processor includes a stop flag indicating whether the stop command is set in the register, information indicating a result of the data transfer process, and the identification information set in the data transfer information. Write end status information including to the memory,
The first processor reads the end status information from the memory and refers to the stop flag of the read end status information to determine whether the second processor has stopped the data transfer process. about,
A data transfer device.
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を終了することを示すコマンドである強制終了コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記レジスタに前記強制終了コマンドが設定されているかどうかを判断し、前記レジスタに前記強制終了コマンドが設定されている場合は、前記データ転送処理を中止し、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理も中止すること、
を特徴とするデータ転送装置。 The data transfer device according to claim 5, wherein
The first processor writes a forced termination command, which is a command indicating termination of the data transfer processing performed by the second processor, to the register of the second processor,
The second processor determines whether or not the forced termination command is set in the register. If the forced termination command is set in the register, the second processor stops the data transfer process and enters the queue. Canceling the data transfer process for the registered subsequent data transfer information;
A data transfer device.
前記第1のプロセッサは、前記第2のプロセッサの前記レジスタに前記中止コマンドを設定し、前記メモリに前記終了ステータス情報が書き込まれたかどうかを判断し、前記終了ステータス情報が前記メモリに書き込まれた場合には、前記メモリに書き込まれた前記終了ステータス情報の前記中止フラグを参照して、前記第2のプロセッサが前記データ転送処理を中止したかどうかを判断し、
前記第1のプロセッサは、所定の期間に、前記第2のプロセッサが前記データ転送処理を中止したと判断できなかった場合に、前記強制中止コマンドを前記第2のプロセッサの前記レジスタに書き込むこと、
を特徴とするデータ転送装置。 The data transfer device according to claim 6, wherein
The first processor sets the stop command in the register of the second processor, determines whether the end status information has been written to the memory, and the end status information has been written to the memory In the case, with reference to the stop flag of the end status information written in the memory, it is determined whether the second processor has stopped the data transfer process,
The first processor writes the forced abort command to the register of the second processor when the second processor cannot determine that the data transfer process has been aborted in a predetermined period;
A data transfer device.
前記第1のプロセッサは、一群の前記データ転送情報について、前記一群のデータ転送情報の夫々が関連する前記データ転送処理に対応するものであることを示す処理識別情報を前記一群のデータ転送情報の夫々に付帯させて前記キューに登録し、
前記第2のプロセッサは、同一の前記処理識別情報が付帯されて前記キューに登録されている前記一群のデータ転送情報の夫々について前記データ転送処理を行い、前記レジスタに前記中止コマンドが設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とするデータ転送装置。 The data transfer device according to claim 1,
For the group of data transfer information, the first processor sets process identification information indicating that each of the group of data transfer information corresponds to the related data transfer process of the group of data transfer information. Each of them is attached to each queue and registered in the queue.
The second processor performs the data transfer process for each of the group of data transfer information registered in the queue with the same process identification information attached, and the stop command is set in the register. And if the cancel command is set in the register, canceling the data transfer processing for the subsequent data transfer information registered in the queue;
A data transfer device.
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記第1の記憶領域に記憶されているデータを前記第2の記憶領域に転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備えるデータ転送装置の制御方法であって、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とするデータ転送装置の制御方法。 A memory comprising a queue for storing data transfer information including information for specifying a first storage area and information for specifying a second storage area;
A first processor for registering the data transfer information in the queue;
A second processor that performs data transfer processing for transferring data stored in the first storage area to the second storage area, and includes a register;
A data transfer device control method comprising:
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A method for controlling a data transfer apparatus.
前記記憶デバイスとの間でデータを授受する記憶デバイスインタフェース部と、
前記バッファメモリの記憶領域を特定する情報と、前記記憶デバイスの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記バッファメモリと前記記憶デバイスとの間でデータを転送するデータ転送処理を行い、レジスタを備える第2のプロセッサと、
を備え、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とする記憶デバイス制御装置。 A communication interface unit including a buffer memory for receiving a data input / output request transmitted from the information processing apparatus to the storage device, and storing the received data input / output request;
A storage device interface unit that exchanges data with the storage device;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the storage device;
A first processor for registering the data transfer information in the queue;
A second processor that performs data transfer processing for transferring data between the buffer memory and the storage device, and includes a register;
With
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And when the cancel command is set in the register, canceling the data transfer processing for the subsequent data transfer information registered in the queue,
A storage device control apparatus.
前記記憶デバイスに対するデータ入出力に関する制御を行うディスク制御部と、
前記チャネル制御部と前記ディスク制御部との間で授受されるデータを記憶するキャッシュメモリと、
を備える記憶デバイス制御装置であって、
前記チャネル制御部は、
前記情報処理装置から前記データ入出力要求を受信し、受信した前記データ入出力要求を記憶するバッファメモリを備える通信インタフェース部と、
前記バッファメモリの記憶領域を特定する情報と、前記キャッシュメモリの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記バッファメモリと前記キャッシュメモリとの間でデータを転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備え、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とする記憶デバイス制御装置。 A channel control unit for receiving a data input / output request transmitted from the information processing apparatus to the storage device;
A disk control unit for controlling data input / output with respect to the storage device;
A cache memory for storing data exchanged between the channel control unit and the disk control unit;
A storage device control device comprising:
The channel controller
A communication interface unit comprising a buffer memory for receiving the data input / output request from the information processing apparatus and storing the received data input / output request;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the cache memory;
A first processor for registering the data transfer information in the queue;
A second processor for performing data transfer processing for transferring data between the buffer memory and the cache memory, and comprising a register;
With
The first processor writes a stop command, which is a command indicating that the data transfer process performed by the second processor is stopped, to the register of the second processor;
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A storage device control apparatus.
前記記憶デバイスに対するデータ入出力に関する制御を行うディスク制御部と、
前記チャネル制御部と前記ディスク制御部との間で授受されるデータを記憶するキャッシュメモリと、
を備える記憶デバイス制御装置であって、
前記ディスク制御部は、
前記キャッシュメモリとの間でデータの授受を行い、前記キャッシュメモリから読み出すデータ又は前記キャッシュメモリに書き込むデータを記憶するバッファメモリを備えるキャッシュインタフェース部と、
前記バッファメモリの記憶領域を特定する情報と、前記記憶デバイスの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記バッファメモリと前記記憶デバイスとの間でデータを転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備え、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とする記憶デバイス制御装置。 A channel control unit for receiving a data input / output request transmitted from the information processing apparatus to the storage device;
A disk control unit for controlling data input / output with respect to the storage device;
A cache memory for storing data exchanged between the channel control unit and the disk control unit;
A storage device control device comprising:
The disk controller is
A cache interface unit comprising a buffer memory for transferring data to and from the cache memory and storing data read from the cache memory or data to be written to the cache memory;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the storage device;
A first processor for registering the data transfer information in the queue;
A second processor for performing data transfer processing for transferring data between the buffer memory and the storage device, and comprising a register;
With
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A storage device control apparatus.
前記記憶デバイスとの間でデータを授受する記憶デバイスインタフェース部と、
前記バッファメモリの記憶領域を特定する情報と、前記記憶デバイスの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記バッファメモリと前記記憶デバイスとの間でデータを転送するデータ転送処理を行い、レジスタを備える第2のプロセッサと、
を備える記憶デバイス制御装置の制御方法であって、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とする記憶デバイス制御装置の制御方法。 A communication interface unit including a buffer memory for receiving a data input / output request transmitted from the information processing apparatus to the storage device, and storing the received data input / output request;
A storage device interface unit that exchanges data with the storage device;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the storage device;
A first processor for registering the data transfer information in the queue;
A second processor that performs data transfer processing for transferring data between the buffer memory and the storage device, and includes a register;
A control method of a storage device control apparatus comprising:
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A control method for a storage device control apparatus.
前記記憶デバイスに対するデータ入出力に関する制御を行うディスク制御部と、
前記チャネル制御部と前記ディスク制御部との間で授受されるデータを記憶するキャッシュメモリと、
を備える記憶デバイス制御装置の制御方法であって、
前記チャネル制御部は、
前記情報処理装置から前記データ入出力要求を受信し、受信した前記データ入出力要求を記憶するバッファメモリを備える通信インタフェース部と、
前記バッファメモリの記憶領域を特定する情報と、前記キャッシュメモリの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記データ転送情報を前記キューに登録する第1のプロセッサと、
前記バッファメモリと前記キャッシュメモリとの間でデータを転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備え、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とする記憶デバイス制御装置の制御方法。 A channel control unit for receiving a data input / output request transmitted from the information processing apparatus to the storage device;
A disk control unit for controlling data input / output with respect to the storage device;
A cache memory for storing data exchanged between the channel control unit and the disk control unit;
A control method of a storage device control apparatus comprising:
The channel controller
A communication interface unit comprising a buffer memory for receiving the data input / output request from the information processing apparatus and storing the received data input / output request;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the cache memory;
A first processor for registering the data transfer information in the queue;
A second processor for performing data transfer processing for transferring data between the buffer memory and the cache memory, and comprising a register;
With
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And, if the cancel command is set in the register, canceling the data transfer process for the subsequent data transfer information registered in the queue,
A control method for a storage device control apparatus.
前記データ入出力要求を受信し、受信した前記データ入出力要求を記憶するバッファメモリを備える通信インタフェースと、
前記バッファメモリの記憶領域を特定する情報と、前記キャッシュメモリの記憶領域を特定する情報とを含むデータ転送情報を格納するキューを備えるメモリと、
前記バッファメモリと前記キャッシュメモリとの間でデータを転送するデータ転送処理を行い、レジスタを備える、第2のプロセッサと、
を備え、
前記情報処理装置と前記記憶デバイスとの間で授受されるデータを記憶するキャッシュメモリが接続され、
前記第1のプロセッサは、前記通信インタフェースが受信する前記データ入出力要求に応じて、前記バッファメモリにおける記憶領域を示す情報と、前記キャッシュメモリにおける記憶領域を示す情報とを含むデータ転送情報を前記キューに登録し、
前記第1のプロセッサは、前記第2のプロセッサが行う前記データ転送処理を中止することを示すコマンドである中止コマンドを前記第2のプロセッサの前記レジスタに書き込み、
前記第2のプロセッサは、前記キューに登録されている前記データ転送情報を読み出し、読み出した前記データ転送情報に基づく前記データ転送処理を行い、前記中止コマンドが前記レジスタに設定されているかどうかを判断し、前記レジスタに前記中止コマンドが設定されている場合は、前記キューに登録されている後続の前記データ転送情報についての前記データ転送処理を中止すること、
を特徴とするチャネルアダプタ。
A channel adapter that receives a data input / output request transmitted from an information processing apparatus to a storage device,
A communication interface comprising a buffer memory for receiving the data input / output request and storing the received data input / output request;
A memory comprising a queue for storing data transfer information including information for specifying a storage area of the buffer memory and information for specifying a storage area of the cache memory;
A second processor for performing data transfer processing for transferring data between the buffer memory and the cache memory, and comprising a register;
With
A cache memory for storing data exchanged between the information processing apparatus and the storage device is connected,
In response to the data input / output request received by the communication interface, the first processor receives data transfer information including information indicating a storage area in the buffer memory and information indicating a storage area in the cache memory. Subscribe to the queue,
The first processor writes a stop command, which is a command indicating that the data transfer processing performed by the second processor is stopped, to the register of the second processor,
The second processor reads the data transfer information registered in the queue, performs the data transfer process based on the read data transfer information, and determines whether the stop command is set in the register And when the cancel command is set in the register, canceling the data transfer processing for the subsequent data transfer information registered in the queue,
Features a channel adapter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003402995A JP2005165619A (en) | 2003-12-02 | 2003-12-02 | Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003402995A JP2005165619A (en) | 2003-12-02 | 2003-12-02 | Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005165619A true JP2005165619A (en) | 2005-06-23 |
Family
ID=34726432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003402995A Pending JP2005165619A (en) | 2003-12-02 | 2003-12-02 | Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005165619A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007122117A (en) * | 2005-10-25 | 2007-05-17 | Hitachi Ltd | Storage system and storage control method |
JP2007179086A (en) * | 2005-12-26 | 2007-07-12 | Fujitsu Ltd | Memory access device |
JP2008146186A (en) * | 2006-12-07 | 2008-06-26 | Canon Inc | Dma transfer device, data transfer control method, and data transfer control program |
JP2010532518A (en) * | 2007-06-29 | 2010-10-07 | エミュレックス デザイン アンド マニュファクチュアリング コーポレーション | Method and system for efficient queue management |
JP2011221981A (en) * | 2010-04-08 | 2011-11-04 | Hitachi Ltd | Method and apparatus for managing error codes for storage system coupled with external storage system |
JP2013246457A (en) * | 2012-05-23 | 2013-12-09 | Renesas Electronics Corp | Host controller and host device |
JP2014010759A (en) * | 2012-07-02 | 2014-01-20 | Toshiba Corp | Bridge device, method therefor, storage apparatus and program |
WO2018135437A1 (en) * | 2017-01-19 | 2018-07-26 | Necプラットフォームズ株式会社 | Transfer control device, transfer device, transfer control method, and transfer control program |
JP7473600B2 (en) | 2022-07-15 | 2024-04-23 | 株式会社日立製作所 | STORAGE SYSTEM, DATA TRANSMISSION METHOD, AND NETWORK INTERFACE |
-
2003
- 2003-12-02 JP JP2003402995A patent/JP2005165619A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007122117A (en) * | 2005-10-25 | 2007-05-17 | Hitachi Ltd | Storage system and storage control method |
JP4756992B2 (en) * | 2005-10-25 | 2011-08-24 | 株式会社日立製作所 | Storage system and storage control method |
JP2007179086A (en) * | 2005-12-26 | 2007-07-12 | Fujitsu Ltd | Memory access device |
JP2008146186A (en) * | 2006-12-07 | 2008-06-26 | Canon Inc | Dma transfer device, data transfer control method, and data transfer control program |
JP2010532518A (en) * | 2007-06-29 | 2010-10-07 | エミュレックス デザイン アンド マニュファクチュアリング コーポレーション | Method and system for efficient queue management |
JP2011221981A (en) * | 2010-04-08 | 2011-11-04 | Hitachi Ltd | Method and apparatus for managing error codes for storage system coupled with external storage system |
JP2013246457A (en) * | 2012-05-23 | 2013-12-09 | Renesas Electronics Corp | Host controller and host device |
JP2014010759A (en) * | 2012-07-02 | 2014-01-20 | Toshiba Corp | Bridge device, method therefor, storage apparatus and program |
US9122779B2 (en) | 2012-07-02 | 2015-09-01 | Kabushiki Kaisha Toshiba | Bridge device with an error tolerant DMA transfer function |
WO2018135437A1 (en) * | 2017-01-19 | 2018-07-26 | Necプラットフォームズ株式会社 | Transfer control device, transfer device, transfer control method, and transfer control program |
JP2018116550A (en) * | 2017-01-19 | 2018-07-26 | Necプラットフォームズ株式会社 | Transfer controller |
US20200042476A1 (en) * | 2017-01-19 | 2020-02-06 | Nec Platforms, Ltd. | Transfer control device, transfer device, transfer control method, and transfer control program |
US11023399B2 (en) | 2017-01-19 | 2021-06-01 | Nec Platforms, Ltd. | Transfer control device, transfer device, transfer control method, and transfer control program |
JP7473600B2 (en) | 2022-07-15 | 2024-04-23 | 株式会社日立製作所 | STORAGE SYSTEM, DATA TRANSMISSION METHOD, AND NETWORK INTERFACE |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4536361B2 (en) | Data transfer apparatus, storage device control apparatus, and storage device control apparatus control method | |
US7016985B2 (en) | Method, system, and program for prioritizing input/output (I/O) requests submitted to a device driver | |
US6526477B1 (en) | Host-memory based raid system, device, and method | |
US7380115B2 (en) | Transferring data using direct memory access | |
US7823008B2 (en) | Maintaining consistency in a remote copy data storage system | |
US7395392B2 (en) | Storage system and storage control method | |
JP2000056931A (en) | Storage management system | |
JPH08314848A (en) | Method and apparatus for transfer of data between two devices by shortening of overhead of microprocessor | |
US20110282963A1 (en) | Storage device and method of controlling storage device | |
US7143206B2 (en) | Method for controlling data transfer unit having channel control unit, storage device control unit, and DMA processor | |
JP2005165619A (en) | Method for controlling data transferring device, data transferring device, storage device controller, method for controlling storage device controller, and channel adaptor | |
JP2006190257A (en) | Data transfer device and its method | |
JP3442932B2 (en) | Information processing system | |
JP2003288317A (en) | System and method for detecting and compensating for runt block data transfer | |
US6801954B1 (en) | Method and apparatus to concurrently operate on multiple data movement transactions in a disk array subsystem | |
US8151028B2 (en) | Information processing apparatus and control method thereof | |
JP3683831B2 (en) | Checkpoint designating method, apparatus and program recording medium for channel recovery in data processing system | |
JP2728449B2 (en) | Printing system, printing apparatus and print control method thereof | |
JPH02166511A (en) | Printing system | |
JPH1078856A (en) | Interruption by priority printing method and system therefor | |
US5689725A (en) | System for generating status signals of second bus on first bus by comparing actual phase of the second bus with expected phase of second bus | |
JPS6329862A (en) | Data communication system | |
JP3248796B2 (en) | Network printer system | |
JPH0546520A (en) | Communication method and communication system of digital computer and memory | |
JPS6029861A (en) | Peripheral device interface |