JPH01122073A - Control system for magnetic disk device - Google Patents

Control system for magnetic disk device

Info

Publication number
JPH01122073A
JPH01122073A JP27976487A JP27976487A JPH01122073A JP H01122073 A JPH01122073 A JP H01122073A JP 27976487 A JP27976487 A JP 27976487A JP 27976487 A JP27976487 A JP 27976487A JP H01122073 A JPH01122073 A JP H01122073A
Authority
JP
Japan
Prior art keywords
magnetic disk
disk device
read operation
retrial
storage contents
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
JP27976487A
Other languages
Japanese (ja)
Inventor
Toshibumi Mori
俊文 森
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 JP27976487A priority Critical patent/JPH01122073A/en
Publication of JPH01122073A publication Critical patent/JPH01122073A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To reduce the number of times by retrial and to improve a processing effect by storing previously trail history at every record of a magnetic disk device and referring to the trial history at the beginning of a read operation and performing the read operation by an abbreviated procedure when the retrial is performed. CONSTITUTION:The addresses 11 at every cylinder, every head and every record are stored previously as storage contents 12 in the storage circuit of the magnetic disk device. By considering the contents of the storage contents 12 as the trail history, the storage contents 12 are specified by one address 11. Besides, the storage contents 12 are classified into normal finish by reread (a), normality by reread after offset seek (b), normal finish by ECC correction (c), abnormal finish (d) and number of times of retrial (e). Then, at the beginning of the read operation, the storage contents are referred to, and when the retrial is performed, the read operation is performed by the abbreviated procedure so that the number of times of the retrial is reduced and the processing effect is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク装置の制御方式に関し、特に磁気
ディスク装置からデータの読出し動作を行うときの磁気
ディスク装置の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a magnetic disk device, and particularly to a control method for a magnetic disk device when reading data from the magnetic disk device.

〔従来の技術〕[Conventional technology]

従来、磁気ディスク装置から任意のレコードの読出し動
作を行うときは、第3図に示すような手順によって行っ
ている。すなわち、目的のレコードからデータを読出し
て(参照符号51)、その読出し動作が正常に終了した
がどうかを判別しく参照符号52)、正常に終了しなか
ったときは再度読出しを行ってオフセット命令によるオ
フセットシーク後の再読出し動作とECCによる修正動
作との再試行を行ない(参照符号53)、それが正常終
了しないときは上述の動作を規定回数たけ反覆して行い
(参照符号54および55)、なお正常とならないとき
は以上終了(参照符号56)、上述の動作中に正常に動
作したときは正常終了(参照符号57および58)する
Conventionally, when reading an arbitrary record from a magnetic disk device, the procedure is as shown in FIG. That is, data is read from the target record (reference numeral 51), and it is determined whether the read operation has been completed normally or not (reference numeral 52). If the read operation has not been completed normally, the data is read again and the offset command is used. The re-reading operation after the offset seek and the correction operation using the ECC are retried (reference numeral 53), and if they do not end normally, the above-mentioned operation is repeated a prescribed number of times (reference numerals 54 and 55); Note that if the operation is not normal, the process ends (reference numeral 56), and if the operation is normal during the above-mentioned operation, it ends normally (reference numerals 57 and 58).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したような従来の磁気ディスク装置の制御方式は、
過去にデータの読出し動作を行い、それが再試行によっ
て正常に終了したレコードから、再度データの読出し動
作を行うとき、過去の再試行に関する履歴が残っていな
いため、再度第3図に示した手順と同じ手順で読出し動
作を行なわなければならない。従って読出し動作は最初
の手順から行うため、再試行の回数が増えるという欠点
を有している。
The conventional control method for magnetic disk devices as described above is
When attempting to read data again from a record for which a data read operation was previously performed and completed normally after a retry, there is no history of past retries, so the procedure shown in Figure 3 is repeated. The read operation must be performed using the same procedure. Therefore, since the read operation is performed from the first step, there is a drawback that the number of retries increases.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の磁気ディスク装置の制御方式は、磁気ディスク
装置からのデータの読出し動作の試行履歴をシリンダ毎
およびヘッド毎およびレコード毎に記憶回路に記憶して
おき、再度データの読出し動作を行うときは、前記記憶
回路に記憶した前記試行履歴を参照して短縮手順によっ
て読出し動作を行わせるように構成したものである。
The magnetic disk device control method of the present invention stores a trial history of data reading operations from the magnetic disk device in a storage circuit for each cylinder, each head, and each record, and when performing the data reading operation again. , the reading operation is performed by a shortened procedure with reference to the trial history stored in the storage circuit.

すなわち、本発明の磁気ディスク装置の制御方式は、磁
気ディスク装置のすべてのレコードからのデータの読出
し動作の試行履歴を各シリンダの各ヘッドの各レコード
毎に記憶回路に記憶しておき、前記記憶回路の記憶して
いる前記試行履歴を参照して前記磁気ディスク装置から
データの読出し動作を行うとき、その内容から再試行が
行なわれていることがわかったとき、短縮手順によって
読出し動作を行って前記記憶回路の試行履歴を更新する
ことを含んでいる。
That is, the magnetic disk device control method of the present invention stores a trial history of data reading operations from all records of the magnetic disk device in a storage circuit for each record of each head of each cylinder. When reading data from the magnetic disk device by referring to the trial history stored in the circuit, if it is found from the contents that a retry is being performed, the read operation is performed using a shortened procedure. The method includes updating the trial history of the memory circuit.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すフローチャート、第2
図は第1図の実施例において記憶回路に記憶する試行履
歴の内容を示す説明図である。
FIG. 1 is a flowchart showing one embodiment of the present invention, and FIG.
The figure is an explanatory diagram showing the contents of the trial history stored in the memory circuit in the embodiment of FIG. 1.

第2図に示すように、記憶回路は磁気ディスク装置の各
シリンダ毎の各ヘッド毎の各レコード毎にアドレス11
を有し、1個のアドレス11で指定される記憶回路の領
域の中には、試行H,FMの記憶内容12として、再読
出しによる正常終了(a)、オフセットシーク後の再読
出しによる正常終了(b)、FCC修正による正常終了
(C)、異常終了(d)、再試行の回数(e)を記憶す
る。
As shown in FIG. 2, the storage circuit has an address 11 for each record for each head for each cylinder of the magnetic disk device.
In the area of the memory circuit specified by one address 11, the memory contents 12 of trial H and FM include normal completion by rereading (a) and normal completion by rereading after offset seek. (b), normal termination due to FCC correction (C), abnormal termination (d), and number of retries (e) are stored.

第1図のフローチャートに示すように、本制御方式は、
まずデータを読出すべき磁気ディスク装置のシリンダお
よびヘッドおよびレコードのアドレスを指定してそのア
ドレスの記憶回路の領域からそこに記憶している試行履
歴を読出すく参照符号1)。試行履歴の内容から再試行
が行なわれていないことがわかった場合(参照符号2お
よび3)は、通常の読出し動作を行ない(参照符号4)
、正常終了すれば(参照符号5)試行履歴を更新して正
常終了く参照符号11および10)し、正常終了しない
ときは再試行(9照符号6)へと進む 試行履歴の内容から再試行が行われていたことがわかっ
た場合(参照符号2)は、再試行によって正常終了した
ときの読出し動作を行ないく参照符号6)、正常終了し
たとき(参照符号7)試行履歴を更新する(参照符号1
2および10)。正常終了しなかったときは、再試行く
参照符号6)へ進む。再試行では正常終了(参照符号7
)するかまたは規定回数の再試行く参照符号8)を行っ
てから履歴を更新して(参照符号10)終了する。
As shown in the flowchart in Figure 1, this control method:
First, the address of the cylinder, head, and record of the magnetic disk device from which data is to be read is specified, and the trial history stored therein is read from the area of the storage circuit corresponding to the address (reference numeral 1). If it is found from the content of the trial history that no retry has been performed (reference numerals 2 and 3), a normal read operation is performed (reference numeral 4).
If it ends normally (reference numeral 5), the trial history is updated and it ends normally (reference numerals 11 and 10), and if it does not end normally, proceed to retry (reference numeral 6).Retry from the contents of the trial history. If it is found that the process has been performed (reference numeral 2), perform the read operation when the process ends normally by retrying (reference numeral 6), and update the trial history when it ends normally (reference numeral 7). Reference number 1
2 and 10). If the process does not end normally, proceed to reference numeral 6) for retrying. Successful completion on retry (reference number 7)
) or retry a predetermined number of times (8), update the history (10), and end the process.

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

以上説明したように、本発明の磁気ディスク装置の制御
方式は、各レコード毎に試行履歴を記憶しておき、読出
し動作の始めにその試行履歴を参照し、再試行が行われ
ている場合は、短縮した手順によって読出し動作を行な
うことによって、再試行による回数を少なくすることが
できるという効果がある。
As explained above, the magnetic disk device control method of the present invention stores a trial history for each record, refers to the trial history at the beginning of a read operation, and if a retry is performed, By performing a read operation using a shortened procedure, the number of retries can be reduced.

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

第1図は本発明の一実施例を示すフローチャート、第2
図は第1図の実施例において記憶する試行履歴の内容を
示す説明図、第3図は従来の磁気ディスク装置の制御方
式の一例を示すフローチャートである。 11・・・アドレス、12・・・記憶内容。
FIG. 1 is a flowchart showing one embodiment of the present invention, and FIG.
1 is an explanatory diagram showing the contents of the trial history stored in the embodiment of FIG. 1, and FIG. 3 is a flowchart showing an example of a conventional control method for a magnetic disk device. 11... Address, 12... Memory contents.

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク装置のすべてのレコードからのデータの読
出し動作の試行履歴を各シリンダの各ヘッドの各レコー
ド毎に記憶回路に記憶しておき、前記記憶回路の記憶し
ている前記試行履歴を参照して前記磁気ディスク装置か
らデータの読出し動作を行うとき、その内容から再試行
が行なわれていることがわかったとき、短縮手順によっ
て読出し動作を行って前記記憶回路の試行履歴を更新す
ることを含むことを特徴とする磁気ディスク装置の制御
方式。
A trial history of data reading operations from all records of the magnetic disk device is stored in a storage circuit for each record of each head of each cylinder, and the trial history stored in the storage circuit is referred to. When performing a data read operation from the magnetic disk device, if it is found from the contents that a retry is being performed, the read operation is performed using a shortened procedure to update the trial history of the storage circuit. A control method for a magnetic disk device characterized by:
JP27976487A 1987-11-04 1987-11-04 Control system for magnetic disk device Pending JPH01122073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27976487A JPH01122073A (en) 1987-11-04 1987-11-04 Control system for magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27976487A JPH01122073A (en) 1987-11-04 1987-11-04 Control system for magnetic disk device

Publications (1)

Publication Number Publication Date
JPH01122073A true JPH01122073A (en) 1989-05-15

Family

ID=17615577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27976487A Pending JPH01122073A (en) 1987-11-04 1987-11-04 Control system for magnetic disk device

Country Status (1)

Country Link
JP (1) JPH01122073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7531983B2 (en) 2004-11-06 2009-05-12 Samsung Electronics Co., Ltd. Method of controlling startup current of motor and disk drive using the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7531983B2 (en) 2004-11-06 2009-05-12 Samsung Electronics Co., Ltd. Method of controlling startup current of motor and disk drive using the method

Similar Documents

Publication Publication Date Title
EP0147794B1 (en) Error recovery method and apparatus
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
JP2000048496A (en) Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program
JPH01122073A (en) Control system for magnetic disk device
JP2684717B2 (en) Disk controller bad track control method
JPH01281543A (en) Information processor
JPS5940309A (en) Memory controller
JPH0833803B2 (en) Storage controller
JPH0820933B2 (en) Data writing method and device
JPH0440794B2 (en)
JPS6161273A (en) Control system of memory device
JPS6113259B2 (en)
JPS62192826A (en) File writing system
JPH045222B2 (en)
JPH04290115A (en) Retrying method for disk controller
JPH05250105A (en) Information processor
JPS63195877A (en) Data recording and reproducing system
JPS62194557A (en) File trouble recovery system
JPH02227754A (en) Disk cache control method
JPS6124060A (en) Optical disc controller
JPH01223547A (en) Input/output instruction converting system
JPH02267789A (en) Draw type optical disk device
JPH0236414A (en) Magnetic disk device
JPH0296215A (en) Magnetic disk device
JPH0743673B2 (en) Writing control method to auxiliary storage device