JPS5985562A - Disk control system - Google Patents

Disk control system

Info

Publication number
JPS5985562A
JPS5985562A JP19553482A JP19553482A JPS5985562A JP S5985562 A JPS5985562 A JP S5985562A JP 19553482 A JP19553482 A JP 19553482A JP 19553482 A JP19553482 A JP 19553482A JP S5985562 A JPS5985562 A JP S5985562A
Authority
JP
Japan
Prior art keywords
disk
data
data transfer
seek operation
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
JP19553482A
Other languages
Japanese (ja)
Inventor
Morihiro Kamidachi
神館 盛弘
Kanzo Noda
完三 野田
Toshiaki Ii
俊明 井比
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 JP19553482A priority Critical patent/JPS5985562A/en
Publication of JPS5985562A publication Critical patent/JPS5985562A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Abstract

PURPOSE:To improve the data transfer efficiency of data by giving an access immediately to another disk device which is under a waiting state in case a seek operation is carried out during transfer of data. CONSTITUTION:A processor 1, a system memory 2 and a disk controller 3 are connected to each other via a common bus 4. The controller 3 controls disk devices D1 and D2 for example and incorporates two control tables T1 and T2 to control the information on the devices D1 and D2. Here a deciding part 7 checks the information of the table T2 and transmits a control signal J to switch a switch part 6 to a contact (b) when detects a waiting state under which a seek operation is through with the device D2. Thus the transfer of data is started for a file F2 of the D2. At the same time, the part 7 transmits the signal J to switch the part 6 to a contact (a) when the device D1 is set under a waiting state for end of a seek operation. Then the transfer of data is started with the D1.

Description

【発明の詳細な説明】 (at  発明の技術分野 不発明は複数のディスク装置lこおけるデータ転送を制
御するディスク制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The invention relates to a disk control method for controlling data transfer between a plurality of disk devices.

tbl  従来技術と問題点 シーク(5eek) lII]作を伴うディスク装置に
おいて、データの畳込みを行う際、シークされたシリン
ダセクタに異常(界面の損傷などにより読出/嘗込が不
能)が有る場合には、予め用意された他のシリンダの又
代セクタへの書込み(交代セクタ処理)を行ったのち、
R/Wヘッドを旧のシリンダへシーク(戻す)して、再
びデータの書込みを続行する。逆に、このように交代セ
クタ処理が施されたディスク装置にアクセスして、デー
タの読出しを行うときには、必ずシーク動作が伴うこと
になる。複数台ディスク装置を用いる処理システムにお
いて、或ディスク装置に交代セクタ処理(2回のシーク
動作)が発生した場合、必然的に、データの転送時間は
大となる。このため従来方式では、WA、IT状態にあ
るディスク装置の待ち時間が極めて大となり、データ転
送効率が低下する欠点があった。
tbl Conventional Technology and Problems Seek (5eek) lII] When data is convolved in a disk device that involves a work, if there is an abnormality in the sought cylinder sector (reading/reading is impossible due to damage to the interface, etc.) After writing to a substitute sector of another cylinder prepared in advance (alternate sector processing),
Seek (return) the R/W head to the old cylinder and continue writing data again. Conversely, when accessing a disk device that has undergone alternate sector processing in this way and reading data, a seek operation is always required. In a processing system using a plurality of disk devices, when alternate sector processing (two seek operations) occurs in a certain disk device, the data transfer time inevitably increases. Therefore, in the conventional method, the waiting time of the disk device in the WA or IT state becomes extremely long, resulting in a disadvantage that the data transfer efficiency decreases.

(Cl  発明の目的 不発明は上記の欠点を解決するためになされたもので、
データ転送効率を向上するディスク制御方式の提供を目
的としする。
(Cl Purpose of the invention The non-invention was made to solve the above drawbacks,
The purpose is to provide a disk control method that improves data transfer efficiency.

(dl  発明のS成 本発明は、処理装置と、複数のディスク装置とを有し、
処理装置からのデータ転送要求に基ずきディスク装置内
のデータの読出/V込を行う処理システムにおいて、前
記谷ディスク装置におけるシーク動作の発生状態及び終
了状態をそれぞれ管理する複数の管理テーブルと、該管
理テーブル群のデータを比較・判別する手段と、前記複
数のディスク装置へのアクセスを切替える制御手段とを
備え、前記処理装置からの第1のデータ転送要求を受け
た第1のディスク装置のデータ転送中に前記シーク動作
が発生した際、前記処理装置から前記第1のテーク転送
要求以外のデータ転送要求を受け、且つ前記シーク動作
を完了した第2のディスク装置のデータ転送を行わしめ
ることを特徴とするディスク制御方式である。以上のよ
うに不発明は、複数台Q)−r’(スフ装置を用いるシ
ステムにおいて、データ転送中の第1のティスク′iA
+樅にシーク動作(交代セクタ処理)が発生した場合、
他(第2)のディスク装置(既ζこテーク転送要求を受
けている)のシーク動作が完了しておれば、この第2の
ディスク装置のW/\1′丁(待ち〕状態を解き、直ち
にデータ転送を開始せしめるように図ったものである。
(dl S-formation of the invention The present invention includes a processing device, a plurality of disk devices,
In a processing system that reads/writes data in a disk device based on a data transfer request from a processing device, a plurality of management tables each manage the occurrence state and termination state of a seek operation in the valley disk device; a first disk device that receives a first data transfer request from the processing device, comprising means for comparing and determining data in the management table group and a control means for switching access to the plurality of disk devices; When the seek operation occurs during data transfer, a data transfer request other than the first take transfer request is received from the processing device, and the second disk device that has completed the seek operation performs data transfer. This is a disk control method characterized by: As described above, in a system using a plurality of devices Q)-r', the first task 'iA' during data transfer is
+ If a seek operation (alternative sector processing) occurs in the fir,
If the seek operation of the other (second) disk device (which has already received the take transfer request) has completed, release the W/\1' (wait) state of this second disk device, This is designed to start data transfer immediately.

le)発明の実施例 第1図は本発明の一実施例を説明するブロック図である
。第1図における処理袋+11 、システムメモリ2及
びティスフ制御装置3は共通バス4によ−」て結ばれて
いる。実施例ではティスフ11川御装置3は、2台のデ
ィスク装置J)I及び1)2を制御するものとし、この
2つのディスク装a I) +及びD2に関する情報を
管理する2つの管理テーブルT]及び1゛2を内蔵する
。第1図(こおいて、処理装置lからコマン1jcM、
(ディスク装置1)1に対するテーク転送要求)が発せ
られ、引続いてコマンドCM2(ディスク装置tDzi
こ対づ−る;r゛−り転送要求)が発せられたとする。
le) Embodiment of the invention FIG. 1 is a block diagram illustrating an embodiment of the invention. The processing bag 11, the system memory 2, and the tisf control device 3 in FIG. In the embodiment, it is assumed that the Tisfu 11 control device 3 controls two disk devices J) I and 1) 2, and two management tables T that manage information regarding these two disk devices a I) + and D2. ] and 1゛2 are built-in. FIG. 1 (here, command 1jcM from processing device l,
(take transfer request to disk device 1) is issued, followed by command CM2 (disk device tDzi
Assume that a request for transfer is issued.

これを受けた制御部5は、制御信号1を発し切替部6を
接点(イ)側に接続し、ディスク装置Dt 内のファイ
ルF1のデータ転送(♂L出又は書込)を開始し、また
管理テーブルIp、に、ディスク装置D+に関わる情報
の設定を行う。仔−夕転送中にi(/Wヘンド(図示し
ていない〕のシーク動作が発生したとき、制御部5は判
別部7を起動せしめる。判別部7は管理テーブルT2に
アクセスし、ディスク装置D2の状態を調べる。管理テ
ーブルT2には、ディスク装置1)2の現在状態を示す
現状データC82,システムメモリのアドレスA2.未
処理セクタ数SN、及0・制御情報CT2が格納されて
いる。このうち現状データC82は、第2図[alに示
す各データにより構成さねている。すなわち第2図(a
lにおける欄a −fには、処理待ち情報W、交代セク
l処理終了すblル、交代セクタ処理開始情報i’ S
、JC/W動作中動作中子情報(J p、シーク完了情
報aK及び起a×み情報STが格納されている。また管
理テーブル′J゛2の’lli制御情報CT2としては
、叱2図(blに示す情報が格納されている。すなわち
第2図(blの欄gにはディスク装置1)、のファイル
F2のアドレス(FD)、そして欄りにはティスフ獲[
1)、の動作指示情報(Read /Wri re /
 5eek等〕が格納されている。この管理テーブルT
2に対する情報の設定は、先にコマンij CM 、を
受けた’di制御部5が行う。第1図において、判別部
7は、管理、テーブルT2における情報をチェックし、
ディスク装置D2がシーク動作を既に完了した(月つコ
マンドCM2も受けている)WAIT状態にあることを
検知したとき、制御侶勺Jを発して、切替部6を接点(
0)側に切替える。これ(こよりディスクfA 置D2
のファイルF、のデータ転送が開始きれる。第3図は、
以上の制御動作を面切する)1コーチヤードである。
Upon receiving this, the control unit 5 issues a control signal 1, connects the switching unit 6 to the contact (A) side, starts data transfer (♂L output or writing) of the file F1 in the disk device Dt, and also Information related to the disk device D+ is set in the management table Ip. When a seek operation for i(/W (not shown) occurs during data transfer, the control unit 5 activates the determination unit 7. The determination unit 7 accesses the management table T2 and determines whether the disk device D2 The management table T2 stores current data C82 indicating the current state of the disk device 1)2, system memory address A2, number of unprocessed sectors SN, and control information CT2. Of these, the current data C82 is composed of each data shown in Fig. 2 [al].
Columns a to f in l include processing waiting information W, replacement sector l processing end information, and replacement sector processing start information i'S.
, JC/W operating core information (Jp, seek completion information aK, and wake-up information ST are stored. Also, as the 'lli control information CT2 of the management table 'J2, (The information shown in bl is stored. In other words, the address (FD) of file F2 in FIG.
1) Operation instruction information (Read /Wri re /
5eek, etc.] are stored. This management table T
The setting of the information for 2 is performed by the 'di control unit 5 which first received the command ij CM. In FIG. 1, the determining unit 7 checks the information in the management table T2,
When detecting that the disk device D2 has already completed the seek operation (and has also received the monthly command CM2) and is in the WAIT state, it issues a controller command and switches the switching unit 6 to the contact (
0) side. This (Koyori disk fA position D2
Data transfer of file F can now be started. Figure 3 shows
This is one coach yard.

第1図における管理テーブル1゛、は、管理テーブルT
2と同様にディスク装置[)、に関する情報が設定され
ており、ディスク装置D20)データ転送の終了時点又
はシーク動作が発生した時点で、判別部7は、管理チー
フル′1゛、にアクセスしてディスク装置]−11の状
態を調へる。ディスク装置り。
Management table 1'' in FIG. 1 is management table T
Similarly to 2, the information regarding the disk device [) is set, and at the end of the data transfer or when a seek operation occurs, the determination unit 7 accesses the management file '1'. Check the status of disk device]-11. Disk device.

がシーク完了の待ち状態であるとき、判別部7は10制
御伯@Jを発して切替部6を接点イ1側に切替えて、デ
ィスク装置D1のデータ転送を開始せしめる。
When the disk device D1 is in a waiting state for the completion of the seek, the determining unit 7 issues a 10 control signal @J, switches the switching unit 6 to the contact A1 side, and starts data transfer from the disk device D1.

[fl  発明の効果 以とのように本発明は、複数台のディスク装置(こアク
セスしてデータ転送ra−fiう処理システムにおいて
、デ・−夕転送中にシーク動作・2発生した場合には、
直ちに他の「待ち状態」にあるディスク装置へのアクセ
スを可能としたため、データ転送効率を向上しうる利点
を有下る。
[fl Effects of the Invention As described above, the present invention provides a processing system in which data is transferred by accessing a plurality of disk devices (ra-fi), and when a seek operation 2 occurs during data transfer. ,
Since it is possible to immediately access another disk device in a "waiting state", it has the advantage of improving data transfer efficiency.

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

紀1図は不発明の一実施例を欧1明するブロック図、第
2図は不発ly」の一実施例を説明する制御ブL:Iy
り図、第3図は本発明の一実施例を説明する〕「コーチ
ヤードであり、図中ζこ用いた符号は次の通りである。 1は処理装置、2はシスチン、メモリ、3はディスクf
t+i制御装v14(オ共通バス、5は制御部、6は切
替部、7は判別部、A11A、はシステムメモリアドレ
ス、CM、、CM、はコマンド、cs、、cs。 は現状データ、CT、 、 CT、は制御情報、D、、
l)。 はディスク装置、Eは交代セクタ処理終了情報、F、、
F2はファイル、FDはファイルのアドレス、OPはR
/W動作中を示す情報、PSは交代セクタ処理開始情報
、8にはシーク完了情報、SN + 、8Nyは未処理
セクタ数、STは起動済み情報、Wは処理待ち情報、a
+b+c+d+e+ rlglhは欄、41口は接点を
示す。 第 t(iJ 二ニ ー]” ¥−2図 (+2)
Figure 1 is a block diagram illustrating an embodiment of the invention, and Figure 2 is a control block diagram explaining an embodiment of the invention.
Figure 3 explains one embodiment of the present invention] This is a coachyard, and the symbols used in the figure are as follows: 1 is a processing unit, 2 is a cystine, a memory, and 3 is a disk f
t+i control unit v14 (O common bus, 5 is a control unit, 6 is a switching unit, 7 is a determination unit, A11A is a system memory address, CM, CM is a command, cs, , cs. is current data, CT, , CT is control information, D, ,
l). is the disk device, E is the replacement sector processing completion information, F...
F2 is the file, FD is the file address, OP is R
/W information indicating that it is in operation, PS is replacement sector processing start information, 8 is seek completion information, SN + , 8Ny is the number of unprocessed sectors, ST is activated information, W is processing waiting information, a
+b+c+d+e+ rlglh is a column, and port 41 indicates a contact point. No. t (iJ 2 Knee)” ¥-2 figure (+2)

Claims (1)

【特許請求の範囲】[Claims] 処理装置と、複数のディスク装置とを有し、処理装置か
らのデータ転送要求に基すきディスク装置内のデータの
耽W/書込を行う処理システムにおいて、前記各ディス
ク装置におけるシーク動作の発生状態及び終了状態情報
をそれぞれ管理する管理テーブルと、該管理テーブルの
データを比較・判別する手段と、前記複数のディスク装
置へのアクセスを切替える制御手段とを備え、前記処理
装置からのデータ転送要求を受けた第1のディスク装置
のデータ転送中に前記シーク動作が発生した際、前記処
理装置から前記第1のデータ転送要求以外のデータ転送
要求を受け、且つ@d己シーク動作を完了した第2のデ
ィスク装置のデータ転送を行わしめることを特徴とする
ディスク制御方式。
In a processing system that includes a processing device and a plurality of disk devices, and performs writing/indulging of data in the disk device based on a data transfer request from the processing device, the occurrence state of a seek operation in each of the disk devices. and a management table for managing end status information, a means for comparing and determining data in the management table, and a control means for switching access to the plurality of disk devices, and a control means for handling data transfer requests from the processing device. When the seek operation occurs during the received data transfer of the first disk device, the second disk device receives a data transfer request other than the first data transfer request from the processing device and has completed the seek operation. A disk control method characterized in that data transfer of a disk device is performed.
JP19553482A 1982-11-08 1982-11-08 Disk control system Pending JPS5985562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19553482A JPS5985562A (en) 1982-11-08 1982-11-08 Disk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19553482A JPS5985562A (en) 1982-11-08 1982-11-08 Disk control system

Publications (1)

Publication Number Publication Date
JPS5985562A true JPS5985562A (en) 1984-05-17

Family

ID=16342685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19553482A Pending JPS5985562A (en) 1982-11-08 1982-11-08 Disk control system

Country Status (1)

Country Link
JP (1) JPS5985562A (en)

Similar Documents

Publication Publication Date Title
JP4252139B2 (en) Storage system
JPH04243458A (en) Communication system between asynchronous channel direct access storage device
JPH04282731A (en) Method of error recovery in the asynchronous control unit
JPS62119626A (en) Multiplex control system for magnetic disc
JP3566319B2 (en) Information storage device
JPS5985562A (en) Disk control system
JPS6331806B2 (en)
JPS62257553A (en) Disk controller
JPH02132515A (en) Pre-read control system
JP2634867B2 (en) Disk cache data transfer control method
JPS58125128A (en) Computer system
JPH044422A (en) Disk controller with cache and data controlling method thereof
JPH02165220A (en) Disk access control system
JPH04275675A (en) Data base processing system
JP2732951B2 (en) Data transfer control method
JPH06110613A (en) Information storage device controller
JPS6053326B2 (en) Double data recording method for input/output control equipment
JPH04341977A (en) Data reproducing control system
JPS6073758A (en) Disk cache control system
JPS62140135A (en) Access controller for disk memory device
JPH08137752A (en) Information processor
JPH0122656B2 (en)
JPS59172186A (en) Cache memory control system
JPS6286425A (en) Magnetic disc control device
JPH05233159A (en) Duplex auxiliary storage system