JPH04225444A - Data buffer read/write control system - Google Patents

Data buffer read/write control system

Info

Publication number
JPH04225444A
JPH04225444A JP2407716A JP40771690A JPH04225444A JP H04225444 A JPH04225444 A JP H04225444A JP 2407716 A JP2407716 A JP 2407716A JP 40771690 A JP40771690 A JP 40771690A JP H04225444 A JPH04225444 A JP H04225444A
Authority
JP
Japan
Prior art keywords
data
write
data buffer
segment
magnetic disk
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.)
Withdrawn
Application number
JP2407716A
Other languages
Japanese (ja)
Inventor
Masaki Saito
斎藤 雅樹
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 JP2407716A priority Critical patent/JPH04225444A/en
Publication of JPH04225444A publication Critical patent/JPH04225444A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To attain the DMA transfer of data at a high speed by dividing a data buffer into plural segments and using one of these segment just to store the write data transferred from a host device at the time of reception of a write request. CONSTITUTION:A write data-only segment is provided to a data buffer part 3 and therefore the data once read out is never written on the data transferred with a write command even if the read commands are continuously requested by a magnetic disk device 4 together with a write command. Thus the corresponding data is stored in the part 3 for each read command and a series of data transfer operations can be smoothly carried out with no mechanical action requested to the device 4.

Description

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

【0001】0001

【産業上の利用分野】本発明はホスト装置と磁気ディス
ク装置の間に接続される磁気ディスク制御装置内に設け
られたデータバッファの読出し/書込み制御方式に関し
、特に、パーソナルコンピュータに用いられる小型磁気
ディスク装置において、リングバッファ機能を備え、D
MA転送に使用されるデータバッファの読出し/書込み
制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a read/write control method for a data buffer provided in a magnetic disk control device connected between a host device and a magnetic disk device, and in particular, to In a disk device, equipped with a ring buffer function, D
The present invention relates to a read/write control method for a data buffer used in MA transfer.

【0002】近年、コンピュータ・システムのパーソナ
ル化に伴い、磁気ディスク装置も小型化されつつあり、
本来、外部記憶装置として使用されてきた磁気ディスク
装置がパーソナルコンピュータに内蔵されるようになっ
てきた。また、磁気ディスク装置は小型化の要求の他に
データ転送の高速化が要求されており、さらに、画像処
理のために大容量化が要求されている。
In recent years, with the personalization of computer systems, magnetic disk drives have also become smaller.
Magnetic disk drives, which were originally used as external storage devices, have come to be built into personal computers. In addition to the demand for smaller size, magnetic disk drives are also required to have faster data transfer speeds, and are also required to have larger capacities for image processing.

【0003】磁気ディスク装置のデータ転送を高速化す
る場合に、リードアヘッドキャッシュ機能とリングバッ
ファ機能を用いて一度読み出したデータを極力消去せず
にデータバッファ内に保持し、磁気ディスク装置の機械
的な動作を介在させることなく高速にデータ転送が可能
な技術が既に実現している。ここで、リードアヘッドキ
ャッシュ機能とは磁気ディスク制御装置内のデータバッ
ファに対してマイクロプロセッサ(MPU)が介在する
ことなく、ホスト装置(CPU)から指定された範囲よ
り多くのデータを予めデータバッファに読ませておく機
能である。また、リングバッファ機能とはデータバッフ
ァのアドレス範囲があたかも無限ループであるかのよう
にエンドレスに指定できる機能である。
[0003] When speeding up data transfer in a magnetic disk device, the read-ahead cache function and ring buffer function are used to retain read data in the data buffer without erasing it as much as possible, thereby reducing the mechanical speed of the magnetic disk device. Technology that enables high-speed data transfer without intervening operations has already been realized. Here, the read-ahead cache function refers to the read-ahead cache function, which stores more data than the specified range from the host device (CPU) in advance into the data buffer without the intervention of the microprocessor (MPU) in the data buffer in the magnetic disk control device. This is a function that allows you to read it. Furthermore, the ring buffer function is a function that allows the address range of the data buffer to be specified endlessly as if it were an infinite loop.

【0004】0004

【従来の技術】図5は従来の磁気ディスク制御装置のデ
ータバッファ部の構成図である。図示のようにデータバ
ッファ部を複数のセグメント1〜4に分割し、制御部は
各セグメント毎にリングバッファ機能を取り込んで制御
及び管理している。即ち、磁気ディスク制御装置ではこ
のデータバッファ部に、ホスト装置からの要求により磁
気ディスク装置から読み出されたデータを、その都度そ
れぞれのセグメントに格納するようにして、一度磁気デ
ィスク装置から読み出されたデータを格納しておき、ホ
スト装置の要求に応じてデータを転送する。
2. Description of the Related Art FIG. 5 is a block diagram of a data buffer section of a conventional magnetic disk control device. As shown in the figure, the data buffer section is divided into a plurality of segments 1 to 4, and the control section takes in the ring buffer function for each segment to control and manage it. That is, in the magnetic disk control device, the data read from the magnetic disk device in response to a request from the host device is stored in each segment in this data buffer unit, and once the data is read from the magnetic disk device, the data is stored in each segment. It stores the data and transfers the data in response to a request from the host device.

【0005】このデータ転送が終了した後に、データバ
ッファ部の各セグメントには、リードアヘッドキャッシ
ュ機能とリングバッファ機能によりホスト装置が指定し
た量だけ予めデータの先読みが行われ、ホスト装置が要
求した以上のデータを格納する。このように、磁気ディ
スク装置のデータを各セグメントに先読みして格納して
おくことにより、ホスト装置が一度磁気ディスク装置か
ら読み出し、また、その先を読み出すようなときに、磁
気ディスク装置の機械的動作が全く不要になるので高速
にデータ転送することができる。
[0005] After this data transfer is completed, each segment of the data buffer section is pre-read by the amount specified by the host device using the read-ahead cache function and the ring buffer function. Store the data of. In this way, by pre-reading and storing the data of the magnetic disk device in each segment, when the host device reads from the magnetic disk device once and then reads the data beyond that, the magnetic disk device's mechanical Since no operation is required, data can be transferred at high speed.

【0006】[0006]

【発明が解決しようとする課題】ところで、ホスト装置
から磁気ディスク装置に要求されるデータには、磁気デ
ィスク装置からの読み出しだけではなく磁気ディスク装
置への書込みも要求される。この場合、図5に示したデ
ータバッファ部にはセグメント1〜4の全てのセグメン
トに対して一度ホスト装置にデータが転送される。
By the way, data requested from a host device to a magnetic disk device requires not only reading from the magnetic disk device but also writing to the magnetic disk device. In this case, data is transferred once to the host device for all segments 1 to 4 to the data buffer shown in FIG.

【0007】また、次の読み出し要求に対処するための
先読みデータをリードアヘッドキャッシュ機能により保
持している場合にはこれらの先読みデータに対しても、
ホスト装置から転送されてきた書込みデータが先読みデ
ータに上に上書きされてしまい、次の読み出し要求に対
処するために格納していた先読みデータが無効になって
しまうことがある。そのため、再び機械的動作を行い磁
気ディスク装置からデータバッファ部に再度同じデータ
を読み出す必要があり、そのため非常に性能の低下を来
している。
[0007] Furthermore, when pre-read data for dealing with the next read request is held by the read-ahead cache function, these pre-read data are also
The write data transferred from the host device may overwrite the pre-read data, and the pre-read data stored in order to handle the next read request may become invalid. Therefore, it is necessary to perform a mechanical operation again to read the same data from the magnetic disk device to the data buffer section, resulting in a significant drop in performance.

【0008】このように、ホスト装置から磁気ディスク
装置に対して読出しや書込みの要求が混在して要求され
た場合に、前に磁気ディスク装置からデータバッファ部
に読み出したデータが、次の書込み要求による書込みデ
ータにより上書きされ消去されてしまう。従って、再度
、磁気ディスク装置の機械的動作を含むような読出し要
求があった場合には、大幅な性能の低下を引き起こす恐
れがあった。
[0008] In this way, when the host device makes mixed read and write requests to the magnetic disk device, the data previously read from the magnetic disk device to the data buffer section is used in the next write request. will be overwritten and erased by the write data. Therefore, if there is a read request that involves mechanical operation of the magnetic disk device again, there is a risk that a significant drop in performance will occur.

【0009】本発明の目的は、磁気ディスク制御装置の
データバッファ部を複数のセグメントに分割し、その内
の1つのセグメントを書込み専用セグメントに指定し、
ホスト装置からの書込み要求時にはホスト装置から転送
されてくる書込みデータを格納するためにだけ使用し、
以前に磁気ディスク装置から読み出したデータに対して
は極力上書きしないで格納しておくようにして、DMA
転送の高速化を図ることにある。
An object of the present invention is to divide a data buffer section of a magnetic disk controller into a plurality of segments, designate one segment as a write-only segment,
When a write request is made from the host device, it is used only to store the write data transferred from the host device.
Data previously read from a magnetic disk device should be stored without being overwritten as much as possible,
The purpose is to speed up transfer.

【0010】0010

【課題を解決するための手段】図1は本発明の原理構成
図である。本発明は、ホスト装置と磁気ディスク装置と
の間に接続されこれらの間のデータ転送の制御を行う磁
気ディスク制御装置に設けられるデータバッファにおい
て、該データバッファを複数のセグメントに分割し、各
セグメントの書込み/読出しをリングバッファ機能によ
り制御するデータバッファの読出し/書込み制御方式で
あって、図示のように、分割された複数のセグメントの
内の1つを書込み専用のセグメントとして割り当て、ホ
スト装置から磁気ディスク装置へ書込み要求があったと
きは、この書込み専用セグメントに一時書き込むように
する。そして、データバッファ部にこの書込み専用セグ
メントを設定するために、マイクロプロセッサと制御部
を接続する設定プラグを短絡する。
[Means for Solving the Problems] FIG. 1 is a diagram showing the basic configuration of the present invention. The present invention provides a data buffer provided in a magnetic disk control device that is connected between a host device and a magnetic disk device and controls data transfer between these, in which the data buffer is divided into a plurality of segments, and each segment This data buffer read/write control method uses a ring buffer function to control writing/reading of a data buffer, and as shown in the figure, one of the divided segments is allocated as a write-only segment, and the host device When a write request is made to the magnetic disk device, temporary writing is performed in this write-only segment. Then, in order to set this write-only segment in the data buffer section, the setting plug connecting the microprocessor and the control section is short-circuited.

【0011】[0011]

【作用】本発明では、ホスト装置から読出し要求や書込
み要求が混在した命令が送られてきた場合に、その内の
書込み要求により転送されてきた書込みデータは、デー
タバッファ部書込みデータ専用のセグメントに格納され
る。従って、前に磁気ディスク装置から読み出したデー
タが、この書込みデータにより上書きされる場合が非常
に減少し、保持しているデータの有効利用率が向上し、
従って、ホスト装置と磁気ディスク装置間のデータ転送
を高速化することができる。そして、書込み要求よりも
読出し要求の方が比較的多いシステムであれば、書込み
命令が多く発行されてもデータバッファ部に格納されて
いるデータは破壊される危険性が著しく少なくなるため
、非常に効率的なデータ転送が実現できる。
[Operation] According to the present invention, when a host device sends an instruction including a read request and a write request, the write data transferred due to the write request is stored in the data buffer section dedicated to the write data segment. Stored. Therefore, the number of cases in which data previously read from the magnetic disk device is overwritten by this written data is greatly reduced, and the effective utilization rate of retained data is improved.
Therefore, it is possible to speed up data transfer between the host device and the magnetic disk device. If the system has relatively more read requests than write requests, the risk of data stored in the data buffer being destroyed is extremely low even if many write commands are issued. Efficient data transfer can be achieved.

【0012】0012

【実施例】図2は本発明を適用する装置構成図である。 本図は磁気ディスク制御装置の要部構成を示している。 図中、1はマイクロプロセッサ(MPU)であり、マイ
クロプログラムを用いて、制御部2の動作制御と、磁気
ディスク装置とホスト装置との間の動作制御を行う。2
は磁気ディスク装置の全体を制御する制御部であり、本
例ではLSIで構成され、データバッファ部3とホスト
装置との間のデータ転送、磁気ディスク装置とホスト装
置との間のデータ転送、磁気ディスク装置からの読出し
データの制御等を行う。3は複数のセグメントで構成さ
れたデータバッファ部である。4は外部記憶装置として
の磁気ディスク装置であり、5はホスト装置からの書込
み等のコマンドとそのデータ転送の入力となるI/Oポ
ート、6は後述する設定プラグ、7はホスト装置(CP
U)である。
Embodiment FIG. 2 is a diagram showing the configuration of an apparatus to which the present invention is applied. This figure shows the main part configuration of a magnetic disk control device. In the figure, a microprocessor (MPU) 1 controls the operation of the control unit 2 and the operation between the magnetic disk device and the host device using a microprogram. 2
is a control unit that controls the entire magnetic disk device, and in this example is composed of an LSI, and is responsible for data transfer between the data buffer unit 3 and the host device, data transfer between the magnetic disk device and the host device, and magnetic disk drive. Controls the data read from the disk device. 3 is a data buffer section composed of a plurality of segments. 4 is a magnetic disk device as an external storage device, 5 is an I/O port for inputting commands such as writing from the host device and data transfer thereof, 6 is a setting plug to be described later, and 7 is a host device (CP
U).

【0013】前述のように、データバッファ部3を制御
部2により4つのセグメントに分割し、その内の1つの
セグメントを書込みデータの格納にのみ使用し、他の3
つのセグメントに読出しデータを保持できるようにして
いるが、設定プラグ6はこの書込み専用セグメントの設
定を行うためのものである。ここで、ホスト装置6とI
/Oポート5の間はSCSIインタフェースの規格に沿
って動作する。
As mentioned above, the data buffer section 3 is divided into four segments by the control section 2, one of which is used only for storing write data, and the other three segments are used only for storing write data.
Although read data can be held in one segment, the setting plug 6 is used to set this write-only segment. Here, the host device 6 and I
/O port 5 operates in accordance with the SCSI interface standard.

【0014】図3はキャッシング・パラメータの構成図
である。複数のセグメントに分割したデータバッファ部
の制御を以下に説明する。このセグメントに分割したバ
ッファ制御はSCSIインタフェース規格ではMODE
,SEL,ECTコマンドのパラメータに定義されてい
るページコード08のキャッシング・ページに準拠する
ものである。SCSIインタフェース規格のキャッシン
グ・パラメータは、図示のように、最小プリフェッチ数
とはデータを先読みする時に最小何ブロックを磁気ディ
スク装置からデータバッファ部に読み出すかの値であり
、最大プリフェッチ数とは先読みする時に最大何ブロッ
クまでを余分に磁気ディスク装置からデータバッファ部
に読み出すかの値である。
FIG. 3 is a configuration diagram of caching parameters. Control of the data buffer unit divided into a plurality of segments will be explained below. This segmented buffer control is specified by MODE in the SCSI interface standard.
, SEL, and ECT command parameters. As shown in the figure, the caching parameters of the SCSI interface standard are as follows: The minimum prefetch number is the minimum number of blocks to be read from the magnetic disk device to the data buffer section when reading data in advance, and the maximum prefetch number is the number of blocks read in advance. This is the maximum number of extra blocks to be read from the magnetic disk device to the data buffer unit at a time.

【0015】キャッシュ・セグメント数はデータバッフ
ァ部を幾つのセグメントに分割するかの指定値であり、
キャッシュ・セグメント・サイズは1つのセグメント当
たりのデータサイズの大きさを指定する。サイズ・ビッ
ト( ”SIZE” )に「1」が指定された場合はパ
ラメータのキャッシュ・セグメント・サイズが適用され
、サイズ・ビット( ”SIZE” )に「0」が指定
された場合はキャッシュ・セグメント数が適用される。
[0015] The number of cache segments is a specified value for how many segments the data buffer section is divided into.
The cache segment size specifies the data size per segment. If "1" is specified in the size bit ("SIZE"), the cache segment size of the parameter is applied, and if "0" is specified in the size bit ("SIZE"), the cache segment size is applied. numbers apply.

【0016】ここで、最大プリフェッチ数がキャッシュ
・セグメント・サイズより大きい値で指定された場合に
は、不当なパラメータ指定としてホスト装置7に対して
これを示すSCSIセンス・データが生成される。磁気
ディスク制御装置ではこれらのパラメータを用いてデー
タバッファ部の制御を行うため、後述のフローチャート
で示すように、ホスト装置はデータ転送を実行する前の
電源起動直後等に、これらのパラメータをデータバッフ
ァ部に転送しておく必要がある。
Here, if the maximum prefetch number is specified as a value larger than the cache segment size, SCSI sense data indicating this to the host device 7 is generated as an invalid parameter specification. The magnetic disk control device uses these parameters to control the data buffer section, so as shown in the flowchart below, the host device uses these parameters in the data buffer section immediately after power-up before data transfer. It is necessary to forward it to the department.

【0017】ところで、図2に示す設定プラグにおいて
、この設定プラグ6は、データバッファ部の1セグメン
トを書込みデータ専用として用いるための条件設定とし
て用いられる。この設定プラグ6の状態(開放、短絡)
は、MPU1から直接の読込みが可能でありMPUによ
る設定状態に従ってデータバッファのセグメント制御が
行われる。この設定プラグでは他にSCSI規格レベル
や先に示したパラメータの処理方式が設定され、磁気デ
ィスク制御装置の他の設定も可能である。
By the way, in the setting plug shown in FIG. 2, this setting plug 6 is used to set a condition for using one segment of the data buffer section exclusively for write data. Status of this setting plug 6 (open, short circuit)
can be directly read from the MPU 1, and segment control of the data buffer is performed according to the setting state by the MPU. This setting plug also sets the SCSI standard level and the parameter processing method shown above, and also allows other settings of the magnetic disk control device.

【0018】この場合、設定プラグ6は、その開放時に
はキャッシング・パラメータのサイズ・ビットとして「
0」が指定され、パラメータ指定値でバッファセグメン
ト制御を実行するものとし、設定プラグ6が短絡時はパ
ラメータのサイズ・ビットとして「1」が指定され、パ
ラメータ指定値に書込み専用セグメント分の1を加えた
値でセグメント制御が行われる。即ち、設定プラグ6が
短絡すると、書込み専用セグメントが設定される。例え
ば、キャッシュ・セグメント数として「3」を指定し、
設定プラグ6では短絡してデータバッファ部3を制御す
る。この場合、データバッファ部3のセグメント構成は
パラメータのキャッシュ・セグメント数に「3」が指定
されているため、書込み専用のセグメントを含めて全部
で4つのセグメントで構成される。
In this case, when the configuration plug 6 is opened, the size bit of the caching parameter is set to "
0" is specified and buffer segment control is executed with the parameter specified value. When the setting plug 6 is short-circuited, "1" is specified as the size bit of the parameter and 1 of the write-only segment is set as the parameter specified value. Segment control is performed using the added value. That is, when the setting plug 6 is short-circuited, a write-only segment is set. For example, if you specify "3" as the number of cache segments,
The setting plug 6 is short-circuited to control the data buffer unit 3. In this case, since "3" is designated as the number of cache segments in the parameter, the segment configuration of the data buffer section 3 is composed of four segments in total including the write-only segment.

【0019】このような構成にした場合に、ホスト装置
7から読出し要求のコマンドを続けて何度も要求され、
しかもその間に書込み要求のコマンドも要求された場合
、一度読み出されたデータは、書込みコマンドで転送さ
れたデータに上書きされることがないので、読出しコマ
ンドの度にデータバッファ部3内に該当するデータが存
在し、磁気ディスク装置4に対して機械的な動作を要求
することが大幅に減少し、データ転送速度を大幅に改善
することができる。
With such a configuration, if the host device 7 requests a read request command many times in succession,
Moreover, if a write request command is also requested during that time, the data that has been read once will not be overwritten by the data transferred by the write command, so the corresponding data will be stored in the data buffer section 3 every time a read command is issued. Since data exists, the requirement for mechanical operation of the magnetic disk device 4 is significantly reduced, and data transfer speed can be significantly improved.

【0020】一方、設定プラグ6を開放しておくと、書
込み専用セグメントが設定されないためにキャッシュ・
セグメント数として「3」を指定すると書込みデータ専
用セグメントを含まない3つのセグメントがデータバッ
ファ部に作られる。これは、設定プラグ6を短絡とした
場合に比べ、1セグメント当たりのセグメント・サイズ
は大きくなる利点はあるが、しかし、各セグメントに格
納されたデータが書込み動作時に無効になる割合も大き
くなる。
On the other hand, if the setting plug 6 is left open, the write-only segment is not set, so the cache
When "3" is specified as the number of segments, three segments not including the write data-only segment are created in the data buffer section. This has the advantage that the segment size per segment is larger than when the setting plug 6 is shorted, but the rate at which data stored in each segment becomes invalid during a write operation also increases.

【0021】図4は本発明の処理フローチャートである
。まず、ホスト装置から電源起動時に媒体から書込み専
用セグメントを設定するための各種パラメータを読出し
(ステップ1)、磁気ディスク制御装置はMODE,S
ELECT コマンドによりキャッシング・パラメータ
を受け( ステップ2)、キャッシング・パラメータの
サイズ・ビット(”SIZE”)が「1」か否かチェッ
クする(ステップ3)。次に、サイズ・ビットが「1」
のとき、キャッシング・パラメータのセグメント・サイ
ズで指定された値により、データバッファ部を制御し次
の処理を行う(ステップ4)。一方、ステップ3におい
てサイズ・ビットが「0」のときは、設定プラグが短絡
か開放かチェックし(ステップ5)、開放(プラグ・オ
ン)のときはキャッシング・パラメータのセグメント数
で指定された値で、データバッファを制御して次の処理
を行い(ステップ6)、短絡(プラグオフ)のときは、
キャッシング・パラメータのセグメント数に1を加えた
数でデータバッファを制御し次の処理を行う(ステップ
7)。
FIG. 4 is a processing flowchart of the present invention. First, the host device reads various parameters for setting a write-only segment from the medium when the power is turned on (step 1), and the magnetic disk control device selects MODE, S
A caching parameter is received by the ELECT command (step 2), and it is checked whether the size bit ("SIZE") of the caching parameter is "1" (step 3). Then the size bit is "1"
At this time, the data buffer section is controlled according to the value specified by the segment size of the caching parameter, and the next process is performed (step 4). On the other hand, if the size bit is "0" in step 3, it is checked whether the setting plug is shorted or open (step 5), and if it is open (plug on), the value specified by the number of segments in the caching parameter is Then, control the data buffer to perform the next process (step 6), and when there is a short circuit (plug off),
The data buffer is controlled by the number of segments in the caching parameter plus one, and the next process is performed (step 7).

【0022】[0022]

【発明の効果】以上説明したように、データバッファ部
を複数のセグメントに分割し、そのセグメント単位でリ
ードアヘッド機能やリングバッファ機能を制御できるL
SIを用いた磁気ディスク制御装置では、設定プラグの
指示で書込みデータ専用セグメントをデータバッファ部
に設けると、磁気ディスク装置から読出しコマンドをた
て続けに何度要求され、しかもその間に書込みコマンド
も要求されるような場合であっても、一度読み出された
データは書込みコマンドで転送されたデータに上書きさ
れることがないので、読出しコマンドの度にデータバッ
ファ部に該当するデータが存在し、磁気ディスク装置に
対して機械的な動作を要求することなく、一連のデータ
転送動作を円滑に実行できるため非常に高い効率のDM
A動作が可能になる。
Effects of the Invention As explained above, the data buffer section can be divided into a plurality of segments, and the read ahead function and ring buffer function can be controlled for each segment.
In a magnetic disk control device using SI, if a segment dedicated to write data is provided in the data buffer section as instructed by the configuration plug, the magnetic disk device will request read commands many times in succession, and also request write commands in between. Even in such a case, the data once read will not be overwritten by the data transferred by the write command, so the corresponding data will exist in the data buffer section every time a read command is issued, and the magnetic disk drive will A series of data transfer operations can be smoothly executed without requiring any mechanical operations, making it an extremely efficient DM.
A operation becomes possible.

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

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

【図2】本発明を適用する装置構成図である。FIG. 2 is a configuration diagram of an apparatus to which the present invention is applied.

【図3】本発明を適用するキャッシング・パラメータの
構成図である。
FIG. 3 is a configuration diagram of caching parameters to which the present invention is applied.

【図4】本発明の処理フローチャートである。FIG. 4 is a processing flowchart of the present invention.

【図5】従来のデータバッファ部の構成図である。FIG. 5 is a configuration diagram of a conventional data buffer unit.

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

1…マイクロプロセッサ 2…制御部 3…データバッファ 4…磁気ディスク装置 5…I/Oポート 6…ホスト装置 1...Microprocessor 2...Control unit 3...Data buffer 4...Magnetic disk device 5...I/O port 6...Host device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  ホスト装置と磁気ディスク装置との間
に接続されこれらの間のデータ転送の制御を行う磁気デ
ィスク制御装置に設けられたデータバッファにおいて、
該データバッファを複数のセグメントに分割し、各セグ
メントの書込み/読出しを制御するデータバッファの読
出し/書込み制御方式であって、分割された複数のセグ
メントの内の1つを書込み専用のセグメントとして割り
当て、ホスト装置から磁気ディスク装置へ書込み要求が
あったときは、該書込み専用セグメントに一時書き込む
ようにしたことを特徴とするデータバッファの読出し/
書込み制御方式。
1. A data buffer provided in a magnetic disk control device that is connected between a host device and a magnetic disk device and controls data transfer between them, comprising:
A data buffer read/write control method that divides the data buffer into multiple segments and controls writing/reading of each segment, wherein one of the multiple divided segments is assigned as a write-only segment. A data buffer read/write method characterized in that when a write request is made from a host device to a magnetic disk device, data is temporarily written to the write-only segment.
Write control method.
【請求項2】  該書込み専用セグメントを設定するた
めの設定プラグをさらに設け、該設定プラグが短絡して
いるときに該データバッファに該書込み専用セグメント
の設定が可能になるようにした請求項1に記載のデータ
バッファの読出し/書込み制御方式。
2. Claim 1, further comprising a setting plug for setting the write-only segment, so that the write-only segment can be set in the data buffer when the setting plug is short-circuited. Data buffer read/write control method described in .
JP2407716A 1990-12-27 1990-12-27 Data buffer read/write control system Withdrawn JPH04225444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2407716A JPH04225444A (en) 1990-12-27 1990-12-27 Data buffer read/write control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2407716A JPH04225444A (en) 1990-12-27 1990-12-27 Data buffer read/write control system

Publications (1)

Publication Number Publication Date
JPH04225444A true JPH04225444A (en) 1992-08-14

Family

ID=18517270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2407716A Withdrawn JPH04225444A (en) 1990-12-27 1990-12-27 Data buffer read/write control system

Country Status (1)

Country Link
JP (1) JPH04225444A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758191A (en) * 1995-06-01 1998-05-26 Kabushiki Kaisha Toshiba Method for buffer management in a disk drive having a first segment for storing burst data and a second segment used for write and read commands
US5890210A (en) * 1996-06-28 1999-03-30 Kabushiki Kaisha Toshiba Magnetic disk apparatus and command processing method thereof
US8271717B2 (en) 2010-09-30 2012-09-18 Kabushiki Kaisha Toshiba Computing machine with virtual machine monitor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758191A (en) * 1995-06-01 1998-05-26 Kabushiki Kaisha Toshiba Method for buffer management in a disk drive having a first segment for storing burst data and a second segment used for write and read commands
US5890210A (en) * 1996-06-28 1999-03-30 Kabushiki Kaisha Toshiba Magnetic disk apparatus and command processing method thereof
US8271717B2 (en) 2010-09-30 2012-09-18 Kabushiki Kaisha Toshiba Computing machine with virtual machine monitor

Similar Documents

Publication Publication Date Title
US4467421A (en) Virtual storage system and method
EP1006445B1 (en) Dynamically expandable storage unit array system
US4433374A (en) Cache/disk subsystem with cache bypass
JP3898782B2 (en) Information recording / reproducing device
USRE36989E (en) Virtual storage system and method
JP2001100925A (en) Disk controller
US4423479A (en) Cache/disk subsystem with acquire write command
JP2007102436A (en) Storage controller and storage control method
JPH04225444A (en) Data buffer read/write control system
JPH11212733A (en) External storage system
JPH01303547A (en) Control system for information memory
EP0108651A2 (en) Dynamic addressing for variable track length cache memory
JP2681986B2 (en) Computer system
JPS6331806B2 (en)
JPH0460730A (en) Cache control system
JPS61190644A (en) Cache disc subsystem
JP3376316B2 (en) Disk array device, high-speed communication method used therefor, and recording medium recording control program therefor
JPH10333984A (en) Recording and reproducing device
JPS6027014A (en) Magnetic disk controller
JPH0743634B2 (en) Split volume control method
JPH0418649A (en) Buffer memory control system
JPH0934782A (en) Information storage device
JPH04111015A (en) Information recorder
JPH0863396A (en) Disk cache device
JPS6234255A (en) Control system for disk cache memory

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980312