JPS6278625A - Magnetic disk controller - Google Patents
Magnetic disk controllerInfo
- Publication number
- JPS6278625A JPS6278625A JP21964285A JP21964285A JPS6278625A JP S6278625 A JPS6278625 A JP S6278625A JP 21964285 A JP21964285 A JP 21964285A JP 21964285 A JP21964285 A JP 21964285A JP S6278625 A JPS6278625 A JP S6278625A
- Authority
- JP
- Japan
- Prior art keywords
- track
- defective
- identification code
- terminal
- 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.)
- Pending
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、情報処理装置に利用する。本発明は上位装置
の命令にしたがって、Iクセスすべき磁気ディスク七の
トラックを指定する磁気ディスク制fl装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applied to an information processing device. The present invention relates to a magnetic disk control FL device that specifies seven tracks of a magnetic disk to be accessed in accordance with a command from a host device.
本発明(5,[、アクセスすべき磁気ディスクLの1ラ
ツクを指定する+n気ディスク制御装置に才9い−ζ、
過去に不良であることが検出された不良【・ランクの識
別符号をその不良l・ラックの代替となる代替トうツク
の識別符号とともに対応させて登録し7ておき、上位装
置から不良トラック経歴のあるものが指定されたときに
は、自動的(1,二対応する代替トラックを〜、えるこ
とにより、
アクセス時間および転送時間を短縮するものである。The present invention (5,
The identification code of the defective rank that has been detected in the past is registered in correspondence with the identification code of the alternative rack that is the substitute for the defective rack. When one is specified, it automatically creates one or two corresponding alternative tracks, thereby reducing access and transfer times.
磁気ディスク装置では、その磁気ディスク上のトラック
に不良が発生することがある。従来の磁気ディスク制御
装置では、書込または読出命令が不良トラックに対して
行われると、そのトラックについて書込または読出を実
行した後に、不良であることを認識し、代替トラックを
選定して再度アクセスを実行するように制御される。In magnetic disk drives, defects may occur in tracks on the magnetic disk. In conventional magnetic disk control devices, when a write or read command is issued to a defective track, after writing or reading to that track, it is recognized as defective, an alternative track is selected, and the operation is performed again. Controlled to perform access.
したがって、同一の不良トラックが繰り返してアクセス
されても、その都度代替トラックの選定と再度のアクセ
スが行われることになる。このため、アクセス時間およ
び転送時間が増大する欠点があった。Therefore, even if the same defective track is repeatedly accessed, an alternative track will be selected and accessed again each time. This has the disadvantage that access time and transfer time increase.
本発明はこれを改良するもので、不良トラックを繰り返
しアクセスすることを回避して、アクセス時間および転
送時間を短縮することができる装置を揚供することを目
的とする。The present invention aims to improve this and provide a device that can avoid repeatedly accessing defective tracks and shorten access time and transfer time.
本発明は、磁気ディスク装置に接続され、上位装置の書
込命令または読出命令にしたがってアクセスすべき磁気
ディスク上のトラックを指定する手段を備えた磁気ディ
スク制御装置において、過去のアクセスにより不良であ
ることが検出された不良トラックの識別符号およびこの
不良トラック毎に対応してその代替となる代替トラック
の識別符号を登録する記憶回路と、−り位装置の書込命
令または読出命令によるトラックの識別符号とこの記憶
回路に登録された不良トラックの識別符号とを比較する
比較回路と、この比較回路の一致出力により上記記憶回
路に登録された対応する代替トラックの識別符号を出力
する手段とを備えたことを特徴とする。The present invention relates to a magnetic disk control device connected to a magnetic disk device and equipped with means for specifying a track on a magnetic disk to be accessed in accordance with a write command or a read command from a host device. - A storage circuit for registering an identification code of a defective track detected as a defective track and an identification code of an alternative track corresponding to the defective track; A comparison circuit that compares the code with an identification code of a defective track registered in the storage circuit, and means for outputting an identification code of a corresponding alternative track registered in the storage circuit based on a matching output of the comparison circuit. It is characterized by:
一度不良であることが検出されると、そのトラックの識
別符号を不良トラックとして記憶回路に登録しておく。Once a track is detected to be defective, the identification code of the track is registered in the storage circuit as a defective track.
しかも、その不良トラックの代替となる代替トラックの
識別符号を対応してその記憶回路に併せて登録しておく
。上位装置からの命令により指定されたトラックがその
記憶回路に登録された不良トラックと一致すると、自動
的に対応する代替トラックを指定する。Moreover, the identification code of an alternative track to replace the defective track is also registered in the memory circuit. When a track specified by a command from a host device matches a defective track registered in the storage circuit, a corresponding alternative track is automatically specified.
第1図は本発明実施例装置のブロック構成図である。端
子1には上位装置の命令にしたがって、アクセスすべき
トラックの識別符号が入力する。FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention. The identification code of the track to be accessed is input to terminal 1 in accordance with a command from a host device.
端子2には不良であることが検出された不良トラックの
識別符号が上位装置から入力する。端子3には同じく上
位装置から、この不良トラックの代替となる代替トラッ
クの識別符号が入力する。端子8からは、アクセスすべ
きトラックの識別符号が出力する。端子8は磁気ディス
ク装置に接続される。The identification code of a defective track detected to be defective is input to the terminal 2 from the host device. The identification code of a replacement track to replace this defective track is also input to the terminal 3 from the higher-level device. The terminal 8 outputs the identification code of the track to be accessed. Terminal 8 is connected to a magnetic disk device.
端子1に入力する識別符号はレジスタ10に一時蓄積さ
れる。端子2および端子3に入力する識別符号もそれぞ
れレジスタ20およびレジスタ30に一時蓄積される。The identification code input to terminal 1 is temporarily stored in register 10. The identification codes input to terminals 2 and 3 are also temporarily stored in registers 20 and 30, respectively.
レジスタ20の内容とレジスタ30の内容は対応してリ
ンクをなして、記憶回路40および50に登録される。The contents of register 20 and the contents of register 30 are registered in memory circuits 40 and 50 in a corresponding link.
比較回路60の一方の入力にはこの記憶回路40に登録
された識別符号が順に与えられ、他方の入力にはレジス
タ10の内容が与えられる。比較回路60の出力はゲー
ト回路70および90に与えられ、この二つのゲート回
路70および90を介して、レジスタ10の内容または
記憶回路50の内容のいずれかがレジスタ80に転送さ
れる。このレジスタ80の内容は端子8に出力される。The identification codes registered in the memory circuit 40 are sequentially applied to one input of the comparison circuit 60, and the contents of the register 10 are applied to the other input. The output of comparison circuit 60 is applied to gate circuits 70 and 90, and either the contents of register 10 or the contents of storage circuit 50 are transferred to register 80 via these two gate circuits 70 and 90. The contents of this register 80 are output to terminal 8.
この装置では、上位装置から書込命令または読出命令が
送出されると、その命令にしたがってアクセスすべき磁
気ディスク上のトラックの識別符号が端子1に入力する
。この識別符号はレジスタ10に一時的に蓄積されて、
比較回路60で登録された不良トラックの識別符号と比
較される。その結果登録された不良トラックの識別符号
との一致がなければ、レジスタ10の内容はゲート回路
90からレジスタ80に転送されて、その識別符号がア
クセスすべきトラックの識別符号として端子8から出力
される。In this device, when a write command or a read command is sent from a host device, the identification code of the track on the magnetic disk to be accessed is input to terminal 1 in accordance with the command. This identification code is temporarily stored in the register 10,
The comparison circuit 60 compares it with the registered identification code of the defective track. As a result, if there is no match with the registered identification code of the defective track, the contents of the register 10 are transferred from the gate circuit 90 to the register 80, and the identification code is outputted from the terminal 8 as the identification code of the track to be accessed. Ru.
この端子8から出力された識別符号のトラックが正常に
処理されればよいが、このトラックが不良であることが
図外の装置により検出されると、−に1位装置の制御に
よりその不良トラックの識別符号は端子2に入力し、同
時にその不良トラックの代替となる代替トラックの識別
符号が端子3に入力する。この不良トラックおよび代替
トラックの識別符号は対応させて記憶回路40および5
0に登録する。It is sufficient if the track with the identification code output from this terminal 8 is processed normally, but if a device (not shown) detects that this track is defective, then the defective track is The identification code of the defective track is input to terminal 2, and at the same time, the identification code of an alternative track to replace the defective track is input to terminal 3. The identification codes of the defective track and the replacement track are stored in memory circuits 40 and 5 in correspondence with each other.
Register to 0.
端子1に入力した識別符号について、比較回路60で一
致があるときには、過去に不良トラックとして検出され
たトラックが再度アクセスされようとしているときであ
り、このときには比較回路60の一致出力によりゲート
回路90は禁止状態になって、ゲート回路70が導im
する。これにより、対応する代替トラックの識別符号が
、記憶回路50から1/ジスタ80に転送される。レジ
スタ80に蓄積された識別符号が出力端子8からアクセ
スすべき識別符号として出力される。When there is a match in the comparison circuit 60 for the identification codes input to the terminal 1, it means that a track detected as a defective track in the past is about to be accessed again. is inhibited, and the gate circuit 70 is inhibited.
do. As a result, the identification code of the corresponding alternative track is transferred from the storage circuit 50 to the 1/register 80. The identification code stored in the register 80 is outputted from the output terminal 8 as the identification code to be accessed.
第2図はこの実施例装置の主要動作を説明するフローチ
ャートである。この図では識別符号をID1書込をWR
ITE、読出をREAr)と表示しである。FIG. 2 is a flowchart illustrating the main operations of the apparatus of this embodiment. In this figure, write the identification code ID1 to WR.
ITE, readout is indicated as REAr).
接続される磁気ディスク装置力<?(数ある場合には、
その磁気ディスク装置毎に上記の構成および動作をとる
ことができる。Connected magnetic disk device power <? (If there are several,
The above configuration and operation can be adopted for each magnetic disk device.
以上説明したように、本発明によれば、不良トラックが
繰り返しアクセスされることがなくなり、不良トラック
が指定された場合のアクセス時間および転送時間が短縮
され、効率的な処理が可能になる優れた効果がある。As described above, according to the present invention, a defective track is not repeatedly accessed, the access time and transfer time when a defective track is specified are shortened, and efficient processing is possible. effective.
第1図は本発明実施例装置のブロック構成図。
第2図はこの装置の主要動作を丞すフローチャート。
1・・・命令にともなうトラックの識別符号が人力する
端子、2・・・不良であることが検出された不良トラッ
クの識別符号が入力する端子、3・・・不良l・ラック
に対応する代替トラックの識別符号が入力する端子、8
・・・アクセスすべき識別符号が出力する端子、10.
20.30.80・・・識別符号を一時蓄積するレジス
タ、40.50・・・記憶回路、60・・・比較回路、
70.90・・・ゲート回路。
第1図FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention. FIG. 2 is a flowchart showing the main operations of this device. 1... Terminal into which the identification code of the truck associated with the command is entered manually, 2... Terminal into which the identification code of the defective truck detected to be defective is input, 3... Alternative corresponding to the defective l/rack. Terminal for inputting truck identification code, 8
. . . A terminal to which the identification code to be accessed is output, 10.
20.30.80...Register for temporarily storing identification code, 40.50...Storage circuit, 60...Comparison circuit,
70.90...Gate circuit. Figure 1
Claims (1)
令または読出命令にしたがってアクセスすべき磁気ディ
スク上のトラックを指定する手段を備えた磁気ディスク
制御装置において、 過去のアクセスにより不良であることが検出された不良
トラックの識別符号およびこの不良トラック毎に対応し
てその代替となる代替トラックの識別符号を登録する記
憶回路と、上位装置の書込命令または読出命令によるト
ラックの識別符号とこの記憶回路に登録された不良トラ
ックの識別符号とを比較する比較回路と、この比較回路
の一致出力により上記記憶回路に登録された対応する代
替トラックの識別符号を出力する手段と を備えたことを特徴とする磁気ディスク制御装置。(1) In a magnetic disk control device that is connected to a magnetic disk device and is equipped with means for specifying a track on the magnetic disk to be accessed according to a write command or a read command from a host device, it is defective due to past access. A storage circuit that registers the identification code of a defective track detected and the identification code of an alternative track corresponding to each defective track; The present invention includes a comparison circuit for comparing the identification code of a defective track registered in the storage circuit, and means for outputting an identification code of a corresponding alternative track registered in the storage circuit based on a matching output of the comparison circuit. Features of magnetic disk control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21964285A JPS6278625A (en) | 1985-10-01 | 1985-10-01 | Magnetic disk controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21964285A JPS6278625A (en) | 1985-10-01 | 1985-10-01 | Magnetic disk controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6278625A true JPS6278625A (en) | 1987-04-10 |
Family
ID=16738725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21964285A Pending JPS6278625A (en) | 1985-10-01 | 1985-10-01 | Magnetic disk controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6278625A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100383632B1 (en) * | 1996-06-12 | 2003-07-18 | 삼성전자주식회사 | Method for varying data recording capacity according to state of drive |
-
1985
- 1985-10-01 JP JP21964285A patent/JPS6278625A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100383632B1 (en) * | 1996-06-12 | 2003-07-18 | 삼성전자주식회사 | Method for varying data recording capacity according to state of drive |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6278625A (en) | Magnetic disk controller | |
JPS5979406A (en) | Magnetic disk controller | |
JPS6050672A (en) | Read control system of rotary memory | |
JPS629444A (en) | Copy and inspection control method between floppy medias of computer system | |
JPS62254249A (en) | Reading system for card memory capacity | |
JPS5969856A (en) | Method for controlling built-in magnetic disc | |
JPS5850613A (en) | Control system for magnetic tape | |
JPS58182774A (en) | Controller | |
JPS6136854A (en) | Memory switching device | |
JPH04359312A (en) | Electronic disk subsystem | |
JPS59104712A (en) | Alterate track processing system of magnetic disk device | |
JPH036614A (en) | Magnetic disk controller | |
JPH04130917A (en) | Electronic disk device | |
JPS6374173A (en) | Optical disk controller | |
JPS6180447A (en) | Store control system of memory | |
JPH04239335A (en) | Constitution check system for peripheral device | |
JPS623321A (en) | Optical disk controller | |
JPH02240891A (en) | Optical disk device | |
JPS63148320A (en) | Control system for terminal operation procedure | |
JPH03164843A (en) | Optical disk processing device | |
JPH02162458A (en) | Parallel processor | |
JPS5841544B2 (en) | Debugging processing system for pattern recognition equipment | |
JPS6488632A (en) | Information processor | |
JPS57208615A (en) | Writing controlling system of magnetic disk device | |
JPS63200365A (en) | Fixed magnetic disk device |