JPH02264346A - Input/output processing system - Google Patents

Input/output processing system

Info

Publication number
JPH02264346A
JPH02264346A JP1084847A JP8484789A JPH02264346A JP H02264346 A JPH02264346 A JP H02264346A JP 1084847 A JP1084847 A JP 1084847A JP 8484789 A JP8484789 A JP 8484789A JP H02264346 A JPH02264346 A JP H02264346A
Authority
JP
Japan
Prior art keywords
data
write
error
input
option
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
JP1084847A
Other languages
Japanese (ja)
Inventor
Tadao Ikeda
池田 忠雄
Sadao Ohashi
大橋 貞夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1084847A priority Critical patent/JPH02264346A/en
Publication of JPH02264346A publication Critical patent/JPH02264346A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure write-in data by executing error processing by providing processing to decide the presence of the occurrence of a write-in error after waiting the completion of write-in to an input/output apparatus. CONSTITUTION:An AP 10 issues a write-in instruction with no synchronizing IO option for from data A 12 to the data one before the data Z 13. It adds the synchronizing IO option 40 to the write-in instruction for the final data Z 13. An OS 20 executes the processing to write in all the data including the data stored in a cache memory till when into a floppy disk in conformity to the synchronizing IO option 40. The presence of the occurrence of a retry unrecoverable error in the OS at the time of the write-in is written in, and an answer is given to the AP 10 as the report 50 of a result, and the instruction is completed. According to the report 50 of the written-in result from the OS 20, the AP 10 executes the error processing 60 in the case of the occurrence of the error. Thus, the reliability of the floppy disk is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータシステムのハードエラーリカバリ
処理に係り、特にキャッシュメモリを用いたフロッピー
ディスク入出力処理に有効である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to hard error recovery processing for computer systems, and is particularly effective for floppy disk input/output processing using a cache memory.

〔従来の技術〕[Conventional technology]

従来の処理方式は、特開昭61−183767号公報に
記載のように主記憶と入出力機器間でデータ転送の終了
後、バッファアドレスを主記憶アドレス空間上に自由に
配置できるようにすることにより、高速のデータ転送を
実現してプロセッサのスループットを向上させるという
ものであった。
The conventional processing method is to allow buffer addresses to be freely placed in the main memory address space after data transfer between the main memory and the input/output device is completed, as described in Japanese Unexamined Patent Publication No. 183767/1983. The idea was to achieve high-speed data transfer and improve processor throughput.

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

上記従来技術は、バッファメモリから入出力機器に書き
込んだ時のエラー処理(ハードのCRCエラー等)につ
いての配慮がなされておらず、データが正常に入出力機
器に書き込まれたか否かの保証ができない問題があった
The above conventional technology does not take into consideration error handling (hardware CRC errors, etc.) when data is written from the buffer memory to the input/output device, and there is no guarantee that the data has been correctly written to the input/output device. There was a problem that I couldn't do it.

本発明の目的は、処理の高速化に加えて入出力機器への
書き込み完了を待って書き込みエラー発生の有無を判定
する処理を追加し、エラー処理(媒体の交換または他の
入出力機器への代替え格納処理)により書き込みデータ
を保証することにある。
The purpose of the present invention is to speed up the processing, add processing to wait for the completion of writing to the input/output device, and determine whether a writing error has occurred, and perform error handling (exchanging the medium or writing to another input/output device). The objective is to guarantee write data through alternative storage processing).

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

上記目的は、APが入出力機器に対して発行する書き込
み命令の同期工0オプションの有無により制御する。A
Pは書き込みデータの最初から最終−1までは同期IO
オプション無しで書き込み命令を発行し、キャッシュメ
モリに書き込んだだけで命令は終了させる。最終データ
の時、同期工0オプション有りで書き込み命令を発行し
、既にキャッシュメモリに蓄積されたデータを含めて入
出力機器に書き込みを実行し、エラー発生有無の報告を
APは受領する。入出力機器への書き込み結果がAPま
で戻るので、APはエラー処理(媒体の交換または他の
入出力機器への代替え格納処理)が実現される。
The above purpose is controlled by the presence or absence of the synchronous process 0 option of the write command issued by the AP to the input/output device. A
P is synchronous IO from the beginning of write data to the last -1
A write command is issued without any options, and the command is terminated by simply writing to the cache memory. When it is the final data, a write command is issued with the synchronous process 0 option, data is written to the input/output device including the data already stored in the cache memory, and the AP receives a report as to whether an error has occurred. Since the result of writing to the input/output device is returned to the AP, the AP can perform error processing (exchanging the medium or storing it in another input/output device).

〔作 用〕[For production]

APは主記憶上のデータを分割して入出力機器に書き込
む際、最初のデータから最終−1までと最終データの場
合で書き込み命令に付加する同期IOオプションを使い
分ける。APから発行された書き込み命令に同期IOオ
プションが“無し”の場合は、O8はデータをキャッシ
ュメモリに書き込んでAPに完了報告を行う、APは最
終データー1まで同期IOオプション無しで書き込み命
令を発行し処理の高速化を図る。APは最終データの時
だけ同期IOオプションを付加し、既に蓄積したデータ
と共に入出力機器への書き込みを0Sに行なわせる。O
8は入出力機器への書き込みでO8のりトライで回復で
きなかったエラーをAPに報告する。APはエラー報告
を受けてエラー処理(媒体の交換または他の入出力機器
への代替え格納)が可能となる。
When the AP divides the data on the main memory and writes it to the input/output device, it uses the synchronous IO option added to the write command depending on whether it is the first data to the last data -1 or the final data. If the synchronous IO option is "none" for the write command issued by the AP, the O8 writes the data to the cache memory and reports completion to the AP.The AP issues the write command without the synchronous IO option up to the final data 1. and speed up the processing. The AP adds a synchronous IO option only for the final data, and causes the OS to write it to the input/output device along with the already accumulated data. O
8 reports to the AP an error that could not be recovered by trying to connect to O8 when writing to the input/output device. Upon receiving the error report, the AP can handle the error (exchanging the medium or storing it in another input/output device).

〔実施例〕〔Example〕

以下1本発明の一実施例を第1図により説明する。AP
IOは主記憶11上にフロッピーディスクへの書き込み
データとして、書き込み単位にデータA12からデータ
z13まである。APloはデータA12からデータZ
13の一つ前までは同期IOオプション無しで書き込み
命令を発行するので、0820はデータをキャッシュメ
モリに書き込んで命令は終了し、APに完了を返す、最
終データであるデータZ13には書き込み命令に同期I
Oオプション40を付加することで0820の処理を変
える。0520は同期工0オプション40により、今ま
でにキャッシュメモリに蓄積したデータを含めて全デー
タをフロッピーディスクに書き込む処理を実行し、書き
込み時のO8でのリトライ回復不能エラー(ハードの永
久的エラー)発生の有無を書き込み結果報告50として
APIOに返答して命令を終了する。APIOは082
0からの書き込み結果報告50により、エラー発生であ
ればエラー処理60を実行する。
An embodiment of the present invention will be described below with reference to FIG. AP
IO is stored in the main memory 11 as write data to the floppy disk, from data A12 to data Z13 in write units. APlo is data A12 to data Z
13, the write command is issued without the synchronous IO option, so 0820 writes the data to the cache memory, the command ends, and returns completion to the AP. Synchronization I
By adding O option 40, the processing of 0820 is changed. 0520 executes the process of writing all data including the data accumulated in the cache memory to the floppy disk using the synchronization process 0 option 40, and a retry irrecoverable error (permanent hardware error) occurs in O8 when writing. The presence or absence of the occurrence is written as a result report 50 in response to APIO, and the command is completed. APIO is 082
Based on the write result report 50 from 0, if an error has occurred, error processing 60 is executed.

本実施例によれば、フロッピーディスクへの書き込みで
キャッシュメモリを使用して高速化を図り、加えて、最
終データの時同期IOオプシJンを付加することでフロ
ッピーディスクへの書き込み結果報告を受領でき、AP
レベルでのエラー処理(フロッピーディスク媒体の交換
またはディスク装置への代替え格納処理)が実現できる
According to this embodiment, cache memory is used to speed up writing to the floppy disk, and in addition, a report of the results of writing to the floppy disk is received by adding an IO option synchronized with the final data. Yes, AP
Error processing (replacement of floppy disk media or alternative storage processing in a disk device) can be realized at the level.

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

本発明によれば、APからフロッピーディスクへの書き
込み処理において、キャッシュメモリ使用によるデータ
転送の高速化に加えて、フロッピーディスクに書き込ん
だ結果のエラー発生(ハードの永久的エラー)の有無が
APに報告される。
According to the present invention, in writing processing from an AP to a floppy disk, in addition to speeding up data transfer by using cache memory, the AP can also check whether an error has occurred (permanent hardware error) as a result of writing to the floppy disk. Reported.

APはエラー発生を受領した場合、フロッピーディスク
媒体を交換しての再書き込みまたはディスク装置への代
替え格納処理が実行できるので、信頼性向上の効果があ
る。
When the AP receives the occurrence of an error, it can perform rewriting by replacing the floppy disk medium or perform alternative storage processing on a disk device, which has the effect of improving reliability.

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

第1図は本発明の一実施例であるフロッピーディスクへ
の書き込み処理説明図である。 10・・・AP、11・・・主記憶、12・・・データ
A。 13・・・データ2.20・・・O8,21・・・キャ
ッシュメモリ、30・・・フロッピーディスク、40・
・・同期IOオプション、50・・・書き込み結果報告
、60・・・エラー処理。
FIG. 1 is an explanatory diagram of a writing process to a floppy disk, which is an embodiment of the present invention. 10...AP, 11...main memory, 12...data A. 13... Data 2.20... O8, 21... Cache memory, 30... Floppy disk, 40...
...Synchronous IO option, 50...Write result report, 60...Error handling.

Claims (1)

【特許請求の範囲】[Claims] 1、主記憶とキャッシュメモリと入出力装置より成る構
成で、主記憶上のデータを入出力装置に格納する処理で
永久書き込みエラーが発生した場合にAPレベルで媒体
の交換または他の入出力機器への代替え格納処理機構を
設定したことを特徴とする入出力処理方式。
1. Consisting of main memory, cache memory, and input/output devices, if a permanent write error occurs during the process of storing data in main memory to the input/output device, the medium can be replaced at the AP level or other input/output devices can be replaced. An input/output processing method characterized by having an alternative storage processing mechanism set up.
JP1084847A 1989-04-05 1989-04-05 Input/output processing system Pending JPH02264346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1084847A JPH02264346A (en) 1989-04-05 1989-04-05 Input/output processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1084847A JPH02264346A (en) 1989-04-05 1989-04-05 Input/output processing system

Publications (1)

Publication Number Publication Date
JPH02264346A true JPH02264346A (en) 1990-10-29

Family

ID=13842194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1084847A Pending JPH02264346A (en) 1989-04-05 1989-04-05 Input/output processing system

Country Status (1)

Country Link
JP (1) JPH02264346A (en)

Similar Documents

Publication Publication Date Title
US5734818A (en) Forming consistency groups using self-describing record sets for remote data duplexing
EP0671686B1 (en) Synchronous remote data duplexing
US5682513A (en) Cache queue entry linking for DASD record updates
US20100049927A1 (en) Enhancement of data mirroring to provide parallel processing of overlapping writes
US8463746B2 (en) Method and system for replicating data
JP2846837B2 (en) Software-controlled data processing method for early detection of faults
US6701455B1 (en) Remote copy system with data integrity
JPS60142418A (en) Input/output error recovery system
US9229970B2 (en) Methods to minimize communication in a cluster database system
JP2002041368A (en) Method and device for processing data to access independently of duplicated data
JP2005259136A (en) Transaction processing system using non-disk permanent memory and method
JPH0683687A (en) Data processing system and method thereof
JPH11184744A (en) Message queuing system
JPH0113571B2 (en)
US7254683B2 (en) Speculative data mirroring apparatus method and system
JPH10105344A (en) Data recorder system and data write method therefor
US20120173830A1 (en) Synchronization of logical copy relationships
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPS6218057B2 (en)
CN111290881B (en) Data recovery method, device, equipment and storage medium
US7437593B2 (en) Apparatus, system, and method for managing errors in prefetched data
JPH02264346A (en) Input/output processing system
WO2022033269A1 (en) Data processing method, device and system
JPH05233155A (en) Disk array device
JPH1185594A (en) Information processing system for remote copy