JPH0413733B2 - - Google Patents

Info

Publication number
JPH0413733B2
JPH0413733B2 JP57110545A JP11054582A JPH0413733B2 JP H0413733 B2 JPH0413733 B2 JP H0413733B2 JP 57110545 A JP57110545 A JP 57110545A JP 11054582 A JP11054582 A JP 11054582A JP H0413733 B2 JPH0413733 B2 JP H0413733B2
Authority
JP
Japan
Prior art keywords
track buffer
external storage
storage device
track
buffer
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.)
Expired - Lifetime
Application number
JP57110545A
Other languages
Japanese (ja)
Other versions
JPS59757A (en
Inventor
Yutaka Hyoshi
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 JP57110545A priority Critical patent/JPS59757A/en
Publication of JPS59757A publication Critical patent/JPS59757A/en
Publication of JPH0413733B2 publication Critical patent/JPH0413733B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、トラツク・バツフアを用いて固定長
レコード形式のデータを可変長レコード形式のデ
ータに変換する制御装置に係り、特に外部記憶装
置のアクセス頻度、トラツク・バツフアの空きの
状態、外部記憶装置をアクセスした時刻などを参
照して1台の外部記憶装置に対して複数のトラツ
ク・バツフアを割当て得るようにしたトラツク・
バツフアのダイナミツク・アロケーシヨン方式に
関するものである。
Detailed Description of the Invention [Technical Field of the Invention] The present invention relates to a control device that converts data in a fixed-length record format to data in a variable-length record format using a track buffer, and particularly relates to a control device that converts data in a fixed-length record format into data in a variable-length record format using a track buffer. A track buffer that can allocate multiple track buffers to one external storage device by referring to the frequency, empty state of the track buffer, time when the external storage device was accessed, etc.
This is related to Batsuhua's dynamic allocation method.

〔従来技術と問題点〕[Prior art and problems]

第1図は従来のバツフア・エミユレーシヨンを
行う磁気デイスク制御装置を説明する図である。
第1図において、1は処理装置、2は磁気デイス
ク制御装置、3−0ないし3−nはトラツク・バ
ツフア、4−0ないし4−nは磁気デイスク装置
である。処理装置1は、磁気デイスク装置を可変
長レコードのものと見て処理を行うものである
が、磁気デイスク装置4−i(i=0、1、……
n)は固定長レコード方式のものである。磁気デ
イスク制御装置2は、(n+1)個のトラツク・
バツフア3−0ないし3−nを有しており、トラ
ツク・バツフア3−iを用いて可変長レコード形
式のデータと固定長レコード形式のデータの変換
を行つている。トラツク・バツフアを用いて異な
るレコード形式のデータ間の変換を行うことをバ
ツフア・エミユレーシヨンという。
FIG. 1 is a diagram illustrating a conventional magnetic disk control device that performs buffer emulation.
In FIG. 1, 1 is a processing device, 2 is a magnetic disk control device, 3-0 to 3-n are track buffers, and 4-0 to 4-n are magnetic disk devices. The processing device 1 processes the magnetic disk device by regarding it as a variable-length record device, and the magnetic disk device 4-i (i=0, 1, . . .
n) is of a fixed length record system. The magnetic disk control device 2 has (n+1) tracks.
It has buffers 3-0 to 3-n, and converts data in variable length record format and data in fixed length record format using track buffer 3-i. The conversion between data in different record formats using a track buffer is called buffer emulation.

従来のこの種の磁気デイスク制御装置2におい
ては、1台の磁気デイスク装置に対して1個のト
ラツク・バツフアが固定的に割当てられていた。
例えば磁気デイスク装置4−0に対してはトラツ
ク・バツフア3−0が固定的に割当てられてい
る。このため、磁気デイスク制御装置に接続可能
な磁気デイスク装置の数に見合つたトラツク・バ
ツフアが用意されているにもかかわらず、磁気デ
イスク装置が実際に接続されていなければ、使用
されないトラツク・バツフアが出て来たりした。
また、トラツク・バツフアが障害となることによ
つて、それに接続されている磁気デイスク装置が
使用不能になつたりする欠点があつた。
In the conventional magnetic disk control device 2 of this type, one track buffer is fixedly allocated to one magnetic disk device.
For example, a track buffer 3-0 is fixedly allocated to the magnetic disk device 4-0. For this reason, even though a track buffer corresponding to the number of magnetic disk drives that can be connected to the magnetic disk controller is prepared, if no magnetic disk drives are actually connected, the unused track buffer will be I even came out.
Another disadvantage is that if the track buffer becomes an obstacle, the magnetic disk device connected to it may become unusable.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の欠点を除去するものであつ
て、外部記憶装置に対してトラツク・バツフアを
ダイナミツクに割当て得るようにしたトラツク・
バツフアのダイナミツク・アロケーシヨン方式を
提供することを目的としている。
The present invention eliminates the above-mentioned drawbacks and provides a track buffer that can dynamically allocate track buffers to external storage devices.
Its purpose is to provide a buffer dynamic allocation scheme.

〔発明の構成〕[Structure of the invention]

そしてこのため、本発明のトラツク・バツフア
のダイナミツク・アロケーシヨン方式は、 複数のトラツク・バツフアを備え、トラツク・
バツフアを使用してホスト計算機で採用されてい
る可変長レコード形式のデータと、外部記憶装置
で採用されている固定長データとの変換を行う外
部記憶制御装置において、 ホスト・アクセス・テーブルの中に、トラツ
ク・バツフア毎の外部記憶装置アドレス,トラツ
ク・アドレス,エラー・フラグおよび空フラグを
書き込むと共に、外部記憶装置の使用回数および
使用時間を書込み、 READコマンドを受信した時に、該当するデ
ータを格納するトラツク・バツフアが存在せず、
当該READコマンドの対象となる外部記憶装置
に既にトラツク・バツフアが割り当てられてお
り、当該トラツク・バツフアにエラーがなく、当
該外部記憶装置の使用回数が閾値を越えていない
場合には、指定された外部記憶装置から上記
READコマンドで指定されたデータを読み出し
て、当該外部記憶装置に既に割り当てられている
トラツク・バツフアに格納し、 READコマンドを受信した時に、該当するデ
ータが格納するトラツク・バツフアが存在せず、
当該READコマンドの対象となる外部記憶装置
に既にトラツク・バツフアが割り当てられてお
り、当該トラツク・バツフアにエラーがなく、当
該外部記憶装置の使用回数が閾値を越えている場
合には、上記ホスト・アクセス・テーブルの情報
を参照して1個のトラツク・バツフアを選択し、
指定された外部記憶装置から上記READコマン
ドで指定されたデータを読み出して、当該選択さ
れたトラツク・バツフアに格納し、 READコマンドを受信した時に、該当するデ
ータが格納するトラツク・バツフアが存在せず、
且つ当該READコマンドの対象となる外部記憶
装置に未だトラツク・バツフアが割り当てられて
いない場合には、上記ホスト・アクセス・テーブ
ルの情報を参照して1個のトラツク・バツフアを
選択し、指定された外部記憶装置から上記
READコマンドで指定されたデータを読み出し
て、当該選択されたトラツク・バツフアに格納す
る ことを特徴とするものである。
For this reason, the dynamic allocation method of track buffers of the present invention includes a plurality of track buffers and
In an external storage controller that uses a buffer to convert variable-length record format data adopted by the host computer and fixed-length data adopted by an external storage device, in the host access table. , writes the external storage device address, track address, error flag, and empty flag for each track buffer, as well as the number of times the external storage device is used and the usage time, and stores the corresponding data when a READ command is received. There is no truck battle,
If a track buffer has already been allocated to the external storage device targeted by the READ command, if there is no error in the track buffer, and if the number of uses of the external storage device has not exceeded the threshold, the specified above from external storage device
The data specified by the READ command is read and stored in a track buffer already allocated to the external storage device, and when the READ command is received, there is no track buffer to store the corresponding data.
If a track buffer has already been allocated to the external storage device targeted by the READ command, there is no error in the track buffer, and the number of times the external storage device has been used exceeds the threshold, the host Select one track buffer by referring to the information in the access table,
The data specified by the above READ command is read from the specified external storage device and stored in the selected track buffer, and when the READ command is received, the track buffer storing the corresponding data does not exist. ,
In addition, if a track buffer has not yet been assigned to the external storage device targeted by the READ command, one track buffer is selected by referring to the information in the host access table above, and the specified track buffer is above from external storage device
The feature is that the data specified by the READ command is read and stored in the selected track buffer.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照しつつ説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

第2図は本発明の磁気デイスク制御装置の1実
施例の機能ブロツク図、第3図は本発明で使用さ
れるホスト・アクセス・テーブルの構成を示す
図、第4図は本発明の磁気デイスク制御装置の1
実施例のハードウエア構成を示す図、第5図は本
発明によるバツフア割当て手順を示す図である。
FIG. 2 is a functional block diagram of one embodiment of the magnetic disk control device of the present invention, FIG. 3 is a diagram showing the configuration of a host access table used in the present invention, and FIG. 4 is a diagram of the magnetic disk controller of the present invention. Control device 1
FIG. 5 is a diagram showing the hardware configuration of the embodiment, and is a diagram showing the buffer allocation procedure according to the present invention.

第2図において、5はホスト・アクセス・テー
ブル、6はトラツク・バツフア切替回路をそれぞ
れ示している。なお、第1図と同一符号は同一物
を示している。ホスト・アクセス・テーブル5
は、トラツク・バツフア3−0ないし3−nに関
する情報と、外部記憶装置4−0ないし4−nに
関する情報を格納するものである。トラツク・バ
ツフア切替回路6は、トラツク・バツフア3−i
と磁気デイスク制御装置3−jとを論理的に接続
するものであつて、磁気デイスク装置3−jから
読出されたデータは、トラツク切替回路6によつ
て関連付けられたトラツク・バツフア3−iに書
込まれる。
In FIG. 2, numeral 5 indicates a host access table, and numeral 6 indicates a track buffer switching circuit. Note that the same reference numerals as in FIG. 1 indicate the same parts. host access table 5
stores information regarding the track buffers 3-0 to 3-n and information regarding the external storage devices 4-0 to 4-n. The track buffer switching circuit 6 is connected to the track buffer 3-i.
and the magnetic disk control device 3-j, and the data read from the magnetic disk device 3-j is transferred to the associated track buffer 3-i by the track switching circuit 6. written.

第3図はホスト・アクセス・テーブル5の構成
を示すものであつて、7はトラツク・バツフア・
テーブル部、8は磁気デイスク装置テーブル部、
9−0ないし9−nはトラツク・バツフア・テー
ブル部のエントリ、10−0ないし10−nは磁
気デイスク装置テーブル部のエントリをそれぞれ
示している。エントリ9−i(i=0、1……n)
はトラツク・バツフア3−iに対応するものであ
り、この中には磁気デイスク装置アドレス、トラ
ツク・アドレス、エラー・フラグ及び空フラグが
書込まれる。磁気デイスク装置アドレス及びトラ
ツク・アドレスは、そのトラツク・バツフア9−
iが何れの磁気デイスク装置の何れのトラツクに
割当てられているかを示すものである。エラー・
フラグは、そのトラツク・バツフア9−iに障害
が発生したことを記録するためのものである。空
フラグは、そのトラツク・バツフア9−iが空き
であるか否かを示すものである。エントリ10−
iは磁気デイスク装置4−iに対応するものであ
り、この中には使用回数及びタイム・スタンプが
書込まれている。使用回数はその磁気デイスク装
置が何回使用されたかを示すものであり、タイ
ム・スタンプは最後の使用時刻を示すものであ
る。
FIG. 3 shows the structure of the host access table 5, where 7 is the track buffer.
table section; 8 is a magnetic disk device table section;
9-0 to 9-n indicate entries in the track buffer table section, and 10-0 to 10-n indicate entries in the magnetic disk device table section, respectively. Entry 9-i (i=0, 1...n)
corresponds to the track buffer 3-i, into which the magnetic disk device address, track address, error flag, and empty flag are written. The magnetic disk device address and track address are the track buffer 9-
This shows which track of which magnetic disk device i is assigned to. error·
The flag is used to record that a failure has occurred in the truck buffer 9-i. The empty flag indicates whether or not the track buffer 9-i is empty. Entry 10-
i corresponds to the magnetic disk device 4-i, and the number of uses and a time stamp are written therein. The number of uses indicates how many times the magnetic disk device has been used, and the time stamp indicates the time of last use.

第4図は本発明の磁気デイスク制御装置の1実
施例のハードウエア構成を示すものである。第4
図において、11は制御装置、12は演算論理ユ
ニツト、13はトラツク・バツフア域、14と1
5は演算レジスタ、16はホスト・インタフエー
ス制御回路、17はタイマ、18はカウンタ、1
9は転送制御回路、20はデバイス・インタフエ
ース制御回路をそれぞれ示している。
FIG. 4 shows the hardware configuration of one embodiment of the magnetic disk control device of the present invention. Fourth
In the figure, 11 is a control device, 12 is an arithmetic logic unit, 13 is a track buffer area, 14 and 1
5 is an arithmetic register, 16 is a host interface control circuit, 17 is a timer, 18 is a counter, 1
Reference numeral 9 indicates a transfer control circuit, and 20 indicates a device interface control circuit.

制御記憶11の中には、マイクロプログラムや
ホスト・アクセス・テーブル5などが格納されて
いる。トラツク・バツフア域13は、トラツク・
バツフア3−0ないし3−nを格納するものであ
る。ホスト・インターフエース制御回路16は、
処理装置1との間の通信を行うものである。タイ
マ17は、エントリ10−iにタイム・スタンプ
を記入する際に用いられるものである。カウンタ
18は、磁気デイスク装置の使用回数をカウント
するものである。転送制御回路19は、内部に転
送モード・レジスタやデータ長レジスタ、デー
タ・バツフアなどを有しており、マイクロプログ
ラムの指示に従いデータの自動転送制御を行つて
いる。デバイス・インタフエース制御回路20
は、デバイスとの通信を行う部分である。
In the control memory 11, a microprogram, a host access table 5, etc. are stored. Truck buffer area 13 is the truck buffer area 13.
It stores buffers 3-0 to 3-n. The host interface control circuit 16 includes:
It performs communication with the processing device 1. The timer 17 is used to write a time stamp in the entry 10-i. The counter 18 counts the number of times the magnetic disk device is used. The transfer control circuit 19 has internal transfer mode registers, data length registers, data buffers, etc., and performs automatic data transfer control according to instructions from a microprogram. Device interface control circuit 20
is the part that communicates with the device.

第5図は本発明によるトラツク・バツフアの割
当て手順を示すものである。処理装置1が磁気デ
イスク装置4−j上のデータを指定し、Readコ
マンドを発行すると、磁気デイスク制御装置2は
ホスト・アクセス・テーブル5を参照し、データ
が何れのトラツク・バツフア3−iに格納されて
いるかを調べる。データがトラツク・バツフア3
−iに存在する場合には、そのトラツク・バツフ
ア3−iの中から該当するデータを読出し、これ
を処理装置1に送る。この場合には磁気デイスク
装置4−j(j=0、1、……n)へのアクセス
は行われない。該当するデータがトラツク・バツ
フア3−0ないし3−nに格納されていない場合
にはトラツク・バツフア割当ルーチンが起動さ
れ、下記のような手順でトラツク・バツフアの割
当てが行われる。
FIG. 5 shows a procedure for allocating a truck buffer according to the present invention. When the processing device 1 specifies data on the magnetic disk device 4-j and issues a Read command, the magnetic disk control device 2 refers to the host access table 5 and determines which track buffer 3-i the data is stored in. Check if it is stored. Data tracks buffer 3
-i, the corresponding data is read from the track buffer 3-i and sent to the processing device 1. In this case, access to the magnetic disk device 4-j (j=0, 1, . . . n) is not performed. If the corresponding data is not stored in the track buffers 3-0 to 3-n, a track buffer allocation routine is activated, and the track buffer is allocated according to the following procedure.

アクセスの対象となる磁気デイスク装置4−
jにトラツク・バツフアが既に割当てられてい
るか否かを調べる。Yesの場合にはの処理を
行い、Noの場合にはの処理を行う。
Magnetic disk device 4- to be accessed
Check whether a track buffer has already been assigned to j. If Yes, perform the process, and if No, perform the process.

そのトラツク・バツフアでエラーが発生して
いるか否かを調べる。Yesの場合にはの処理
を行い、Noの場合にはの処理を行う。
Check whether an error has occurred in that track buffer. If Yes, perform the process, and if No, perform the process.

その磁気デイスク装置4−jの使用回数が閾
値を越えているか否かを調べる。Yesの場合に
はの処理を行い、Noの場合にはの処理を
行う。
It is checked whether the number of times the magnetic disk device 4-j has been used exceeds a threshold value. If Yes, perform the process, and if No, perform the process.

同一バツフアを割当てる。 Assign the same buffer.

タイム・スタンプを更新する。 Update timestamp.

エラー・フラグをセツトし、バツフアを使用
禁止にする。その後、の処理を行う。
Sets the error flag and disables the buffer. After that, perform the processing.

空フラグのバツフアがあるか否かを調べる。
Yesの場合にはの処理を行い、Noの場合に
はの処理を行う。
Check whether there is an empty flag buffer.
If Yes, perform the process, and if No, perform the process.

最も古いタイム・スタンプをもつトラツク・
バツフアをその磁気デイスク装置4−jに割当
てる。その後での処理を行う。
The track with the oldest time stamp
The buffer is allocated to the magnetic disk device 4-j. Perform subsequent processing.

空フラグのトラツク・バツフアがあるか否か
を調べる。Yesの場合にはの処理を行い、
Noの場合にはの処理を行う。
Check to see if there is a track buffer with an empty flag. If Yes, process
If No, perform processing.

そのトラツク・バツフアを磁気デイスク装置
4−jに割当てる。その次にの処理を行う。
The track buffer is assigned to the magnetic disk device 4-j. Perform the next process.

磁気デイスク・テーブル8の使用回数を全て
リセツトする。その後にの処理を行う。
All usage counts of the magnetic disk table 8 are reset. Perform subsequent processing.

使用回数が閾値を越えているものがないか否
かを調べる。Yesの場合にはの処理を行い、
Noの場合にはの処理を行う。
Check whether there is any item whose number of uses exceeds the threshold. If Yes, process
If No, perform processing.

最も古いタイム・スタンプをもつトラツク・
バツフアをその磁気デイスク装置4−jに割当
てる。その後、の処理を行う。
The track with the oldest time stamp
The buffer is allocated to the magnetic disk device 4-j. After that, perform the processing.

同一デバイスに複数のトラツク・バツフアが
割当てられているか否かを調べる。Yesの場合
にはの処理を行い、Noの場合にはの処理
を行う。
Check whether multiple track buffers are assigned to the same device. If Yes, perform the process, and if No, perform the process.

そのうちの1個のトラツク・バツフアをその
磁気デイスク装置4−jに割当てる。その後、
の処理を行う。
One of the track buffers is assigned to that magnetic disk device 4-j. after that,
Process.

使用回数最小のトラツク・バツフアをその磁
気デイスク装置4−jに割当てる。その後、
の処理を行う。
The track buffer that has been used the least number of times is assigned to the magnetic disk device 4-j. after that,
Process.

磁気デイスク装置4−jにトラツク・バツフア
(例えば3−iとする)を割当てた後、磁気デイ
スク装置4−jの該当するトラツクの全データを
読出し、これをトラツク・バツフア3−iに格納
する。トラツク・バツフア3−iへのデータ格納
完了後、トラツク・バツフア3−iの中から該当
するデータを選択し、これを処理装置1へ送る。
After allocating a track buffer (for example, 3-i) to the magnetic disk device 4-j, all data of the corresponding track of the magnetic disk device 4-j is read and stored in the track buffer 3-i. . After data has been stored in the track buffer 3-i, the relevant data is selected from the track buffer 3-i and sent to the processing device 1.

データ転送中にトラツク・バツフア3−iにパ
リテイ・エラー(パーマネントのもの)が発生し
た場合には、上記のトラツク・バツフア割当てル
ーチンを起動し、磁気デイスク装置4−jに対し
てトラツク・バツフア3−gを割当て、磁気デイ
スク装置4−jから該当するトラツクの全データ
をトラツク・バツフア3−gに格納し、コマンド
処理を続ける。
If a parity error (permanent) occurs in the track buffer 3-i during data transfer, the above track buffer allocation routine is started and the track buffer 3 is allocated to the magnetic disk device 4-j. -g, all data of the corresponding track from the magnetic disk device 4-j is stored in the track buffer 3-g, and command processing is continued.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれ
ば、トラツク・バツフアの故障に際しても他のト
ラツク・バツフアに切替えることが出来るので、
制御装置および外部記憶装置のダウン率を低下す
ることが出来る。また、本発明によれば、1個の
外部記憶装置に対して1個以上のトラツク・バツ
フアを割当てることが出来るので、データのヒツ
ト率も向上が計れる。
As is clear from the above explanation, according to the present invention, even if a truck buffer breaks down, it is possible to switch to another truck buffer.
The down rate of the control device and external storage device can be reduced. Further, according to the present invention, since one or more track buffers can be allocated to one external storage device, the data hit rate can also be improved.

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

第1図は従来のバツフア・エミユレーシヨンを
行う磁気デイスク制御装置を説明する図、第2図
は本発明の磁気デイスク制御装置の1実施例の機
能ブロツク図、第3図は本発明で使用されるホス
ト・アクセス・テーブルの構成を示す図、第4図
は本発明の磁気デイスク制御装置の1実施例のハ
ードウエア構成を示す図、第5図は本発明による
バツフア割当て手順を示す図である。 1……処理装置、2……磁気デイスク制御装
置、3−0ないし3−n……トラツク・バツフ
ア、4−0ないし4−n……磁気デイスク装置、
5……ホスト・アクセス・テーブル、6……トラ
ツク・バツフア切替回路。
FIG. 1 is a diagram illustrating a conventional magnetic disk control device that performs buffer emulation, FIG. 2 is a functional block diagram of an embodiment of the magnetic disk control device of the present invention, and FIG. 3 is a diagram illustrating a magnetic disk control device used in the present invention. FIG. 4 is a diagram showing the configuration of the host access table, FIG. 4 is a diagram showing the hardware configuration of one embodiment of the magnetic disk control device of the present invention, and FIG. 5 is a diagram showing the buffer allocation procedure according to the present invention. 1...processing device, 2...magnetic disk control device, 3-0 to 3-n...track buffer, 4-0 to 4-n...magnetic disk device,
5...Host access table, 6...Track buffer switching circuit.

Claims (1)

【特許請求の範囲】 1 複数のトラツク・バツフアを備え、トラツ
ク・バツフアを使用してホスト計算機で採用され
ている可変長レコード形式のデータと、外部記憶
装置で採用されている固定長データとの変換を行
う外部記憶制御装置において、 ホスト・アクセス・テーブルの中に、トラツ
ク・バツフア毎の外部記憶装置アドレス,トラツ
ク・アドレス,エラー・フラグおよび空フラグを
書き込むと共に、外部記憶装置の使用回数および
使用時間を書込み、 READコマンドを受信した時に、該当するデ
ータを格納するトラツク・バツフアが存在せず、
当該READコマンドの対象となる外部記憶装置
に既にトラツク・バツフアが割り当てられてお
り、当該トラツク・バツフアにエラーがなく、当
該外部記憶装置の使用回数が閾値を越えていない
場合には、指定された外部記憶装置から上記
READコマンドで指定されたデータを読み出し
て、当該外部記憶装置に既に割り当てられている
トラツク・バツフアに格納し、 READコマンドを受信した時に、該当するデ
ータが格納するトラツク・バツフアが存在せず、
当該READコマンドの対象となる外部記憶装置
に既にトラツク・バツフアが割り当てられてお
り、当該トラツク・バツフアにエラーがなく、当
該外部記憶装置の使用回数が閾値を越えている場
合には、上記ホスト・アクセス・テーブルの情報
を参照して1個のトラツク・バツフアを選択し、
指定された外部記憶装置から上記READコマン
ドで指定されたデータを読み出して、当該選択さ
れたトラツク・バツフアに格納し、 READコマンドを受信した時に、該当するデ
ータが格納するトラツク・バツフアが存在せず、
且つ当該READコマンドの対象となる外部記憶
装置に未だトラツク・バツフアが割り当てられて
いない場合には、上記ホスト・アクセス・テーブ
ルの情報を参照して1個のトラツク・バツフアを
選択し、指定された外部記憶装置から上記
READコマンドで指定されたデータを読み出し
て、当該選択されたトラツク・バツフアに格納す
ることを特徴とするトラツク・バツフアのダイナ
ミツク・アロケーシヨン方式。
[Claims] 1. Data in a variable length record format that is equipped with a plurality of track buffers and is used in a host computer using the track buffers, and fixed length data that is used in an external storage device. The external storage controller that performs the conversion writes the external storage device address, track address, error flag, and empty flag for each track buffer in the host access table, as well as the number of times the external storage device is used and the number of times the external storage device is used. When writing the time and receiving the READ command, there is no track buffer to store the corresponding data.
If a track buffer has already been allocated to the external storage device targeted by the READ command, if there is no error in the track buffer, and if the number of uses of the external storage device has not exceeded the threshold, the specified above from external storage device
The data specified by the READ command is read and stored in a track buffer already allocated to the external storage device, and when the READ command is received, there is no track buffer to store the corresponding data.
If a track buffer has already been allocated to the external storage device targeted by the READ command, there is no error in the track buffer, and the number of times the external storage device has been used exceeds the threshold, the host Select one track buffer by referring to the information in the access table,
The data specified by the above READ command is read from the specified external storage device and stored in the selected track buffer, and when the READ command is received, the track buffer storing the corresponding data does not exist. ,
In addition, if a track buffer has not yet been assigned to the external storage device targeted by the READ command, one track buffer is selected by referring to the information in the host access table above, and the specified track buffer is above from external storage device
A dynamic track buffer allocation method characterized by reading data specified by a READ command and storing it in the selected track buffer.
JP57110545A 1982-06-26 1982-06-26 Dynamic allocation system of tracking buffer Granted JPS59757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57110545A JPS59757A (en) 1982-06-26 1982-06-26 Dynamic allocation system of tracking buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57110545A JPS59757A (en) 1982-06-26 1982-06-26 Dynamic allocation system of tracking buffer

Publications (2)

Publication Number Publication Date
JPS59757A JPS59757A (en) 1984-01-05
JPH0413733B2 true JPH0413733B2 (en) 1992-03-10

Family

ID=14538533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57110545A Granted JPS59757A (en) 1982-06-26 1982-06-26 Dynamic allocation system of tracking buffer

Country Status (1)

Country Link
JP (1) JPS59757A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61156330A (en) * 1984-12-28 1986-07-16 Toshiba Corp Memory device
JP3005057B2 (en) * 1990-02-09 2000-01-31 キヤノン株式会社 Ink, inkjet recording method and apparatus using the same
JP3005058B2 (en) * 1990-02-09 2000-01-31 キヤノン株式会社 Ink, inkjet recording method and apparatus using the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55157054A (en) * 1979-05-25 1980-12-06 Nec Corp Disc cash unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55157054A (en) * 1979-05-25 1980-12-06 Nec Corp Disc cash unit

Also Published As

Publication number Publication date
JPS59757A (en) 1984-01-05

Similar Documents

Publication Publication Date Title
US5925111A (en) System for alotting logical path number to logical interfaces and permitting logical interface to access selected I/O using logical path number when selected I/O is not in use
JPH0877066A (en) Flash memory controller
US4811280A (en) Dual mode disk controller
JP2003501778A (en) Disk drive controller circuit and method for skipping defective and / or unwanted sectors
JPH0566997A (en) Machine-executing type operation method for caghe-memory type peripheral controller
JPH08161124A (en) Computer system
US4423479A (en) Cache/disk subsystem with acquire write command
JPH0115903B2 (en)
JPH0413733B2 (en)
JPH01140326A (en) Magnetic disk device
JPH06332622A (en) Information processor
US20030051105A1 (en) Compact flash ATA card
JPS6027014A (en) Magnetic disk controller
JP3827112B2 (en) Medium storing computer system and specific main memory reference update program
EP0358224A2 (en) Semiconductor disk device useful in transaction processing system
JPS5917447B2 (en) data channel device
JPH0664519B2 (en) Interchangeable recording medium access method
RU15036U1 (en) DEVICE FOR INTERFACE OF THE INTERNAL PARALLEL HIGHWAY WITH THE EXTERNAL HIGHWAY PARALLEL INTERFACE
JPS6255167B2 (en)
JPH06149716A (en) Disk data transfer system
JPH0380470A (en) Storage controller
JPH05233482A (en) Data transfer system
JPS58169271A (en) Data buffer control system
JPH10289198A (en) Data transfer device
JPH0375952B2 (en)