JPH01251375A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH01251375A
JPH01251375A JP7862388A JP7862388A JPH01251375A JP H01251375 A JPH01251375 A JP H01251375A JP 7862388 A JP7862388 A JP 7862388A JP 7862388 A JP7862388 A JP 7862388A JP H01251375 A JPH01251375 A JP H01251375A
Authority
JP
Japan
Prior art keywords
seek
seek operation
alternate
magnetic disk
necessary
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
JP7862388A
Other languages
Japanese (ja)
Inventor
Shunichi Oki
俊一 沖
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP7862388A priority Critical patent/JPH01251375A/en
Publication of JPH01251375A publication Critical patent/JPH01251375A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently execute an alternate processing by judging whether a seek for an alternate destination is necessary or not during a seek operation and executing a seek operation for the alternate destination when the seek operation is terminated in the seek action of the magnetic disk device of a fixed sector format. CONSTITUTION:The title device consists of a control part 31 to judge whether the alternate processing is necessary or not and executes the alternate processing in the seek operation, a register 33 to store the address of the seek, a register 34 to store its result, a register 35 to store the address of the alternate destination and a memory 36 to store alternate information about which address the alternate processing is to be executed to. Before judging whether the alternate processing is necessary or not, the seek operation is executed, the alternate information is prepared by the termination of the seek operation and whether the alternate processing is necessary or not is judged by examining it. Thus, the alternate processing can be executed efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気ディスク制御装置に関し、特に情報処理
の分野における磁気ディスク装置の磁気ディスク装置制
御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk control device, and particularly to a magnetic disk device control device for a magnetic disk device in the field of information processing.

〔従来の技術〕[Conventional technology]

従来、この種の磁気ディスク制御装置とじては、代替処
理が必要か否かを判断し、代替先に直接シークする手段
を有するものと、シーク動作を行い、そのシーク先のI
D情報を元に代替処理が必要か否かを判断してから代替
先にシークを行う手段を有するもの、の2つがある。
Conventionally, this type of magnetic disk control device has a means for determining whether alternative processing is necessary and directly seeking to the alternative destination, and another that performs a seek operation and checks the I/O of the seek destination.
There are two types: one that has means for determining whether or not alternative processing is necessary based on the D information and then seeking to the alternative destination.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述の前者の制御装置によれば、シーク動作を行う前に
代替処理が必要か否かを調べ、代替先へのシーク動作を
行うため、シーク動作が開始されるまでに時間がかかっ
てしまうという欠点がある。後者の制御装置によれば、
−度シーク動作を終了してからシーク先のID情報によ
り、代替処理が必要か否かを調べ、代替先ヘシークをす
るため、代替処理を行う場合には、時間がかかってしま
うという欠点がある。
According to the former control device described above, before performing a seek operation, it is checked whether alternative processing is necessary or not, and the seek operation to the alternative destination is performed, so it takes time to start the seek operation. There are drawbacks. According to the latter control device:
-After completing the seek operation, it is checked whether alternative processing is necessary based on the ID information of the seek destination, and seek is performed to the alternative destination, so there is a drawback that it takes time to perform alternative processing. .

〔課題を解決するための手段〕[Means to solve the problem]

本発明の磁気ディスク制御装置は、固定セクタフォーマ
ットの磁気ディスク装置のシーク動作において、シーク
動作を行う手段と、前記シーク動作中に代替先へのシー
クが必要か否かを判断する手段と、前記シーク動作終了
時に代替先へのシーク動作を行う手段とを有する。
A magnetic disk control device according to the present invention includes, in a seek operation of a fixed sector format magnetic disk device, means for performing a seek operation, means for determining whether or not a seek to an alternative destination is necessary during the seek operation; and means for performing a seek operation to an alternative destination upon completion of the seek operation.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例である磁気ディスク制御装置
を用いたシステムの一構成例を示す。第1図において、
本実施例の磁気ディスク制御装置30は読出し/書込み
命令を発行する中央処理装置10(以下CPUl0とい
う)と、主記憶装置20とに共通バス40を介して接続
されており、各々のデータが転送されるように構成され
ている。
FIG. 1 shows an example of the configuration of a system using a magnetic disk control device according to an embodiment of the present invention. In Figure 1,
The magnetic disk control device 30 of this embodiment is connected to a central processing unit 10 (hereinafter referred to as CPU10) that issues read/write commands and a main storage device 20 via a common bus 40, and each data is transferred. is configured to be

第2図は、本発明の一実施例を示す。第2図において、
本実施例の磁気ディスク制御装置は共通バス40とのイ
ンターフェース並びに固定セクタフォーマットの磁気デ
ィスク装置50とのインターフェースを制御し、CPU
l0より発行された読出し/書込み命令を実行し、読出
し/書込み動作に伴うシーク動作において、代替処理が
必要か否かを判断して代替処理を行う制御部31と、シ
ークのアドレスを格納するためのレジスタ33と、代替
処理が必要か否かを判断して、その結果を格納するため
のレジスタ34と、代替先のアドレスを格納するための
レジスタ35と、どのアドレスに代替処理を行えばよい
かという代替情報を格納しているメモリ36より構成さ
れている。
FIG. 2 shows an embodiment of the invention. In Figure 2,
The magnetic disk control device of this embodiment controls the interface with the common bus 40 and the fixed sector format magnetic disk device 50, and controls the CPU.
A control unit 31 that executes the read/write command issued by l0, determines whether or not alternative processing is necessary in the seek operation accompanying the read/write operation, and performs the alternative processing, and a control unit 31 for storing the seek address. , a register 34 for determining whether or not alternative processing is necessary and storing the result, and a register 35 for storing the alternative address, which address should the alternative processing be performed on? It is composed of a memory 36 that stores alternative information.

CPUl0より制御部31に対して、主記憶装置20か
ら共通バス40を経由して送られるデータを、磁気ディ
スク装N 50に書込む命令が発行されると、制御部3
1は、磁気ディスク装置50に対してシーク動作を実行
し、レジスタ33にシークアドレスを格納する。
When the CPU 10 issues a command to the control unit 31 to write data sent from the main storage device 20 via the common bus 40 to the magnetic disk unit N50, the control unit 3
1 executes a seek operation on the magnetic disk device 50 and stores a seek address in the register 33.

次に制御部31は、代替情報をメモリ36より読出しレ
ジスタ33の内容が代替処理を必要とするか否かを調べ
て、代替処理が必要な場きは、レジスタ34のフラグを
セットし、レジスタ35に代替先のアドレスを格納する
Next, the control unit 31 reads alternative information from the memory 36, checks whether the contents of the register 33 require alternative processing, and if alternative processing is necessary, sets a flag in the register 34, and registers The alternative address is stored in 35.

制御部31は、シーク動作の終了を認識すると、レジス
タ34の内容を読出して、フラグがセットされていれば
、レジスタ35の内容を読出して、代替先へのシークを
実行し、代替先へのシーク終了後、主記憶装置20から
共通バス40を経由して転送されてきたデータの磁気デ
ィスク装置50への書込みを行うが、レジスタ34のフ
ラグがセットされていなければ、代替処理は行わず、シ
ーク動作の終了後、主記憶装置20から共通バス40を
経由して転送されてきたデータの磁気ディスク装置50
への書込みを行い、データの書込みが終了すると、共通
バス40を経由してCPU10に対して割込みをかけて
動作を終了する。
When the control unit 31 recognizes the end of the seek operation, it reads the contents of the register 34, and if the flag is set, reads the contents of the register 35, executes the seek to the alternative destination, and executes the seek to the alternative destination. After the seek is completed, the data transferred from the main storage device 20 via the common bus 40 is written to the magnetic disk device 50, but if the flag in the register 34 is not set, no alternative processing is performed. After the seek operation is completed, the data transferred from the main storage device 20 via the common bus 40 is transferred to the magnetic disk device 50.
When the data writing is completed, an interrupt is sent to the CPU 10 via the common bus 40 to end the operation.

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

以上説明したように本発明は、代替処理が必要か否かを
判断する前にシーク動作を行うため、シーク動作終了ま
でに、シーク動作以外に要する時間が不要となること、
そして、代替情報を用意しておいて、それを調べること
により代替処理が必要がどうかを判断するなめ、ID情
報を調べて代替処理が必要かどうかを判断するより少な
い時間で、代替処理が必要か否かを判断できることの2
点により、効率的に代替処理が実行できる効果がある。
As explained above, the present invention performs the seek operation before determining whether or not alternative processing is necessary, so there is no need for time required for operations other than the seek operation until the seek operation is completed.
By preparing alternative information and checking it to determine whether alternative processing is necessary, alternative processing is required in less time than examining ID information and determining whether alternative processing is necessary. 2. Being able to judge whether or not
This has the effect that alternative processing can be executed efficiently.

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

第1図は本発明の一実施例である磁気ディスク制御装置
を用いたシステムの一構成例を示す図、第2図は本発明
の一実施例を示す図である。 10・・・中央処理装置、2o・・・主記憶装置、30
・・・磁気ディスク制御装置、31・・・制御部、33
・・・レジスタ、34・・・レジスタ、35・・・レジ
スタ、36・・・メモリ、40・・・共通バス、5o・
・・磁気ディスク装置。
FIG. 1 is a diagram showing an example of the configuration of a system using a magnetic disk control device which is an embodiment of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention. 10...Central processing unit, 2o...Main storage device, 30
...Magnetic disk control device, 31...Control unit, 33
...Register, 34...Register, 35...Register, 36...Memory, 40...Common bus, 5o...
...Magnetic disk device.

Claims (1)

【特許請求の範囲】[Claims] 固定セクタフォーマットの磁気ディスク装置のシーク動
作において、シーク動作を行う手段と、前記シーク動作
中に代替先へのシークが必要か否かを判断する手段と、
前記シーク動作終了時に代替先へのシーク動作を行う手
段とを有することを特徴とする磁気ディスク制御装置。
In a seek operation of a fixed sector format magnetic disk device, means for performing a seek operation, and means for determining whether a seek to an alternative destination is necessary during the seek operation;
A magnetic disk control device comprising: means for performing a seek operation to an alternative destination when the seek operation ends.
JP7862388A 1988-03-30 1988-03-30 Magnetic disk controller Pending JPH01251375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7862388A JPH01251375A (en) 1988-03-30 1988-03-30 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7862388A JPH01251375A (en) 1988-03-30 1988-03-30 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH01251375A true JPH01251375A (en) 1989-10-06

Family

ID=13667011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7862388A Pending JPH01251375A (en) 1988-03-30 1988-03-30 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH01251375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5792304A (en) * 1993-09-16 1998-08-11 Hitachi, Ltd. Method of holding substrate and substrate holding system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5792304A (en) * 1993-09-16 1998-08-11 Hitachi, Ltd. Method of holding substrate and substrate holding system
US5961774A (en) * 1993-09-16 1999-10-05 Hitachi, Ltd. Method of holding substrate and substrate holding system

Similar Documents

Publication Publication Date Title
JPH04295677A (en) Magnetic-disk processing device
JPH01251375A (en) Magnetic disk controller
JPH0388018A (en) Disk controller
JP2541780B2 (en) Mirror ring magnetic disk unit
JPH0793101A (en) Data backup device
JPH03176861A (en) Magnetic disk controller
JP2684717B2 (en) Disk controller bad track control method
JPH1027153A (en) Bus transfer device
JPH05181613A (en) Information processor
JPS5969856A (en) Method for controlling built-in magnetic disc
JPS6050672A (en) Read control system of rotary memory
JPH0447350A (en) Main storage read/response control
JP2808761B2 (en) Command control method for data processing system
JP2524620B2 (en) Input / output control method
JPH0227570A (en) Magnetic disk controller
JPS6028023B2 (en) I/O instruction acceleration method
JPS63191378A (en) Memory controller
JPS58171724A (en) Copy controller of magnetic disc tape
JPS60176144A (en) Register file device
JPS6286425A (en) Magnetic disc control device
JPH0464092B2 (en)
JPS62202362A (en) Disk input/output control system
JPH0473177B2 (en)
JPH0561610A (en) Method for selecting interruption magnetic disk device
JPH0675706A (en) Magnetic disk control system