JPH04245522A - Data transfer control method - Google Patents

Data transfer control method

Info

Publication number
JPH04245522A
JPH04245522A JP3189591A JP3189591A JPH04245522A JP H04245522 A JPH04245522 A JP H04245522A JP 3189591 A JP3189591 A JP 3189591A JP 3189591 A JP3189591 A JP 3189591A JP H04245522 A JPH04245522 A JP H04245522A
Authority
JP
Japan
Prior art keywords
memory
data
magnetic disk
data transfer
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3189591A
Other languages
Japanese (ja)
Other versions
JP2732951B2 (en
Inventor
Masakazu Kawamoto
正和 河本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3031895A priority Critical patent/JP2732951B2/en
Publication of JPH04245522A publication Critical patent/JPH04245522A/en
Application granted granted Critical
Publication of JP2732951B2 publication Critical patent/JP2732951B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve the throughput of a system in regard of the data transfer control method by improving the data transfer efficiency between a device and a device controller. CONSTITUTION:A memory 12 is provided in a device 11, which forms a system with a device controller 10. When the controller receives a processing request, the control information (including the data if available) is written into the memory 12. Then the device 11 is thrown off and carries out the due processing with use of the control data, etc., stored in the memory 12. This processing result is written into the memory 12 and the end of the processing is informed to the controller 10 with an interruption.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、データ転送制御方法に
関し、更に詳しく言えば、磁気ディスクシステム等に用
いられ、特に、磁気ディスク制御装置と磁気ディスク装
置間のデータ転送を改善したディスクシステムのデータ
転送制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control method, and more specifically, to a method for controlling data transfer, and more particularly, to a method for controlling data transfer, which is used in a magnetic disk system, etc., and in particular, for a disk system that improves data transfer between a magnetic disk controller and a magnetic disk device. This invention relates to a data transfer control method.

【0002】0002

【従来の技術】図6は従来の磁気ディスクシステムの構
成図、図7は、メモリ配置の説明図である。
2. Description of the Related Art FIG. 6 is a block diagram of a conventional magnetic disk system, and FIG. 7 is an explanatory diagram of memory arrangement.

【0003】図中、1,2はCPU、3はチャネルイン
ターフェイス、4は磁気ディスク制御装置(CU)、5
は磁気ディスク装置、6はアダプタインターフェイス、
7はデバイスインターフェイス、8はバッファメモリを
示す。
In the figure, 1 and 2 are CPUs, 3 is a channel interface, 4 is a magnetic disk control unit (CU), and 5 is a CPU.
is a magnetic disk device, 6 is an adapter interface,
7 indicates a device interface, and 8 indicates a buffer memory.

【0004】また、CHはチャネル、CHSWはチャネ
ルスイッチ、DIRはディレクタ、ADPはアダプタを
示す。
Further, CH represents a channel, CHSW represents a channel switch, DIR represents a director, and ADP represents an adapter.

【0005】従来、例えば図6に示したような磁気ディ
スクシステムが知られていた。このシステムでは2つの
CPUを用いており、各チャネルCHと、磁気ディスク
制御装置4のチャネルスイッチCHSWとの間をチャネ
ルインターフェイス3で接続している。
Conventionally, a magnetic disk system as shown in FIG. 6, for example, has been known. This system uses two CPUs, and each channel CH is connected to a channel switch CHSW of a magnetic disk controller 4 through a channel interface 3.

【0006】また、磁気ディスク制御装置4には2つの
ディレクタDIRが設けてあり、各ディレクタDIRに
は、それぞれアダプタADPを接続してある。
The magnetic disk control device 4 is also provided with two directors DIR, each of which is connected to an adapter ADP.

【0007】これらのアダプタADPには、磁気ディス
ク装置5が複数台(DV1,DV2)接続してある。
A plurality of magnetic disk drives 5 (DV1, DV2) are connected to these adapters ADP.

【0008】このようなシステムで、スループットを向
上させるために、図7のような構成にしたシステムがあ
る。図7に示したシステムでは、2つのディレクタDI
Rに、バッファメモリ8を共通接続してある。
Among such systems, there is a system configured as shown in FIG. 7 in order to improve throughput. In the system shown in Figure 7, there are two director DIs.
A buffer memory 8 is commonly connected to R.

【0009】このバッファメモリ8は、キャッシュメモ
リとして使う方法や、非同期転送処理用のメモリとして
用いられる。このようなバッファメモリ8の使い方をす
ることにより、データ転送を効率良く行い、スループッ
トを向上させるものである。
The buffer memory 8 is used as a cache memory or as a memory for asynchronous transfer processing. By using the buffer memory 8 in this way, data transfer can be performed efficiently and throughput can be improved.

【0010】0010

【発明が解決しようとする課題】上記のような従来のも
のにおいては、次のような欠点があった。
SUMMARY OF THE INVENTION The conventional devices as described above have the following drawbacks.

【0011】(1)例えば、最近の光通信技術を用いた
システムでは、チャネルの転送速度は、従来の3倍以上
になってきたが、デバイス(磁気ディスク装置等)は、
せいぜい1.5 倍どまりである。
(1) For example, in systems using recent optical communication technology, the channel transfer speed has become more than three times that of conventional systems, but devices (magnetic disk drives, etc.)
At most, it is only 1.5 times as large.

【0012】このため、上記バッファメモリをキャッシ
ュメモリとして使用する場合、キャッシュのヒット率が
低いと、バッファメモリとチャネル間のデータ転送に、
バッファメモリとデバイス間のデータ転送が追いつかな
くなり、性能がこれ以上に上がらなくなる。
[0012] Therefore, when the above buffer memory is used as a cache memory, if the hit rate of the cache is low, data transfer between the buffer memory and the channel will be delayed.
Data transfer between the buffer memory and the device cannot keep up, and performance cannot be improved any further.

【0013】(2)また上記の非同期転送処理の場合も
、上記と同様に、データ転送性能が上がらない。
(2) Also, in the case of the asynchronous transfer processing described above, data transfer performance does not improve, as in the above case.

【0014】(3)従って、従来のシステムでは、スル
ープットの向上がこれ以上できない。
(3) Therefore, in the conventional system, throughput cannot be improved any further.

【0015】本発明は、このような従来の欠点を解消し
、デバイスと、デバイスコントローラ間のデータ転送を
改善することにより、システムのスループットが向上で
きるようにすることを目的とする。
An object of the present invention is to eliminate such conventional drawbacks and improve data transfer between a device and a device controller, thereby increasing system throughput.

【0016】[0016]

【課題を解決するための手段】第1図は、本発明の原理
図であり、図中、10はデバイスコントローラ、11は
デバイス、12はメモリ、ADPはアダプタを示す。
[Means for Solving the Problems] FIG. 1 is a diagram showing the principle of the present invention. In the figure, 10 is a device controller, 11 is a device, 12 is a memory, and ADP is an adapter.

【0017】本発明は、上記の目的を達成するため、次
のように構成したものである。
[0017] In order to achieve the above object, the present invention is constructed as follows.

【0018】(1)デバイス11と、該デバイスを制御
するデバイスコントローラ10とから成るシステムのデ
ータ転送制御方式において、上記デバイス11内に、媒
体の位置決め情報等の制御情報を格納する制御情報域と
、リード/ライト、データを格納するデータ域とを有す
るメモリ12を設けておき、デバイスコントローラ10
では、上位装置からの処理依頼を受けた際、上記メモリ
12への制御情報等の書込みをおこなった後、デバイス
11をつき放し、デバイス11では、デバイスコントロ
ーラ10によって書込んだ、上記メモリ12上の制御情
報等を用いて処理を行い、処理結果をメモリ12に書込
んだ後、デバイスコントローラ10に対し、割込みで処
理完了通知を行うことにより、上記メモリ12を介して
、デバイスコントローラ10とデバイス間のデータ転送
を行うようにした。
(1) In a data transfer control method for a system consisting of a device 11 and a device controller 10 that controls the device, the device 11 includes a control information area for storing control information such as media positioning information. , read/write, and a data area for storing data.
When a processing request is received from the host device, the device 11 is left open after writing control information, etc. to the memory 12, and the device 11 writes the information written by the device controller 10 to the memory 12. After performing the processing using the control information, etc., and writing the processing result to the memory 12, the device controller 10 is notified of the completion of the processing by an interrupt, thereby communicating between the device controller 10 and the device via the memory 12. Data transfer between the two is now possible.

【0019】(2)上記構成(1)において、複数CP
Uからアクセスされた場合、上記メモリ12上の制御情
報として、パス識別情報(CPUID)を書込んでおき
、デバイスつき放し後の再結合時に、デバイスコントロ
ーラ10では、上記パス識別情報を読出して、パスの決
定を行うようにした。
(2) In the above configuration (1), a plurality of CPs
When accessed from U, path identification information (CPUID) is written as control information on the memory 12, and when the device is reconnected after being released, the device controller 10 reads out the path identification information. The path decision is now made.

【0020】[0020]

【作用】本発明は上記のように構成したので、次のよう
な作用がある。
[Operations] Since the present invention is constructed as described above, it has the following functions.

【0021】図1において、デバイスコントローラ10
が上位装置からデータライトの処理依頼を受けた場合は
、次のようにする。
In FIG. 1, a device controller 10
When receiving a data write processing request from a host device, do the following:

【0022】デバイスコントローラ10は、デバイス1
1内に設けたメモリ12の制御情報域に、媒体の位置決
め情報(シークアドレス、レコードアドレス、等)等の
制御情報を書込むと共に、該メモリ12のデータ域に、
ライトデータを書込む。
[0022] The device controller 10 controls the device 1
Control information such as medium positioning information (seek address, record address, etc.) is written in the control information area of a memory 12 provided in the memory 12, and at the same time,
Write write data.

【0023】その後、デバイスコントローラ10は、デ
バイス11の動作開始とともに、デバイスをつき放す。
Thereafter, the device controller 10 releases the device when the device 11 starts operating.

【0024】デバイス11は、メモリ12上の制御情報
を読出して媒体の位置決めを行い、該メモリ12上のデ
ータ域からデータを取出して、媒体への書込みを行う。
The device 11 reads control information from the memory 12 to position the medium, retrieves data from the data area on the memory 12, and writes the data to the medium.

【0025】この処理が完了すると、デバイス11から
デバイスコントローラ10に対し、割込みにより処理完
了通知を出す。
When this process is completed, the device 11 issues a process completion notification to the device controller 10 by interrupt.

【0026】また、デバイスコントローラ10が、上位
装置からデータリードの処理依頼を受けた場合は、次の
ようにする。
Further, when the device controller 10 receives a data read processing request from a higher-level device, the following steps are performed.

【0027】先ず、デバイスコントローラ10により、
上記メモリ12の制御情報域に、制御情報を書き込み、
デバイス11をつき放す(この場合、データ域への書込
みはない)。
First, the device controller 10
writing control information into the control information area of the memory 12;
Leave the device 11 alone (in this case, there is no writing to the data area).

【0028】デバイス11は、媒体への位置決めを行っ
た後、媒体からデータを読出し、メモリ12のデータ域
に格納する。
After positioning to the medium, the device 11 reads data from the medium and stores it in the data area of the memory 12.

【0029】その後、デバイス11からデバイスコント
ローラ10に対し、割込みで処理完了を通知する。こり
通知を受けたデバイスコントローラ10では、上記メモ
リ12からリードしたデータを読出す。
Thereafter, the device 11 notifies the device controller 10 of the completion of processing by an interrupt. The device controller 10 that has received the failure notification reads the read data from the memory 12.

【0030】このようにすれば、デバイスコントローラ
10とデバイス10との結合時間を短縮できると共に、
両者間のデータ転送速度は、デバイスの転送速度でなく
、メモリの転送速度で行うことができ、データ転送速度
が高速化できる。
[0030] In this way, the time required to connect the device controller 10 and the device 10 can be shortened, and
The data transfer speed between the two can be performed at the memory transfer speed rather than the device transfer speed, and the data transfer speed can be increased.

【0031】また、複数CPUからのアクセス時には、
パス識別情報(CPUID)を、メモリ12に書込んで
おくことにより、デバイスつき放し後の再結合時に、パ
スの決定が速くできる。
[0031] Also, when accessing from multiple CPUs,
By writing the path identification information (CPUID) in the memory 12, the path can be determined quickly when reconnecting after the device is released.

【0032】このため、前期再結合時に、デバイスコン
トローラ10のオーバヘッド(データ処理に付随した内
部処理のための処理時間)が軽減できる。
Therefore, the overhead (processing time for internal processing associated with data processing) of the device controller 10 can be reduced during the initial recombination.

【0033】[0033]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2〜図5は、本発明の1実施例を示した図であ
り、図2は磁気ディスクシステムの構成図、図3は、磁
気ディスク装置の構成図、図4はメモリの説明図、図5
は多重動作時のタイムチャートである。
Embodiments Hereinafter, embodiments of the present invention will be explained based on the drawings. 2 to 5 are diagrams showing one embodiment of the present invention, in which FIG. 2 is a configuration diagram of a magnetic disk system, FIG. 3 is a configuration diagram of a magnetic disk device, and FIG. 4 is an explanatory diagram of a memory. 5
is a time chart during multiple operation.

【0034】図中、図1、図6、図7と同符号は、同一
のものを示す。また、5ー1,5ー2は磁気ディスク装
置、13はインターフェイス(IF)、14,15は自
動データ転送回路(ADT)、16はMPU、17はコ
ントロールストレッジ(CS)、18は直並列変換回路
、19は可変周波発振器、20はアクセスコントローラ
、21はボイスコイルモータ(VCM)、22はDAS
D(メカ)、23はクロック発生回路を示す。
In the drawings, the same reference numerals as in FIGS. 1, 6, and 7 indicate the same parts. Also, 5-1 and 5-2 are magnetic disk devices, 13 is an interface (IF), 14 and 15 are automatic data transfer circuits (ADT), 16 is an MPU, 17 is a control storage (CS), and 18 is a serial/parallel converter. circuit, 19 is a variable frequency oscillator, 20 is an access controller, 21 is a voice coil motor (VCM), 22 is a DAS
D (mechanical), 23 indicates a clock generation circuit.

【0035】この実施例は、図1に示したデバイス11
として、磁気ディスク装置を用い、デバイスコントロー
ラ10として、磁気ディスク制御装置を用いた例である
This embodiment uses the device 11 shown in FIG.
In this example, a magnetic disk device is used as the device controller 10, and a magnetic disk control device is used as the device controller 10.

【0036】磁気ディスクシステムは、図2に示したよ
うに、磁気ディスク制御装置4と、磁気ディスク装置5
ー1,5ー2等で構成される。また、この磁気ディスク
システムには、2台のCPU1,2が接続されており、
磁気ディスク制御装置4には、バッファメモリ8が設け
られている。
As shown in FIG. 2, the magnetic disk system includes a magnetic disk controller 4 and a magnetic disk device 5.
-1, 5-2, etc. Also, two CPUs 1 and 2 are connected to this magnetic disk system.
The magnetic disk control device 4 is provided with a buffer memory 8 .

【0037】各磁気ディスク装置5ー1,5ー2には、
それぞれメモリ12が設けられており、このメモリ12
を介して、磁気ディスク装置と磁気ディスク制御装置間
でデータ転送を行う。
Each magnetic disk device 5-1, 5-2 includes:
A memory 12 is provided for each, and this memory 12
Data is transferred between the magnetic disk device and the magnetic disk control device via the .

【0038】各磁気ディスク装置5ー1,5ー2は、そ
れぞれ図3のように構成されている。
Each of the magnetic disk drives 5-1 and 5-2 is constructed as shown in FIG.

【0039】図3に示したように、各磁気ディスク装置
には、メモリ12、インターフェイス回路(IF)13
、自動データ転送回路(ADT)14,15、MPU1
6、コントロールストレッジ(CS)17、直並列変換
回路18、可変周波発振器(VFO)19、アクセスコ
ントローラ20、ボイスコイルモータ(VCM)21、
DASD(メカ)22、クロツク発生回路23を設ける
As shown in FIG. 3, each magnetic disk drive includes a memory 12 and an interface circuit (IF) 13.
, automatic data transfer circuit (ADT) 14, 15, MPU1
6, control storage (CS) 17, serial/parallel conversion circuit 18, variable frequency oscillator (VFO) 19, access controller 20, voice coil motor (VCM) 21,
A DASD (mechanical) 22 and a clock generation circuit 23 are provided.

【0040】上記コントロールストレッジ(CS)17
は、制御用プログラム等を格納しておくものであり、M
PU16は、このプログラムを用いて各種の処理を行う
[0040] The control storage (CS) 17
is for storing control programs, etc., and M
The PU 16 performs various processes using this program.

【0041】クロック発生回路23は、磁気ディスク装
置内の各部にクロックを供給するものであり、アクセス
コントローラ20は、MPU16からの指示を受けて、
ボイスコイルモータ21に制御信号を送るものである。
The clock generation circuit 23 supplies clocks to various parts within the magnetic disk device, and the access controller 20 receives instructions from the MPU 16, and
It sends a control signal to the voice coil motor 21.

【0042】ボイスコイルモータ(VCM)21は、D
ASD(メカ)22をドライブするモータである。直並
列変換回路18は、媒体へ書き込むデータや、媒体から
読出したデータの直並列交換を行うものである。
[0042] The voice coil motor (VCM) 21 is
This is a motor that drives the ASD (mechanical) 22. The serial-to-parallel conversion circuit 18 performs serial-to-parallel exchange of data written to a medium and data read from a medium.

【0043】自動データ転送回路14は、磁気ディスク
制御装置との間のデータ転送や、内部のデータ転送を行
うものであり、自動データ転送回路15は、メモリ12
に対するデータ転送を行うものである。
The automatic data transfer circuit 14 transfers data to and from the magnetic disk control device and internal data transfer, and the automatic data transfer circuit 15 transfers data between the memory 12 and the magnetic disk controller.
It is used to transfer data to.

【0044】メモリ12は、媒体の位置決め情報や、そ
の他の制御情報、及び媒体に書込むデータと媒体から読
出したデータ等を格納するバッファメモリである。以下
、図4に基づき、メモリ12の構成を説明する。
The memory 12 is a buffer memory that stores positioning information of the medium, other control information, data written to the medium, data read from the medium, and the like. The configuration of the memory 12 will be described below based on FIG. 4.

【0045】図4の(A)はメモリ12内の構成を示し
、(B)は、タスク制御ブロックの構成を示した図であ
る。メモリ12には、制御情報域と、データ域とを設け
ておく。このデータ域は、媒体への書込みデータや、媒
体から読出したデータを格納する領域である。
FIG. 4A shows the internal structure of the memory 12, and FIG. 4B shows the structure of the task control block. The memory 12 is provided with a control information area and a data area. This data area is an area for storing data written to the medium and data read from the medium.

【0046】また、制御情報域には、媒体に対する位置
決め情報等を書込んでおくが、通常の場合、1つの処理
に対し1つのタスク制御ブロック(TCBという)を生
成して、前記制御情報域に書込む
Further, positioning information for the medium, etc. is written in the control information area, but normally, one task control block (referred to as TCB) is generated for one process, and the control information area is write to

【0047】前記タスク制御ブロック(TCB)の構成
は、図4の(B)に示したようになっていて、このタス
ク制御ブロック毎に、必要なリード/ライトデータに対
するデータ域を割当てる(割当てられない場合は、デバ
イスビジィを応答する)。
The configuration of the task control block (TCB) is as shown in FIG. 4B, and a data area for necessary read/write data is allocated to each task control block. If not, respond device busy).

【0048】タスク制御ブロックには、「前リンク」と
「後リンク」があり、複数のTCBの配列を、順序づけ
るものである。
The task control block has a "front link" and a "back link", which order the arrangement of a plurality of TCBs.

【0049】「CPU(チャネルパス)ID」は、パス
識別情報であり、チャネルと磁気ディスク制御装置の再
結合のため、どのチャネルパスと再結合すべきかを保持
するものである。
[0049] "CPU (channel path) ID" is path identification information, and holds which channel path should be recombined in order to recombine the channel and the magnetic disk control device.

【0050】「オペレーションコード」は、リード、ラ
イト動作のほかに、位置づけレコードと、リード/ライ
トレコードの関係や、フォーマットライトなどの指定を
行うものである。
In addition to read and write operations, the "operation code" specifies the relationship between positioning records and read/write records, format writing, and the like.

【0051】「データ長/レコード数」は、処理するレ
コードのキー長、データ長と、処理するレコード数を表
す。例えば、データ長100バイトのレコードを3つ処
理する時は、メモリ域(バッファ域)が300バイト必
要である。
"Data length/number of records" represents the key length and data length of the record to be processed, and the number of records to be processed. For example, when processing three records with a data length of 100 bytes, a memory area (buffer area) of 300 bytes is required.

【0052】「エラー情報」は、リード/ライト処理、
位置づけ処理中に発生したエラーを、磁気ディスク制御
装置に通知するためのものであり、磁気ディスク装置の
MPU16によって書き込まれるものである。
[0052] "Error information" includes read/write processing,
This is used to notify the magnetic disk control device of an error that has occurred during positioning processing, and is written by the MPU 16 of the magnetic disk device.

【0053】「R/Wバッファアドレス1・・・N」は
、リード/ライト用に割当てたデータ域のアドレスであ
る。
"R/W buffer address 1...N" is the address of the data area allocated for read/write.

【0054】以下、図5のタイムチャートに基づき、上
記実施例のデータ転送制御方法を説明する。
The data transfer control method of the above embodiment will be explained below based on the time chart of FIG.

【0055】この実施例の磁気ディスクシステムでは、
磁気ディスク装置のシーク動作、及び回転待ちの間は、
次のリードあるいはライトの動作の受付けと、前のリー
ド動作のデータ転送、及び前のライト動作の完了通知(
報告)を行うことにより、多重動作を行うことができる
In the magnetic disk system of this embodiment,
During the seek operation of the magnetic disk device and while waiting for rotation,
Acceptance of the next read or write operation, data transfer of the previous read operation, and completion notification of the previous write operation (
multiplexed operations can be performed.

【0056】また、磁気ディスク制御装置4は、すべて
のメモリ12上のデータをリード/ライトできるので、
上記タスク制御ブロック(TCB)の書込み、リード/
ライトデータのリード/ライト、割込み時のCPUID
(チャネルパス)の読出しなどを行う。
Furthermore, since the magnetic disk control device 4 can read/write data on all memories 12,
Writing and reading of the above task control block (TCB)
CPU ID when reading/writing write data and interrupts
(channel path), etc.

【0057】磁気ディスク装置5ー1,5ー2では、磁
気ディスク制御装置4からの動作開始を、TCBアドレ
スとして受付け、その後メモリ12上の領域を割当て、
エラーリトライと、情報の書込みや、媒体の位置決めと
リード/ライト、及び処理完了の割込みを行う。
The magnetic disk devices 5-1 and 5-2 accept the operation start from the magnetic disk control device 4 as a TCB address, then allocate an area on the memory 12, and
Performs error retry, information writing, medium positioning and read/write, and processing completion interrupt.

【0058】図5では、上位装置であるチャネルの1つ
をチャネルA(CHA)とし、他方のチャネルをチャネ
ルB(CHB)として示してある。また、図の横方向を
時間軸として示してある。
In FIG. 5, one of the channels of the host device is shown as channel A (CHA), and the other channel is shown as channel B (CHB). Further, the horizontal direction of the figure is shown as a time axis.

【0059】今、チャネルAからデータの書込み依頼が
あったとする。この場合、先ず、チャネルAから磁気デ
ィスク制御装置4に対して、ライトコマンドと、ライト
データを転送する。この時のデータ転送速度は、例えば
、9MB/sec であるとする。
Assume that there is now a data write request from channel A. In this case, first, a write command and write data are transferred from channel A to the magnetic disk control device 4. It is assumed that the data transfer rate at this time is, for example, 9 MB/sec.

【0060】この処理依頼を受けた磁気ディスク制御装
置4では、これらのコマンドとデータを磁気ディスク装
置へ送り、メモリ12上に書き込む。
Upon receiving this processing request, the magnetic disk control device 4 sends these commands and data to the magnetic disk device and writes them onto the memory 12.

【0061】この場合のデータ転送速度は9MB/se
c とする。これらの処理が時刻t1 からt2 まで
かかったとすると、t2 で磁気ディスク制御装置4か
らチャネルAに対し、チャネル終了を通知する。
[0061] The data transfer rate in this case is 9MB/se.
c. Assuming that these processes take from time t1 to time t2, at t2 the magnetic disk control device 4 notifies channel A of the end of the channel.

【0062】磁気ディスク装置では、メモリ12上から
制御情報を読出して、データライトのポジショニングを
行う(この間、メカは停止している)。
The magnetic disk device reads control information from the memory 12 and performs positioning for data writing (during this time, the mechanism is stopped).

【0063】なお、磁気ディスク装置の動作開始ととも
に、磁気ディスク制御装置4では、磁気ディスク装置を
つき放す。
[0063] When the operation of the magnetic disk device starts, the magnetic disk control device 4 releases the magnetic disk device.

【0064】次に、チャネルBからのリード処理依頼が
あったとする。この場合、先ずスタートI/O(SLO
)が送られてくる。磁気ディスク制御装置4では、リー
ドTCBを作成して、メモリ12上の制御情報域に格納
する。
Next, assume that there is a read processing request from channel B. In this case, first start I/O (SLO
) will be sent. The magnetic disk control device 4 creates a read TCB and stores it in the control information area on the memory 12.

【0065】この時、データは空のまま、磁気ディスク
装置をつき放すと共に、CHBに対し、リトライ要求を
出す。
At this time, the magnetic disk device is left empty with no data, and a retry request is issued to the CHB.

【0066】時刻t3 になって、ライトポジショニン
グのシーク動作が完了すると、メモリ12からライトデ
ータ(CHAからの依頼データ)を読出して、媒体に書
き込む。
At time t3, when the seek operation for write positioning is completed, the write data (request data from the CHA) is read from the memory 12 and written to the medium.

【0067】この時のデータ書込み速度は、例えば4.
5 MB/secである。このデータ書込みが時刻t4
 で完了すると、磁気ディスク装置から、磁気ディスク
制御装置4に対して、割込みを発生し、処理完了通知を
行う。
The data writing speed at this time is, for example, 4.
5 MB/sec. This data writing is at time t4.
When the process is completed, the magnetic disk device generates an interrupt to the magnetic disk control device 4 and notifies the magnetic disk control device 4 of the completion of the process.

【0068】この割込み通知を受けた磁気ディスク制御
装置では、メモリ12上からCPUIDをリードし、依
頼先のチャネルに対し、デバイス終了を通知する。
[0068] Upon receiving this interrupt notification, the magnetic disk control device reads the CPU ID from the memory 12 and notifies the requested channel of device termination.

【0069】また、上記データライトが完了した磁気デ
ィスク装置では、チャネルBからのリード依頼の処理を
開始し、リードのポジショニングを行う。
Further, the magnetic disk device that has completed the data writing starts processing the read request from channel B, and performs read positioning.

【0070】その後、時刻t5 において、リードのシ
ーク動作が完了すると、直ちに媒体から所定のデータを
リードし、(4.5 MB/sec )、メモリ12の
データ域に格納する。
Thereafter, at time t5, when the read seek operation is completed, predetermined data is immediately read from the medium (4.5 MB/sec) and stored in the data area of the memory 12.

【0071】このデータリードが完了すると、割込みに
より、磁気ディスク制御装置4に対して、処理の完了通
知を行う。その後、磁気ディスク制御装置4がメモリ1
2からCPUIDをリードし、チャネルBにリトライ完
了を通知すると共に、メモリ12からリードデータを読
出してチャネルBへ転送する(9MB/sec )。
When this data read is completed, the magnetic disk controller 4 is notified of the completion of the process by an interrupt. After that, the magnetic disk control device 4
2 and notifies channel B of the retry completion, and reads read data from memory 12 and transfers it to channel B (9 MB/sec).

【0072】このようにして、メモリ12を介し、磁気
ディスクと磁気ディスク制御装置間でデータ転送を行う
ことができる。なお、磁気ディスク装置が複数台接続し
てある場合は、各装置毎に同様の処理を行う。
In this way, data can be transferred between the magnetic disk and the magnetic disk control device via the memory 12. Note that if a plurality of magnetic disk devices are connected, the same process is performed for each device.

【0073】この例では、磁気ディスク装置のデータ転
送速度(4.5 MB/sec )は、磁気ディスク制
御装置とメモリ12間のデータ転送速度(9MB/se
c)の半分である。従って、これらのデータ転送を切離
して行えば、全システムとしてのスループット向上が可
能となる。
In this example, the data transfer rate of the magnetic disk device (4.5 MB/sec) is the same as the data transfer rate of the magnetic disk controller and the memory 12 (9 MB/sec).
It is half of c). Therefore, by performing these data transfers separately, it is possible to improve the throughput of the entire system.

【0074】以上実施例について説明したが、本発明は
次のようにしても実施可能である。
Although the embodiments have been described above, the present invention can also be implemented as follows.

【0075】(1)磁気ディスク制御装置に接続する磁
気ディスク装置の数は、任意の数でよい。この場合、各
磁気ディスク装置を、図3のように構成しておく。
(1) Any number of magnetic disk devices may be connected to the magnetic disk control device. In this case, each magnetic disk device is configured as shown in FIG.

【0076】(2)磁気ディスクシステム以外にも、同
等なシステムに適用可能である。
(2) In addition to magnetic disk systems, the present invention can be applied to equivalent systems.

【0077】(3)磁気ディスク制御装置に接続する上
位CPUの数も2つに限らず、任意の数でよい。
(3) The number of host CPUs connected to the magnetic disk control device is not limited to two, but may be any number.

【0078】[0078]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。
[Effects of the Invention] As explained above, the present invention has the following effects.

【0079】(1)デバイスと、デバイスコントローラ
間のデータ転送は、メモリの転送速度で行うことができ
るから、データ転送速度が速くなる。
(1) Data transfer between the device and the device controller can be performed at the transfer speed of the memory, so the data transfer speed becomes faster.

【0080】(2)また、デバイスのつき放しにより、
デバイスと、デバイスコントローラ間の結合時間を短く
できる。
(2) Also, by leaving the device on,
The connection time between the device and the device controller can be shortened.

【0081】(3)パス識別情報(CPUID)を使用
することにより、再結合時のパス決定が簡単にでき、デ
バイスコントローラのオーバヘッドを軽減できる。
(3) By using path identification information (CPUID), paths can be easily determined during recombination, and the overhead of the device controller can be reduced.

【0082】(4)上記の理由により、デバイスコント
ローラとデバイスとのパスのビジィ率を低下させること
ができ、システムのスループットが向上する。
(4) For the above reasons, the busy rate of the path between the device controller and the device can be reduced, and the system throughput can be improved.

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

【図1】本発明の原理図である。FIG. 1 is a diagram showing the principle of the present invention.

【図2】本発明の実施例における磁気ディスクシステム
の構成図である。
FIG. 2 is a configuration diagram of a magnetic disk system in an embodiment of the present invention.

【図3】磁気ディスク装置の構成図である。FIG. 3 is a configuration diagram of a magnetic disk device.

【図4】メモリの説明図である。FIG. 4 is an explanatory diagram of a memory.

【図5】多重動作時のタイムチャートである。FIG. 5 is a time chart during multiple operations.

【図6】従来の磁気ディスクシステムの構成図である。FIG. 6 is a configuration diagram of a conventional magnetic disk system.

【図7】従来のメモリ配置の説明図である。FIG. 7 is an explanatory diagram of a conventional memory arrangement.

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

10  デバイスコントローラ 11  デバイス 12  メモリ ADP  アダプタ 5ー1,5ー2  磁気ディスク装置 10 Device controller 11 Device 12 Memory ADP adapter 5-1, 5-2 Magnetic disk device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  デバイス(11)と、該デバイスを制
御するデバイスコントローラ(10)とから成るシステ
ムのデータ転送制御方法において、上記デバイス(11
)内に、媒体の位置決め情報等の制御情報を格納する制
御情報域と、リード/ライトデータを格納するデータ域
とを有するメモリ(12)を設けておき、デバイスコン
トローラ(10)では、上位装置からの処理依頼を受け
た際、上記メモリ(12)への制御情報等の書込みを行
った後、デバイス(11)をつき放し、デバイス(11
)では、デバイスコントローラ(10)によって書込ん
だ、上記メモリ(12)上の制御情報等を用いて処理を
行い、処理結果をメモリ(12)に書込んだ後、デバイ
スコントローラ(10)に対し、割込みで処理完了通知
を行うことにより、上記メモリ(12)を介して、デバ
イスコントローラ(10)とデバイス(11)間のデー
タ転送を行うようにしたことを特徴とするデータ転送制
御方法。
1. A data transfer control method for a system comprising a device (11) and a device controller (10) that controls the device, comprising:
) is provided with a memory (12) having a control information area for storing control information such as media positioning information and a data area for storing read/write data. When a processing request is received from the device (11), the device (11) is left open after writing control information etc. to the memory (12).
) performs processing using the control information, etc. on the memory (12) written by the device controller (10), writes the processing result to the memory (12), and then sends the data to the device controller (10). . A data transfer control method, characterized in that data is transferred between a device controller (10) and a device (11) via the memory (12) by notifying processing completion using an interrupt.
【請求項2】  複数CPUからアクセスされた場合、
上記メモリ(12)上の制御情報として、パス識別情報
(CPUID)を書込んでおき、デバイスつき放し後の
再結合時に、デバイスコントローラ(10)では、上記
パス識別情報を読出して、パスの決定を行うことを特徴
とした上記請求項1記載のデータ転送制御方法。
[Claim 2] When accessed from multiple CPUs,
Path identification information (CPUID) is written as control information on the memory (12), and when recombining after the device is released, the device controller (10) reads the path identification information and determines the path. 2. The data transfer control method according to claim 1, further comprising: performing the following steps.
JP3031895A 1991-01-31 1991-01-31 Data transfer control method Expired - Fee Related JP2732951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3031895A JP2732951B2 (en) 1991-01-31 1991-01-31 Data transfer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3031895A JP2732951B2 (en) 1991-01-31 1991-01-31 Data transfer control method

Publications (2)

Publication Number Publication Date
JPH04245522A true JPH04245522A (en) 1992-09-02
JP2732951B2 JP2732951B2 (en) 1998-03-30

Family

ID=12343754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3031895A Expired - Fee Related JP2732951B2 (en) 1991-01-31 1991-01-31 Data transfer control method

Country Status (1)

Country Link
JP (1) JP2732951B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04162126A (en) * 1990-10-26 1992-06-05 Hitachi Ltd Storage device with buffer, controller, and storage device subsystem

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04162126A (en) * 1990-10-26 1992-06-05 Hitachi Ltd Storage device with buffer, controller, and storage device subsystem

Also Published As

Publication number Publication date
JP2732951B2 (en) 1998-03-30

Similar Documents

Publication Publication Date Title
US6272571B1 (en) System for improving the performance of a disk storage device by reconfiguring a logical volume of data in response to the type of operations being performed
US7318122B2 (en) Disk array control device with an internal connection system for efficient data transfer
JPH05502314A (en) Data transfer method
US20020184443A1 (en) Disk array device with selectable method for generating redundant data
JP2000148604A (en) Method for controlling storage devices
JP2000181773A (en) Storage device system
US6735672B2 (en) Data storage array device and data access method
US6925511B2 (en) Disk array control apparatus and control data transfer method using the same
JPH07281840A (en) Dual-disk recording device
JPH07225715A (en) Method and system for accessing data in cache
US5313640A (en) Method and system for the efficient response to multiple different types of interrupts
JPS62119626A (en) Multiplex control system for magnetic disc
US5875458A (en) Disk storage device
JP2732951B2 (en) Data transfer control method
JP3428350B2 (en) Storage system
JPH01140326A (en) Magnetic disk device
JPH05289818A (en) Disk array control system
JPS6027014A (en) Magnetic disk controller
JP2755103B2 (en) Storage device access method
JP2004139482A (en) Method for monitoring and setting command processing time of magnetic disk control device
JPH04346123A (en) Data transfer device
JPS6041123A (en) Magnetic disc control device
JPH09305330A (en) Disk array system
JPH1153292A (en) Storage device subsystem
JPH0122656B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971209

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071226

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees