JPH0926857A - Disk write guarantee method - Google Patents

Disk write guarantee method

Info

Publication number
JPH0926857A
JPH0926857A JP7177252A JP17725295A JPH0926857A JP H0926857 A JPH0926857 A JP H0926857A JP 7177252 A JP7177252 A JP 7177252A JP 17725295 A JP17725295 A JP 17725295A JP H0926857 A JPH0926857 A JP H0926857A
Authority
JP
Japan
Prior art keywords
write
disk
data
disk device
range
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.)
Granted
Application number
JP7177252A
Other languages
Japanese (ja)
Other versions
JP2770794B2 (en
Inventor
Mitsujirou Uchida
密次郎 内田
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 JP7177252A priority Critical patent/JP2770794B2/en
Publication of JPH0926857A publication Critical patent/JPH0926857A/en
Application granted granted Critical
Publication of JP2770794B2 publication Critical patent/JP2770794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten a time exclusively used by disk write by judging the case that the write of all the data on a disk device is completed as normal completion and writing new data of a remaining part by changing the address of start data when the write of only a part of data is completed. SOLUTION: A write target range group is decided from file areas managed by host processors 10, 20, and write guarantee processes 11, 12 or 12, 21 are operated. The write target range group is started to write on the disk device 40 from a cache part 32 starting from a first request range sequentially. When the write operation of the disk device 40 set for one time of processing is completed. the case that the write of all the data on the disk device 40 is completed is judged as the normal completion, and in the case of partial completion in which the write of all the data is incomplete, the write operation of the new data of the remaining part is performed by changing the address of the start data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、キャッシュメモリを装
備したディスク処理装置を含むコンピュータシステムに
おけるディスク書込み保証方法に関し、特に、ディスク
処理装置のキャシュメモリに書込んであるデータをディ
スク装置に書込むとき、確実にデータの書込みが行われ
ることを保証するためのディスク書込み保証方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk write guarantee method in a computer system including a disk processing device equipped with a cache memory, and more particularly to writing data written in the cache memory of the disk processing device into the disk device. At this time, the present invention relates to a disk write guarantee method for guaranteeing that data writing is surely performed.

【0002】[0002]

【従来の技術】キャッシュメモリを装備したディスク処
理装置を含むコンピュータシステムにいては、ホストプ
ロセッサからディスク装置に書込むデータは、ホストプ
ロセッサからディスク装置に直接に書込まず、一旦ディ
スク処理装置のキャシュメモリに書込んでおき、ディス
ク処理装置およびディスク装置が入出力指令による動作
を行っていないときに、ディスク処理装置のキャシュメ
モリのデータをディスク装置に書込む動作を行ってい
る。このようなディスク装置に対するデータの書込み動
作(書込み保証動作)は、コンピュータシステムのオン
ライン処理業務からバッジ処理業務への切替えの時点
や、データの更新処理を行う更新系バッジ処理業務から
データのセーブを行う保守系バッジ処理業務への切替え
の時点に行うのが一般的であり、書込み保証動作は、通
常のディスク装置に対するデータの書込みまたは読出し
動作よりも優先される。
2. Description of the Related Art In a computer system including a disk processing device equipped with a cache memory, data to be written from the host processor to the disk device is not directly written from the host processor to the disk device, but is temporarily cached by the disk processing device. An operation of writing data in the cache memory of the disk processing device to the disk device is performed when the disk processing device and the disk device are not operating according to the input / output command. The data writing operation (writing guarantee operation) to such a disk device is performed at the time of switching from the online processing operation of the computer system to the badge processing operation, and at the time of saving the data from the update badge processing operation that performs the data update processing. It is generally performed at the time of switching to the maintenance-type badge processing operation to be performed, and the write guarantee operation is prioritized over the data write or read operation for a normal disk device.

【0003】上述のようなディスク装置に対する書込み
データをディスク処理装置のキャシュメモリからディス
ク装置に書込む動作を確実に行わせることを保証するた
めの従来のディスク書込み保証方法としては、第一の方
法として、ホストプロセッサが書込み保証対象範囲群
(ディスク処理装置からディスク装置に書込むデータを
指定するアドレスの範囲)を一括してディスク処理装置
に指令し、ディスク処理装置がその指令による書込み保
証対象範囲群内の全てのデータをディスク装置に書込ん
だ後にその指令を終了させるという方法が採用されてい
る。
A first method as a conventional disk write guarantee method for ensuring that the operation of writing the write data to the disk device from the cache memory of the disk processing device to the disk device as described above is surely performed. As a result, the host processor issues a command to the disk processing device in a batch to the write guarantee target range group (the range of addresses that specify the data to be written to the disk device from the disk processing device), and the disk processing device receives the write guarantee target range according to the command. A method is adopted in which after writing all the data in the group to the disk device, the command is ended.

【0004】第二の方法として、ホストプロセッサが書
込み保証対象範囲群を複数の範囲に分割してディスク処
理装置に指令し、ディスク処理装置は、分割された複数
の範囲のそれぞれを1単位として個別に書込み動作を行
い、最終的に書込み保証対象範囲群内の全てのデータを
ディスク装置に書込んだ後にその指令を終了させるとい
う方法が採用されている。
As a second method, the host processor divides the write guarantee target range group into a plurality of ranges and gives an instruction to the disk processing apparatus, and the disk processing apparatus individually sets each of the plurality of divided ranges as one unit. A method is adopted in which a write operation is performed, and finally all the data within the write guarantee target range group is written to the disk device, and then the command is ended.

【0005】[0005]

【発明が解決しようとする課題】上述したような従来の
ディスク書込み保証方法は、第一の方法では、指令の実
行に伴うディスク処理装置およびディスク装置(リソー
ス)の占有時間が長くなるため、同一のリソースを利用
する通常の読出し指令や書込み指令に対する応答が遅れ
るという欠点を有している。
In the above-described conventional disk write guarantee method, in the first method, since the occupation time of the disk processing device and the disk device (resource) associated with the execution of the command becomes long, the same method is used. However, there is a disadvantage that the response to a normal read command or write command using the resources of the above is delayed.

【0006】第二の方法では、指令の実行に伴うリソー
スの占有時間をホストプロセッサが調整できるが、一つ
のリソースが複数のホストプロセッサに接続されている
場合、複数のホストプロセッサからの指令を均等に実行
するためのリソースにかかる負荷の動的最適化を行うに
は不適当であるという問題点を有している。
In the second method, the host processor can adjust the occupation time of the resource accompanying the execution of a command. However, when one resource is connected to a plurality of host processors, commands from the plurality of host processors are equally distributed. However, there is a problem that it is inappropriate to dynamically optimize the load on resources to be executed.

【0007】本発明の目的は、上述したような従来のデ
ィスク書込み保証方法の欠点を解消して、ディスク書込
み指令の実行に伴うリソースの占有時間を短縮し、しか
も動的最適化を行うことができるディスク書込み保証方
法を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks of the conventional disk write guarantee method, shorten the resource occupation time associated with the execution of a disk write command, and perform dynamic optimization. It is an object of the present invention to provide a disk write guarantee method which can be performed.

【0008】[0008]

【課題を解決するための手段】本発明のディスク書込み
保証方法は、コンピュータシステムが起動されたとき、
ホストプロセッサの保証プロセスを動作させて書込み対
象範囲群を指定してディスク処理装置に書込み保証指令
を発行し、前記ディスク処理装置は、前記書込み対象範
囲群の要求範囲の第一番目から順次にキャッシュ部から
ディスク装置に対して書込みを開始し、前記ディスク処
理装置および前記ディスク装置の負荷状況に応じて調整
したデータ量の書込み動作または1回の処理のために設
定した前記ディスク装置の書込み動作時間が終了したと
き、その時点で要求範囲の全てのデータの前記ディスク
装置に対する書込みが終了している場合は正常終了と
し、前記要求範囲の一部のデータしか前記ディスク装置
に対する書込みが終了していない異常終了の場合は、そ
の異常終了が前記ディスク処理装置または前記ディスク
装置の動作不良による終了であるときはコンピュータシ
ステムの異常として終了し、その異常終了が前記要求範
囲の一部のデータしか前記ディスク装置に対する書込み
が終了していない部分終了のときはその書込み保証指令
の前記要求範囲の開始データのアドレスを変更して残余
の部分を新たな要求範囲とするデータの書込み動作を行
うことを含むものである。
According to the present invention, there is provided a disk write guarantee method comprising the steps of:
The guarantee process of the host processor is operated to specify a write target range group, and a write guarantee command is issued to the disk processing device, and the disk processing device sequentially caches from the first requested range of the write target range group. Section starts writing to the disk device, and the write operation time of the disk device set for a write operation of a data amount adjusted according to the load status of the disk processing device and the disk device or for one-time processing When all the data in the requested range have been written to the disk device at that time, the processing ends normally, and only part of the data in the requested range has been written to the disk device. In the case of abnormal termination, the abnormal termination is due to a malfunction of the disk processing device or the disk device. When it is the end, it ends as an abnormality of the computer system, and when the abnormal end is a partial end in which only part of the data in the requested range has been written to the disk device, the requested range of the write guarantee command This includes changing the address of the start data and performing a data write operation with the remaining portion as a new request range.

【0009】[0009]

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

【0010】図1は本発明の一実施例を示すフローチャ
ート、図2は図1の実施例を適用するコンピュータシス
テムの一例を示すブロック図である。
FIG. 1 is a flowchart showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a computer system to which the embodiment of FIG. 1 is applied.

【0011】図2のコンピュータシステムは、2台のホ
ストプロセッサ10および20にディスク処理装置30
が接続されており、ディスク処理装置30は、ディスク
装置40の動作を制御する。
The computer system shown in FIG. 2 has two host processors 10 and 20 with a disk processing unit 30.
Is connected, and the disk processing device 30 controls the operation of the disk device 40.

【0012】ホストプロセッサ10および20は、それ
ぞれ複数の書込み保証プロセス(書込み保証動作プログ
ラム)11および12または書込み保証プロセス21お
よび22を同時に動作させることが可能であり、書込み
保証プロセス11および12は、入出力制御部13およ
び入出力インターフェイス14を介してディスク処理装
置30に指令を送る。同様に、書込み保証プロセス21
および22は、入出力制御部23および入出力インター
フェイス24を介してディスク処理装置30に指令を送
る。ディスク処理装置30は、入出力インターフェイス
14および入出力制御部13を介してホストプロセッサ
10に指令の実行結果を送り、入出力インターフェイス
24および入出力制御部23を介してホストプロセッサ
20に指令の実行結果を送る。
The host processors 10 and 20 can simultaneously operate a plurality of write assurance processes (write assurance operation programs) 11 and 12 or write assurance processes 21 and 22, respectively. A command is sent to the disk processing device 30 via the input / output control unit 13 and the input / output interface 14. Similarly, the write assurance process 21
And 22 send commands to the disk processing device 30 via the input / output control unit 23 and the input / output interface 24. The disk processing device 30 sends an execution result of the command to the host processor 10 via the input / output interface 14 and the input / output control unit 13, and executes the command to the host processor 20 via the input / output interface 24 and the input / output control unit 23. Send results.

【0013】入出力制御部13および23は、特定のデ
イスク装置に対する第一の入出力指令を実行中に第二の
入出力指令が発行されたとき、第二の入出力指令を保留
しておき、第一の入出力指令の実行が終了した後に、保
留している第二の入出力指令をディスク処理装置30に
送る。
When the second input / output command is issued during execution of the first input / output command for a specific disk device, the input / output control units 13 and 23 hold the second input / output command. After the execution of the first input / output command is completed, the second input / output command being held is sent to the disk processing device 30.

【0014】ディスク処理装置30は、入出力実行部3
1とキャッシュ部32と負荷監視部33とを有してお
り、入出力実行部31は、入出力インターフェイス14
または24を経由して発行された入出力指令を実行中
に、他の入出力インターフェイス24または14を経由
して別の入出力指令が発行されたとき、その別の入出力
指令を保留しておき、前の入出力指令の実行が終了した
後、保留している別の入出力指令を実行する。
The disk processing unit 30 includes an input / output execution unit 3
1, a cache unit 32, and a load monitoring unit 33, and the input / output execution unit 31
Or, when another input / output command is issued via another input / output interface 24 or 14 while executing the input / output command issued via 24, the other input / output command is suspended. After the execution of the previous input / output command is completed, another pending input / output command is executed.

【0015】キャッシュ部32は、ホストプロセッサ1
0または20が発行した書込み指令を、ディスク装置4
0を動作させずに終了させることができるためのライト
キャッシュ機能を有している。ライトキャッシュ機能に
よる書込み動作は、キャッシュ部32に保持している最
新の書込みデータを、ディスク処理装置30およびディ
スク装置40が通常の入出力指令による動作を行ってい
ないときに、ディスク処理装置30によってディスク装
置40に書込む動作である。
The cache unit 32 includes the host processor 1
0 or 20 is issued to the disk device 4
It has a write cache function for terminating 0 without operating it. The write operation by the write cache function is performed by the disk processing device 30 when the latest write data held in the cache unit 32 is not operated by the disk processing device 30 and the disk device 40 according to the normal input / output command. This is an operation of writing to the disk device 40.

【0016】負荷監視部33は、ディスク処理装置30
における単位時間あたりの入出力サービス時間、および
ディスク装置40における単位時間あたりのサービス時
間を監視し、ディスク処理装置30およびディスク装置
40内の各部の負荷状況を適時に入出力実行部31に知
らせる。
The load monitoring unit 33 includes a disk processing unit 30
And the service time per unit time in the disk device 40 is monitored, and the load status of each unit in the disk processing device 30 and the disk device 40 is notified to the input / output execution unit 31 in a timely manner.

【0017】次に、本実施例の動作について図1を参照
して説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0018】本コンピュータシステムにユーザージョブ
が投入されるかまたはホストプロセッサ10または20
が自主的に動作を開始すると、まずユーザージョブの指
定するファイル領域またはホストプロセッサ10または
20が管理するファイル領域から、書込み対象範囲群
(1〜N組)が決定し(ステップ51)、書込み保証プ
ロセス11もしくは12または21もしくは22を動作
させる(ステップ52)。
A user job is input to the computer system or the host processor 10 or 20
When the server voluntarily starts the operation, first, the write target range group (1 to N groups) is determined from the file area specified by the user job or the file area managed by the host processor 10 or 20 (step 51), and the write guarantee is performed. The process 11 or 12 or 21 or 22 is operated (step 52).

【0019】書込み保証プロセス11もしくは12また
は21もしくは22は、書込み対象範囲群の指標nをn
=1とし(ステップ53)、書込み対象範囲群の第n番
目までの範囲を要求範囲(書込みを行う範囲)とする
(ステップ54)。次に、この要求範囲をパラメータと
する書込み保証指令をディスク処理装置30に対して発
行し、ディスク処理装置30における入出力動作の終了
(I/O終了)を待ち合わせる(ステップ55)。
The write guarantee process 11 or 12 or 21 or 22 sets the index n of the write target range group to n.
= 1 (step 53), and the range up to the n-th writing target range group is set as the required range (writing range) (step 54). Next, a write assurance command using the requested range as a parameter is issued to the disk processing device 30, and the end of the input / output operation (I / O end) in the disk processing device 30 is waited for (step 55).

【0020】次に、ディスク処理装置30の入出力実行
部31は、負荷監視部33からディスク処理装置30内
の各部の負荷状況を入力し、負荷状況が軽い場合は1回
の処理動作で処理すべきデータ量を多くし、負荷状況が
重い場合は1回の処理動作で処理すべきデータ量を少な
くするように調整するか、または、1回の処理のための
ディスク装置40における書込み動作時間を決定する。
入出力実行部31は、このようにして決定した処理量の
データ処理を終了するか、または書込み動作時間が経過
したとき(ステップ56)、その時点でキャッシュ部3
2の要求範囲の全てのデータのディスク装置40に対す
る書込みが終了している場合は、その指令の処理が正常
に終了(正常終了)したものとし(ステップ57)、要
求範囲の一部のデータしかキャッシュ部32からディス
ク装置40に対して書込みが終了していない場合は、そ
の指令の処理が異常に終了(異常終了)したものとする
(ステップ58)。この異常終了のとき、ステップ56
における入出力動作終了(I/O終了)が、部分終了に
よる終了であるか、または、ディスク処理装置30もし
くはディスク装置40の動作不良による終了であるかを
識別するための情報として、部分終了による終了のとき
は、ディスク装置40に対して書込みが完了したデータ
のアドレスが含まれている。このようなI/O終了情報
は、入出力制御部13または23を介して、書込み保証
指令を発行した書込み保証プロセス11もしくは12ま
たは21もしくは22に返送される。
Next, the input / output execution unit 31 of the disk processing unit 30 inputs the load status of each unit in the disk processing unit 30 from the load monitoring unit 33. If the load status is light, the processing is performed in one processing operation. The amount of data to be processed is increased, and when the load condition is heavy, adjustment is performed so that the amount of data to be processed in one processing operation is reduced, or the write operation time in the disk device 40 for one processing. To determine.
The input / output execution unit 31 terminates the data processing of the processing amount determined in this way, or when the write operation time has elapsed (step 56), the cache unit 3
When the writing of all the data in the request range 2 to the disk device 40 is completed, it is assumed that the processing of the command is completed normally (normal end) (step 57), and only a part of the data in the request range is set. When the writing from the cache unit 32 to the disk device 40 is not completed, it is assumed that the processing of the command is abnormally ended (abnormal end) (step 58). If this abnormal termination occurs, step 56
The partial end is used as information for identifying whether the input / output operation end (I / O end) in (1) is due to a partial end or due to a malfunction of the disk processing device 30 or the disk device 40. At the end, the address of the data that has been written to the disk device 40 is included. Such I / O end information is returned to the write assurance process 11 or 12 or 21 or 22 that issued the write assurance instruction via the input / output control unit 13 or 23.

【0021】書込み保証プロセス11もしくは12また
は21もしくは22は、ステップ56におけるI/O終
了が正常終了である場合は(ステップ57)、ステップ
60に移行して指標nをn=n+1とし、指標nがNと
なるまでステップ54からステップ60までの動作を反
復する(ステップ61)。ステップ56におけるI/O
終了が動作不良による終了である場合は(ステップ5
8)、コンピュータシステムに異常が発生したとして異
常終了する(ステップ63)。ステップ56におけるI
/O終了が部分終了による終了である場合は(ステップ
58)、ステップ59に移行し、その指令の要求範囲の
開始データのアドレスを、ステップ56においてディス
ク装置40に対する書込みが完了したデータのアドレス
に(+1)した値に置換えることによってその要求範囲
から既に処理したデータを除いた範囲を新たな要求範囲
としてステップ54に戻る。
If the I / O end in step 56 is a normal end (step 57), the write assurance process 11 or 12 or 21 or 22 proceeds to step 60, sets the index n to n = n + 1, and sets the index n to n. The operation from step 54 to step 60 is repeated until N becomes N (step 61). I / O in step 56
If the end is due to a malfunction (step 5
8) The processing ends abnormally assuming that an abnormality has occurred in the computer system (step 63). I in step 56
If the / O end is an end due to a partial end (step 58), the process proceeds to step 59, and the address of the start data of the range requested by the command is set to the address of the data for which writing to the disk device 40 is completed in step 56. By replacing the value with (+1), the range obtained by removing the already processed data from the requested range is set as a new requested range and the process returns to step 54.

【0022】[0022]

【発明の効果】以上説明したように、本発明のディスク
書込み保証方法は、コンピュータシステムが起動された
とき、ホストプロセッサの保証プロセスを動作させて書
込み対象範囲群を指定してディスク処理装置に書込み保
証指令を発行し、ディスク処理装置は、書込み対象範囲
群の要求範囲の第一番目から順次にキャッシュ部からデ
ィスク装置に対する書込みを開始し、負荷状況に応じて
調整したデータ量の書込み動作または1回の処理のため
に設定したディスク装置の書込み動作時間が終了したと
き、その時点で要求範囲の全てのデータのディスク装置
に対する書込みが終了している場合は正常終了とし、要
求範囲の一部のデータしかディスク装置に対する書込み
が終了していない場合は、その指令の要求範囲の開始デ
ータのアドレスを変更して残余の部分を新たな要求範囲
とするデータの書込み動作を行うことにより、ディスク
書込み指令の実行に伴うリソースの占有時間を動的に最
適化することができるという効果がある。
As described above, according to the disk write guarantee method of the present invention, when the computer system is started, the guarantee process of the host processor is operated to designate a write target range group and write the data into the disk processing device. The disk processing device issues a guarantee command, and the disk processing device starts writing from the cache unit to the disk device sequentially from the first requested range of the write target range group, and performs a write operation of the data amount adjusted according to the load condition or 1 When the write operation time of the disk device set for the same process ends, if writing of all data in the requested range to the disk device has been completed at that time, it is regarded as normal end, and a part of the requested range is If only data has been written to the disk drive, the start data address of the command request range is Further and by performing the data write operation to the remaining portion as a new request range, there is an effect that it is possible to dynamically optimize the occupation time of a resource associated with the execution of the disk write instruction.

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

【図1】本発明の一実施例を示すフローチャートであ
る。
FIG. 1 is a flowchart showing one embodiment of the present invention.

【図2】図1の実施例を適用するコンピュータシステム
の一例を示すブロック図である。
FIG. 2 is a block diagram illustrating an example of a computer system to which the embodiment of FIG. 1 is applied.

【符号の説明】[Explanation of symbols]

10・20 ホストプロセッサ 11・12・21・22 書込み保証プロセス 13・23 入出力制御部 14・24 入出力インターフェイス 30 ディスク処理装置 31 入出力実行部 32 キャッシュ部 33 負荷監視部 40 ディスク装置 51〜63 ステップ 10.20 Host Processor 11.12.21.22 Write Assurance Process 13.23 I / O Control Unit 14.24 I / O Interface 30 Disk Processing Unit 31 I / O Execution Unit 32 Cache Unit 33 Load Monitoring Unit 40 Disk Units 51-63 Steps

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータシステムが起動されたと
き、ホストプロセッサの保証プロセスを動作させて書込
み対象範囲群を指定してディスク処理装置に書込み保証
指令を発行し、前記ディスク処理装置は、前記書込み対
象範囲群の要求範囲の第一番目から順次にキャッシュ部
からディスク装置に対して書込みを開始し、前記ディス
ク処理装置および前記ディスク装置の負荷状況に応じて
調整したデータ量の書込み動作または1回の処理のため
に設定した前記ディスク装置の書込み動作時間が終了し
たとき、その時点で要求範囲の全てのデータの前記ディ
スク装置に対する書込みが終了している場合は正常終了
とし、前記要求範囲の一部のデータしか前記ディスク装
置に対する書込みが終了していない部分終了の場合は、
その書込み保証指令の前記要求範囲の開始データのアド
レスを変更して残余の部分を新たな要求範囲とするデー
タの書込み動作を行うことを含むことを特徴とするディ
スク書込み保証方法。
1. When a computer system is started, a guarantee process of a host processor is operated to specify a write target range group and a write guarantee command is issued to a disk processing device, and the disk processing device is configured to write the write target command. Writing from the cache unit to the disk device is sequentially started from the first requested range of the range group, and a write operation of a data amount adjusted according to the load status of the disk processing device and the disk device or one time When the write operation time of the disk device set for processing is completed, if all the data in the requested range has been written to the disk device at that time, it is regarded as a normal end and part of the requested range. In the case of the partial end in which only the data of is written to the disk device,
A disk write guarantee method comprising changing the address of the start data of the request range of the write guarantee command and performing a data write operation with the remaining part as a new request range.
【請求項2】 コンピュータシステムが起動されたと
き、ホストプロセッサの保証プロセスを動作させて書込
み対象範囲群を指定してディスク処理装置に書込み保証
指令を発行し、前記ディスク処理装置は、前記書込み対
象範囲群の要求範囲の第一番目から順次にキャッシュ部
からディスク装置に対して書込みを開始し、前記ディス
ク処理装置および前記ディスク装置の負荷状況に応じて
調整したデータ量の書込み動作または1回の処理のため
に設定した前記ディスク装置の書込み動作時間が終了し
たとき、その時点で要求範囲の全てのデータの前記ディ
スク装置に対する書込みが終了している場合は正常終了
とし、前記要求範囲の一部のデータしか前記ディスク装
置に対する書込みが終了していない異常終了の場合は、
その異常終了が前記ディスク処理装置または前記ディス
ク装置の動作不良による終了であるときはコンピュータ
システムの異常として終了し、その異常終了が前記要求
範囲の一部のデータしか前記ディスク装置に対する書込
みが終了していない部分終了のときはその書込み保証指
令の前記要求範囲の開始データのアドレスを変更して残
余の部分を新たな要求範囲とするデータの書込み動作を
行うことを含むことを特徴とするディスク書込み保証方
法。
2. When a computer system is started, a guarantee process of a host processor is operated to specify a write target range group and a write guarantee command is issued to a disk processing device, and the disk processing device is configured to write the write target command. Writing from the cache unit to the disk device is sequentially started from the first requested range of the range group, and a write operation of a data amount adjusted according to the load status of the disk processing device and the disk device or one time When the write operation time of the disk device set for processing is completed, if all the data in the requested range has been written to the disk device at that time, it is regarded as a normal end and part of the requested range. In the case of abnormal termination in which only the data of the above has been written to the disk device,
When the abnormal end is due to a malfunction of the disk processing device or the disk device, the abnormal end of the computer system ends, and the abnormal end ends the writing of only a part of the data in the requested range to the disk device. The disk writing is characterized in that, at the end of the portion which has not been written, the address of the start data of the request range of the write guarantee command is changed to perform the data write operation with the remaining part as the new request range. Guarantee method.
JP7177252A 1995-07-13 1995-07-13 Disk writing guarantee method Expired - Fee Related JP2770794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7177252A JP2770794B2 (en) 1995-07-13 1995-07-13 Disk writing guarantee method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7177252A JP2770794B2 (en) 1995-07-13 1995-07-13 Disk writing guarantee method

Publications (2)

Publication Number Publication Date
JPH0926857A true JPH0926857A (en) 1997-01-28
JP2770794B2 JP2770794B2 (en) 1998-07-02

Family

ID=16027830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7177252A Expired - Fee Related JP2770794B2 (en) 1995-07-13 1995-07-13 Disk writing guarantee method

Country Status (1)

Country Link
JP (1) JP2770794B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240235B2 (en) * 2002-03-13 2007-07-03 Intel Corporation Journaling technique for write transactions to mass storage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240235B2 (en) * 2002-03-13 2007-07-03 Intel Corporation Journaling technique for write transactions to mass storage

Also Published As

Publication number Publication date
JP2770794B2 (en) 1998-07-02

Similar Documents

Publication Publication Date Title
US6996821B1 (en) Data processing systems and method for batching tasks of the same type in an instruction cache
US5247653A (en) Adaptive segment control and method for simulating a multi-segment cache
JPH11202988A (en) System power consumption control method
US7409565B2 (en) Method, program and apparatus for power control through an electronic information device in a magnetic disk unit
JP6562093B2 (en) System management device
CN1420999A (en) Automation device and updating method
US20020199038A1 (en) Input/output control apparatus, input/output control method and informatiion storage system
JP4122725B2 (en) Real-time control system
JPH0926857A (en) Disk write guarantee method
EP0223463B1 (en) Multiprocessor data processing system
JP4066833B2 (en) Disk array control device and method, and disk array control program
JPH10283123A (en) Storage device array
JPH06324861A (en) System and method for controlling cpu
JPS62191947A (en) Disk cache control processing system
JP4535663B2 (en) State machine control method and state machine
JP3385407B2 (en) Non-stop program change method for multiprocessor system and multiprocessor system
JPH0973370A (en) Information processing system
JP2786110B2 (en) Competitive operation test method
JP2810141B2 (en) Online BMP processing method
JP2001222382A (en) Disk device
JP2006178663A (en) Information processor, method for processing information, verification apparatus, and method of verification
JP2571298B2 (en) Data management control method
JPH08123725A (en) Write-back type cache system
JPH11259363A (en) Memory control unit
JPH0635624A (en) Fixed magnetic disk device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980317

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080417

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090417

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100417

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees