JPH05119923A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH05119923A
JPH05119923A JP28285791A JP28285791A JPH05119923A JP H05119923 A JPH05119923 A JP H05119923A JP 28285791 A JP28285791 A JP 28285791A JP 28285791 A JP28285791 A JP 28285791A JP H05119923 A JPH05119923 A JP H05119923A
Authority
JP
Japan
Prior art keywords
data
disk
buffer memory
read
disk device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28285791A
Other languages
Japanese (ja)
Inventor
Masaru Omori
勝 大森
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP28285791A priority Critical patent/JPH05119923A/en
Publication of JPH05119923A publication Critical patent/JPH05119923A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the disk controller which can process the read operation of data at high speed without waiting for the lapse of time until stabilizing the revolutions of a motor even when reading is requested from a host while the motor is stopped. CONSTITUTION:In the case of reading data from a disk device 5, a comparator 19 compares held address information with the address of data as a reading object so as to detect whether the data of the reading object are held in a buffer memory 13 or not. When the data are stored in the buffer memory 13, an interface controller 17 outputs the relevant data in the buffer memory 13 through a first buffer circuit 11 to the host 3 without revolving the motor in the disk device 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディスク板を回転させ
るモータの停止が可能なディスク装置に対して、読み出
し操作および書き込み操作を制御するディスク制御装置
に係わり、特にモータ停止時にホストからの読み出し要
求があった場合に、高速処理が可能なディスク制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control device for controlling a read operation and a write operation for a disk device capable of stopping a motor for rotating a disk plate, and more particularly to reading from a host when the motor is stopped. The present invention relates to a disk control device capable of high-speed processing when requested.

【0002】[0002]

【従来の技術】図2に、従来のディスク制御装置の構成
図を示す。このディスク制御装置101は、パーソナル
コンピュータのCPU(中央処理装置)3(以下、ホス
ト3という。)のディスク装置5に対する読み出し動作
および書き込み動作の制御を行なうもので、第1バッフ
ァ回路11、バッファメモリ13、第2バッファ回路1
5、インタフェースコントローラ17、およびディスク
コントローラ21から構成されている。
2. Description of the Related Art FIG. 2 shows a block diagram of a conventional disk controller. The disk control device 101 controls a read operation and a write operation of a CPU (central processing unit) 3 (hereinafter referred to as a host 3) of a personal computer with respect to a disk device 5, and includes a first buffer circuit 11 and a buffer memory. 13, second buffer circuit 1
5, an interface controller 17, and a disk controller 21.

【0003】このディスク制御装置101において、ホ
スト3よりディスク装置5のデータを読み出すようリー
ドコマンドが発せられた場合の動作を説明する。
The operation of the disk control device 101 when a read command is issued from the host 3 to read the data of the disk device 5 will be described.

【0004】先ず、ホスト3からのリードコマンドおよ
びパラメータが第1バッファ回路11を介してインタフ
ェースコントローラ17に与えられると、このインタフ
ェースコントローラ17はそれを解析する。次に、イン
タフェースコントローラ17はバッファメモリ13の内
容をチェックして、ディスク装置5のデータを読み出す
必要があるか否かを判断する。
First, when a read command and a parameter from the host 3 are given to the interface controller 17 via the first buffer circuit 11, the interface controller 17 analyzes it. Next, the interface controller 17 checks the contents of the buffer memory 13 to determine whether or not the data in the disk device 5 needs to be read.

【0005】インタフェースコントローラ17は、バッ
ファメモリ13内にホスト3より指定されたシリンダの
データがなければ、ディスクコントローラ21に対して
リードコマンドを出す。このリードコマンドを受けてデ
ィスクコントローラ21は、ディスク装置5に第2バッ
ファ回路15を介してバッファメモリ13に該当するデ
ータを格納させる。バッファメモリ13に該当するデー
タが格納されると、インタフェースコントローラ17
は、このデータを第1バッファ回路11を介してホスト
3へ出力させる。
The interface controller 17 issues a read command to the disk controller 21 if there is no data of the cylinder designated by the host 3 in the buffer memory 13. In response to this read command, the disk controller 21 causes the disk device 5 to store the corresponding data in the buffer memory 13 via the second buffer circuit 15. When the corresponding data is stored in the buffer memory 13, the interface controller 17
Causes the data to be output to the host 3 via the first buffer circuit 11.

【0006】[0006]

【発明が解決しようとする課題】ところで、ノートタイ
プのパーソナルコンピュータ等で使用されている小型ハ
ードディスク装置は電池駆動型のものが使用されてい
る。このような小型のハードディスク装置では、電池の
寿命を長くするため、未使用時にはディスク装置のモー
タを止めて省電力化を行っている。そして、このような
ハードディスク装置に使用されるディスク制御装置10
1では、モータ停止時にホスト3からリードコマンドが
発せられると、ハードディスク装置5内の内容がバッフ
ァメモリ13に格納されていない場合は勿論、データが
格納されている場合にも、必ずハードディスク装置5を
アクセスして読み出し操作を行なっていた。このため、
モータの回転が安定して読み出し可能な状態となるまで
の時間(約2秒)だけ、読み出しの処理時間が長くなる
という問題があった。
A small hard disk drive used in a notebook type personal computer or the like is a battery drive type. In such a small hard disk device, in order to prolong the battery life, the motor of the disk device is stopped to save power when not in use. Then, the disk control device 10 used in such a hard disk device
In No. 1, when a read command is issued from the host 3 when the motor is stopped, the hard disk device 5 is always written not only when the contents in the hard disk device 5 are not stored in the buffer memory 13 but also when the data is stored. It was accessing and reading. For this reason,
There has been a problem that the processing time of reading becomes long by the time (about 2 seconds) until the rotation of the motor becomes stable and the reading becomes possible.

【0007】本発明は上記問題点に鑑みてなされたもの
で、その目的は、モータ停止時にホストからの読み出し
要求があった場合にも、モータの回転が安定するまでの
時間を経ることなく、データの読み出し操作を高速に処
理できるディスク制御装置を提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a reading request from the host when the motor is stopped without delaying the rotation of the motor. It is an object of the present invention to provide a disk controller capable of processing a data read operation at high speed.

【0008】[0008]

【課題を解決するための手段】本発明は、ディスク板を
回転させるモータの停止が可能なディスク装置に対する
読み出し操作および書き込み操作を制御するディスク制
御装置に、前記ディスク装置からの読み出しデータまた
は前記ディスク装置への書き込みデータを保持するバッ
ファメモリと、前記モータの停止中において、前記ディ
スク装置のデータの読み出し命令があったときに、前記
バッファメモリ内に読み出し対象のデータが格納されて
いるか否かを検出する検出手段と、前記バッファメモリ
内に読み出し対象のデータが格納されている場合には、
前記モータの動作状態にかかわらず前記バッファメモリ
からデータを出力する出力手段とを具備させたものであ
る。
DISCLOSURE OF THE INVENTION The present invention provides a disk control device for controlling read and write operations to a disk device capable of stopping a motor for rotating a disk plate, the read data from the disk device or the disk. A buffer memory for holding data to be written to the device, and whether or not the data to be read is stored in the buffer memory when a command to read data from the disk device is issued while the motor is stopped. When the detection means for detecting and the data to be read are stored in the buffer memory,
An output means for outputting data from the buffer memory is provided regardless of the operating state of the motor.

【0009】このような構成により本発明のディスク制
御装置では、ディスク装置のデータの読み出し操作時
に、ディスク装置のモータが停止状態であっても、検出
手段によりバッファメモリ内に読み出し対象のデータが
保持されているか否かを検出し、保持されている場合に
は、ディスク装置をアクセスすることなく、バッファメ
モリ内の該当するデータを出力する。したがって、モー
タの回転が安定するまでの時間を経ることなく、データ
の読み出し操作を高速に行なうことが可能となる。
With such a configuration, in the disk control device of the present invention, the data to be read is held in the buffer memory by the detection means even when the motor of the disk device is stopped during the data read operation of the disk device. It is detected whether or not the data is held, and if the data is held, the corresponding data in the buffer memory is output without accessing the disk device. Therefore, the data read operation can be performed at high speed without the time until the rotation of the motor stabilizes.

【0010】また、本発明は、ディスク板を回転させる
モータの停止が可能なディスク装置に対する読み出し操
作および書き込み操作を制御するディスク制御装置に、
前記ディスク装置からの読み出しデータまたは前記ディ
スク装置への書き込みデータを格納するバッファメモリ
と、前記バッファメモリに保持されるデータの前記ディ
スク装置内におけるアドレス情報を保持するとともに、
前記モータの停止中において、前記ディスク装置のデー
タの読み出し命令があったときに、読み出し対象のデー
タのアドレスと前記アドレス情報とを比較し、前記バッ
ファメモリ内に読み出し対象のデータが格納されている
か否かを検出する検出手段と、この検出手段の比較結果
が一致する場合には、前記モータの動作状態にかかわら
ず前記バッファメモリ内のデータを出力する出力手段と
を具備させたものである。
Further, the present invention provides a disk control device for controlling a read operation and a write operation for a disk device capable of stopping a motor for rotating a disk plate.
A buffer memory that stores read data from the disk device or write data to the disk device, and address information in the disk device of the data held in the buffer memory, and
While the motor is stopped, when an instruction to read data from the disk device is issued, the address of the data to be read is compared with the address information, and the data to be read is stored in the buffer memory. It is provided with a detecting means for detecting whether or not the output means outputs the data in the buffer memory regardless of the operating state of the motor when the comparison result of the detecting means coincides.

【0011】このような構成により本発明のディスク制
御装置では、ディスク装置のデータの読み出し操作時に
は、ディスク装置のモータが停止状態であっても、検出
手段により、検出手段内に保持されているアドレス情報
を読み出し対象のデータのアドレスと比較し、バッファ
メモリ内に読み出し対象のデータが保持されているか否
かを検出し、保持されている場合には、ディスク装置を
アクセスすることなく、バッファメモリ内の該当するデ
ータを出力する。したがって、モータの回転が安定する
までの時間を経ることなく、データの読み出し操作を高
速に行なうことが可能となる。
With such a configuration, in the disk control device of the present invention, at the time of the data reading operation of the disk device, even if the motor of the disk device is in the stopped state, the address held in the detecting means is detected by the detecting means. The information is compared with the address of the data to be read, and it is detected whether or not the data to be read is held in the buffer memory. If the data is held, it is stored in the buffer memory without accessing the disk device. The corresponding data of is output. Therefore, the data read operation can be performed at high speed without the time until the rotation of the motor stabilizes.

【0012】さらに、本発明によるディスク制御装置
は、前記アドレス情報を前記ディスク装置におけるシリ
ンダ番号とし、前記バッファメモリを少なくとも1シリ
ンダ以上の容量で構成することもできる。
Further, in the disk control device according to the present invention, the address information may be a cylinder number in the disk device, and the buffer memory may have a capacity of at least one cylinder.

【0013】[0013]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は、本発明の一実施例に係わるディス
ク制御装置の構成を表したものである。なお、図2と同
一構成部分については同一の符号を附している。
FIG. 1 shows the configuration of a disk controller according to an embodiment of the present invention. The same components as those in FIG. 2 are designated by the same reference numerals.

【0015】本実施例のディスク制御装置1は、第1バ
ッファ回路11、バッファメモリ13、第2バッファ回
路15、インタフェースコントローラ17、コンパレー
タ19、およびディスクコントローラ21から構成さ
れ、ホスト3のディスク装置5に対する読み出し動作お
よび書き込み動作の制御を行なう。
The disk control device 1 of this embodiment comprises a first buffer circuit 11, a buffer memory 13, a second buffer circuit 15, an interface controller 17, a comparator 19 and a disk controller 21. Control the read operation and the write operation for.

【0016】ホスト3は、パーソナルコンピュータのC
PU(中央処理装置)であり、ディスク装置5は、磁気
ディスク装置等の補助記憶装置である。また、ディスク
装置5は、ディスク板、アクセスアーム、およびヘッド
の他、書き込みおよび読み出し用の制御回路を含む。
The host 3 is a C of a personal computer.
It is a PU (Central Processing Unit), and the disk device 5 is an auxiliary storage device such as a magnetic disk device. Further, the disk device 5 includes a disk plate, an access arm, a head, and a control circuit for writing and reading.

【0017】第1バッファ回路11はホスト3とディス
ク装置5との間のコマンドおよびデータ用のバッファ回
路である。バッファメモリ13はディスク装置5の数シ
リンダ分のデータを蓄えるメモリである。第2バッファ
回路15はディスク装置5とバッファメモリ13との間
のデータ用のバッファ回路である。
The first buffer circuit 11 is a buffer circuit for commands and data between the host 3 and the disk device 5. The buffer memory 13 is a memory that stores data for several cylinders of the disk device 5. The second buffer circuit 15 is a data buffer circuit between the disk device 5 and the buffer memory 13.

【0018】また、インタフェースコントローラ17は
ホスト3からのコマンドを受け取り、その解析を行な
い、バッファメモリ13の制御、およびディスクコント
ローラ21への指示を行なって、ディスク装置5に対す
るデータの読み出し或いは書き込み操作の制御を行な
う。
The interface controller 17 receives a command from the host 3, analyzes the command, controls the buffer memory 13, and gives an instruction to the disk controller 21 to read or write data to the disk device 5. Take control.

【0019】ディスクコントローラ21は、インタフェ
ースコントローラ17からの指示により、第2バッファ
回路15を介してディスク装置5とバッファメモリ13
との間のデータの読み出し、あるいは書き込み操作の制
御を行なう。
The disk controller 21 is instructed by the interface controller 17 to transmit the disk device 5 and the buffer memory 13 via the second buffer circuit 15.
Controls the data read or write operation between and.

【0020】コンパレータ19は、バッファメモリ13
内に現在格納されているデータのアドレス情報としてデ
ィスク装置5上のどのシリンダのものであるかを記憶す
るとともに、インタフェースコントローラ17の解析の
結果を受けて、このシリンダとリードコマンドにより指
示されているシリンダとを比較し、一致していればバッ
ファメモリ13内の該当するデータをホスト3へ転送で
きることをインタフェースコントローラ17に通知する
ようになっている。
The comparator 19 includes a buffer memory 13
Which cylinder on the disk device 5 is stored as address information of the data currently stored therein, and is instructed by this cylinder and a read command in response to the analysis result of the interface controller 17. Cylinders are compared, and if they match, the interface controller 17 is notified that the corresponding data in the buffer memory 13 can be transferred to the host 3.

【0021】次に、本実施例のディスク制御装置1によ
るディスク装置5からのデータの読み出し動作を説明す
る。
Next, the operation of reading data from the disk device 5 by the disk controller 1 of this embodiment will be described.

【0022】先ず、ホスト3からリードコマンドが発行
されると、このコマンドは第1バッファ回路11を介し
てインタフェースコントローラ17に与えられる。イン
タフェースコントローラ17は、このコマンドの解析を
行ない、指定されたシリンダの番号を検出する。一方、
コンパレータ19はこのインタフェースコントローラ1
7により解析されたシリンダの番号と、バッファメモリ
13内に格納されたデータのシリンダの番号とを比較し
て、その結果をインタフェースコントローラ17へ通知
する。インタフェースコントローラ17はこの通知を受
けて、ディスク装置5からデータを読み出す必要がある
か否かを判断する。
First, when a read command is issued from the host 3, this command is given to the interface controller 17 via the first buffer circuit 11. The interface controller 17 analyzes this command and detects the number of the designated cylinder. on the other hand,
The comparator 19 is the interface controller 1
The number of the cylinder analyzed by 7 is compared with the number of the cylinder of the data stored in the buffer memory 13, and the result is notified to the interface controller 17. The interface controller 17 receives this notification and determines whether or not it is necessary to read data from the disk device 5.

【0023】コンパレータ19による比較の結果、ホス
ト3から読み出し要求のあったデータが全てバッファメ
モリ13に格納されている場合には、インタフェースコ
ントローラ17は、ディスク装置5のモータを起動させ
ることなく、ホスト3へバッファメモリ13内の該当す
るデータを第1バッファ回路11を介して出力する。し
たがって、本実施例ではデータの読み出しを高速に行う
ことができる。
As a result of the comparison by the comparator 19, if all the data requested to be read from the host 3 are stored in the buffer memory 13, the interface controller 17 does not activate the motor of the disk device 5 and The corresponding data in the buffer memory 13 is output to the buffer 3 via the first buffer circuit 11. Therefore, in this embodiment, data can be read out at high speed.

【0024】また、指定シリンダのデータがバッファメ
モリ13に格納されていない場合には、インタフェース
コントローラ17は、ディスクコントローラ21に対し
てリードコマンドを出す。このリードコマンドを受けて
ディスクコントローラ21は、ディスク装置5のモータ
を起動させ、モータの回転が安定するまでの時間(約2
秒以上)待機した後、ディスク装置5の目的のシリンダ
のデータを第2バッファ回路15を介してバッファメモ
リ13に格納するよう制御する。インタフェースコント
ローラ17は、バッファメモリ13に格納されたデータ
を第1バッファ回路11を介してホスト3に出力させて
リードコマンドを終了する。
If the data of the designated cylinder is not stored in the buffer memory 13, the interface controller 17 issues a read command to the disk controller 21. In response to this read command, the disk controller 21 activates the motor of the disk device 5, and the time until the rotation of the motor stabilizes (about 2
After waiting for more than a second), the data of the target cylinder of the disk device 5 is controlled to be stored in the buffer memory 13 via the second buffer circuit 15. The interface controller 17 causes the data stored in the buffer memory 13 to be output to the host 3 via the first buffer circuit 11 and ends the read command.

【0025】読み出し要求のあったシリンダのデータを
バッファメモリ13に格納する時、コンパレータ19の
内容も同時に更新される。これにより、次に同じシリン
ダ上のデータを読み出す場合にも、高速なデータの読み
出しが可能となる。また、ディスク装置5のモータの停
止状態のままであるので、省力化も実現できる。
When the data of the cylinder requested to be read is stored in the buffer memory 13, the contents of the comparator 19 are updated at the same time. As a result, even when the data on the same cylinder is read next time, the data can be read at high speed. Further, since the motor of the disk device 5 remains stopped, it is possible to save labor.

【0026】次に、本実施例のディスク制御装置1によ
るディスク装置5への書き込み動作を説明する。
Next, the write operation to the disk device 5 by the disk controller 1 of this embodiment will be described.

【0027】先ず、ホスト3からライトコマンドが発行
されると、このコマンドは第1バッファ回路11を介し
てインタフェースコントローラ17に与えられる。イン
タフェースコントローラ17は、このコマンドの解析を
行なう。ライトコマンドの場合には、処理を高速化する
ため、ホスト3からコマンドに引き続いて転送されるデ
ータを、第1バッファ回路11を介してバッファメモリ
13に格納するとともに、コンパレータ19の内容も更
新する。
First, when a write command is issued from the host 3, this command is given to the interface controller 17 via the first buffer circuit 11. The interface controller 17 analyzes this command. In the case of a write command, in order to speed up the processing, the data transferred following the command from the host 3 is stored in the buffer memory 13 via the first buffer circuit 11, and the content of the comparator 19 is also updated. ..

【0028】この時点で、インタフェースコントローラ
17はホスト3に対してライトコマンドが終了した旨を
通知する。その後、ホスト3は次の処理に進むととも
に、ディスク制御装置1側では、バッファメモリ13内
に先のライトコマンドにより格納されたデータをディス
ク装置5へ書き込みに行く。
At this point, the interface controller 17 notifies the host 3 that the write command has ended. After that, the host 3 proceeds to the next process, and the disk control device 1 side writes the data stored in the buffer memory 13 by the previous write command to the disk device 5.

【0029】すなわち、インタフェースコントローラ1
7は、ディスクコントローラ21に対してライトコマン
ドを出す。このライトコマンドを受けてディスクコント
ローラ21は、ディスク装置5のモータが駆動している
場合にはすぐに書き込み動作に入るが、モータが停止し
ている場合には、ディスク装置5のモータを起動させ、
モータの回転が安定するまでの時間(約2秒以上)待機
した後、第2バッファ回路15を介してバッファメモリ
13のデータをディスク装置5の目的のシリンダに格納
するよう制御する。
That is, the interface controller 1
7 issues a write command to the disk controller 21. In response to this write command, the disk controller 21 immediately starts the writing operation when the motor of the disk device 5 is driven, but when the motor is stopped, it starts the motor of the disk device 5. ,
After waiting for a time until the rotation of the motor stabilizes (about 2 seconds or more), the data of the buffer memory 13 is controlled to be stored in the target cylinder of the disk device 5 via the second buffer circuit 15.

【0030】小型のハードディスク装置においても、1
シリンダ=32kB(1トラック=8kB)で構成され
ており、システムの立ち上がり時を除き、データの更新
操作等においては殆どの処理が1シリンダ内で処理でき
るため、上述の動作により、書き込み操作を高速に処理
することが可能となる。
Even in a small hard disk device, 1
It is composed of cylinders = 32 kB (1 track = 8 kB), and most of the processing for updating data, etc. can be processed within one cylinder except when the system is started up. Can be processed.

【0031】また、ライトコマンドによりバッファメモ
リ13内に格納されたデータ、およびコンパレータ19
内のシリンダ情報は、ディスク装置5に書き込まれた後
もそのまま保持されており、次に、このシリンダのデー
タを読み出す場合には、読み出し操作を高速に処理する
ことが可能となる。
Further, the data stored in the buffer memory 13 by the write command and the comparator 19
The cylinder information inside is retained as it is even after being written to the disk device 5, and when the data of this cylinder is read next, the read operation can be processed at high speed.

【0032】[0032]

【発明の効果】以上説明したように本発明のディスク制
御装置によれば、モータの停止中において、ディスク装
置のデータの読み出し命令があったときに、バッファメ
モリ内に読み出し対象のデータが格納されているか否か
を検出する検出手段を設け、データが保持されている場
合には、ディスク装置にアクセスすることなく、バッフ
ァメモリ内の該当するデータを出力するようにしたの
で、モータの回転が安定するまでの時間を経る必要がな
く、モータ停止時のデータの読み出し操作を高速に処理
できるという効果がある。
As described above, according to the disk control device of the present invention, the data to be read is stored in the buffer memory when the data read command of the disk device is issued while the motor is stopped. It is designed to output the corresponding data in the buffer memory without accessing the disk device when the data is held, so that the rotation of the motor is stable. There is no need to wait until the operation, and there is an effect that the data reading operation when the motor is stopped can be processed at high speed.

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

【図1】本発明の一実施例に係るディスク制御装置の構
成を表すブロック図である。
FIG. 1 is a block diagram showing a configuration of a disk control device according to an embodiment of the present invention.

【図2】従来のディスク制御装置の構成を表すブロック
図である。
FIG. 2 is a block diagram showing a configuration of a conventional disk control device.

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

1 ディスク制御装置 3 ホスト 5 ディスク装置 11 第1バッファ回路 13 バッファメモリ 15 第2バッファ回路 17 インタフェースコントローラ(制御手段) 19 コンパレータ(検出手段) 21 ディスクコントローラ 1 Disk Control Device 3 Host 5 Disk Device 11 First Buffer Circuit 13 Buffer Memory 15 Second Buffer Circuit 17 Interface Controller (Control Means) 19 Comparator (Detection Means) 21 Disk Controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ディスク板を回転させるモータの停止が
可能なディスク装置に対する読み出し操作および書き込
み操作を制御するディスク制御装置において、 前記ディスク装置からの読み出しデータまたは前記ディ
スク装置への書き込みデータを保持するバッファメモリ
と、 前記モータの停止中において、前記ディスク装置のデー
タの読み出し命令があったときに、前記バッファメモリ
内に読み出し対象のデータが格納されているか否かを検
出する検出手段と、 前記バッファメモリ内に読み出し対象のデータが格納さ
れている場合には、前記モータの動作状態にかかわらず
前記バッファメモリからデータを出力する出力手段とを
具備することを特徴とするディスク制御装置。
1. A disk control device for controlling a read operation and a write operation for a disk device capable of stopping a motor for rotating a disk plate, which holds read data from the disk device or write data to the disk device. A buffer memory, a detection unit that detects whether or not the data to be read is stored in the buffer memory when a command to read the data from the disk device is issued while the motor is stopped; A disk control device comprising: output means for outputting data from the buffer memory regardless of an operating state of the motor when data to be read is stored in the memory.
【請求項2】 ディスク板を回転させるモータの停止が
可能なディスク装置に対する読み出し操作および書き込
み操作を制御するディスク制御装置において、 前記ディスク装置からの読み出しデータまたは前記ディ
スク装置への書き込みデータを格納するバッファメモリ
と、 前記バッファメモリに保持されるデータの前記ディスク
装置内におけるアドレス情報を保持するとともに、前記
モータの停止中において、前記ディスク装置のデータの
読み出し命令があったときに、読み出し対象のデータの
アドレスと前記アドレス情報とを比較し、前記バッファ
メモリ内に読み出し対象のデータが格納されているか否
かを検出する検出手段と、 この検出手段の比較結果が一致する場合には、前記モー
タの動作状態にかかわらず前記バッファメモリ内のデー
タを出力する出力手段とを具備することを特徴とするデ
ィスク制御装置。
2. A disk controller for controlling a read operation and a write operation for a disk device capable of stopping a motor for rotating a disk plate, wherein read data from the disk device or write data to the disk device is stored. The buffer memory and the address information of the data held in the buffer memory in the disk device are held, and the data to be read when there is a read command of the data of the disk device while the motor is stopped. When the comparison result of this detection means matches with the detection means for detecting whether or not the data to be read is stored in the buffer memory by comparing the address of the motor with the address information, In the buffer memory regardless of the operating status A disk control device comprising: an output unit that outputs data.
【請求項3】 前記アドレス情報は、前記ディスク装置
におけるシリンダ番号であり、前記バッファメモリは、
少なくとも1シリンダ以上の容量を有することを特徴と
する請求項2に記載のディスク制御装置。
3. The address information is a cylinder number in the disk device, and the buffer memory is
The disk control device according to claim 2, which has a capacity of at least one cylinder or more.
JP28285791A 1991-10-29 1991-10-29 Disk controller Pending JPH05119923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28285791A JPH05119923A (en) 1991-10-29 1991-10-29 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28285791A JPH05119923A (en) 1991-10-29 1991-10-29 Disk controller

Publications (1)

Publication Number Publication Date
JPH05119923A true JPH05119923A (en) 1993-05-18

Family

ID=17657980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28285791A Pending JPH05119923A (en) 1991-10-29 1991-10-29 Disk controller

Country Status (1)

Country Link
JP (1) JPH05119923A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0883148A (en) * 1994-09-13 1996-03-26 Nec Corp Magnetic disk device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0883148A (en) * 1994-09-13 1996-03-26 Nec Corp Magnetic disk device

Similar Documents

Publication Publication Date Title
US8661194B2 (en) Cache control method for hybrid HDD, related program, and hybrid disk drive using same
EP1650666A2 (en) Using external memory devices to improve system performance
US20050185496A1 (en) Intelligent solid state disk
JPH06236241A (en) Hard disk device using flash memory
JPS6362057A (en) Disk memory device
JPH05119923A (en) Disk controller
KR910008678B1 (en) System which controls memory contents
JPH0423269A (en) Disk device
JPH04111113A (en) Hard disk emulator
JPH10254780A (en) Disk cache control system
JPH0744982A (en) Data recording/reproducing device and method for controlling data write
JP2002189572A (en) Disk storage device, information processing equipment provided with the same and processing method when failing in write
JPH06309776A (en) Magnetic disk device and data read-out and write-in method
JPH06267175A (en) Storage device and method for controlling the same
JP2704138B2 (en) Control method of magnetic disk cache
JPH0250743A (en) External storage subsystem
JP2904077B2 (en) Magnetic disk drive
JPS63126050A (en) Memory backup system
JPS61210453A (en) Data memory device
JPH09161489A (en) Non-volatile memory device
JPH04111015A (en) Information recorder
JPS61221952A (en) Method for processing channel program
JPH0644011A (en) Magnetic disk device
JPS6224405A (en) Magnetic disk device
JPH03220645A (en) Information processor