JP3063669B2 - Information processing system - Google Patents

Information processing system

Info

Publication number
JP3063669B2
JP3063669B2 JP9086763A JP8676397A JP3063669B2 JP 3063669 B2 JP3063669 B2 JP 3063669B2 JP 9086763 A JP9086763 A JP 9086763A JP 8676397 A JP8676397 A JP 8676397A JP 3063669 B2 JP3063669 B2 JP 3063669B2
Authority
JP
Japan
Prior art keywords
sector
disk
driver program
address
disk driver
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.)
Expired - Fee Related
Application number
JP9086763A
Other languages
Japanese (ja)
Other versions
JPH10283120A (en
Inventor
憲 梅田
昌史 虎渡
等 釜坂
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9086763A priority Critical patent/JP3063669B2/en
Publication of JPH10283120A publication Critical patent/JPH10283120A/en
Application granted granted Critical
Publication of JP3063669B2 publication Critical patent/JP3063669B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、磁気ディスクや光
ディスク等のディスクと情報処理装置が接続された情報
処理システムに係り、データを書き込む際のシーク処理
時間を短縮して、書き込み処理のスループットを向上さ
せることができる情報処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system in which a disk such as a magnetic disk or an optical disk is connected to an information processing apparatus. The present invention relates to an information processing system that can be improved.

【0002】[0002]

【従来の技術】従来、ディスクのシーク時間を短縮し、
入出力処理のスループットを向上させるためのディスク
メモリデバイスのアクセス制御装置については、例えば
特開昭62−140135号公報で報告されたものが挙
げられる。この従来のアクセス制御装置は、ディスクの
シーク時間を短縮し、入出力処理のスループットを向上
するためのアルゴリズムとして論文等で発表されている
ショーテスト・シーク・タイム・ファースト(SST
F)を実現するハードウェアについて述べられたもので
ある。
2. Description of the Related Art Conventionally, a disk seek time has been reduced,
As an access control device of a disk memory device for improving the throughput of input / output processing, there is, for example, a device reported in Japanese Patent Application Laid-Open No. 62-140135. This conventional access control apparatus employs a show test seek time first (SST) technique which is disclosed in a paper or the like as an algorithm for shortening a disk seek time and improving an input / output processing throughput.
This describes the hardware that implements F).

【0003】この従来技術は、SSTFを要するBSD
Unix等で実現されている「エレベータシーキン
グ」に類似の内容であり、ディスクI/Oの要求をバッ
ファリングし、I/O対象セクタの物理的位置を基にリ
オーダリングすることで、各I/Oで発生するシークの
距離を小さくすることを目的としている。
[0003] This prior art uses a BSD requiring SSTF.
This is similar to the “elevator seeking” realized by Unix or the like, and buffers each disk I / O request and reorders each I / O based on the physical position of the I / O target sector. It is intended to reduce the distance of the seek generated in / O.

【0004】[0004]

【発明が解決しようとする課題】従来の技術では、I/
O要求の発生頻度が小さい時、リオーダするだけの要求
がバッファされないため、その効果がなかった。また、
リオーダできる場合でも、必ずしもシーク処理が不要に
なるわけではないので、十分なI/Oスループットが得
られない場合が多い。
In the prior art, I / O
When the frequency of O requests is low, requests that only need to be reordered are not buffered, so that there is no effect. Also,
Even when reordering is possible, seek processing is not necessarily unnecessary, and in many cases, sufficient I / O throughput cannot be obtained.

【0005】そこで、本発明は、ディスクI/O処理時
間の大半を占めるシーク処理を短縮して、レスポンスタ
イム並びI/Oスループットを向上させることができる
情報処理システムを提供することを目的とする。
Accordingly, an object of the present invention is to provide an information processing system capable of shortening a seek process which occupies most of a disk I / O processing time and improving a response time and an I / O throughput. .

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明は、
アプリケーションプログラムと、アプリケーションプロ
グラムとやり取りするオペレーティングシステムと、オ
ペレーティングシステムとやり取りするディスクドライ
バプログラムと、ディスクドライバプログラムにより論
理セクタアドレス、物理セクタアドレス及びタイムスタ
ンプ値が設定されるアドレスマップと、ディスクドライ
バプログラムにより物理セクタアドレス及びビットが設
定されるフリービットマップと、ディスクドライバプロ
グラムにより最後にアクセスしたセクタの物理セクタア
ドレスが設定される最終アクセスセクタ位置保持レジス
タと、ディスクドライバプログラムによりタイムスタン
プ値が設定されるタイムスタンプ値保持レジスタとを有
する情報処理装置と、情報処理装置に接続されたディス
ク型記憶装置とから構成された情報処理システムにおい
て、ディスクドライバプログラムは、オペレーティング
システムからディスク型記憶装置の論理セクタアドレス
に対して書き込み処理が要求された場合、アドレスマッ
プからその論理セクタアドレスに対応する物理セクタア
ドレスを検索し、その検索した物理セクタアドレスに対
応するフリービットマップのエントリのビットをフリー
に設定し、ディスクドライバプログラムは、フリービッ
トマップから最終アクセスセクタ位置保持レジスタに設
定された最後にアクセスしたセクタの物理セクタアドレ
スに最も近い物理セクタアドレスの空きセクタを検索
し、検索した空きセクタに対応するフリービットマップ
の物理セクタアドレスのエントリのビットを使用中に設
定し、ディスクドライバプログラムは、書き込み処理が
要求されている論理セクタアドレスに対応するアドレス
マップのエントリに検索した空きセクタの物理セクタア
ドレスを設定し、ディスクドライバプログラムは、オペ
レーティングシステムから転送されたデータを、書き込
み処理が要求される論理セクタアドレスと、タイムスタ
ンプ値保持レジスタが保持するタイムスタンプ値ととも
に、検索した空きセクタに書き込み、ディスクドライバ
プログラムは、データを書き込んだディスク型記憶装置
の空きセクタの物理セクタアドレスを最終アクセスセク
タ位置保持レジスタに設定するとともに、タイムスタン
プ値保持レジスタのタイムスタンプ値をインクリメント
することを特徴とするものである。
According to the first aspect of the present invention,
An application program, an operating system that exchanges with the application program, a disk driver program that exchanges with the operating system, an address map in which a logical sector address, a physical sector address, and a time stamp value are set by the disk driver program; A free bit map in which a physical sector address and a bit are set, a last access sector position holding register in which a physical sector address of a sector accessed last by the disk driver program is set, and a time stamp value is set by the disk driver program. An information processing device having a time stamp value holding register, a disk storage device connected to the information processing device, In the configured information processing system, the disk driver program searches the address map for a physical sector address corresponding to the logical sector address when the operating system requests a write process to the logical sector address of the disk storage device. The bit of the entry of the free bitmap corresponding to the searched physical sector address is set to free, and the disk driver program reads the physical address of the last accessed sector set in the last access sector position holding register from the free bitmap. The disk driver program searches for a free sector of the physical sector address closest to the sector address, sets the bit of the physical sector address entry of the free bit map corresponding to the searched free sector to in use, and The searched physical sector address of the empty sector is set in the entry of the address map corresponding to the logical sector address for which the write processing is requested, and the disk driver program is required to write the data transferred from the operating system. The logical sector address and the time stamp value held by the time stamp value holding register are written in the searched empty sector, and the disk driver program writes the physical sector address of the empty sector of the disk type storage device in which the data is written to the last access sector position. In addition to the setting in the holding register, the time stamp value of the time stamp value holding register is incremented.

【0007】請求項2記載の発明は、請求項1に記載の
発明において、アドレスマップの論理セクタアドレス数
に対応するオペレーティングシステムに提供するセクタ
数が、ディスク型記憶装置が実際に保存するセクタ数よ
りも小さくなるように設定することを特徴とするもので
ある。
According to a second aspect of the present invention, in the first aspect, the number of sectors provided to the operating system corresponding to the number of logical sector addresses in the address map is equal to the number of sectors actually stored by the disk-type storage device. It is characterized in that it is set to be smaller than.

【0008】請求項3記載の発明は、アプリケーション
プログラムと、アプリケーションプログラムとやり取り
するオペレーティングシステムと、オペレーティングシ
ステムとやり取りするディスクドライバプログラムと、
ディスクドライバプログラムにより論理セクタアドレ
ス、物理セクタアドレス及びタイムスタンプ値が設定さ
れるアドレスマップと、ディスクドライバプログラムに
よりセクタの物理的構成、物理セクタアドレス及びビッ
トが設定されるフリービットマップと、ディスクドライ
バプログラムにより最後にアクセスしたセクタの物理的
構成が設定される最終アクセスセクタ位置保持レジスタ
と、ディスクドライバプログラムによりタイムスタンプ
値が設定されるタイムスタンプ値保持レジスタとを有す
る情報処理装置と、情報処理装置に接続されたディスク
型記憶装置とから構成された情報処理システムにおい
て、ディスクドライバプログラムは、オペレーティング
システムからディスク型記憶装置の論理セクタアドレス
に対して書き込み処理が要求された場合、アドレスマッ
プからその論理セクタアドレスに対応する物理セクタア
ドレスを検索し、その検索した物理セクタアドレスに対
応するフリービットマップのエントリのビットをフリー
に設定し、ディスクドライバプログラムは、フリービッ
トマップから最終アクセスセクタ位置保持レジスタに設
定された最後にアクセスしたセクタの物理的構成に基づ
いて空きセクタを検索し、検索した空きセクタに対応す
るフリービットマップの物理セクタアドレスのエントリ
のビットを使用中に設定し、ディスクドライバプログラ
ムは、書き込み処理が要求されている論理セクタアドレ
スに対応するアドレスマップのエントリに検索した空き
セクタの物理セクタアドレスを設定し、ディスクドライ
バプログラムは、オペレーティングシステムから転送さ
れたデータを、書き込み処理が要求される論理セクタア
ドレスと、タイムスタンプ値保持レジスタが保持するタ
イムスタンプ値とともに、検索した空きセクタに書き込
み、ディスクドライバプログラムは、データを書き込ん
だディスク型記憶装置の空きセクタの物理セクタアドレ
スを最終アクセスセクタ位置保持レジスタに設定すると
ともに、タイムスタンプ値保持レジスタのタイムスタン
プ値をインクリメントすることを特徴とするものであ
る。
According to a third aspect of the present invention, there is provided an application program, an operating system for communicating with the application program, a disk driver program for communicating with the operating system,
An address map in which a logical sector address, a physical sector address, and a time stamp value are set by a disk driver program; a free bitmap in which a physical configuration, a physical sector address, and a bit of a sector are set by the disk driver program; An information processing device having a last access sector position holding register in which the physical configuration of the sector accessed last by the setting is set, and a time stamp value holding register in which the time stamp value is set by the disk driver program; In an information processing system including a connected disk-type storage device, a disk driver program performs a write process from an operating system to a logical sector address of the disk-type storage device. If requested, the physical sector address corresponding to the logical sector address is searched from the address map, the bit of the entry of the free bitmap corresponding to the searched physical sector address is set to free, and the disk driver program sets the free A free sector is searched from the bitmap based on the physical configuration of the last accessed sector set in the last access sector position holding register, and the bit of the physical sector address entry of the free bitmap corresponding to the searched free sector is searched. During use, the disk driver program sets the physical sector address of the searched empty sector in the entry of the address map corresponding to the logical sector address for which the write process is requested, and the disk driver program sets the operating system The data transferred from the system is written to the searched free sector together with the logical sector address for which the write process is requested and the time stamp value held in the time stamp value holding register. The present invention is characterized in that the physical sector address of an empty sector in the storage device is set in the last access sector position holding register, and the time stamp value in the time stamp value holding register is incremented.

【0009】請求項4記載の発明は、請求項3に記載の
発明において、ディスクドライバプログラムは、最後に
アクセスしたセクタの物理的構成に基づいて空きセクタ
を検索する際、最後にアクセスしたセクタからの距離が
等しいセクタが最後にアクセスしたセクタから見て、外
周トラック上と内周トラック上の両方に検索された場
合、外周トラック上のセクタを選択することを特徴とす
るものである。
According to a fourth aspect of the present invention, in the third aspect of the present invention, when the disk driver program searches for a free sector based on the physical configuration of the last accessed sector, the disk driver program starts from the last accessed sector. When a sector having the same distance is found on both the outer track and the inner track, as viewed from the last accessed sector, the sector on the outer track is selected.

【0010】請求項5記載の発明は、請求項1〜4の何
れかに記載の発明において、ディスクドライバプログラ
ムは、検索した空きセクタに書き込み処理を行った後、
フリービットマップから書き込み処理を行ったセクタの
物理セクタアドレスに最も近い物理セクタアドレスの空
きセクタを検索し、ディスクドライバプログラムは、検
索した空きセクタにシーク処理を行うとともに、シーク
処理を行った空きセクタの物理セクタアドレスを最終ア
クセスセクタ位置保持レジスタに設定することを特徴と
するものである。
According to a fifth aspect of the present invention, in the invention according to any one of the first to fourth aspects, after the disk driver program performs a write process on the searched empty sector,
The free bit map searches for a free sector of the physical sector address closest to the physical sector address of the sector on which the write process was performed, and the disk driver program performs seek processing on the searched free sector and also searches for the free sector on which the seek process was performed. Is set in the last access sector position holding register.

【0011】請求項6記載の発明は、請求項1〜5の何
れかに記載の発明において、オペレーティングシステム
とディスクドライバプログラム間にオペレーティングシ
ステムからの書き込み/読み込み処理要求を蓄積するキ
ューバッファを設け、ディスクドライバプログラムは、
キューバッファに書き込み処理要求が2つ以上蓄積され
ていると判断した場合、フリービットマップから最終ア
クセスセクタ位置保持レシスタに設定された物理セクタ
アドレスに最も近く、かつ書き込み処理要求数に応じた
連続した空きセクタを検索し、ディスクドライバプログ
ラムは、検索した連続空きセクタに対してキューバッフ
ァに蓄積された書き込み処理要求の処理をまとめて行う
ことを特徴とするものである。
According to a sixth aspect of the present invention, in the first aspect of the present invention, a queue buffer for storing a write / read processing request from the operating system is provided between the operating system and the disk driver program. The disk driver program is
If it is determined that two or more write processing requests are stored in the queue buffer, the free bitmap indicates that the write request is closest to the physical sector address set in the last access sector position holding register and that the number of consecutive write requests is the same as the number of write processing requests. An empty sector is searched, and the disk driver program collectively processes the write processing requests accumulated in the queue buffer for the searched continuous empty sectors.

【0012】請求項7記載の発明は、請求項6に記載の
発明システムにおいて、ディスクドライバプログラム
が、キューバッファに書き込み/読み込み要求が蓄積さ
れていない時、ディスク型記憶装置の各トラックに分散
するように空きセクタを再配置処理することを特徴とす
るものである。
According to a seventh aspect of the present invention, in the system according to the sixth aspect, the disk driver program is distributed to each track of the disk type storage device when no write / read request is stored in the queue buffer. In this manner, the empty sector is rearranged.

【0013】請求項8記載の発明は、請求項7に記載の
発明において、ディスクドライバプログラムが、書き込
み処理の要求頻度に基づいて空きセクタの再配置処理を
行うことを特徴とするものである。
According to an eighth aspect of the present invention, in the seventh aspect of the present invention, the disk driver program performs a relocation process of an empty sector based on a request frequency of a write process.

【0014】請求項9記載の発明は、請求項1〜8の何
れかに記載の発明において、ディスクドライバプログラ
ムは、オペレーティングシステムが動作を停止する時、
情報処理装置のアドレスマップとフリービットマップと
タイムスタンプ値保持レジスタの情報をディスク型記憶
装置に保存しておき、ディスクドライバプログラムは、
オペレーティングシステムが動作を開始した時、ディス
ク型記憶装置からアドレスマップとフリービットマップ
とタイムスタンプ値の情報を読み出して情報処理装置の
アドレスマップとフリービットマップとタイムスタンプ
値保持レジスタに設定することを特徴とするものであ
る。
According to a ninth aspect of the present invention, in the invention according to any one of the first to eighth aspects, when the operating system stops operating, the disk driver program executes
The information of the address map, the free bit map, and the time stamp value holding register of the information processing device is stored in the disk storage device, and the disk driver program executes
When the operating system starts operation, it is necessary to read the address map, free bitmap, and time stamp value information from the disk storage device and set them in the address map, free bit map, and time stamp value holding register of the information processing device. It is a feature.

【0015】請求項10記載の発明は、請求項1〜9の
何れかに記載の発明において、情報処理装置にバッファ
メモリを設け、ディスクドライバプログラムは、書き込
み処理要求されるオペレーティングシステムからの情報
をバッファメモリに書き込んでおき、ディスクドライバ
プログラムは、ディスク型記憶装置に書き込み処理要求
される情報が全て書き込まれていないと判断した場合、
バッファメモリから情報を読み出してディスク型記憶装
置に書き込むことを特徴とするものである。
According to a tenth aspect of the present invention, in the first aspect of the present invention, a buffer memory is provided in the information processing apparatus, and the disk driver program stores information from the operating system requested to perform the write processing. If the disk driver program determines that all the information required for the write process has not been written to the disk type storage device,
It is characterized in that information is read from a buffer memory and written to a disk storage device.

【0016】請求項11記載の発明は、請求項1〜10
の何れかに記載の発明において、情報処理装置に接続さ
れるバッファディスク型記憶装置を設け、ディスクドラ
イバプログラムは、書き込み処理要求されるオペレーテ
ィングシステムからの情報をバッファディスク型記憶装
置に書き込んでおき、ディスクドライバプログラムは、
オペレーティングシステムが動作を開始した時、バッフ
ァディスク型記憶装置から情報を読み出して、ディスク
型記憶装置に書き込むことを特徴とするものである。
The invention according to claim 11 is the invention according to claims 1 to 10
In the invention according to any one of the above, a buffer disk-type storage device connected to the information processing device is provided, and the disk driver program writes information from the operating system requested to perform the write process in the buffer disk-type storage device, The disk driver program is
When the operating system starts operating, information is read from the buffer disk type storage device and written to the disk type storage device.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。 実施の形態1.図1は本発明に係る実施の形態1の情報
処理システムの構成を示すブロック図である。図1にお
いて、1はCPU及びメモリ等から構成される情報処理
装置であり、2は情報処理装置1に接続されたディスク
型記憶装置(以下、単にディスクと記す。)であり、こ
のディスク2のヘッド数・シリンダ数・セクタ数、総セ
クタ数は、各々Nh・Nc・Ns、mとする。ディスク
2には、0から(m−1)の物理セクタアドレスを指定
してリード/ライト処理を指示できる。
Embodiments of the present invention will be described below with reference to the drawings. Embodiment 1 FIG. FIG. 1 is a block diagram showing a configuration of the information processing system according to the first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an information processing device including a CPU, a memory, and the like. Reference numeral 2 denotes a disk storage device (hereinafter, simply referred to as a disk) connected to the information processing device 1. The number of heads, the number of cylinders, the number of sectors, and the total number of sectors are Nh, Nc, Ns, and m, respectively. A read / write process can be instructed to the disk 2 by specifying a physical sector address from 0 to (m-1).

【0018】3は情報処理装置1で動作するオペレーテ
ィングシステムであり、4はオペレーティングシステム
3とやり取りするアプリケーションプログラムである。
5〜9は各々フリービットマップ、アドレスマップ、デ
ィスクドライバプログラム、最終アクセスセクタ位置保
持レジスタ、タイムスタンプ値保持レジスタである。
Reference numeral 3 denotes an operating system that operates on the information processing apparatus 1, and reference numeral 4 denotes an application program exchanged with the operating system 3.
Reference numerals 5 to 9 denote a free bit map, an address map, a disk driver program, a last access sector position holding register, and a time stamp value holding register, respectively.

【0019】フリービットマップ5は、ディスク2の使
用状況を示し、その各エントリは、ディスク2の物理セ
クタアドレス0〜(m−1)に対応している。オペレー
ティングシステム3がリード/ライト処理をディスク2
に要求する時は、その物理セクタアドレス0〜(m−
1)を直接指定せず、ディスクドライバプログラム7が
提供する論理セクタアドレス0〜(n−1)を指定す
る。
The free bitmap 5 indicates the usage status of the disk 2, and each entry corresponds to physical sector addresses 0 to (m−1) of the disk 2. Operating system 3 performs read / write processing on disk 2
, The physical sector addresses 0 to (m-
Instead of directly specifying 1), the logical sector addresses 0 to (n-1) provided by the disk driver program 7 are specified.

【0020】ディスクドライバプログラム7は、論理セ
クタアドレスから物理セクタアドレスへのマッピングを
行う際に、アドレスマップ6を利用する。アドレスマッ
プ6の各エントリは、論理セクタアドレス0〜(n−
1)に対応する。なお、論理セクタアドレスの上限とな
るnは、m>nとなる数である。
The disk driver program 7 uses the address map 6 when mapping logical sector addresses to physical sector addresses. Each entry of the address map 6 has logical sector addresses 0 to (n-
This corresponds to 1). The upper limit n of the logical sector address is a number satisfying m> n.

【0021】フリービットマップ5のエントリ数は、デ
ィスク2の総セクタ数mと等しくなる。また、アドレス
マップ6のエントリ数で、論理セクタアドレスの上限と
なるnは、m>nとなる数で、ディスク2の総セクタ数
mよりも小さくなる数である。更に、図2の拡張された
ディスク2上の1セクタのフォーマットに示すように、
ディスク2の記憶保持の単位である各セクタには、従来
記憶されたデータ部分に加え、論理セクタアドレスとタ
イムスタンプ値を記憶できるようにフィールドが追加さ
れる。
The number of entries in the free bitmap 5 is equal to the total number m of sectors on the disk 2. The upper limit n of the logical sector address in the number of entries in the address map 6 is a number that satisfies m> n, and is a number smaller than the total sector number m of the disk 2. Further, as shown in the format of one sector on the expanded disk 2 in FIG.
A field is added to each sector, which is a unit of storage and storage of the disk 2, so that a logical sector address and a time stamp value can be stored in addition to a conventionally stored data portion.

【0022】本発明を適用しない場合、オペレーティン
グシステム3は、アプリケーションプログラム4からデ
ィスクI/O処理が要求されると、ディスクI/Oをデ
ィスク2に直接要求する。本発明を適用する場合、オペ
レーティングシステム3は、アプリケーションプログラ
ム4からディスクI/O処理が要求されると、ディスク
ドライバプログラム7にディスクI/Oを要求する。デ
ィスクドライバプログラム7は、オペレーティングシス
テム3からディスクI/Oが要求されると、フリービッ
トマップ5、アドレスマップ6及び最終アクセスセクタ
位置保持レジスタ8を参照したうえで、変換したディス
クI/O要求をディスク2に転送する。この時のシーク
最適化処理により、ディスク2へのライト処理の性能が
向上する。以下、具体的に図面を用いて説明する。
When the present invention is not applied, when the application program 4 requests disk I / O processing, the operating system 3 requests disk I / O directly from the disk 2. When the present invention is applied, the operating system 3 requests the disk driver program 7 for disk I / O when the application program 4 requests disk I / O processing. When a disk I / O is requested from the operating system 3, the disk driver program 7 refers to the free bit map 5, the address map 6 and the last access sector position holding register 8, and converts the converted disk I / O request. Transfer to disk 2. The performance of the write process to the disk 2 is improved by the seek optimization process at this time. Hereinafter, a specific description will be given with reference to the drawings.

【0023】ディスク2は、始めて使用される時、ディ
スクドライバプログラム7により初期化処理が行われて
から使用される。このディスクドライバプログラム7の
ディスク2の初期化処理によって、ディスク2の各セク
タのタイムスタンプフィールド(図2参照)には、初期
値としてタイムスタンプ値0が設定される。また、アド
レスマップ6の各エントリのタイムスタンプ値は、初期
値として0が設定される。
When the disk 2 is used for the first time, the disk 2 is used after being initialized by the disk driver program 7. By the initialization process of the disk 2 by the disk driver program 7, the time stamp value 0 is set as an initial value in the time stamp field (see FIG. 2) of each sector of the disk 2. The time stamp value of each entry of the address map 6 is set to 0 as an initial value.

【0024】フリービットマップ5は、全てのエントリ
のビットがフリーで使用していないということで、1に
セットされる。最終アクセスセクタ位置保持レジスタ8
には、初期値0が設定され、タイムスタンプ値保持レジ
スタ9には、1が設定される。この初期化処理でディス
ク2が使用可能になる。初期化処理以降は、以下の手順
に従って、ディスク2のI/O処理並びにシステムの起
動時における再構成処理を行うことができる。
The free bitmap 5 is set to 1 because all entry bits are not used for free. Last access sector position holding register 8
Is set to an initial value 0, and 1 is set to the time stamp value holding register 9. This initialization process makes the disk 2 usable. After the initialization processing, the I / O processing of the disk 2 and the reconfiguration processing at the time of starting the system can be performed according to the following procedure.

【0025】ディスク2に対するライト処理は、最後に
リードまたはライトによるアクセス処理を行ったセクタ
に近い位置にある空きセクタに対して行うものとする。
ここで空きセクタというのは、前述したディスク2の初
期化処理以降未だライトされていないセクタや、論理セ
クタアドレスXのデータがライトされたが、その後で他
の物理セクタアドレスに論理セクタアドレスXの新たな
データがライトされたため、ライトされたデータが不要
のものとなったフリービットマップ5で管理されている
セクタのことを言う。
It is assumed that the write processing for the disk 2 is performed on an empty sector located near the sector where the access processing by the last read or write was performed.
Here, the empty sector means a sector to which data has not yet been written after the above-described initialization processing of the disk 2 or data of the logical sector address X has been written. This is a sector managed by the free bitmap 5 in which new data has been written and the written data has become unnecessary.

【0026】最後にリードまたはライトによりアクセス
処理したセクタを判別できるように、リードまたはライ
トによるアクセス処理を行う度に、ディスクドライバプ
ログラム7は、そのアクセス処理したセクタの物理セク
タアドレスを最終アクセスセクタ位置保持レジスタ8に
設定し、次にライト処理が要求された時に備えるものと
する。
Each time an access process by read or write is performed, the disk driver program 7 replaces the physical sector address of the accessed sector with the last access sector position so that the sector accessed by read or write last can be determined. It is set in the holding register 8 to prepare for the next time a write process is requested.

【0027】図3は図1に示すディスクドライバプログ
ラムのリード/ライト処理フローを示すフローチャート
である。オペレーティングシステム3からのI/O要求
待ちのディスクドライバプログラム7は、オペレーティ
ングシステム3からディスク2のセクタの論理セクタア
ドレスXに対してライト処理が要求されると(ステップ
S1,S2)、以下の処理を行う。
FIG. 3 is a flowchart showing a read / write processing flow of the disk driver program shown in FIG. The disk driver program 7 waiting for an I / O request from the operating system 3 receives the write processing for the logical sector address X of the sector of the disk 2 from the operating system 3 (steps S1 and S2), and performs the following processing. I do.

【0028】1.まず、ディスク2のセクタの論理セク
タアドレスXに以前書き込まれたデータは、ディスクド
ライバプログラム7にオペレーティングシステム3から
ディスク2の論理セクタアドレスXに対してライト処理
が要求されると、上書きされずに無効になる。このた
め、ディスクドライバプログラム7は、アドレスマップ
6からそのライト処理が要求される論理セクタアドレス
Xに対応する物理セクタアドレスを検索する(ステップ
S3)。ディスクドライバプログラム7は、アドレスマ
ップ6からそのライト処理が要求される論理セクタアド
レスXに対応する物理セクタアドレスを検索すると、そ
の検索した物理セクタアドレスに対応するフリービット
マップ5のエントリのビットを1にセットする(ステッ
プS4)。
1. First, the data previously written to the logical sector address X of the sector of the disk 2 is not overwritten when the disk driver program 7 requests the operating system 3 to write the logical sector address X of the disk 2. become invalid. Therefore, the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested (Step S3). When the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write process is requested, the disk driver program 7 sets the bit of the entry of the free bitmap 5 corresponding to the searched physical sector address to 1 (Step S4).

【0029】2.次に、ディスクドライバプログラム7
は、フリービットマップ5から、最終アクセスセクタ位
置保持レジスタ8に設定された最後にアクセスしたセク
タの物理セクタアドレスの値に最も近い物理セクタアド
レスの空きセクタを検索する(ステップS5)。ディス
クドライバプログラム7は、フリービットマップ5から
検索した空きセクタの物理セクタアドレスのエントリの
ビットを0(使用中)にリセットする(ステップS
6)。更に、ディスクドライバプログラム7は、ライト
処理が要求されている論理セクタアドレスXに対応する
アドレスマップ6のエントリ中の物理セクタアドレスと
して、検索した空きセクタの物理セクタアドレスをセッ
トする(ステップS7)。
2. Next, the disk driver program 7
Searches the free bitmap 5 for a free sector having a physical sector address closest to the value of the physical sector address of the last accessed sector set in the last access sector position holding register 8 (step S5). The disk driver program 7 resets the bit of the entry of the physical sector address of the empty sector retrieved from the free bitmap 5 to 0 (in use) (step S).
6). Further, the disk driver program 7 sets the physical sector address of the searched empty sector as the physical sector address in the entry of the address map 6 corresponding to the logical sector address X for which the write process is requested (Step S7).

【0030】3.次に、ディスクドライバプログラム7
は、オペレーティングシステム3から転送されたデータ
を、書き込みが要求される論理セクタアドレス値Xと、
タイムスタンプ値保持レジスタ9が保持するタイムスタ
ンプ値Cとともに、検索したディスク2の空きセクタに
書き込む(ステップS8)。
3. Next, the disk driver program 7
Represents the data transferred from the operating system 3 as a logical sector address value X for which writing is requested,
Along with the time stamp value C held by the time stamp value holding register 9, the data is written in the searched empty sector of the disk 2 (step S8).

【0031】4.次に、ディスクドライバプログラム7
は、データを書き込んだディスク2の空きセクタの物理
セクタアドレスを、最終アクセスセクタ位置保持レジス
タ8にセットした後、タイムスタンプ値保持レジスタ9
にC+1なる値をセットして、タイムスタンプ値をイン
クリメントする(ステップS9)。そして、ディスクド
ライバプログラム7は、オペレーティングシステム3に
ライト処理の完了を通知して(ステップS10)、ライ
ト処理を終了する。
4. Next, the disk driver program 7
Sets the physical sector address of the empty sector of the disk 2 on which the data is written in the last access sector position holding register 8 and then sets the time stamp value holding register 9
Is set to C + 1, and the time stamp value is incremented (step S9). Then, the disk driver program 7 notifies the operating system 3 of the completion of the write processing (Step S10), and ends the write processing.

【0032】オペレーティングシステム3からのI/O
要求待ちのディスクドライバプログラム7は、オペレー
ティングシステム3からディスク2のセクタの論理セク
タアドレスYに対してリード処理が要求されると(ステ
ップS1,S2)、以下の処理を行う。
I / O from operating system 3
When the operating system 3 requests the logical sector address Y of the sector of the disk 2 to perform the read processing (steps S1 and S2), the disk driver program 7 waiting for the request performs the following processing.

【0033】1.ディスクドライバプログラム7は、オ
ペレーティングシステム7からディスク2のセクタの論
理セクタアドレスYに対してリード処理が要求されると
(ステップS2)、アドレスマップ6からリード処理が
要求される論理セクタアドレスYに対応する物理セクタ
アドレスを検索する(ステップS11)。
1. When a read process is requested for the logical sector address Y of the sector of the disk 2 from the operating system 7 (step S2), the disk driver program 7 corresponds to the logical sector address Y for which the read process is requested from the address map 6. A physical sector address to be searched is searched (step S11).

【0034】2.ディスクドライバプログラム7は、そ
の検索した物理セクタアドレスに対応するディスク2の
物理セクタからデータを読み取り(ステップS12)、
読み取ったデータをオペレーティングシステム3に転送
する(ステップS13)。ディスクドライバプログラム
7は、リード処理を行ったセクタの物理セクタアドレス
を最終アクセスセクタ位置保持レジスタ8にセットして
(ステップS14)、リード処理を終了する。
2. The disk driver program 7 reads data from the physical sector of the disk 2 corresponding to the searched physical sector address (step S12),
The read data is transferred to the operating system 3 (step S13). The disk driver program 7 sets the physical sector address of the sector that has performed the read processing in the last access sector position holding register 8 (step S14), and ends the read processing.

【0035】情報処理装置1のオペレーティングが終了
して、情報処理装置1の電源が切られると、メモリ上の
データが全て失われる。このため、フリービットマップ
5、アドレスマップ6、最終アクセスセクタ位置保持レ
ジスタ8、タイムスタンプ値保持レジスタ9の記憶内容
が失われる。そこで、情報処理装置1の電源が入れられ
た時、オペレーションを開始する前に、ディスク2に登
録されている全データ内容を全て読み出して、それらの
情報を再構成する必要がある。ディスクドライバプログ
ラム7は、ディスク2から読み出されたデータ内容を再
構成するために、以下の処理を行う。この処理を図4に
示すフローチャートを用いて説明する。図4は図1に示
すディスクドライバプログラムの再構成処理フローを示
すフローチャートである。
When the operating of the information processing apparatus 1 ends and the power of the information processing apparatus 1 is turned off, all data in the memory is lost. Therefore, the contents stored in the free bit map 5, the address map 6, the last access sector position holding register 8, and the time stamp value holding register 9 are lost. Therefore, when the power of the information processing apparatus 1 is turned on, it is necessary to read out all the data contents registered in the disk 2 and reconstruct the information before starting the operation. The disk driver program 7 performs the following processing in order to reconstruct the data content read from the disk 2. This processing will be described with reference to the flowchart shown in FIG. FIG. 4 is a flowchart showing the flow of the reconfiguration processing of the disk driver program shown in FIG.

【0036】1.ディスクドライバプログラム7は、ア
ドレスマップ6のタイムスタンプフィールドのタイムス
タンプ値を全て0に初期化し、また、フリービットマッ
プ5の各エントリのビットも全て1にセットする。ディ
スクドライバプログラム7は、最終アクセスセクタ位置
保持レジスタ8の値を0に初期化し、タイムスタンプ値
保持レジスタ9の値も0に初期化する(ステップS2
1)。
1. The disk driver program 7 initializes all the time stamp values in the time stamp field of the address map 6 to 0, and also sets all bits of each entry of the free bit map 5 to 1. The disk driver program 7 initializes the value of the last access sector position holding register 8 to 0, and also initializes the value of the time stamp value holding register 9 to 0 (step S2).
1).

【0037】2.ディスクドライバプログラム7は、デ
ィスク2の物理セクタアドレス0〜m−1までの各セク
タのセクタ内容を順次読み出していき、以降の処理を各
セクタについて行う(ステップS22)。
2. The disk driver program 7 sequentially reads the sector contents of each sector from the physical sector address 0 to m-1 of the disk 2 and performs the subsequent processing for each sector (step S22).

【0038】3.ディスクドライバプログラム7は、デ
ィスク2の物理セクタアドレス0〜m−1までの各セク
タに書き込まれたタイムスタンプ値と論理セクタアドレ
スを読み出す(図2参照)。ディスクドライバプログラ
ム7は、ディスク2のセクタから読み出したタイムスタ
ンプ値が1以上であるかを判断し、1以上であると判断
した場合(ステップS23)、そのセクタにはデータが
既に書き込まれており、有効なデータが書き込まれてい
る可能性がある。
3. The disk driver program 7 reads the time stamp value and the logical sector address written in each sector of the disk 2 from physical sector addresses 0 to m-1 (see FIG. 2). The disk driver program 7 determines whether the time stamp value read from the sector of the disk 2 is 1 or more, and when it determines that the time stamp value is 1 or more (step S23), the data has already been written in that sector. , Valid data may have been written.

【0039】そこで、ディスクドライバプログラム7
は、そのデータが既に書き込まれているセクタから読み
出した論理セクタアドレスに対応するアドレスマップ6
のエントリを検索し、検索したエントリ上のタイムスタ
ンプ値が0かを判断する(ステップS24)。ディスク
ドライバプログラム7は、ディスク2のセクタから読み
出したタイムスタンプ値が0であると判断した場合(ス
テップS23)、そのセクタにはデータが書き込まれて
いないので、ステップ30へ進む。
Therefore, the disk driver program 7
Is an address map 6 corresponding to a logical sector address read from a sector in which the data has already been written.
And determines whether the time stamp value on the searched entry is 0 (step S24). If the disk driver program 7 determines that the time stamp value read from the sector of the disk 2 is 0 (step S23), no data has been written to that sector, so the process proceeds to step 30.

【0040】(イ)ディスクドライバプログラム7は、
検索したアドレスマップ6のエントリ上のタイムスタン
プ値が0であると判断した場合(ステップS24)、そ
の論理セクタアドレスに対応する物理セクタアドレスが
始めて検出されたことになるので、その物理セクタアド
レスとタイムスタンプ値をアドレスマップのエントリに
記録し(ステップS26)、物理セクタアドレスに対応
するフリービットマップのビットを0にリセットする
(ステップS27)。
(A) The disk driver program 7
When it is determined that the time stamp value on the searched entry of the address map 6 is 0 (step S24), the physical sector address corresponding to the logical sector address is detected for the first time. The time stamp value is recorded in the entry of the address map (step S26), and the bit of the free bit map corresponding to the physical sector address is reset to 0 (step S27).

【0041】(ロ)ディスクドライバプログラム7は、
検索したアドレスマップ6のエントリ上のタイムスタン
プ値が1以上であると判断した場合(ステップS2
4)、その論理セクタアドレスに対応する物理セクタア
ドレスが既に検出されていることになるので、その論理
セクタアドレスに対応するアドレスマップ6上のタイム
スタンプ値とディスク2のセクタから読み出したタイム
スタンプ値を比較する(ステップS25)。
(B) The disk driver program 7
When it is determined that the time stamp value on the searched entry of the address map 6 is 1 or more (step S2)
4) Since the physical sector address corresponding to the logical sector address has already been detected, the time stamp value on the address map 6 corresponding to the logical sector address and the time stamp value read from the sector of the disk 2 Are compared (step S25).

【0042】ディスクドライバプログラム7は、ディス
ク2のセクタから読み出したタイムスタンプ値の方がア
ドレスマップ6上のタイムスタンプ値よりも大きいと判
断した場合(ステップS25)、ディスク2のタイムス
タンプ値がアドレスマップ6のタイムスタンプ値より後
に書き込まれた内容となるので、以前検出した物理セク
タを空きセクタにする。即ち、フリービットマップ5の
アドレスマップ6上の物理セクタアドレスで指定される
エントリのビットを1にセットする。
If the disk driver program 7 determines that the time stamp value read from the sector of the disk 2 is larger than the time stamp value on the address map 6 (step S25), the time stamp value of the disk 2 is changed to the address. Since the contents are written after the time stamp value of the map 6, the previously detected physical sector is set as an empty sector. That is, the bit of the entry specified by the physical sector address on the address map 6 of the free bit map 5 is set to 1.

【0043】更に、ディスクドライバプログラム7は、
アドレスマップ6の物理セクタアドレスとタイムスタン
プ値をディスク2のセクタから読み出した値に変更する
(ステップS26)。ディスクドライバプログラム7
は、ディスク2のセクタから読み出したタイムスタンプ
値の方がアドレスマップ6上のタイムスタンプ値よりも
小さいと判断した場合(ステップS25)、読み出した
方が古いデータになるので、何も処理をせずにステップ
30へ進む。
Further, the disk driver program 7
The physical sector address and the time stamp value of the address map 6 are changed to the values read from the sectors of the disk 2 (step S26). Disk driver program 7
If it is determined that the time stamp value read from the sector of the disk 2 is smaller than the time stamp value on the address map 6 (step S25), the read data becomes older data, so no processing is performed. Instead, proceed to step 30.

【0044】(イ)または(ロ)の処理の後、ディスク
ドライバプログラム7は、ディスク2のセクタから読み
出したタイムスタンプ値とタイムスタンプ値保持レジス
タ8に保存されている値を比較し、ディスク2のセクタ
から読み出したタイムスタンプ値の方がタイムスタンプ
値保持レジスタ9の値よりも大きいと判断した場合(ス
テップS28)、タイムスタンプ値保持レジスタ9の値
をそのディスク2から読み出したタイムスタンプ値に更
新する(ステップS29)。
After the processing of (a) or (b), the disk driver program 7 compares the time stamp value read from the sector of the disk 2 with the value stored in the time stamp value holding register 8, and If it is determined that the time stamp value read from the sector No. is larger than the value of the time stamp value holding register 9 (step S28), the value of the time stamp value holding register 9 is changed to the time stamp value read from the disk 2. Update (step S29).

【0045】全セクタについて3の処理を終えた後、ス
テップS30において、ディスクドライバプログラム7
は、次の読み出し対象の物理セクタアドレスの物理セク
タが存在するかを判断し、存在すると判断した場合(ス
テップS30)、その存在したセクタの内容を読み出し
て(ステップS31)、ステップS23へ戻る。ディス
クドライバプログラム7は、次の読み出し対象の物理セ
クタが存在しないと判断した場合(ステップS30)、
処理を終了する。
After completing the process 3 for all the sectors, in step S30, the disk driver program 7
Determines whether there is a physical sector having the next physical sector address to be read, and if it is determined that the physical sector exists (step S30), reads the content of the existing sector (step S31), and returns to step S23. If the disk driver program 7 determines that the next physical sector to be read does not exist (step S30),
The process ends.

【0046】このように、本実施の形態では、ディスク
ドライバプログラム7により、オペレーティングシステ
ム3からディスク2の論理セクタアドレスに対して書き
込み処理が要求された場合、アドレスマップ6からその
論理セクタアドレスに対応する物理セクタアドレスを検
索し、その検索した物理セクタアドレスに対応するフリ
ービットマップ5のエントリのビットをフリーに設定
し、ディスクドライバプログラム7により、フリービッ
トマップ5から最終アクセスセクタ位置保持レジスタ8
に設定された最後にアクセスしたセクタの物理セクタア
ドレスに最も近い物理セクタアドレスの空きセクタを検
索し、検索した空きセクタに対応するフリービットマッ
プの物理セクタアドレスのエントリのビットを使用中に
設定し、ディスクドライバプログラム7により、書き込
み処理が要求されている論理セクタアドレスに対応する
アドレスマップ6のエントリに検索した空きセクタの物
理セクタアドレスを設定し、ディスクドライバプログラ
ム7により、オペレーティングシステム3から転送され
たデータを、書き込み処理が要求される論理セクタアド
レスと、タイムスタンプ値保持レジスタ9が保持するタ
イムスタンプ値とともに、検索した空きセクタに書き込
み、ディスクドライバプログラム7により、データを書
き込んだディスク2の空きセクタの物理セクタアドレス
を最終アクセスセクタ位置保持レジスタ8に設定すると
ともに、タイムスタンプ値保持レジスタ9のタイムスタ
ンプ値をインクリメントするように構成している。この
ため、ディスク2のセクタにデータを書き込む際、最後
にアクセスしたセクタの最も近くの空きセクタについて
データを書き込むように構成したので、ディスク2に対
する書き込む処理を、現在のヘッド位置(最後にアクセ
スしたヘッド位置)に最も近い空きセクタに対して行う
ことができる。このため、データを書き込む際のシーク
処理時間を短縮することができるので、書き込み処理の
スループットを向上させることができる。
As described above, in the present embodiment, when the disk driver program 7 requests the operating system 3 to perform a write process on a logical sector address of the disk 2, the address map 6 corresponds to the logical sector address. A physical sector address to be accessed is searched for, a bit of an entry of the free bitmap 5 corresponding to the searched physical sector address is set to free, and the last access sector position holding register 8 is stored from the free bitmap 5 by the disk driver program 7.
Searches for a free sector of the physical sector address closest to the physical sector address of the last accessed sector set in, and sets the bit of the entry of the physical sector address of the free bit map corresponding to the searched free sector to in use. The disk driver program 7 sets the physical sector address of the searched free sector in the entry of the address map 6 corresponding to the logical sector address for which the write processing is requested, and the disk driver program 7 transfers the physical sector address from the operating system 3. The written data is written to the searched empty sector together with the logical sector address for which the writing process is requested and the time stamp value held in the time stamp value holding register 9, and the disk driver program 7 writes the data to the empty sector. It sets a physical sector address of a free sector in the last access sector position holding register 8 is configured to increment the time stamp value of the time stamp value holding register 9. For this reason, when writing data to the sector of the disk 2, the data is written to the free sector closest to the last accessed sector. Therefore, the writing process for the disk 2 is performed at the current head position (the last accessed position). This can be performed for the empty sector closest to (head position). Therefore, the seek processing time for writing data can be shortened, and the throughput of the write processing can be improved.

【0047】また、本実施の形態では、アドレスマップ
6の論理セクタ数に対応するオペレーティングシステム
に提供するセクタ数を、ディスク2が実際に保存するセ
クタ数よりも小さくなるように設定しているため、ディ
スク2に常に一定量の空きセクタを存在させることがで
きる。このため、ライト処理時に空きセクタを検索する
ときにより多くの空きセクタから最適なものを選択する
ことができる。例えば、オペレーティングシステム3が
見せかけのセクタ数nを全て使用している状態でも、使
用可能なセクタが(m−n)個存在し、ライト処理の際
に最も近い使用可能なセクタを効率よく検索することが
できる。
In the present embodiment, the number of sectors provided to the operating system corresponding to the number of logical sectors in the address map 6 is set to be smaller than the number of sectors actually stored on the disk 2. Thus, a certain amount of free sectors can always exist in the disk 2. For this reason, when searching for a free sector during the write processing, an optimum one can be selected from more free sectors. For example, even when the operating system 3 uses all the apparent number of sectors n, there are (mn) available sectors, and the closest available sector is efficiently searched for at the time of write processing. be able to.

【0048】実施の形態2.実施の形態1では、シーク
処理を省略・短縮するために最も適した空きセクタ領域
を捜し出す時、最後にアクセスしたセクタの物理セクタ
アドレスに最も近い物理セクタアドレスを持つ空きセク
タを選択していた。本実施の形態では、物理セクタアド
レスの近さではなく、ディスク2の物理構造に応じた選
択方法を用いるものとする。本実施の形態は、実施の形
態1と同様な構成の情報処理装置を用いる。
Embodiment 2 In the first embodiment, when searching for the most suitable free sector area for omitting or shortening the seek process, the free sector having the physical sector address closest to the physical sector address of the last accessed sector is selected. In the present embodiment, it is assumed that a selection method according to the physical structure of the disk 2 is used instead of the proximity of the physical sector address. In this embodiment, an information processing apparatus having the same configuration as that of the first embodiment is used.

【0049】図5は本発明に係る実施の形態2の情報処
理システムにおける最終アクセスセクタ位置保持レジス
タの構造を示す図である。まず、図5に示すように、最
終アクセスセクタ位置保持レジスタ11には、最後にア
クセスしたセクタの物理的構成を示すヘッド番号、シリ
ンダ番号、セクタ番号の対応関係(シリンダ番号:ヘッ
ド番号:セクタ番号)が保持される。ディスクI/Oの
際に指定する物理セクタ番号を物理的な位置に変更する
ためのアルゴリズムは、ディスク2の構造に依存する。
ディスク2のシリンダ番号、ヘッド番号、セクタ番号は
図6に示すように、一般的な式で得られるものとする。
FIG. 5 is a diagram showing the structure of the last access sector position holding register in the information processing system according to the second embodiment of the present invention. First, as shown in FIG. 5, the last access sector position holding register 11 stores a head number, a cylinder number, and a sector number corresponding to the physical configuration of the last accessed sector (cylinder number: head number: sector number). ) Is retained. An algorithm for changing the physical sector number specified at the time of disk I / O to a physical position depends on the structure of the disk 2.
It is assumed that the cylinder number, head number, and sector number of the disk 2 can be obtained by general formulas as shown in FIG.

【0050】次に、図7は本発明に係る実施の形態2の
情報処理システムにおけるフリービットマップの構造を
示す図である。フリービットマップ12には、セクタの
物理的構成を示すシリンダ番号、ヘッド番号、セクタ番
号の対応関係(シリンダ番号:ヘッド番号:セクタ番
号)、物理セクタアドレス及びビットが登録される。本
実施の形態の情報処理装置は、基本的な構成が実施の形
態1と同様であり、最終アクセスセクタ位置保持レジス
タ11及びフリービットマップ12に登録されるデータ
構造が異なる。
Next, FIG. 7 is a diagram showing a structure of a free bitmap in the information processing system according to the second embodiment of the present invention. In the free bitmap 12, a cylinder number, a head number, a correspondence relationship between a sector number (cylinder number: head number: sector number), a physical sector address, and a bit indicating a physical configuration of a sector are registered. The basic configuration of the information processing apparatus of the present embodiment is the same as that of the first embodiment, and the data structure registered in the last access sector position holding register 11 and the free bitmap 12 is different.

【0051】ディスクドライバプログラム7は、実施の
形態1と同様の処理を行うが、ライト処理の際に選択す
る空きセクタは、最終アクセスセクタと同一シリンダ番
号・同一ヘッド番号であるものを最優先とし、次に、同
一シリンダ番号であるものを優先する。それらの条件に
適する空きセクタが存在しない場合は、最もシリンダ番
号が近い空きセクタを優先するものとする。以下、具体
的に本実施の形態の処理フローをフローチャートを用い
て説明する。
The disk driver program 7 performs the same processing as in the first embodiment, but the empty sector selected at the time of the write processing is given the highest cylinder number and the same head number as the last access sector. Next, priority is given to those having the same cylinder number. If there is no free sector that satisfies these conditions, the free sector with the closest cylinder number is given priority. Hereinafter, the processing flow of the present embodiment will be specifically described using a flowchart.

【0052】図8、9は本発明に係る実施の形態2の情
報処理システムにおけるディスクドライバプログラムの
リード/ライト処理フローを示すフローチャートであ
る。オペレーティングシステム3からのI/O要求待ち
のディスクドライバプログラム7は、オペレーティング
システム3からディスク2のセクタの論理セクタアドレ
スXに対してライト処理が要求されると(ステップS4
1,S42)、以下の処理を行う。
FIGS. 8 and 9 are flowcharts showing the read / write processing flow of the disk driver program in the information processing system according to the second embodiment of the present invention. The disk driver program 7 waiting for an I / O request from the operating system 3 receives a write request for the logical sector address X of a sector of the disk 2 from the operating system 3 (step S4).
1, S42), the following processing is performed.

【0053】1.まず、ディスク2のセクタの論理セク
タアドレスXに以前書き込まれたデータは、ディスクド
ライバプログラム7にオペレーティングシステム3から
ディスク2の論理セクタアドレスXに対してライト処理
が要求されると、上書きされずに無効になる。このた
め、ディスクドライバプログラム7は、アドレスマップ
6からそのライト処理が要求される論理セクタアドレス
Xに対応する物理セクタアドレスを検索する(ステップ
S43)。ディスクドライバプログラム7は、アドレス
マップ6からそのライト処理が要求される論理セクタア
ドレスXに対応する物理セクタアドレスを検索すると、
その検索した物理セクタアドレスに対応するフリービッ
トマップ5のエントリのビットを1にセットする(ステ
ップS44)。
1. First, the data previously written to the logical sector address X of the sector of the disk 2 is not overwritten when the disk driver program 7 requests the operating system 3 to write the logical sector address X of the disk 2. become invalid. Therefore, the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested (Step S43). When the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested,
The bit of the entry of the free bitmap 5 corresponding to the searched physical sector address is set to 1 (step S44).

【0054】2.次に、ディスクドライバプログラム7
は、フリービットマップ5から、最終アクセスセクタ位
置保持レジスタ8に設定された最後にアクセスしたセク
タの物理的構成に基づいて空きセクタを検索する(ステ
ップS45〜47)。まず、ディスクドライバプログラ
ム7は、フリービットマップ5から、最終アクセスセク
タ位置保持レジスタ11に設定された最後にアクセスし
たセクタのシリンダ番号及びヘッド番号と同一のシリン
ダ番号及びヘッド番号の空きセクタを検索してあった場
合(ステップS45)、ステップ48へ進み、なかった
場合(ステップS45)、ステップ46へ進む。
2. Next, the disk driver program 7
Searches for a free sector from the free bitmap 5 based on the physical configuration of the last accessed sector set in the last access sector position holding register 8 (steps S45 to S47). First, the disk driver program 7 searches the free bitmap 5 for an empty sector having the same cylinder number and head number as the cylinder number and head number of the last accessed sector set in the last access sector position holding register 11. If yes (step S45), the process proceeds to step 48, and if not (step S45), the process proceeds to step 46.

【0055】ディスクドライバプログラム7は、最終ア
クセスセクタ位置保持レジスタ11と同一のシリンダ番
号及びヘッド番号の空きセクタを検索した時、フリービ
ットマップ6から、最終アクセスセクタ位置保持レジス
タ11に設定された最後にアクセスしたセクタのシリン
ダ番号と同一のシリンダ番号の空きセクタを検索する
(ステップS46)。ディスクドライバプログラム7
は、検索してあった場合(ステップS46)、ステップ
S48へ進み、検索してなかった場合(ステップS4
6)、ステップS47へ進む。
When the disk driver program 7 searches for a free sector having the same cylinder number and head number as the last access sector position holding register 11, it searches the free bitmap 6 for the last sector set in the last access sector position holding register 11. A search is made for a free sector having the same cylinder number as the cylinder number of the sector accessed (step S46). Disk driver program 7
If the search has been performed (step S46), the process proceeds to step S48, and if the search has not been performed (step S4).
6) The process proceeds to step S47.

【0056】ディスクドライバプログラム7は、最終ア
クセスセクタ位置保持レジスタ11と同一のシリンダ番
号の空きセクタを検索した時、フリービットマップ6か
ら、最終アクセスセクタ位置保持レジスタ12に設定さ
れた最後にアクセスしたセクタのシリンダ番号に最も近
いシリンダ番号の空きセクタを検索する(ステップS4
7)。ディスクドライバプログラム7は、検索してあっ
た場合(ステップS47)、ステップS48へ進み、検
索してなかった場合(ステップS47)、ステップS4
5へ戻る。
When the disk driver program 7 searches for a free sector having the same cylinder number as the last access sector position holding register 11, the disk driver program 7 accesses the last set in the last access sector position holding register 12 from the free bitmap 6. An empty sector with the cylinder number closest to the cylinder number of the sector is searched (step S4).
7). If the disk driver program 7 has been searched (step S47), the process proceeds to step S48, and if not (step S47), the process proceeds to step S4.
Return to 5.

【0057】ディスクドライバプログラム7は、前述の
ように、フリービットマップ6から最終アクセスセクタ
位置保持レジスタ11に設定された最後にアクセスした
セクタの物理構成に基づいて空きセクタを検索した場合
(ステップS45〜47)、フリービットマップ5から
検索した空きセクタの物理セクタアドレスのエントリの
ビットを0(使用中)にリセットする(ステップS4
8)。更に、ディスクドライバプログラム7は、ライト
処理が要求されている論理セクタアドレスXに対応する
アドレスマップ6のエントリ中の物理セクタアドレスと
して、検索した空きセクタの物理セクタアドレスをセッ
トする(ステップS49)。
As described above, the disk driver program 7 searches for a free sector from the free bitmap 6 based on the physical configuration of the last accessed sector set in the last access sector position holding register 11 (step S45). To 47), the bit of the entry of the physical sector address of the empty sector retrieved from the free bitmap 5 is reset to 0 (in use) (step S4).
8). Further, the disk driver program 7 sets the physical sector address of the searched empty sector as the physical sector address in the entry of the address map 6 corresponding to the logical sector address X for which the write process is requested (Step S49).

【0058】3.次に、ディスクドライバプログラム7
は、オペレーティングシステム3から転送されたデータ
を、書き込みが要求される論理セクタアドレス値Xと、
タイムスタンプ値保持レジスタ9が保持するタイムスタ
ンプ値Cとともに、検索したディスク2の空きセクタに
書き込む(ステップS50)。
3. Next, the disk driver program 7
Represents the data transferred from the operating system 3 as a logical sector address value X for which writing is requested,
Along with the time stamp value C held by the time stamp value holding register 9, the data is written in the searched free sector of the disk 2 (step S50).

【0059】4.次に、ディスクドライバプログラム7
は、データを書き込んだディスク2の空きセクタの物理
的構成のシリンダ番号、ヘッド番号及びセクタ番号の対
応関係を、最終アクセスセクタ位置保持レジスタ8にセ
ットした後、タイムスタンプ値保持レジスタ9にC+1
なる値をセットして、タイムスタンプ値をインクリメン
トする(ステップS51)。そして、ディスクドライバ
プログラム7は、オペレーティングシステム3にライト
処理の完了を通知して(ステップS52)、ライト処理
を終了する。
4. Next, the disk driver program 7
Sets the correspondence relationship between the cylinder number, head number, and sector number of the physical configuration of the empty sector of the disk 2 on which the data is written in the last access sector position holding register 8 and then stores C + 1 in the time stamp value holding register 9
Is set, and the time stamp value is incremented (step S51). Then, the disk driver program 7 notifies the operating system 3 of the completion of the write processing (Step S52), and ends the write processing.

【0060】オペレーティングシステム3からのI/O
要求待ちのディスクドライバプログラム7は、オペレー
ティングシステム3からディスク2のセクタの論理セク
タアドレスYに対してリード処理が要求されると(ステ
ップS41,S42)、以下の処理を行う。
I / O from operating system 3
When the operating system 3 requests the logical sector address Y of the sector of the disk 2 to be read (steps S41, S42), the disk driver program 7 waiting for the request performs the following processing.

【0061】1.ディスクドライバプログラム7は、オ
ペレーティングシステム7からディスク2のセクタの論
理セクタアドレスYに対してリード処理が要求されると
(ステップS41,42)、アドレスマップ6からリー
ド処理が要求される論理セクタアドレスYに対応する物
理セクタアドレスを検索する(ステップS53)。
1. When the operating system 7 requests the logical sector address Y of the sector of the disk 2 to be read from the operating system 7 (steps S41 and S42), the disk driver program 7 requests the logical sector address Y from the address map 6 to read. (Step S53).

【0062】2.ディスクドライバプログラム7は、そ
の検索した物理セクタアドレスに対応するディスク2の
物理セクタからデータを読み取り(ステップS54)、
読み取ったデータをオペレーティングシステム3に転送
する(ステップS55)。ディスクドライバプログラム
7は、リード処理を行ったセクタの物理セクタアドレス
を最終アクセスセクタ位置保持レジスタ8にセットして
(ステップS56)、リード処理を終了する。なお、デ
ィスクドライバプログラム7の再構成処理は実施の形態
1と同様であるので、説明を省略する。
[0062] 2. The disk driver program 7 reads data from the physical sector of the disk 2 corresponding to the searched physical sector address (step S54).
The read data is transferred to the operating system 3 (step S55). The disk driver program 7 sets the physical sector address of the sector that has performed the read processing in the last access sector position holding register 8 (step S56), and ends the read processing. Note that the reconfiguration processing of the disk driver program 7 is the same as that of the first embodiment, and a description thereof will be omitted.

【0063】このように、本実施の形態では、ディスク
ドライバプログラム7により、オペレーティングシステ
ム3からディスク2の論理セクタアドレスに対して書き
込み処理が要求された場合、アドレスマップ6からその
論理セクタアドレスに対応する物理セクタアドレスを検
索し、その検索した物理セクタアドレスに対応するフリ
ービットマップ5のエントリのビットをフリーに設定
し、ディスクドライバプログラム7により、フリービッ
トマップ5から最終アクセスセクタ位置保持レジスタ8
に設定された最後にアクセスしたセクタのシリンダ番
号、ヘッド番号及びセクタ番号による物理的構成に基づ
いて空きセクタを検索し、検索した空きセクタに対応す
るフリービットマップの物理セクタアドレスのエントリ
のビットを使用中に設定し、ディスクドライバプログラ
ム7により、書き込み処理が要求されている論理セクタ
アドレスに対応するアドレスマップ6のエントリに検索
した空きセクタの物理セクタアドレスを設定し、ディス
クドライバプログラム7により、オペレーティングシス
テム3から転送されたデータを、書き込み処理が要求さ
れる論理セクタアドレスと、タイムスタンプ値保持レジ
スタ9が保持するタイムスタンプ値とともに、検索した
空きセクタに書き込み、ディスクドライバプログラム7
により、データを書き込んだディスク2の空きセクタの
物理的構成を最終アクセスセクタ位置保持レジスタ8に
設定するとともに、タイムスタンプ値保持レジスタ9の
タイムスタンプ値をインクリメントするように構成して
いる。このため、ディスク2のセクタにデータを書き込
む際、最後にアクセスしたセクタのシリンダ番号、ヘッ
ド番号及びセクタ番号による物理的構成に基づいて検索
した空きセクタについてデータを書き込むように構成し
たので、ディスク2に対する書き込む処理を、実施の形
態1の論理セクタアドレスで行う場合よりも効率よく行
うことができる。このため、実施の形態1の場合より
も、データを書き込む際のシーク処理時間をより短縮す
ることができるので、書き込み処理のスループットをさ
らに向上させることができる。
As described above, in this embodiment, when the disk driver program 7 requests the operating system 3 to perform a write process on a logical sector address of the disk 2, the address map 6 corresponds to the logical sector address. A physical sector address to be accessed is searched for, a bit of an entry of the free bitmap 5 corresponding to the searched physical sector address is set to free, and the last access sector position holding register 8 is stored from the free bitmap 5 by the disk driver program 7.
A free sector is searched based on the physical configuration based on the cylinder number, head number, and sector number of the last accessed sector set in, and the bit of the physical sector address entry of the free bit map corresponding to the searched free sector is searched for. The setting is made during use, and the disk driver program 7 sets the physical sector address of the searched free sector in the entry of the address map 6 corresponding to the logical sector address for which the write processing is requested. The data transferred from the system 3 is written into the searched empty sector together with the logical sector address for which the write processing is requested and the time stamp value held by the time stamp value holding register 9, and the disk driver program 7
Thus, the physical configuration of the empty sector of the disk 2 on which the data is written is set in the last access sector position holding register 8 and the time stamp value of the time stamp value holding register 9 is incremented. Therefore, when data is written to a sector of the disk 2, data is written to an empty sector searched based on the physical configuration based on the cylinder number, head number, and sector number of the last accessed sector. Can be performed more efficiently than the case where the logical sector address of the first embodiment is used. Therefore, the seek processing time for writing data can be further reduced than in the case of the first embodiment, so that the throughput of the write processing can be further improved.

【0064】実施の形態3.本実施の形態は、実施の形
態2に適用させることができるので、図1を用いて説明
する。記録密度が高いディスク2には、ディスク2の外
周上のトラックと内周上のトラックでは、セクタ数が異
なる場合がある。これは、ディスク2の性質上、外周の
方がトラック長が大きいので、同じ線密度でも記録でき
るデータ量が大きくなるためである。この時、ディスク
2の角速度が一定であれば、外周上のセクタのリード・
ライトの方が、内周上のセクタでの処理よりも高速にな
る。本実施の形態では、ディスクドライバプログラム7
により、実施の形態2における最後にアクセスしたセク
タの物理的構成に基づいて空きセクタを検索する際、最
後にアクセスしたセクタからの距離が等しいセクタが最
後にアクセスしたセクタから見て、外周トラック上と内
周トラック上の両方に検索された場合、外周トラック上
のセクタを選択する。この外周トラック上のセクタの選
択は、実施の形態2において、セクタの物理的構成のシ
リンダ番号の差から選択する。
Embodiment 3 This embodiment can be applied to Embodiment 2 and will be described with reference to FIG. In the disk 2 having a high recording density, the number of sectors may be different between the track on the outer circumference and the track on the inner circumference of the disk 2. This is because the outer periphery has a longer track length due to the nature of the disk 2, and therefore the amount of data that can be recorded at the same linear density increases. At this time, if the angular velocity of the disk 2 is constant, the read /
Write is faster than processing in sectors on the inner circumference. In the present embodiment, the disk driver program 7
Accordingly, when searching for a free sector based on the physical configuration of the last accessed sector in the second embodiment, a sector having the same distance from the last accessed sector is located on the outer track, as viewed from the last accessed sector. If both are searched for on the inner track and on the inner track, the sector on the outer track is selected. In the second embodiment, the sector on the outer track is selected from the difference in cylinder number of the physical configuration of the sector.

【0065】このように、本実施の形態では、ディスク
ドライバプログラム7により、最後にアクセスしたセク
タの物理的構成に基づいて空きセクタを検索する際、最
後にアクセスしたセクタからの距離が等しいセクタが最
後にアクセスしたセクタから見て、外周トラック上と内
周トラック上の両方に検索された場合、外周トラック上
のセクタを選択するように構成したため、外周上のセク
タの方がより高い性能でリード・ライトできるというデ
ィスク2の特性を考慮して空きセクタを選択することが
できる。このため、実施の形態2の場合よりも、より高
いスループットでライト処理できる機会を増やすことが
できる。
As described above, in this embodiment, when the disk driver program 7 searches for an empty sector based on the physical configuration of the last accessed sector, a sector having the same distance from the last accessed sector is determined. When the search is performed on both the outer track and the inner track from the last accessed sector, the sector on the outer track is selected, so the sector on the outer track is read with higher performance. A free sector can be selected in consideration of the characteristics of the disk 2 that can be written. For this reason, it is possible to increase opportunities for performing write processing with higher throughput than in the case of the second embodiment.

【0066】実施の形態4.実施の形態3におけるリー
ド処理・ライト処理に含まれているシーク処理を、オペ
レーティングシステムの要求に先んじて行う。即ち、リ
ード処理・ライト処理が行われる毎に、最終アクセスセ
クタ位置保持レジスタ8の値(直前にI/O処理を行っ
たセクタのアドレスになる)に最も近い空きセクタを検
索し、オペレーティングシステム3からのI/O要求を
待たずにそのセクタへのシーク処理を行うものとする。
以下、具体的にフローチャートを用いて説明する。
Embodiment 4 The seek process included in the read process / write process in the third embodiment is performed prior to a request from the operating system. That is, each time the read processing / write processing is performed, a search is made for an empty sector closest to the value of the last access sector position holding register 8 (which is the address of the sector that has just been subjected to I / O processing), and the operating system 3 The seek process to the sector is performed without waiting for an I / O request from.
Hereinafter, a specific description will be given using a flowchart.

【0067】図10、11は本発明に係る実施の形態4
の情報処理システムにおけるディスクドライバプログラ
ムのリード/ライト処理フローを示すフローチャートで
ある。オペレーティングシステム3からのI/O要求待
ちのディスクドライバプログラム7は、オペレーティン
グシステム3からディスク2のセクタの論理セクタアド
レスXに対してライト処理が要求されると(ステップS
61,S62)、以下の処理を行う。
FIGS. 10 and 11 show a fourth embodiment according to the present invention.
4 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system of FIG. The disk driver program 7 waiting for an I / O request from the operating system 3 receives a write request for the logical sector address X of a sector of the disk 2 from the operating system 3 (step S).
61, S62), the following processing is performed.

【0068】1.まず、ディスク2のセクタの論理セク
タアドレスXに以前書き込まれたデータは、ディスクド
ライバプログラム7にオペレーティングシステム3から
ディスク2の論理セクタアドレスXに対してライト処理
が要求されると、上書きされずに無効になる。このた
め、ディスクドライバプログラム7は、アドレスマップ
6からそのライト処理が要求される論理セクタアドレス
Xに対応する物理セクタアドレスを検索する(ステップ
S63)。ディスクドライバプログラム7は、アドレス
マップ6からそのライト処理が要求される論理セクタア
ドレスXに対応する物理セクタアドレスを検索すると、
その検索した物理セクタアドレスに対応するフリービッ
トマップ5のエントリのビットを1にセットする(ステ
ップS64)。
1. First, the data previously written to the logical sector address X of the sector of the disk 2 is not overwritten when the disk driver program 7 requests the operating system 3 to write the logical sector address X of the disk 2. become invalid. Therefore, the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested (Step S63). When the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested,
The bit of the entry of the free bitmap 5 corresponding to the searched physical sector address is set to 1 (step S64).

【0069】2.次に、ディスクドライバプログラム7
は、最終アクセスセクタ位置保持レジスタ8に設定され
た最後にアクセスしたセクタの物理セクタアドレスに該
当するフリービットマップ5のエントリのビットが1
(フリー)であるかを判断し、ビットが1であると判断
した場合(ステップS65)、そのフリービットマップ
5が示すビットが1だった空きセクタをライト処理に用
い(ステップS66)、ステップ68へ進む。ディスク
ドライバプログラム7は、フリービットマップ5のエン
トリのビットが0(使用中)であると判断した場合(ス
テップS65)、フリービットマップ5から最終アクセ
スセクタ位置保持レジスタ8の物理セクタアドレスに最
も近い物理セクタアドレスの空きセクタを検索して(ス
テップS67)、ステップS68へ進む。
2. Next, the disk driver program 7
Indicates that the bit of the entry of the free bitmap 5 corresponding to the physical sector address of the last accessed sector set in the last access sector position holding register 8 is 1
(Free), and if it is determined that the bit is 1 (step S65), the free sector in which the bit indicated by the free bitmap 5 is 1 is used for write processing (step S66), and step 68 Proceed to. When determining that the bit of the entry of the free bitmap 5 is 0 (in use) (step S65), the disk driver program 7 is closest to the physical sector address of the last access sector position holding register 8 from the free bitmap 5. An empty sector of the physical sector address is searched (step S67), and the process proceeds to step S68.

【0070】ディスクドライバプログラム7は、フリー
ビットマップ5から検索した空きセクタの物理セクタア
ドレスのエントリのビットを0(使用中)にリセットす
る(ステップS68)。更に、ディスクドライバプログ
ラム7は、ライト処理が要求されている論理セクタアド
レスXに対応するアドレスマップ6のエントリ中の物理
セクタアドレスとして、検索した空きセクタの物理セク
タアドレスをセットする(ステップS69)。
The disk driver program 7 resets the bit of the entry of the physical sector address of the empty sector retrieved from the free bitmap 5 to 0 (in use) (step S68). Further, the disk driver program 7 sets the physical sector address of the found empty sector as the physical sector address in the entry of the address map 6 corresponding to the logical sector address X for which the write process is requested (Step S69).

【0071】3.次に、ディスクドライバプログラム7
は、オペレーティングシステム3から転送されたデータ
を、書き込みが要求される論理セクタアドレス値Xと、
タイムスタンプ値保持レジスタ9が保持するタイムスタ
ンプ値Cとともに、検索したディスク2の空きセクタに
書き込む(ステップS70)。
3. Next, the disk driver program 7
Represents the data transferred from the operating system 3 as a logical sector address value X for which writing is requested,
Along with the time stamp value C held by the time stamp value holding register 9, the data is written in the searched empty sector of the disk 2 (step S70).

【0072】4.次に、ディスクドライバプログラム7
は、タイムスタンプ値保持レジスタ9にC+1なる値を
セットして、タイムスタンプ値をインクリメントした後
(ステップS71)、オペレーティングシステム3にラ
イト処理の完了を通知する(ステップS72)。ディス
クドライバプログラム7は、フリービットマップ5から
ライト処理を行ったセクタの物理セクタアドレスに最も
近い物理セクタアドレスの空きセクタを検索する(ステ
ップS73)。
4. Next, the disk driver program 7
Sets the value C + 1 in the time stamp value holding register 9, increments the time stamp value (step S71), and notifies the operating system 3 of the completion of the write process (step S72). The disk driver program 7 searches the free bitmap 5 for a free sector having a physical sector address closest to the physical sector address of the sector on which the write process has been performed (step S73).

【0073】ディスクドライバプログラム7は、検索し
た空きセクタにシーク処理を行った後、そのシーク処理
を行った空きセクタの物理セクタアドレスを最終アクセ
スセクタ位置保持レジスタ8に設定して(ステップS7
4)、ライト処理を終了し、ステップS61へ戻る。
After performing seek processing on the searched empty sector, the disk driver program 7 sets the physical sector address of the searched empty sector in the last access sector position holding register 8 (step S7).
4), the write processing ends, and the process returns to step S61.

【0074】オペレーティングシステム3からのI/O
要求待ちのディスクドライバプログラム7は、オペレー
ティングシステム3からディスク2のセクタの論理セク
タアドレスYに対してリード処理が要求されると(ステ
ップS61,S62)、以下の処理を行う。
I / O from operating system 3
When the operating system 3 requests the logical sector address Y of the sector of the disk 2 to be read (steps S61 and S62), the disk driver program 7 waiting for the request performs the following processing.

【0075】1.ディスクドライバプログラム7は、オ
ペレーティングシステム7からディスク2のセクタの論
理セクタアドレスYに対してリード処理が要求されると
(ステップS62)、アドレスマップ6からリード処理
が要求される論理セクタアドレスYに対応する物理セク
タアドレスを検索する(ステップS75)。
1. When the operating system 7 requests the logical sector address Y of the sector of the disk 2 to be read (step S62), the disk driver program 7 corresponds to the logical sector address Y requested to be read from the address map 6. A physical sector address to be searched is searched (step S75).

【0076】2.ディスクドライバプログラム7は、そ
の検索した物理セクタアドレスに対応するディスク2の
物理セクタからデータを読み取り(ステップS76)、
読み取ったデータをオペレーティングシステム3に転送
する(ステップS77)。ディスクドライバプログラム
7は、フリービットマップ5からリード処理を行ったセ
クタの物理セクタアドレスに最も近い物理セクタアドレ
スの空きセクタを検索する(ステップS78)。
2. The disk driver program 7 reads data from the physical sector of the disk 2 corresponding to the searched physical sector address (step S76).
The read data is transferred to the operating system 3 (step S77). The disk driver program 7 searches the free bitmap 5 for a free sector having a physical sector address closest to the physical sector address of the sector on which the read process has been performed (step S78).

【0077】ディスクドライバプログラム7は、検索し
た空きセクタにシーク処理を行った後、そのシーク処理
を行った空きセクタの物理セクタアドレスを最終アクセ
スセクタ位置保持レジスタ8に設定して(ステップS7
9)、リード処理を終了し、ステップS61へ戻る。な
お、ディスクドライバプログラム7の再構成処理は実施
の形態1と同様であるので、説明を省略する。
After performing the seek process on the searched empty sector, the disk driver program 7 sets the physical sector address of the searched empty sector in the last access sector position holding register 8 (step S7).
9), the read process ends, and the process returns to step S61. Note that the reconfiguration processing of the disk driver program 7 is the same as that of the first embodiment, and a description thereof will be omitted.

【0078】このように、本実施の形態では、ディスク
ドライバプログラム7により、検索した空きセクタに書
き込み処理を行った後、フリービットマップ5から書き
込み処理を行ったセクタの物理セクタアドレスに最も近
い物理セクタアドレスの空きセクタを検索し、検索した
空きセクタにシーク処理を行い、このシーク処理を行っ
た空きセクタの物理セクタアドレスを最終アクセスセク
タ位置保持レジスタに設定するように構成したため、オ
ペレーティングシステム3から書き込み要求が来る前に
予め、検索した空きセクタにシーク処理を行うことがで
きる。このため、オペレーティングシステム3から書き
込み要求が来た時に、検索した空きセクタにシーク処理
を行うことなく、効率よく書き込みを行うことができる
ので、書き込み処理のレスポンス/スループットを向上
させることができる。
As described above, in this embodiment, after the disk driver program 7 performs a write process on the searched empty sector, the physical bit address closest to the physical sector address of the sector on which the write process was performed is obtained from the free bitmap 5. An empty sector of the sector address is searched, seek processing is performed on the searched empty sector, and the physical sector address of the empty sector on which the seek processing has been performed is set in the last access sector position holding register. Before a write request comes, a seek process can be performed on a searched empty sector in advance. For this reason, when a write request is received from the operating system 3, writing can be performed efficiently without performing seek processing on the searched empty sector, so that response / throughput of the writing processing can be improved.

【0079】実施の形態5.図12は本発明に係る実施
の形態5の情報処理システムの構成を示すブロック図で
ある。図12において、図1と同一符号は同一又は相当
部分を示し、21はオペレーティングシステム3とディ
スクドライバプログラム7間に設けられ、オペレーティ
ングシステム3からのディスクI/O要求をキューイン
グするキューバッファである。このキューバッファ21
は、ディスク2のI/O処理中にオペレーティングシス
テム3から投入された新たなディスクI/O要求を保持
する。ディスクドライバプログラム7は、先行する処理
が終了した際に、キューバッファ21中の処理要求に対
して次の処理を行い、ディスク2に投入するI/O処理
を決定する。
Embodiment 5 FIG. FIG. 12 is a block diagram showing a configuration of the information processing system according to the fifth embodiment of the present invention. 12, the same reference numerals as those in FIG. 1 denote the same or corresponding parts, and reference numeral 21 denotes a queue buffer provided between the operating system 3 and the disk driver program 7 for queuing a disk I / O request from the operating system 3. . This queue buffer 21
Holds a new disk I / O request input from the operating system 3 during the I / O processing of the disk 2. When the preceding processing is completed, the disk driver program 7 performs the following processing for the processing request in the queue buffer 21 and determines the I / O processing to be input to the disk 2.

【0080】ディスク2は、物理的に連続するセクタに
ライト処理を行う時、後続するセクタの処理では回転待
ち時間やシーク時間が生じないため、より高速に処理を
行えるという特性を持っている。そこで、ディスクドラ
イバプログラム7は、キューバッファ21の先頭がライ
ト処理の場合、キューバッファ21に含まれるライト処
理の数を調べ、フリービットマップ5の中から最終アク
セスセクタ位置保持レジスタ8の近傍を優先して、ライ
ト要求数以上に連続した空き領域を検出する。
The disk 2 has the characteristic that, when write processing is performed on physically continuous sectors, processing can be performed at a higher speed because there is no rotation waiting time or seek time in the processing of subsequent sectors. Therefore, when the head of the queue buffer 21 is a write process, the disk driver program 7 checks the number of write processes included in the queue buffer 21 and gives priority to the vicinity of the last access sector position holding register 8 from the free bitmap 5. Then, an empty area that is continuous beyond the number of write requests is detected.

【0081】ディスクドライバプログラム7は、キュー
バッファ21のライト要求数以上に連続した空き領域が
存在すれば、該当領域の先頭空きセクタをキューバッフ
ァ21中の先頭ライト要求のために用い、以降キューバ
ッファ21に存在するライト要求を、リード要求を飛び
越えて、連続してディスク2に投入するものとする。デ
ィスクドライバプログラム7は、キューバッファ21の
ライト要求数以上に連続した空き領域がない場合、前述
で示した実施の形態4と同様な処理を持って、キューバ
ッファ21中の先頭ライト処理を行う。以下、具体的に
フローチャートを用いて説明する。
If there is a continuous free area equal to or more than the number of write requests in the queue buffer 21, the disk driver program 7 uses the first free sector in the area for the first write request in the queue buffer 21, and It is assumed that the write request existing at 21 is skipped over the read request and is continuously input to the disk 2. When there is no continuous free area equal to or larger than the number of write requests in the queue buffer 21, the disk driver program 7 performs the head write process in the queue buffer 21 by performing the same process as in the above-described fourth embodiment. Hereinafter, a specific description will be given using a flowchart.

【0082】図13〜図15は本発明に係る実施の形態
5の情報処理システムにおけるディスクドライバプログ
ラムのリード/ライト処理フローを示すフローチャート
である。ディスクドライバプログラム7は、キューバッ
ファ21に処理要求が蓄積されているか否かを判断し、
処理要求が蓄積されていると判断した場合(ステップS
81)、キューバッファ21に処理要求が到着するまで
処理を停止する(ステップS82)。
FIGS. 13 to 15 are flowcharts showing the read / write processing flow of the disk driver program in the information processing system according to the fifth embodiment of the present invention. The disk driver program 7 determines whether a processing request is stored in the queue buffer 21 and
When it is determined that the processing requests are stored (step S
81), the processing is stopped until a processing request arrives at the queue buffer 21 (step S82).

【0083】ディスクドライバプログラム7は、キュー
バッファ21に処理要求が蓄積されていると判断した場
合(ステップS81)、キューバッファ21にライト処
理が含まれているかを検索し、そのライト処理の個数を
nとし(ステップS83)、キューバッファ21に蓄積
されたライト処理の個数nが2以上か否かを判断する
(ステップS84)。ディスクドライバプログラム7
は、キューバッファ21のライト処理の個数nが2以上
でない(2よりも小さい)と判断した場合(ステップS
84)、キューバッファ21の先頭要求について後述す
る図14、15の処理を行い、キューから抜け出す(ス
テップS85)。
When the disk driver program 7 determines that the processing requests are stored in the queue buffer 21 (step S81), it searches whether or not the queue buffer 21 includes the write processing, and determines the number of the write processing. n (step S83), it is determined whether the number n of write processes stored in the queue buffer 21 is 2 or more (step S84). Disk driver program 7
Determines that the number n of write processes in the queue buffer 21 is not greater than 2 (smaller than 2) (step S
84), the process of FIGS. 14 and 15 described below is performed for the head request of the queue buffer 21, and the process exits the queue (step S85).

【0084】ディスクドライバプログラム7は、キュー
バッファ21のライト処理の個数nが2以上であると判
断した場合(ステップS84)、フリービットマップ5
の中から最終アクセスセクタ位置保持レジスタ8の値の
近傍を優先して、キューバッファ21のライト要求数n
が2以上の連続した空きセクタを検索する(ステップS
86)。ディスクドライバプログラム7は、フリービッ
トマップ5の中から該当する連続した空きセクタを検出
しない場合(ステップS87)、キューバッファ21の
先頭要求について後述する図14、15の処理を行い、
キューから抜け出す(ステップS88)。
If the disk driver program 7 determines that the number n of write processes in the queue buffer 21 is 2 or more (step S84), the free bit map 5
Priority is given to the vicinity of the value of the last access sector position holding register 8 from among the number of write requests n of the queue buffer 21.
Searches for two or more consecutive free sectors (step S
86). If the disk driver program 7 does not detect a corresponding continuous empty sector from the free bitmap 5 (step S87), the disk driver program 7 performs the processing of FIGS.
Step out of the queue (step S88).

【0085】ディスクドライバプログラム7は、フリー
ビットマップ5の中から該当する連続した空きセクタを
検出した場合(ステップS87)、最終アクセスセクタ
位置保持レジスタ8の値を検出した空きセクタの物理セ
クタアドレスに置き換える(ステップS89)。ディス
クドライバプログラム7は、キューバッファ21のライ
ト要求数nが0より大きいか否かを判断し、大きいと判
断した場合(ステップS90)、キューバッファ21中
のライト処理要求について後述する図14、15の処理
を行う。
When the disk driver program 7 detects a corresponding continuous empty sector from the free bitmap 5 (step S87), the disk driver program 7 determines the value of the last access sector position holding register 8 as the physical sector address of the detected empty sector. Replace (step S89). The disk driver program 7 determines whether or not the number n of write requests of the queue buffer 21 is larger than 0. If it is determined that the number n is larger (step S90), the write processing request in the queue buffer 21 will be described later with reference to FIGS. Is performed.

【0086】その後、ディスクドライバプログラム7
は、キューから抜け出し、キューバッファ21のライト
要求数nから1引いて(ステップS92)、その値nが
0より大きいと判断した場合(ステップS90)、ステ
ップS91へ進み、0より小さいと判断した場合(ステ
ップS90)、ステップS81へ戻る。
Thereafter, the disk driver program 7
Escapes from the queue and subtracts 1 from the number n of write requests in the queue buffer 21 (step S92). If it is determined that the value n is larger than 0 (step S90), the process proceeds to step S91 and is determined to be smaller than 0. In this case (step S90), the process returns to step S81.

【0087】ここで、ステップS85、S88、S91
におけるキューバッファ21の処理要求の処理について
説明する。ディスクドライバプログラム7は、ステップ
S85、S88、S91において、キューバッファ21
の先頭要求がライト処理で有るか否かを判断し、ライト
処理であると判断すると(ステップS101)、以下の
処理を行う。 1.まず、ディスク2のセクタの論理セクタアドレスX
に以前書き込まれたデータは、キューバッファ21の先
頭要求がライト処理であると、上書きされずに無効にな
る。このため、ディスクドライバプログラム7は、アド
レスマップ6からそのライト処理が要求される論理セク
タアドレスXに対応する物理セクタアドレスを検索する
(ステップS102)。ディスクドライバプログラム7
は、アドレスマップ6からそのライト処理が要求される
論理セクタアドレスXに対応する物理セクタアドレスを
検索すると、その検索した物理セクタアドレスに対応す
るフリービットマップ5のエントリのビットを1にセッ
トする(ステップS103)。
Here, steps S85, S88, S91
The processing of the processing request of the queue buffer 21 will be described. In steps S85, S88, and S91, the disk driver program 7
It is determined whether or not the first request is a write process. If the first request is a write process (step S101), the following process is performed. 1. First, the logical sector address X of the sector of the disk 2
The data written before is invalidated without being overwritten if the head request of the queue buffer 21 is a write process. Therefore, the disk driver program 7 searches the address map 6 for a physical sector address corresponding to the logical sector address X for which the write processing is requested (Step S102). Disk driver program 7
Retrieves the physical sector address corresponding to the logical sector address X for which the write processing is requested from the address map 6, and sets the bit of the entry of the free bit map 5 corresponding to the retrieved physical sector address to 1 ( Step S103).

【0088】2.次に、ディスクドライバプログラム7
は、最終アクセスセクタ位置保持レジスタ8に設定され
た最後にアクセスしたセクタの物理セクタアドレスに該
当するフリービットマップ5のエントリのビットが1
(フリー)であるかを判断し、ビットが1であると判断
した場合(ステップS104)、そのフリービットマッ
プ5が示すビットが1だった空きセクタをライト処理に
用い(ステップS105)、ステップ107へ進む。デ
ィスクドライバプログラム7は、フリービットマップ5
のエントリのビットが0(使用中)であると判断した場
合(ステップS104)、フリービットマップ5から最
終アクセスセクタ位置保持レジスタ8の物理セクタアド
レスに最も近い物理セクタアドレスの空きセクタを検索
して(ステップS106)、ステップS107へ進む。
2. Next, the disk driver program 7
Indicates that the bit of the entry of the free bitmap 5 corresponding to the physical sector address of the last accessed sector set in the last access sector position holding register 8 is 1
(Free), and if the bit is determined to be 1 (step S104), the free sector in which the bit indicated by the free bitmap 5 is 1 is used for write processing (step S105), and step 107 is performed. Proceed to. The disk driver program 7 has a free bitmap 5
Is determined to be 0 (in use) (step S104), the free bit map 5 is searched for a free sector of the physical sector address closest to the physical sector address of the last access sector position holding register 8. (Step S106), the process proceeds to step S107.

【0089】ディスクドライバプログラム7は、フリー
ビットマップ5から検索した空きセクタの物理セクタア
ドレスのエントリのビットを0(使用中)にリセットす
る(ステップS107)。更に、ディスクドライバプロ
グラム7は、ライト処理が要求されている論理セクタア
ドレスXに対応するアドレスマップ6のエントリ中の物
理セクタアドレスとして、検索した空きセクタの物理セ
クタアドレスをセットする(ステップS108)。
The disk driver program 7 resets the bit of the entry of the physical sector address of the empty sector searched from the free bitmap 5 to 0 (in use) (step S107). Further, the disk driver program 7 sets the physical sector address of the searched empty sector as the physical sector address in the entry of the address map 6 corresponding to the logical sector address X for which the write process is requested (Step S108).

【0090】3.次に、ディスクドライバプログラム7
は、オペレーティングシステム3から転送されたデータ
を、書き込みが要求される論理セクタアドレス値Xと、
タイムスタンプ値保持レジスタ9が保持するタイムスタ
ンプ値Cとともに、検索したディスク2の空きセクタに
書き込む(ステップS109)。
3. Next, the disk driver program 7
Represents the data transferred from the operating system 3 as a logical sector address value X for which writing is requested,
Along with the time stamp value C held by the time stamp value holding register 9, the data is written to the searched empty sector of the disk 2 (step S109).

【0091】4.次に、ディスクドライバプログラム7
は、タイムスタンプ値保持レジスタ9にC+1なる値を
セットして、タイムスタンプ値をインクリメントした後
(ステップS110)、オペレーティングシステム3に
ライト処理の完了を通知する(ステップS111)。デ
ィスクドライバプログラム7は、フリービットマップ5
からライト処理を行ったセクタの物理セクタアドレスに
最も近い物理セクタアドレスの空きセクタを検索する
(ステップS112)。
4. Next, the disk driver program 7
Sets the value C + 1 in the time stamp value holding register 9, increments the time stamp value (step S110), and notifies the operating system 3 of the completion of the write process (step S111). The disk driver program 7 has a free bitmap 5
A search is made for a free sector having a physical sector address closest to the physical sector address of the sector on which the write process has been performed (step S112).

【0092】ディスクドライバプログラム7は、検索し
た空きセクタにシーク処理を行った後、そのシーク処理
を行った空きセクタの物理セクタアドレスを最終アクセ
スセクタ位置保持レジスタ8に設定して(ステップS1
13)、ライト処理を終了し、ステップS81へ戻る。
After performing the seek processing on the searched empty sector, the disk driver program 7 sets the physical sector address of the searched empty sector in the last access sector position holding register 8 (step S1).
13), end the write processing, and return to step S81.

【0093】ディスクドライバプログラム7は、ステッ
プS85、S88、S89において、キューバッファ2
1の先頭要求がリード処理であると判断すると(ステッ
プS101)、以下の処理を行う。 1.ディスクドライバプログラム7は、オペレーティン
グシステム7からディスク2のセクタの論理セクタアド
レスYに対してリード処理が要求されると(ステップS
62)、アドレスマップ6からリード処理が要求される
論理セクタアドレスYに対応する物理セクタアドレスを
検索する(ステップS114)。
In steps S85, S88, and S89, the disk driver program 7
If it is determined that the first request is a read process (step S101), the following process is performed. 1. The disk driver program 7 receives a read request from the operating system 7 for the logical sector address Y of the sector of the disk 2 (step S).
62) Search the address map 6 for a physical sector address corresponding to the logical sector address Y for which read processing is requested (step S114).

【0094】2.ディスクドライバプログラム7は、そ
の検索した物理セクタアドレスに対応するディスク2の
物理セクタからデータを読み取り(ステップS11
5)、読み取ったデータをオペレーティングシステム3
に転送する(ステップS116)。ディスクドライバプ
ログラム7は、フリービットマップ5からリード処理を
行ったセクタの物理セクタアドレスに最も近い物理セク
タアドレスの空きセクタを検索する(ステップS11
7)。
2. The disk driver program 7 reads data from the physical sector of the disk 2 corresponding to the searched physical sector address (step S11).
5) Read the read data into the operating system 3.
(Step S116). The disk driver program 7 searches the free bitmap 5 for a free sector having a physical sector address closest to the physical sector address of the sector on which the read process has been performed (step S11).
7).

【0095】ディスクドライバプログラム7は、検索し
た空きセクタにシーク処理を行った後、そのシーク処理
を行った空きセクタの物理セクタアドレスを最終アクセ
スセクタ位置保持レジスタ8に設定して(ステップS1
18)、リード処理を終了し、ステップS81へ戻る。
なお、ディスクドライバプログラム7の再構成処理は実
施の形態1と同様であるので、説明を省略する。
After performing seek processing on the searched empty sector, the disk driver program 7 sets the physical sector address of the searched empty sector in the last access sector position holding register 8 (step S1).
18), the read process ends, and the process returns to step S81.
Note that the reconfiguration processing of the disk driver program 7 is the same as that of the first embodiment, and a description thereof will be omitted.

【0096】このように、本実施の形態では、オペレー
ティングシステム3とディスクドライバプログラム7間
にオペレーティングシステム3からの書き込み/読み込
み処理要求を蓄積するキューバッファ21を設け、ディ
スクドライバプログラム7が、キューバッファ21に書
き込み処理要求が2つ以上蓄積されていると判断した場
合、フリービットマップ5から最終アクセスセクタ位置
保持レシスタ8に設定された物理セクタアドレスに最も
近く、かつ書き込み処理要求数に応じた連続した空きセ
クタを検索し、ディスクドライバプログラム7が、検索
した連続空きセクタに対してキューバッファ21のライ
ト処理要求の処理をまとめて行うように構成したため、
ライト処理のスループットを向上させることができる。
As described above, in this embodiment, the queue buffer 21 for storing the write / read processing request from the operating system 3 is provided between the operating system 3 and the disk driver program 7, and the disk driver program 7 If it is determined that two or more write processing requests have been stored in the memory 21, the free bitmap 5 is closest to the physical sector address set in the last access sector position holding register 8, and the continuous number of write processing requests corresponds to the number of write processing requests. Since the disk driver program 7 is configured to search for the searched free sectors and to perform the processing of the write processing request of the queue buffer 21 for the searched continuous free sectors collectively,
The write processing throughput can be improved.

【0097】実施の形態6.図16は本発明に係る実施
の形態6の情報処理システムにおけるディスクの空きセ
クタの配置を示す図である。図16において、図12と
同一符号は同一又は相当部分を示し、31はディスク2
のトラックであり、32は各トラック31に配置された
空きセクタである。
Embodiment 6 FIG. FIG. 16 is a diagram showing an arrangement of empty sectors on a disk in the information processing system according to the sixth embodiment of the present invention. In FIG. 16, the same reference numerals as those in FIG.
And 32 are empty sectors arranged in each track 31.

【0098】実施の形態5においては、ディスク2上の
空きセクタが適度に分散されている方が、最終アクセス
セクタがどの位置であろうと、最近傍の空きセクタへの
距離が平均的に近くなるため、ライト処理のスループッ
トが向上する。そこで、本実施の形態において、ディス
クドライバプログラム7は、キューバッファ21にリー
ド/ライト要求が蓄積されていない時、その空き時間を
利用して、図16に示すように、ディスク2の各トラッ
ク31に分散するように空きセクタ32を再配置処理す
る。ここでは、最大(m−n)個ある空きセクタをトラ
ック数=シリンダ数Nc×ヘッド数Nhで割った個数の
空きセクタを、各トラック31に均一に割り当てる。
In the fifth embodiment, when the empty sectors on the disk 2 are appropriately distributed, the distance to the nearest empty sector becomes shorter on average, regardless of the position of the last access sector. Therefore, the throughput of the write processing is improved. Therefore, in the present embodiment, when no read / write request is stored in the queue buffer 21, the disk driver program 7 uses the free time as shown in FIG. The empty sectors 32 are rearranged so as to be distributed into the sectors. Here, a maximum of (mn) empty sectors is divided by the number of tracks = the number of cylinders Nc × the number of heads Nh, and the number of empty sectors is uniformly allocated to each track 31.

【0099】このように、本実施の形態では、ディスク
ドライバプログラム7により、キューバッファ21にリ
ード/ライト要求が蓄積されていない時、ディスク2の
各トラックに分散するように空きセクタを再配置するよ
うに構成したため、ライト処理する際のシーク距離を小
さくすることができる。このため、シーク時間を短縮す
ることができるので、ライト処理のレスポンス/スルー
プットを向上させることができる。
As described above, in this embodiment, when the read / write requests are not stored in the queue buffer 21 by the disk driver program 7, the empty sectors are rearranged so as to be distributed to the tracks of the disk 2. With such a configuration, the seek distance at the time of performing write processing can be reduced. Therefore, the seek time can be reduced, and the response / throughput of the write processing can be improved.

【0100】実施の形態7.図17,18は本発明に係
る実施の形態7の情報処理システムにおけるディスクの
空きセクタの配置を示す図である。図17,18におい
て、図16と同一符号は同一又は相当部分を示す。本実
施の形態では、実施の形態6において、ディスク2の各
トラック31に分散させる空きセクタ32の理想的な配
置を、計算機システムの管理者が次の中から選択できる
ように、ディスクドライバプログラム7の再配値プログ
ラムを変更する。ディスクドライバプログラム7は、計
算機システムの管理者から選択されるライト処理の要求
頻度に基づいて空きセクタ32の再配置処理を行う。以
下、具体的に説明する。
Embodiment 7 FIG. FIGS. 17 and 18 are diagrams showing the arrangement of free sectors on a disk in the information processing system according to the seventh embodiment of the present invention. 17 and 18, the same reference numerals as those in FIG. 16 indicate the same or corresponding parts. In the present embodiment, the disk driver program 7 according to the sixth embodiment is designed so that an administrator of the computer system can select an ideal arrangement of the empty sectors 32 to be distributed to the tracks 31 of the disk 2 from the following. Change the reallocation program for. The disk driver program 7 performs the relocation processing of the empty sector 32 based on the request frequency of the write processing selected by the administrator of the computer system. Hereinafter, a specific description will be given.

【0101】1.ディスクドライバプログラム7は、デ
ィスクI/Oにおいて、管理者からライト処理の割合が
高い旨の情報が設定されると、図17に示すように、デ
ィスク2の外周トラック31上に空きセクタ32を集中
させて配置するように再配置処理を行う。これにより、
ディスク2中に連続する空きセクタ32の領域を次の2
と3の場合よりも高くすることができるので、ライト処
理の性能を向上させることができる。
1. The disk driver program 7 concentrates the empty sectors 32 on the outer track 31 of the disk 2 as shown in FIG. 17 when the administrator sets information indicating that the write processing ratio is high in the disk I / O. A rearrangement process is performed so as to perform the arrangement. This allows
The area of the continuous free sector 32 in the disk 2 is
And 3, the write processing performance can be improved.

【0102】2.ディスクドライバプログラム7は、デ
ィスクI/Oにおいて、ライト処理の割合が比較的高い
旨の情報が設定されると、図18に示すように、各シリ
ンダグループ33(同一シリンダ番号を持つセクタの集
合)について一箇所、空きセクタ32を分配して配置す
るように再配置処理を行う。これにより、ディスク2中
に連続する空きセクタ32を次の3の場合よりも高くす
ることができるので、ライト処理の性能を向上させるこ
とができる。
2. When information indicating that the rate of write processing is relatively high is set in the disk I / O, the disk driver program 7 sets each cylinder group 33 (a set of sectors having the same cylinder number) as shown in FIG. The relocation processing is performed so that the empty sectors 32 are distributed and arranged at one location. As a result, the number of consecutive free sectors 32 in the disk 2 can be made higher than in the following three cases, so that the performance of write processing can be improved.

【0103】3.ディスクドライバプログラム7は、前
述した1と2の場合よりもライト処理の割合が低い旨の
情報が設定されると、図16に示したように、各トラッ
ク31について一箇所の割合で空きセクタ32を分配し
て配置するように再配置処理を行う。これにより、各ト
ラック31について空きセクタ32が存在するので、リ
ード処理後のライト処理の時にシークを不要にすること
ができ、ライト処理の性能を向上させることができる。
3. When the information indicating that the ratio of the write process is lower than the cases of 1 and 2 is set, the disk driver program 7 sets the free sector 32 at a ratio of one for each track 31 as shown in FIG. Is rearranged so as to distribute and arrange. As a result, since there is an empty sector 32 for each track 31, it is possible to eliminate the need for a seek at the time of the write processing after the read processing, thereby improving the performance of the write processing.

【0104】このように、本実施の形態では、ディスク
ドライバプログラム7により、ライト処理の要求頻度に
基づいて空きセクタ32の再配置処理を行うように構成
したため、ライト処理の要求頻度に応じてディスク2の
各トラック31の最適な領域に空きセクタ32を配置す
ることができる。このため、ライト処理の性能を向上さ
せることができる。
As described above, in the present embodiment, the disk driver program 7 performs the rearrangement processing of the empty sectors 32 based on the request frequency of the write processing. The empty sector 32 can be arranged in an optimum area of each of the tracks 31 of the second. Therefore, the performance of the write processing can be improved.

【0105】実施の形態8.図19は本発明に係る実施
の形態8の情報処理システムのディスクの構成を示す図
である。図19において、図19において、41はディ
スクであり、42はディスク41の一定の保存領域であ
り、43〜46は保存領域42内に各々確保されたアド
レスマップ保存領域、フリービットマップ保存領域、タ
イムスタンプ値保存領域、有効フラグビット保存領域で
ある。
Embodiment 8 FIG. FIG. 19 is a diagram showing a configuration of a disc of the information processing system according to the eighth embodiment of the present invention. In FIG. 19, in FIG. 19, 41 is a disk, 42 is a fixed storage area of the disk 41, and 43 to 46 are address map storage areas, free bitmap storage areas secured in the storage area 42, respectively. A time stamp value storage area and a valid flag bit storage area.

【0106】実施の形態1〜7では、情報処理装置1及
びディスク2の電源断の度に情報処理装置1のメモリ上
に構築したアドレスマップ6とフリービットマップ5,
12、タイムスタンプ値保持レジスタ9の内容が失われ
るため、実施の形態1で説明した再構築処理を行う必要
があった。そこで、本実施の形態では、この再構築処理
の時間を省略するために、図19に示すように、ディス
ク41上の一定の保存領域42を、アドレスマップ保存
領域43、フリービットマップ保存領域44、タイムス
タンプ値保存領域45及び有効フラグビット保存領域4
6のために確保する。
In the first to seventh embodiments, each time the information processing apparatus 1 and the disk 2 are turned off, the address map 6 and the free bit map 5 built on the memory of the information processing apparatus 1 are used.
12. Since the contents of the time stamp value holding register 9 are lost, it is necessary to perform the reconstruction processing described in the first embodiment. Therefore, in this embodiment, in order to save the time for the rebuilding process, as shown in FIG. 19, a fixed storage area 42 on the disk 41 is divided into an address map storage area 43 and a free bitmap storage area 44. , Time stamp value storage area 45 and valid flag bit storage area 4
Reserve for 6.

【0107】ディスクドライバプログラム7は、実施の
形態1で説明したようにディスク41の初期化が行われ
る時、この初期化処理の処理に加え、ディスク41に書
き込まれている内容は無効であると、ディスク41上の
有効フラグビットに0(無効)をセットする。
When the disk driver program 7 initializes the disk 41 as described in the first embodiment, the contents written on the disk 41 are invalid in addition to the initialization processing. , Set the valid flag bit on the disk 41 to 0 (invalid).

【0108】ディスクドライバプログラム7は、オペレ
ーティングシステム3がその動作を停止する時、情報処
理装置1のアドレスマップ6とフリービットマップ5,
12とタイムスタンプ値保持レジスタ9の内容を、ディ
スク41上の保存領域42内のアドレスマップ保存領域
44とフリービットマップ保存領域44とタイムスタン
プ値保存領域45に各々保存する。その後、ディスクド
ライバプログラム7は、ディスク41上の有効フラグビ
ット1を1(有効)にセットしてからオペレーティング
システム3を停止する。以降、I/O処理は、電源断ま
でオペレーティングシステム3が停止しているため、デ
ィスク41に対して行われない。
When the operating system 3 stops its operation, the disk driver program 7 stores the address map 6 and the free bit map 5 of the information processing apparatus 1.
12 and the contents of the time stamp value holding register 9 are stored in an address map storage area 44, a free bit map storage area 44, and a time stamp value storage area 45 in a storage area 42 on the disk 41, respectively. Thereafter, the disk driver program 7 sets the valid flag bit 1 on the disk 41 to 1 (valid), and then stops the operating system 3. Thereafter, the I / O processing is not performed on the disk 41 because the operating system 3 is stopped until the power is turned off.

【0109】ディスクドライバプログラム7は、ディス
ク41及び情報処理装置1の電源が投入され、オペレー
ティングシステム3が動作を開始する時、以下の処理を
行う。1.ディスクドライバプログラム7は、最初にデ
ィスク41上の有効フラグビットが1(有効)か0(無
効)であるかをチェックし、有効フラグビットが1にセ
ットされている時、ディスク41のアドレスマップ保存
領域43とフリービットマップ保存領域44とタイムス
タンプ値保存領域45から、アドレスマップとフリービ
ットマップとタイムスタンプ値の情報を読み出して、情
報処理装置1のメモリ上のアドレスマップ6とフリービ
ットマップ5,12とタイムスタンプ値保持レジスタ9
にセットする。
When the power of the disk 41 and the information processing apparatus 1 is turned on and the operating system 3 starts operating, the disk driver program 7 performs the following processing. 1. The disk driver program 7 first checks whether the valid flag bit on the disk 41 is 1 (valid) or 0 (invalid), and when the valid flag bit is set to 1, saves the address map of the disk 41. The address map, the free bitmap, and the time stamp value information are read from the area 43, the free bit map storage area 44, and the time stamp value storage area 45, and the address map 6 and the free bit map 5 in the memory of the information processing apparatus 1 are read. , 12 and time stamp value holding register 9
Set to.

【0110】ディスクドライバプログラム7は、有効フ
ラグビット1が0(無効)の場合、実施の形態1で説明
したように再構成処理を行う。2.次に、ディスクドラ
イバプログラム7は、ディスク41上の有効フラグビッ
ト1を0(無効)にリセットする。これ以降、ディスク
ドライバプログラム7は、オペレーティングシステム3
の要求に従って、ディスク41のI/O処理を行う。
When the valid flag bit 1 is 0 (invalid), the disk driver program 7 performs the reconfiguration processing as described in the first embodiment. 2. Next, the disk driver program 7 resets the valid flag bit 1 on the disk 41 to 0 (invalid). After this, the disk driver program 7
Performs the I / O processing of the disk 41 in accordance with the request.

【0111】このように、本実施の形態では、ディスク
ドライバプログラム7により、オペレーティングシステ
ム3が動作を停止する時、情報処理装置1のアドレスマ
ップ6とフリービットマップ5,12とタイムスタンプ
値保持レジスタ9の情報をディスク41に保存してお
き、ディスクドライバプログラム7により、オペレーテ
ィングシステム3が動作を開始した時、ディスク41か
らアドレスマップとフリービットマップとタイムスタン
プ値の情報を読み出して情報処理装置1のアドレスマッ
プ6とフリービットマップ5,12とタイムスタンプ値
保持レジスタ9に設定するように構成したため、オペレ
ーティングシステム3停止時に情報処理装置1のメモリ
上に構築した情報が失われても、停止時に予めその情報
がディスク41に保存され、オペレーティングシステム
3起動時にディスク41の情報が読み出されて情報処理
装置1のメモリ上に自動的に設定される。このため、オ
ペレーティングシステム3起動時に必要な処理を大幅に
簡略化することができるので、起動時間を短縮すること
ができる。
As described above, in the present embodiment, when the operating system 3 stops operating due to the disk driver program 7, the address map 6, the free bit maps 5, 12 and the time stamp value holding register of the information processing apparatus 1 are stored. 9 is stored in the disk 41, and when the operating system 3 starts operating by the disk driver program 7, the information of the address map, the free bit map and the time stamp value is read from the disk 41 and the information processing apparatus 1 is read. Are configured in the address map 6, the free bitmaps 5, 12 and the time stamp value holding register 9 of the information processing apparatus 1 even when the information constructed in the memory of the information processing apparatus 1 is lost when the operating system 3 is stopped. The information is stored on the disc 41 in advance. Is, information of the disc 41 to the operating system 3 boot is automatically set to the read and the information processing apparatus on a memory. For this reason, the processing required at the time of booting the operating system 3 can be greatly simplified, and the boot time can be reduced.

【0112】実施の形態9.本実施の形態では、実施の
形態1における論理アドレス・物理アドレス変換機構
を、通常のディスク2のライト処理高速化のための補助
装置として用いる。ある種のアプリケーションプログラ
ム4では、システムがいつ異常終了してもアプリケーシ
ョンプログラム4がライトしたデータが失われないよう
に同期書き込みを行うものがある。
Embodiment 9 FIG. In this embodiment, the logical address / physical address conversion mechanism in the first embodiment is used as an auxiliary device for speeding up the normal write processing of the disk 2. Some types of application programs 4 perform synchronous writing so that data written by the application programs 4 is not lost even when the system abnormally ends.

【0113】同期書き込みとは、アプリケーションプロ
グラム4がライト処理を要求した後、オペレーティング
システム3がそれを受け付けるだけでなく、実際にディ
スク2に書き込まれるまでアプリケーションプログラム
4の実行を停止するような処理要求である。
[0113] Synchronous writing is a processing request in which after the application program 4 requests a write process, the operating system 3 not only accepts the write process, but also suspends the execution of the application program 4 until it is actually written to the disk 2. It is.

【0114】そこで、本実施の形態では、実施の形態1
に準じるディスク機構を補助的に設け、バッファディス
クとして用いる。ライト処理を行う場合は、バッファデ
ィスクにまず書き込みを行い、バッファディスクへの書
き込みが完了した時点でアプリケーションプログラム4
の実行を再開する。その処理に並行してメモリ上のバッ
ファから最適化した順序で通常の主ディスク2に書き込
み処理を行い、主ディスク2への書き込み処理が完了し
た時点で、主ディスク2の書き込んだ内容に該当するバ
ッファディスク上の対応する領域を開放する。
Therefore, in the present embodiment, the first embodiment is used.
A disk mechanism similar to that described above is additionally provided and used as a buffer disk. When performing the write process, first write to the buffer disk, and when writing to the buffer disk is completed, the application program 4
Resume execution of. In parallel with this processing, the normal main disk 2 is written in the optimized order from the buffer on the memory, and when the writing processing to the main disk 2 is completed, the contents correspond to the contents written in the main disk 2. Free the corresponding area on the buffer disk.

【0115】図20は本発明に係る実施の形態9の情報
処理システムの構成を示すブロック図である。図20に
おいて、図1と同一符号は同一又は相当部分を示す。デ
ィスクドライバプログラム7は、ライト処理に関するオ
ペレーティングシステム3の振舞いを一部変更するた
め、オペレーティングシステム3の内部に構成される。
51はバッファメモリであり、52はバッファディスク
である。フリービットマップ5とバッファメモリ51
は、バッファディスク52の総セクタ数と同じ数のエン
トリが存在する。
FIG. 20 is a block diagram showing the configuration of the information processing system according to the ninth embodiment of the present invention. 20, the same reference numerals as those in FIG. 1 denote the same or corresponding parts. The disk driver program 7 is configured inside the operating system 3 in order to partially change the behavior of the operating system 3 regarding the write processing.
51 is a buffer memory, and 52 is a buffer disk. Free bitmap 5 and buffer memory 51
Has the same number of entries as the total number of sectors of the buffer disk 52.

【0116】アドレスマップ6のエントリ数は、主ディ
スク2の総セクタ数と等しい。オペレーティングシステ
ム3は、主ディスク2の総数n個のセクタに対して、I
/Oを行う。ディスクドライバプログラム7は、バッフ
ァディスク52を用いて書き込むべきデータを電源断に
絶える形でバッファリングし、書き込み処理終了をより
早くアプリケーションプログラム4に伝える。
The number of entries in the address map 6 is equal to the total number of sectors of the main disk 2. The operating system 3 assigns I to the total n sectors of the main disk 2.
/ O. The disk driver program 7 uses the buffer disk 52 to buffer data to be written in such a manner that the power is cut off, and notifies the application program 4 of the end of the writing process sooner.

【0117】図21は図20に示すバッファディスク5
2のセクタの構造を示す図、図22は図20に示す主デ
ィスクのセクタの構造を示す図である。ディスクドライ
バプログラム7は、バッファディスク52及び主ディス
ク2を始めて使用する時、次の初期化処理を行ってから
バッファディスク52と主ディスク2を使用する。
FIG. 21 shows the buffer disk 5 shown in FIG.
FIG. 22 is a diagram showing the structure of the sector of the main disk shown in FIG. 20. When using the buffer disk 52 and the main disk 2 for the first time, the disk driver program 7 uses the buffer disk 52 and the main disk 2 after performing the following initialization processing.

【0118】ディスクドライバプログラム7は、バッフ
ァディスク52の各セクタのタイムスタンプフィールド
に0を設定し、更に、保存領域53内の有効フラグビッ
ト保存領域54の有効フラグビットに1(有効)を設定
し、タイムスタンプ値保存領域55のタイムスタンプ値
に1を設定する。初期化処理以降、以下の手順に従って
I/O処理並びにシステムの起動時の処理を行う。
The disk driver program 7 sets 0 in the time stamp field of each sector of the buffer disk 52, and sets 1 (valid) in the valid flag bit of the valid flag bit storage area 54 in the storage area 53. , The time stamp value in the time stamp value storage area 55 is set to 1. After the initialization processing, I / O processing and processing at the time of system startup are performed according to the following procedure.

【0119】図23は図20に示す情報処理システムの
電源投入直後の処理フローを示すフローチャートであ
る。計算機システムに電源が投入され、オペレーション
を始動する時、以下の初期化処理を行う。 1.ディスクドライバプログラム7は、フリービットマ
ップ5のビットに全て1(フリー)をセットする(ステ
ップS121)。 2.ディスクドライバプログラム7は、アドレスマップ
6の物理セクタアドレスフィールドに全てセットし、ア
ドレスマップ6のタイムスタンプフィールドに全て0を
セットする(ステップS121)。3.ディスクドライ
バプログラム7は、タイムスタンプ値保持レジスタ9に
バッファディスク52から読み込んだタイムスタンプ値
をセットする(ステップS122)。
FIG. 23 is a flowchart showing a processing flow immediately after the power of the information processing system shown in FIG. 20 is turned on. When the power is turned on to the computer system and the operation is started, the following initialization processing is performed. 1. The disk driver program 7 sets all the bits of the free bitmap 5 to 1 (free) (step S121). 2. The disk driver program 7 sets all in the physical sector address field of the address map 6 and sets all 0 in the time stamp field of the address map 6 (step S121). 3. The disk driver program 7 sets the time stamp value read from the buffer disk 52 into the time stamp value holding register 9 (Step S122).

【0120】更に、ディスクドライバプログラム7は、
バッファディスク52の保存領域53の有効フラグビッ
ト保存領域54から正常終了フラグ値を読み出す(ステ
ップS123)。ディスクドライバプログラム7は、バ
ッファディスク52の有効フラグビット保存領域54か
ら読み出した正常終了フラグ値が1(有効)であると判
断した場合(ステップS124)、前回正常に終了して
いることを示しているので、即ち、後述する図24,2
5に示すI/O処理受付状態となる(ステップS12
5)。ディスクドライバプログラム7は、バッファディ
スク52の有効フラグビット保存領域54から読み出し
た正常終了フラグ値が0(無効)であると判断した場合
(ステップS124)、前回異常終了しているを示して
いるので、後述する図27,28に示す復旧処理を行
う。
Furthermore, the disk driver program 7
The normal end flag value is read from the valid flag bit storage area 54 of the storage area 53 of the buffer disk 52 (Step S123). If the disk driver program 7 determines that the normal end flag value read from the valid flag bit storage area 54 of the buffer disk 52 is 1 (valid) (step S124), it indicates that the previous end was normal. 24, 2 to be described later.
5 (step S12)
5). If the disk driver program 7 determines that the normal end flag value read from the valid flag bit storage area 54 of the buffer disk 52 is 0 (invalid) (step S124), it indicates that the previous end was abnormal. , A recovery process shown in FIGS.

【0121】図24,25は図20に示す情報処理シス
テムのライト処理/リード処理フローを示すフローチャ
ートである。I/O処理受付状態において、アプリケー
ションプログラム4から要求されたライト処理は、次の
ように処理される。 1.オペレーティングシステム3からのI/O要求待ち
のディスクドライバプログラム7は、オペレーティング
システム3からライト処理が要求されると(ステップS
132)、フリービットマップ5を検索し、エントリの
ビットに1(フリー)が設定されている空きセクタが有
るかを検索する(ステップS133)。
FIGS. 24 and 25 are flow charts showing the write processing / read processing flow of the information processing system shown in FIG. In the I / O processing accepting state, the write processing requested from the application program 4 is processed as follows. 1. The disk driver program 7 waiting for an I / O request from the operating system 3 receives a write request from the operating system 3 (Step S).
132), the free bitmap 5 is searched to determine whether there is a free sector in which the entry bit is set to 1 (free) (step S133).

【0122】ディスクドライバプログラム7は、空きセ
クタがない場合、後述する処理により空きセクタが生成
されるまで待つ(ステップS134)。ディスクドライ
バプログラム7は、フリービットマップ5から最終アク
セスセクタ位置保持レジスタ8の値に最も近いビットに
1が設定されているエントリの空きセクタをを検索する
(ステップS135)。ディスクドライバプログラム7
は、空きセクタが検索された場合、フリービットマップ
5の該当するエントリのビットを0(使用中)にセット
する(ステップS136)。
If there is no free sector, the disk driver program 7 waits until a free sector is generated by the processing described later (step S134). The disk driver program 7 searches the free bitmap 5 for a free sector of the entry in which the bit closest to the value of the last access sector position holding register 8 is set to 1 (step S135). Disk driver program 7
Sets the bit of the corresponding entry of the free bitmap 5 to 0 (in use) when a free sector is found (step S136).

【0123】2.ディスクドライバプログラム7は、探
し出した空きセクタに対応するバッファメモリ51にオ
ペレーティングシステム3からのデータ内容を書き込む
(ステップS137)。 3.ディスクドライバプログラム7は、ライト処理を要
求している論理セクタアドレスに対応するエントリの物
理セクタアドレスをアドレスマップ6から検索し、その
検索したエントリの物理セクタアドレスフィールドに、
フリービットマップ5の空きセクタの物理セクタアドレ
スをセットし、タイムスタンプ値保持レジスタ9の値を
その検索したアドレスマップ6のエントリのタイムスタ
ンプフィールドにセットする(ステップS138)。
2. The disk driver program 7 writes the data content from the operating system 3 to the buffer memory 51 corresponding to the found empty sector (step S137). 3. The disk driver program 7 searches the address map 6 for the physical sector address of the entry corresponding to the logical sector address requesting the write process, and stores the physical sector address in the physical sector address field of the searched entry.
The physical sector address of the empty sector in the free bitmap 5 is set, and the value of the time stamp value holding register 9 is set in the time stamp field of the entry of the searched address map 6 (step S138).

【0124】4.ディスクドライバプログラム7は、フ
リービットマップ5の検索したエントリの空きセクタに
対応するバッファディスク52の空きセクタに、ライト
処理要求されている論理セクタアドレスとオペレーティ
ングシステム3からのデータと、現在のタイムスタンプ
値保持レジスタ9の値を書き込む(ステップS13
9)。 5.ディスクドライバプログラム7は、タイムスタンプ
値保持レジスタ9の値を1インクリメントする(ステッ
プS140)。 6.ディスクドライバプログラム7は、ライト処理が完
了した旨をオペレーティングシステム3に通知して(ス
テップS141)、ライト処理を終了する。
[0124] 4. The disk driver program 7 stores the logical sector address for which the write processing is requested, the data from the operating system 3 and the current time stamp in the empty sector of the buffer disk 52 corresponding to the empty sector of the searched entry of the free bitmap 5. Write the value of the value holding register 9 (step S13)
9). 5. The disk driver program 7 increments the value of the time stamp value holding register 9 by 1 (step S140). 6. The disk driver program 7 notifies the operating system 3 that the write processing has been completed (step S141), and ends the write processing.

【0125】図26は図20に示すディスクドライバプ
ログラムのライト処理と並行して行う処理フローを示す
フローチャートである。以上のライト処理と並行して、
ディスクドライバプログラム7は、以下の処理を行う。 1.ディスクドライバプログラム7は、オペレーティン
グシステム3からのライト要求をバッファディスク52
に記憶するために、一定時間の経過を待つ(ステップS
151)。 2.ディスクドライバプログラム7は、アドレスマップ
6のエントリを論理セクタアドレスの0から昇順に調べ
ていき(ステップS152)、アドレスマップ6のエン
トリ中の論理セクタアドレスのエントリについて、タイ
ムスタンプ値として0より大きな数字がセットされてい
るか否かを判断し、0より大きな数字がセットされてい
ると判断した場合(ステップS153)、次の処理を行
う。
FIG. 26 is a flowchart showing a processing flow performed in parallel with the write processing of the disk driver program shown in FIG. In parallel with the above write processing,
The disk driver program 7 performs the following processing. 1. The disk driver program 7 sends a write request from the operating system 3 to the buffer disk 52.
Wait for a predetermined time to elapse (step S
151). 2. The disk driver program 7 checks the entries of the address map 6 in ascending order from 0 of the logical sector address (step S152), and, for the entry of the logical sector address in the entry of the address map 6, a number greater than 0 as the time stamp value. Is set, and if it is determined that a number greater than 0 is set (step S153), the following processing is performed.

【0126】ディスクドライバプログラム7は、そのタ
イムスタンプ値して大きな数字がセットされていたエン
トリの論理セクタアドレスフィールドの値をAとし、物
理セクタアドレスフィールドの値をXとし、物理セクタ
アドレスXに対応するバッファメモリ51の内容を、主
ディスク2の論理セクタアドレスAに書き込む(ステッ
プS154)。
The disk driver program 7 sets the value of the logical sector address field of the entry in which a large number was set as the time stamp value to A, the value of the physical sector address field to X, and The contents of the buffer memory 51 to be written are written to the logical sector address A of the main disk 2 (step S154).

【0127】更に、ディスクドライバプログラム7は、
フリービットマップ5の物理セクタアドレスXのエント
リのビットを0にセットし、アドレスマップ6の論理セ
クタアドレスAのエントリのタイムスタンプ値を0にセ
ットする(ステップS155)。ディスクドライバプロ
グラム7は、論理セクタアドレスiに1を加えて(ステ
ップS156)、その値がアドレスマップ6の総エント
リ数−1よりも大きいか否かを判断し、大きかった場合
(ステップS157)、ステップS151へ戻り、小さ
かった場合(ステップS157)、ステップS153へ
戻る。ディスクドライバプログラム7は、このバッファ
メモリ51の内容を主ディスク2へ書き込む処理を、ア
ドレスマップ6の全エントリについて論理セクタアドレ
スの0から順番に行う。
Furthermore, the disk driver program 7
The bit of the entry of the physical sector address X of the free bitmap 5 is set to 0, and the time stamp value of the entry of the logical sector address A of the address map 6 is set to 0 (step S155). The disk driver program 7 adds 1 to the logical sector address i (step S156), determines whether or not the value is larger than the total number of entries -1 of the address map 6, and if it is larger (step S157). Returning to step S151, if smaller (step S157), the process returns to step S153. The disk driver program 7 performs the process of writing the contents of the buffer memory 51 to the main disk 2 in order from the logical sector address 0 for all entries of the address map 6.

【0128】I/O処理受付状態において、アプリケー
ションプログラム4から要求されたリード処理は、次の
ように処理される。以下、図24のフローチャートを用
いて説明する。 1.ディスクドライバプログラム7は、リードが要求さ
れているセクタの論理セクタアドレスをXとした場合
は、論理セクタアドレス=Xなるエントリをアドレスマ
ップ6から選択する。
In the I / O processing accepting state, the read processing requested from the application program 4 is processed as follows. Hereinafter, description will be made with reference to the flowchart of FIG. 1. If the logical sector address of the sector for which reading is requested is X, the disk driver program 7 selects an entry of logical sector address = X from the address map 6.

【0129】2.ディスクドライバプログラム7は、ア
ドレスマップ6の論理セクタアドレスXに該当するエン
トリのタイムスタンプ値が0で有るか否かを判断し、タ
イムスタンプ値が0であると判断した場合(ステップS
142)、バッファメモリ51には該当するデータが保
持されておらず、主ディスク2に該当するデータが書き
込まれているので、該当するセクタのリード処理を主デ
ィスク2に要求する(ステップS143)。処理の終了
後、ディスクドライバプログラム7は、リード処理を要
求したデータを主ディスク2から読み出し、オペレーテ
ィングシステム3を経由して(ステップSS144)、
プリケーションプログラム4に渡す。
[0129] 2. The disk driver program 7 determines whether the time stamp value of the entry corresponding to the logical sector address X of the address map 6 is 0, and determines that the time stamp value is 0 (Step S).
142) Since the buffer memory 51 does not hold the corresponding data and the corresponding data has been written to the main disk 2, the main disk 2 is requested to perform a read process for the corresponding sector (step S143). After the processing is completed, the disk driver program 7 reads the data requested to be read from the main disk 2 and, via the operating system 3 (step SS144),
Transfer to application program 4.

【0130】3.ディスクドライバプログラム7は、ア
ドレスマップ6の論理セクタアドレスXに該当するエン
トリのタイムスタンプ値が1以上である場合(ステップ
S142)、主ディスク2に該当するデータが未だ書き
込まれていないが、バッファメモリ51に該当するデー
タが保持されているので、アドレスマップ6のリード処
理が要求されている物理セクタアドレスフィールドの値
に対応するバッファメモリ51上のデータをオペレティ
ーングシステム3を経由してアプリケーションプログラ
ム4に渡す(ステップS145)。
[0130] 3. If the time stamp value of the entry corresponding to the logical sector address X in the address map 6 is 1 or more (step S142), the disk driver program 7 writes the data corresponding to the main disk 2 into the buffer memory, although the data has not been written yet. Since the data corresponding to the data 51 is held, the data in the buffer memory 51 corresponding to the value of the physical sector address field for which the read processing of the address map 6 is requested is transferred via the operating system 3 to the application program. 4 (step S145).

【0131】ディスクドライバプログラム7は、オペレ
ーティングシステム3が停止する時、図26で説明した
バッファメモリ51の内容を主ディスク2に書き込む処
理を行い、主ディスク2に書き込むべきデータを全て書
き込む。更に、ディスクドライバプログラム7は、正常
終了した旨を示すため、バッファディスク52に残って
いるデータはないので、バッファディスク52上のタイ
ムスタンプ値保存領域55の正常終了フラグを1(有
効)にセットし、タイムスタンプ値保持レジスタ9の値
をバッファディスク52のタイムスタンプ値保存領域5
5に書き込む。
When the operating system 3 stops, the disk driver program 7 performs the process of writing the contents of the buffer memory 51 to the main disk 2 described with reference to FIG. 26, and writes all data to be written to the main disk 2. Further, the disk driver program 7 sets the normal end flag of the time stamp value storage area 55 on the buffer disk 52 to 1 (valid) because there is no data remaining on the buffer disk 52 to indicate that the operation has been completed normally. Then, the value of the time stamp value holding register 9 is stored in the time stamp value storage area 5 of the buffer disk 52.
Write 5

【0132】図27,28は図20に示すディスクドラ
イバプログラムの電源投入直後の復旧処理フローを示す
フローチャートである。ディスクドライバプログラム7
は、システムが起動し、バッファディスク52上の正常
終了フラグを確認した時にその値が0(無効)であった
場合、以下の処理により復旧を行う。 1.ディスクドライバプログラム7は、バッファディス
ク52の全セクタのセクタ内容を先頭(物理セクタアド
レス0)から読み出し(ステップS161)、アドレス
マップ6の再構成を行う。ディスクドライバプログラム
7は、バッファディスク52から読み出したタイムスタ
ンプ値が1以上か否かを判断し、1以上の場合(ステッ
プS162)、ステップS163へ進み、1以上でない
場合(ステップS162)、ステップS169へ進む。
FIGS. 27 and 28 are flow charts showing the flow of the recovery processing immediately after the power supply of the disk driver program shown in FIG. 20 is turned on. Disk driver program 7
If the value is 0 (invalid) when the system is started and the normal end flag on the buffer disk 52 is confirmed, the recovery is performed by the following processing. 1. The disk driver program 7 reads the sector contents of all the sectors of the buffer disk 52 from the beginning (physical sector address 0) (step S161), and reconstructs the address map 6. The disk driver program 7 determines whether or not the time stamp value read from the buffer disk 52 is 1 or more. If it is 1 or more (step S162), the process proceeds to step S163. If it is not 1 (step S162), the process proceeds to step S169. Proceed to.

【0133】ディスクドライバプログラム7は、バッフ
ァディスク52から読み出したタイムスタンプ値が1以
上で、かつそれに対応するアドレスマップ5中のエント
リのタイムスタンプ値が0か否かを判断し、対応するア
ドレスマップ6中のエントリのタイムスタンプ値が0で
あると判断した場合(ステップS163)、主ディスク
2から読み出したタイムスタンプ値とそのセクタの物理
セクタアドレスをアドレスマップ6の該当するエントリ
にセットする(ステップS164)。
The disk driver program 7 determines whether the time stamp value read from the buffer disk 52 is 1 or more and the time stamp value of the corresponding entry in the address map 5 is 0, and If it is determined that the time stamp value of the entry in No. 6 is 0 (step S163), the time stamp value read from the main disk 2 and the physical sector address of the sector are set in the corresponding entry of the address map 6 (step S163). S164).

【0134】ディスクドライバプログラム7は、対応す
るアドレスマップ6中のエントリのタイムスタンプ値が
1以上であると判断した場合(ステップS163)、対
応するアドレスマップ6のタイムスタンプ値と主ディス
ク2から読み出したタイムスタンプ値を比較し、アドレ
スマップ6のタイムスタンプ値が読み出したタイムスタ
ンプ値よりも小さいと判断した場合(ステップS16
5)、ステップS164へ進み、読み出したタイムスタ
ンプ値がアドレスマップ6のタイムスタンプ値よりも大
きいと判断した場合(ステップS165)、ステップS
169へ進む。
If the disk driver program 7 determines that the time stamp value of the corresponding entry in the address map 6 is 1 or more (step S163), the disk driver program 7 reads out the time stamp value of the corresponding address map 6 from the main disk 2. If the time stamp value of the address map 6 is smaller than the read time stamp value (step S16).
5) In step S164, when it is determined that the read time stamp value is larger than the time stamp value in the address map 6 (step S165), the process proceeds to step S164.
Proceed to 169.

【0135】ディスクドライバプログラム7は、ステッ
プS164でタイムスタンプ値と物理セクタアドレスを
アドレスマップ6にセットした後、主ディスク2から読
み出したセクタの物理セクタアドレスに対応するフリー
ビットマップ5のエントリのビットを0(使用中)にセ
ットする(ステップS165)。ディスクドライバプロ
グラム7は、対象にしている物理セクタアドレス+1n
なるセクタが主ディスクに有るか否かを判断し、セクタ
が主ディスク2に有る場合(ステップS166)、その
セクタを主ディスク2から読み出してステップS162
に戻る。ディスクドライバプログラム7は、対象にして
いる物理セクタアドレス+1nなるセクタが主ディスク
2にないと判断した場合(ステップS166)、ステッ
プS169へ進む。
The disk driver program 7 sets the time stamp value and the physical sector address in the address map 6 in step S164, and then sets the bit of the entry in the free bit map 5 corresponding to the physical sector address of the sector read from the main disk 2. Is set to 0 (in use) (step S165). The disk driver program 7 calculates the target physical sector address + 1n
It is determined whether there is a sector on the main disk or not. If the sector is on the main disk 2 (step S166), the sector is read from the main disk 2 and the process proceeds to step S162
Return to When the disk driver program 7 determines that the sector corresponding to the target physical sector address + 1n is not on the main disk 2 (step S166), the process proceeds to step S169.

【0136】2.上記処理が全てのセクタについて行わ
れた後、ディスクドライバプログラム7は、アドレスマ
ップ6の全エントリを、論理セクタアドレスの0から昇
順に調べていき(ステップS169)、対応するアドレ
スマップ6のエントリのタイムスタンプ値が1以上であ
ると判断した場合(ステップS170)、バッファディ
スク52から主ディスク2に書き戻していないデータが
あるので、その論理セクタアドレスフィールドの示すセ
クタのデータを、バッファディスク52のセクタXから
主ディスク2のセクタiに書き戻す(ステップS17
1)。
[0136] 2. After the above processing has been performed for all the sectors, the disk driver program 7 checks all the entries of the address map 6 in ascending order from 0 of the logical sector address (step S169), and When it is determined that the time stamp value is 1 or more (step S170), since there is data that has not been written back from the buffer disk 52 to the main disk 2, the data of the sector indicated by the logical sector address field is stored in the buffer disk 52. Rewrite from sector X to sector i of main disk 2 (step S17)
1).

【0137】ディスクドライバプログラム7は、主ディ
スク2のセクタiに1を加えて(ステップS172)、
その値がアドレスマップ6のエントリ数−1よりも大き
いか否かを判断し、大きいと判断した場合(ステップS
173)、ステップS174へ進み、小さいと判断した
場合(ステップS173)、ステップS170へ戻る。
このバッファディスク52の内容を主ディスク2に書き
込む処理は、アドレスマップ6の全てのエントリについ
て行う。
The disk driver program 7 adds 1 to sector i of the main disk 2 (step S172),
It is determined whether or not the value is larger than the number of entries -1 of the address map 6, and when it is determined that the value is larger (step S
173) The process proceeds to step S174, and if it is determined that the size is smaller (step S173), the process returns to step S170.
This process of writing the contents of the buffer disk 52 to the main disk 2 is performed for all entries of the address map 6.

【0138】3.ディスクドライバプログラム7は、ア
ドレスマップ6の全てのエントリについて、最大のタイ
ムスタンプ値を検索し、その+1をタイムスタンプ値保
持レジスタ9にセットする(ステップS174)。 4.ディスクドライバプログラム7は、フリービットマ
ップ5のビットに全て1(フリー)をセットし(ステッ
プS174)、アドレスマップ6の物理セクタアドレス
フィールドに全て0をセットし、アドレスマップ6のタ
イムスタンプフィールドに全て0をセットして(ステッ
プS175)、復旧処理を終了する。 5.ディスクドライバプログラム7は、オペレーティン
グシステム3からのI/O処理待ち状態に入る。
[0138] 3. The disk driver program 7 searches the maximum time stamp value for all entries of the address map 6, and sets +1 to the time stamp value holding register 9 (step S174). 4. The disk driver program 7 sets all 1 (free) to the bits of the free bitmap 5 (step S174), sets all 0 to the physical sector address field of the address map 6, and sets all to the time stamp field of the address map 6. 0 is set (step S175), and the restoration process ends. 5. The disk driver program 7 enters a state of waiting for I / O processing from the operating system 3.

【0139】このように、本実施の形態では、情報処理
装置1にバッファメモリ51を設け、ディスクドライバ
プログラム7により、ライト処理要求されるオペレーテ
ィングシステム3からの情報をバッファメモリ51に書
き込んでおき、ディスクドライバプログラム7により、
ディスク2にライト処理要求される情報が全て書き込ま
れていないと判断した場合、バッファメモリ51から情
報を読み出してディスク2に書き込むように構成するこ
とにより、ディスク2にライト処理要求される情報が全
て書き込まれていなくても、予め書き込んでおいたバッ
ファメモリ51から情報を読み出してディスク2に書き
込むことができる。
As described above, in the present embodiment, the buffer memory 51 is provided in the information processing apparatus 1, and information from the operating system 3 for which a write process is requested is written in the buffer memory 51 by the disk driver program 7. By the disk driver program 7,
If it is determined that all the information requested to be written to the disk 2 has not been written, the information is read from the buffer memory 51 and written to the disk 2 so that all the information requested to be written to the disk 2 Even if the information has not been written, the information can be read from the buffer memory 51 previously written and written to the disk 2.

【0140】本実施の形態では、情報処理装置1に接続
されるバッファディスク52を設け、ディスクドライバ
プログラム7により、ライト処理要求されるオペレーテ
ィングシステム3からの情報をバッファディスク52に
書き込んでおき、ディスクドライバプログラム7によ
り、オペレーティングシステム3が動作を開始した時、
バッファディスク52から情報を読み出してディスク2
に書き込むように構成することにより、オペレーティン
グシステム3が停止してディスク2にライト処理要求さ
れるデータが全て書き込まれていなくても、オペレーテ
ィングシステム3を起動させた時、予め書き込んでおい
たバッファディスク52から情報を読み出してディスク
2に書き込むことができる。
In this embodiment, a buffer disk 52 connected to the information processing apparatus 1 is provided, and information from the operating system 3 for which a write process is requested is written in the buffer disk 52 by the disk driver program 7. When the operating system 3 starts operating by the driver program 7,
The information is read from the buffer disk 52 and the disk 2
When the operating system 3 is started up, even if the operating system 3 is stopped and all the data required for the write process is not written to the disk 2, the buffer disk which has been written in advance is written. Information can be read from 52 and written to disk 2.

【0141】本実施の形態では、データの書き込みを保
証する同期書き込みにおいて、シーク処理が不要か、あ
るいは短時間で済むバッファディスク52にまず書き込
むように構成したため、アプリケーションプログラム4
が停止を求められる時間を短縮することができる。ま
た、バッファメモリ51から主ディスク51にデータを
まとめて書き移す際には、より多くのI/O要求につい
てライト処理をまとめて行うことができるので、I/O
要求のソート処理等、シーク距離を短縮するための手法
を有効に働かすことができ、主ディスク2の書き込みス
ループットを向上させることができる。
In this embodiment, in the synchronous writing for guaranteeing the data writing, the seek processing is not required or the writing is performed first on the buffer disk 52, which requires only a short time.
Can be reduced in the time required to stop. In addition, when data is collectively transferred from the buffer memory 51 to the main disk 51, the write processing can be performed collectively for more I / O requests.
A method for reducing the seek distance, such as a request sorting process, can be effectively used, and the write throughput of the main disk 2 can be improved.

【0142】なお、実施の形態9においては、実施の形
態7と同様の空きセクタの配置に近付けるべく、バッフ
ァディスク52に対する処理がない時に、その空き時間
を利用して空きセクタ再配置ルーチンを動作させるよう
に構成してもよい。。即ち、主ディスク2中の空きセク
タをより外周トラック上に再配置して構成してもよい。
この時、バッファディスク52への処理要求は、前述し
た復旧処理時以外全てライト処理であるため、I/O処
理が高速になる外周トラック上の連続する物理セクタア
ドレスに空きセクタを集中させ、連続してライト処理を
行うことができる。このため、ライト性能を向上させる
ことができる。
In the ninth embodiment, when there is no processing for the buffer disk 52, the free sector relocation routine is operated using the free time so as to approach the same allocation of free sectors as in the seventh embodiment. You may be comprised so that it may be performed. . That is, the empty sectors in the main disk 2 may be rearranged on the outer tracks.
At this time, processing requests to the buffer disk 52 are all write processing other than the above-described recovery processing, so that empty sectors are concentrated on continuous physical sector addresses on the outer track where I / O processing is performed at high speed, and continuous processing is performed. To perform write processing. For this reason, the write performance can be improved.

【0143】[0143]

【発明の効果】請求項1記載の発明によれば、ディスク
のセクタにデータを書き込む際、最後にアクセスしたセ
クタの最も近くの空きセクタについてデータを書き込む
ように構成することにより、ディスクに対する書き込む
処理を、現在のヘッド位置(最後にアクセスしたヘッド
位置)に最も近い空きセクタに対して行うことができる
ため、データを書き込む際のシーク処理時間を短縮する
ことができ、書き込み処理のスループットを向上させる
ことができるという効果がある。
According to the first aspect of the present invention, when data is written to a sector of a disk, data is written to a free sector closest to the last accessed sector, thereby performing a process of writing to the disk. Can be performed on the empty sector closest to the current head position (the head position accessed last), so that the seek processing time when writing data can be shortened and the throughput of the write processing can be improved. There is an effect that can be.

【0144】請求項2記載の発明によれば、請求項1記
載の発明において、アドレスマップの論理セクタ数に対
応するオペレーティングシステムに提供するセクタ数
を、ディスクが実際に保存するセクタ数よりも小さくな
るように設定することにより、ディスクに常に一定量の
空きセクタを存在させることができるため、書き込み処
理時に空きセクタを検索するときにより多くの空きセク
タから最適なものを選択することができるという効果が
ある。
According to the second aspect of the present invention, in the first aspect, the number of sectors provided to the operating system corresponding to the number of logical sectors in the address map is smaller than the number of sectors actually stored by the disk. By setting so that a certain amount of free sectors can always exist in the disk, the effect that the optimum one from more free sectors can be selected when searching for free sectors at the time of write processing. There is.

【0145】請求項3記載の発明では、ディスクのセク
タにデータを書き込む際、最後にアクセスしたセクタの
シリンダ番号、ヘッド番号及びセクタ番号による物理的
構成に基づいて検索した空きセクタについてデータを書
き込むように構成することにより、ディスクに対する書
き込む処理を、請求項1の論理セクタアドレスで行う場
合よりも効率よく行うことができるため、請求項1の場
合よりも、データを書き込む際のシーク処理時間をより
短縮することができ、書き込み処理のスループットをさ
らに向上させることができるという効果がある。
According to the third aspect of the present invention, when data is written to a sector of a disk, data is written for an empty sector searched based on the physical configuration based on the cylinder number, head number, and sector number of the sector accessed last. With this configuration, the writing process to the disk can be performed more efficiently than in the case of performing the logical sector address according to the first aspect. Therefore, the seek processing time for writing the data can be shortened more than the case of the first aspect. Thus, there is an effect that the throughput of the writing process can be further improved.

【0146】請求項4記載の発明によれば、請求項3記
載の発明において、ディスクドライバプログラムによ
り、最後にアクセスしたセクタの物理的構成に基づいて
空きセクタを検索する際、最後にアクセスしたセクタか
らの距離が等しいセクタが最後にアクセスしたセクタか
ら見て、外周トラック上と内周トラック上の両方に検索
された場合、外周トラック上のセクタを選択するように
構成することにより、外周上のセクタの方がより高い性
能でリード・ライトできるというディスクの特性を考慮
して空きセクタを選択することができるため、請求項3
の場合よりも、より高いスループットでライト処理でき
る機会を増やすことができるという効果がある。
According to a fourth aspect of the present invention, in the third aspect of the present invention, when the disk driver program searches for a free sector based on the physical configuration of the last accessed sector, the last accessed sector is searched. When a sector with the same distance from the outer track is searched for on both the outer track and the inner track, as viewed from the last accessed sector, the sector on the outer track is selected so that the outer track is selected. A free sector can be selected in consideration of the characteristics of a disk that a sector can be read / written with higher performance, so that the sector can be selected.
There is an effect that it is possible to increase opportunities for performing write processing with higher throughput than in the case of (1).

【0147】請求項5記載の発明によれば、請求項1〜
4の何れかに記載の発明において、ディスクドライバプ
ログラムにより、検索した空きセクタに書き込み処理を
行った後、フリービットマップから書き込み処理を行っ
たセクタの物理セクタアドレスに最も近い物理セクタア
ドレスの空きセクタを検索し、検索した空きセクタにシ
ーク処理を行い、このシーク処理を行った空きセクタの
物理セクタアドレスを最終アクセスセクタ位置保持レジ
スタに設定するように構成することにより、オペレーテ
ィングシステムから書き込み要求が来る前に予め、検索
した空きセクタにシーク処理を行うことができるため、
オペレーティングシステムから書き込み要求が来た時
に、検索した空きセクタにシーク処理を行うことなく、
効率よく書き込みを行うことができ、書き込み処理のレ
スポンス/スループットを向上させることができるとい
う効果がある。
According to the invention set forth in claim 5, claims 1 to 5 are provided.
4. In the invention according to any one of the aspects 4, after the write processing is performed on the searched empty sector by the disk driver program, the empty sector of the physical sector address closest to the physical sector address of the sector on which the write processing is performed is obtained from the free bit map. , And seek processing is performed on the searched empty sector, and the physical sector address of the searched empty sector is set in the last access sector position holding register. Before, it is possible to perform a seek process on the searched empty sector beforehand,
When a write request comes from the operating system, without performing seek processing to the searched empty sectors,
There is an effect that writing can be performed efficiently and the response / throughput of the writing process can be improved.

【0148】請求項6記載の発明によれば、請求項1〜
5の何れかに記載の発明において、オペレーティングシ
ステムとディスクドライバプログラム間にオペレーティ
ングシステムからの書き込み/読み込み処理要求を蓄積
するキューバッファを設け、ディスクドライバプログラ
ムが、キューバッファに書き込み処理要求が2つ以上蓄
積されていると判断した場合、フリービットマップから
最終アクセスセクタ位置保持レシスタに設定された物理
セクタアドレスに最も近く、かつ書き込み処理要求数に
応じた連続した空きセクタを検索し、ディスクドライバ
プログラム7が、検索した連続空きセクタに対してキュ
ーバッファのライト処理要求の処理をまとめて行うよう
に構成することにより、ライト処理のスループットを向
上させることができるという効果がある。
According to the invention described in claim 6, claims 1 to 1 are provided.
5. In the invention according to any one of the aspects 5, a queue buffer for storing a write / read processing request from the operating system is provided between the operating system and the disk driver program, and the disk driver program stores two or more write processing requests in the queue buffer. When it is determined that the data is stored, the free bit map is searched for a free sector that is closest to the physical sector address set in the last access sector position holding register and that is continuous according to the number of write processing requests. However, there is an effect that the throughput of the write processing can be improved by configuring the processing of the write processing request of the queue buffer for the searched consecutive free sectors collectively.

【0149】請求項7記載の発明によれば、請求項6に
記載の発明において、ディスクドライバプログラムによ
り、キューバッファにリード/ライト要求が蓄積されて
いない時、ディスク型記憶装置の各トラックに分散する
ように空きセクタを再配置するように構成することによ
り、ライト処理する際のシーク距離を小さくすることが
できるので、シーク時間を短縮することができ、ライト
処理のレスポンス/スループットを向上させることがで
きるという効果がある。
According to the invention of claim 7, in the invention of claim 6, when the read / write request is not stored in the queue buffer by the disk driver program, the read / write request is distributed to each track of the disk type storage device. By arranging empty sectors in such a way that the seek process is performed, the seek distance at the time of the write process can be reduced, so that the seek time can be reduced and the response / throughput of the write process can be improved. There is an effect that can be.

【0150】請求項8記載の発明によれば、請求項7記
載の発明において、ディスクドライバプログラムによ
り、ライト処理の要求頻度に基づいて空きセクタの再配
置処理を行うように構成することにより、ライト処理の
要求頻度に応じて各トラックの最適な領域に空きセクタ
を配置することができるので、ライト処理の性能を向上
させることができるという効果がある。
According to an eighth aspect of the present invention, in the invention of the seventh aspect, the disk driver program is configured to perform the relocation processing of the empty sector based on the request frequency of the write processing. Since empty sectors can be arranged in the optimal area of each track according to the request frequency of the processing, there is an effect that the performance of the write processing can be improved.

【0151】請求項9記載の発明によれば、請求項1〜
8の何れかに記載の発明において、ディスクドライバプ
ログラムにより、オペレーティングシステムが動作を停
止する時、情報処理装置のアドレスマップとフリービッ
トマップとタイムスタンプ値保持レジスタの情報をディ
スク型記憶装置に保存しておき、ディスクドライバプロ
グラムにより、オペレーティングシステムが動作を開始
した時、ディスク型記憶装置からアドレスマップとフリ
ービットマップとタイムスタンプ値の情報を読み出して
情報処理装置のアドレスマップとフリービットマップと
タイムスタンプ値保持レジスタに設定するように構成す
ることにより、オペレーティングシステム停止時に情報
処理装置のメモリ上に構築した情報が失われても、停止
時に予めその情報がディスク型記憶装置に保存され、オ
ペレーティングシステム起動時にディスク型記憶装置の
情報が読み出されて情報処理装置のメモリ上に自動的に
設定されるため、オペレーティングシステム起動時に必
要な処理を大幅に簡略化することができ、起動時間を短
縮することができるという効果がある。
According to the ninth aspect of the present invention, the first to fifth aspects are as follows.
8. In the invention according to any one of the above 8, when the operating system is stopped by the disk driver program, the information of the address map, the free bit map, and the time stamp value holding register of the information processing device are stored in the disk type storage device. When the operating system is started by the disk driver program, the address map, the free bitmap, and the time stamp value information are read from the disk storage device, and the address map, the free bit map, and the time stamp of the information processing device are read. With the configuration in which the value is set in the value holding register, even if the information constructed in the memory of the information processing device is lost when the operating system is stopped, the information is stored in advance in the disk type storage device when the operating system is stopped, and the operating system is stopped. When the system is started, the information in the disk storage device is read out and automatically set in the memory of the information processing unit, so that the processing required when the operating system starts can be greatly simplified, and the startup time can be shortened. There is an effect that can be.

【0152】請求項10記載の発明によれば、請求項1
〜9の何れかに記載の発明において、情報処理装置にバ
ッファメモリを設け、ディスクドライバプログラムによ
り、ライト処理要求されるオペレーティングシステムか
らの情報をバッファメモリに書き込んでおき、ディスク
ドライバプログラムにより、ディスク型記憶装置にライ
ト処理要求される情報が全て書き込まれていないと判断
した場合、バッファメモリから情報を読み出してディス
ク型記憶装置に書き込むように構成することにより、デ
ィスク型記憶装置にライト処理要求される情報が全て書
き込まれていなくても、予め書き込んでおいたバッファ
メモリから情報を読み出してディスク型記憶装置に書き
込むことができる。
According to the tenth aspect, the first aspect is provided.
In the invention according to any one of the first to ninth aspects, a buffer memory is provided in the information processing apparatus, information from the operating system for which write processing is requested is written in the buffer memory by a disk driver program, and the disk type is written by the disk driver program. When it is determined that all the information required for the write process has not been written to the storage device, the information is read from the buffer memory and written to the disk type storage device, whereby the write process request is issued to the disk type storage device. Even if all the information has not been written, the information can be read from the buffer memory that has been written in advance and written to the disk storage device.

【0153】請求項11記載の発明によれば、請求項1
〜10の何れかに記載の発明において、情報処理装置に
接続されるバッファディスク型記憶装置を設け、ディス
クドライバプログラムにより、ライト処理要求されるオ
ペレーティングシステムからの情報をバッファディスク
型記憶装置に書き込んでおき、ディスクドライバプログ
ラムにより、オペレーティングシステムが動作を開始し
た時、バッファディスク型記憶装置から情報を読み出し
てディスク型記憶装置に書き込むように構成することに
より、オペレーティングシステムが停止してディスク型
記憶装置にライト処理要求されるデータが全て書き込ま
れていなくても、オペレーティングシステムを起動させ
た時、予め書き込んでおいたバッファディスク型記憶装
置から情報を読み出してディスク型記憶装置に書き込む
ことができる。
According to the eleventh aspect, according to the first aspect,
In the invention according to any one of the above (10) to (10), a buffer disk type storage device connected to the information processing device is provided, and information from the operating system for which a write process is requested is written into the buffer disk type storage device by a disk driver program. When the operating system is started by the disk driver program, the information is read from the buffer disk type storage device and written to the disk type storage device. Even if not all the data required for the write processing has been written, when the operating system is started, the information can be read from the previously written buffer disk storage device and written to the disk storage device.

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

【図1】 本発明に係る実施の形態1の情報処理システ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an information processing system according to a first embodiment of the present invention.

【図2】 図1に示すディスクの1セクタのフォーマッ
トを示す図である。
FIG. 2 is a diagram showing a format of one sector of the disk shown in FIG.

【図3】 図1に示すディスクドライバプログラムのリ
ード/ライト処理フローを示すフローチャートである。
FIG. 3 is a flowchart showing a read / write processing flow of the disk driver program shown in FIG. 1;

【図4】 図1に示すディスクドライバプログラムの再
構成処理フローを示すフローチャートである。
FIG. 4 is a flowchart showing a reconfiguration processing flow of the disk driver program shown in FIG. 1;

【図5】 本発明に係る実施の形態2の情報処理システ
ムにおける最終アクセスセクタ位置保持レジスタの構造
を示す図である。
FIG. 5 is a diagram showing a structure of a last access sector position holding register in the information processing system according to the second embodiment of the present invention.

【図6】 本発明に係る実施の形態2の情報処理システ
ムにおけるディスクのシリンダ番号、ヘッド番号及びセ
クタ番号の一般式を示す図である。
FIG. 6 is a diagram showing general expressions of a cylinder number, a head number, and a sector number of a disk in the information processing system according to the second embodiment of the present invention.

【図7】 本発明に係る実施の形態2の情報処理システ
ムにおけるフリービットマップの構造を示す図である。
FIG. 7 is a diagram showing a structure of a free bitmap in the information processing system according to the second embodiment of the present invention.

【図8】 本発明に係る実施の形態2の情報処理システ
ムにおけるディスクドライバプログラムのリード/ライ
ト処理フローを示すフローチャートである。
FIG. 8 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the second embodiment of the present invention.

【図9】 本発明に係る実施の形態2の情報処理システ
ムにおけるディスクドライバプログラムのリード/ライ
ト処理フローを示すフローチャートである。
FIG. 9 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the second embodiment of the present invention.

【図10】 本発明に係る実施の形態4の情報処理シス
テムにおけるディスクドライバプログラムのリード/ラ
イト処理フローを示すフローチャートである。
FIG. 10 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the fourth embodiment of the present invention.

【図11】 本発明に係る実施の形態4の情報処理シス
テムにおけるディスクドライバプログラムのリード/ラ
イト処理フローを示すフローチャートである。
FIG. 11 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the fourth embodiment of the present invention.

【図12】 本発明に係る実施の形態5の情報処理シス
テムの構成を示すブロック図である。
FIG. 12 is a block diagram illustrating a configuration of an information processing system according to a fifth embodiment of the present invention.

【図13】 本発明に係る実施の形態5の情報処理シス
テムにおけるディスクドライバプログラムのリード/ラ
イト処理フローを示すフローチャートである。
FIG. 13 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the fifth embodiment of the present invention.

【図14】 本発明に係る実施の形態5の情報処理シス
テムにおけるディスクドライバプログラムのリード/ラ
イト処理フローを示すフローチャートである。
FIG. 14 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the fifth embodiment of the present invention.

【図15】 本発明に係る実施の形態5の情報処理シス
テムにおけるディスクドライバプログラムのリード/ラ
イト処理フローを示すフローチャートである。
FIG. 15 is a flowchart showing a read / write processing flow of a disk driver program in the information processing system according to the fifth embodiment of the present invention.

【図16】 本発明に係る実施の形態6の情報処理シス
テムにおけるディスクの空きセクタの配置を示す図であ
る。
FIG. 16 is a diagram showing an arrangement of empty sectors on a disk in an information processing system according to a sixth embodiment of the present invention.

【図17】 本発明に係る実施の形態7の情報処理シス
テムにおけるディスクの空きセクタの配置を示す図であ
る。
FIG. 17 is a diagram showing an arrangement of empty sectors on a disk in an information processing system according to a seventh embodiment of the present invention.

【図18】 本発明に係る実施の形態7の情報処理シス
テムにおけるディスクの空きセクタの配置を示す図であ
る。
FIG. 18 is a diagram showing an arrangement of empty sectors on a disk in an information processing system according to a seventh embodiment of the present invention.

【図19】 本発明に係る実施の形態8の情報処理シス
テムにおけるディスクの構成を示す図である。
FIG. 19 is a diagram showing a configuration of a disc in the information processing system according to the eighth embodiment of the present invention.

【図20】 本発明に係る実施の形態9の情報処理シス
テムの構成を示すブロック図である。
FIG. 20 is a block diagram illustrating a configuration of an information processing system according to a ninth embodiment of the present invention.

【図21】 図20に示すバッファディスクのセクタの
構造を示す図である。
FIG. 21 is a diagram showing a structure of a sector of the buffer disk shown in FIG. 20;

【図22】 図20に示す主ディスクのセクタの構造を
示す図である。
FIG. 22 is a diagram showing a structure of a sector of the main disk shown in FIG. 20;

【図23】 図20に示す情報処理システムの電源投入
直後の処理フローを示すフローチャートである。
FIG. 23 is a flowchart showing a processing flow immediately after power-on of the information processing system shown in FIG. 20;

【図24】 図20に示す情報処理システムのライト/
リード処理フローを示すフローチャートである。
FIG. 24 shows a light / write of the information processing system shown in FIG.
It is a flowchart which shows a read processing flow.

【図25】 図20に示す情報処理システムのライト/
リード処理フローを示すフローチャートである。
FIG. 25 shows a light /
It is a flowchart which shows a read processing flow.

【図26】 図20に示すディスクドライバプログラム
のライト処理と並行して行う処理フローを示すフローチ
ャートである。
26 is a flowchart showing a processing flow performed in parallel with the write processing of the disk driver program shown in FIG.

【図27】 図20に示すディスクドライバプログラム
の電源投入直後の復旧処理フローを示すフローチャート
である。
FIG. 27 is a flowchart showing a recovery processing flow of the disk driver program shown in FIG. 20 immediately after power-on.

【図28】 図20に示すディスクドライバプログラム
の電源投入直後の復旧処理フローを示すフローチャート
である。
FIG. 28 is a flowchart showing a recovery processing flow of the disk driver program shown in FIG. 20 immediately after power-on.

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

1 情報処理装置、2,41 ディスク型記憶装置、3
オペレーティングシステム、4 アプリケーションプ
ログラム、5,12 フリービットマップ、6アドレス
マップ、7 ディスクドライバプログラム、8,11
最終アクセスセクタ位置保持レジスタ、9 タイムスタ
ンプ値保持レジスタ、21 キューバッファ、31 ト
ラック、32 空きセクタ、33 シリンダグループ、
42,53 保存領域、43 アドレスマップ保存領
域、44 フリービットマップ保存領域、45,55
タイムスタンプ値保存領域、46,54 有効フラグビ
ット保存領域、51 バッファメモリ、52 バッファ
ディスク。
DESCRIPTION OF SYMBOLS 1 Information processing device, 2, 41 Disk storage device, 3
Operating system, 4 application programs, 5, 12 free bitmap, 6 address map, 7 disk driver program, 8, 11
Last access sector position holding register, 9 time stamp value holding register, 21 queue buffer, 31 tracks, 32 empty sectors, 33 cylinder group,
42, 53 storage area, 43 address map storage area, 44 free bitmap storage area, 45, 55
Time stamp value storage area, 46, 54 Valid flag bit storage area, 51 buffer memory, 52 buffer disk.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−216593(JP,A) 特開 平7−295760(JP,A) 特開 平4−7630(JP,A) 特開 平2−165220(JP,A) 特開 昭61−160133(JP,A) 特開 平8−161229(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-5-216593 (JP, A) JP-A-7-295760 (JP, A) JP-A-4-7630 (JP, A) JP-A-2- 165220 (JP, A) JP-A-61-160133 (JP, A) JP-A-8-161229 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/06

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アプリケーションプログラムと、アプリ
ケーションプログラムとやり取りするオペレーティング
システムと、オペレーティングシステムとやり取りする
ディスクドライバプログラムと、ディスクドライバプロ
グラムにより論理セクタアドレス、物理セクタアドレス
及びタイムスタンプ値が設定されるアドレスマップと、
ディスクドライバプログラムにより物理セクタアドレス
及びビットが設定されるフリービットマップと、ディス
クドライバプログラムにより最後にアクセスしたセクタ
の物理セクタアドレスが設定される最終アクセスセクタ
位置保持レジスタと、ディスクドライバプログラムによ
りタイムスタンプ値が設定されるタイムスタンプ値保持
レジスタとを有する情報処理装置と、情報処理装置に接
続されたディスク型記憶装置とから構成された情報処理
システムにおいて、 ディスクドライバプログラムは、オペレーティングシス
テムからディスク型記憶装置の論理セクタアドレスに対
して書き込み処理が要求された場合、アドレスマップか
らその論理セクタアドレスに対応する物理セクタアドレ
スを検索し、その検索した物理セクタアドレスに対応す
るフリービットマップのエントリのビットをフリーに設
定し、 ディスクドライバプログラムは、フリービットマップか
ら最終アクセスセクタ位置保持レジスタに設定された最
後にアクセスしたセクタの物理セクタアドレスに最も近
い物理セクタアドレスの空きセクタを検索し、検索した
空きセクタに対応するフリービットマップの物理セクタ
アドレスのエントリのビットを使用中に設定し、 ディスクドライバプログラムは、書き込み処理が要求さ
れている論理セクタアドレスに対応するアドレスマップ
のエントリに検索した空きセクタの物理セクタアドレス
を設定し、 ディスクドライバプログラムは、オペレーティングシス
テムから転送されたデータを、書き込み処理が要求され
る論理セクタアドレスと、タイムスタンプ値保持レジス
タが保持するタイムスタンプ値とともに、検索した空き
セクタに書き込み、 ディスクドライバプログラムは、データを書き込んだデ
ィスク型記憶装置の空きセクタの物理セクタアドレスを
最終アクセスセクタ位置保持レジスタに設定するととも
に、タイムスタンプ値保持レジスタのタイムスタンプ値
をインクリメントすることを特徴とする情報処理システ
ム。
1. An application program, an operating system for exchanging with the application program, a disk driver program for exchanging with the operating system, and an address map in which a logical sector address, a physical sector address, and a time stamp value are set by the disk driver program. ,
A free bitmap in which the physical sector address and bits are set by the disk driver program; a last access sector position holding register in which the physical sector address of the sector accessed last by the disk driver program is set; and a time stamp value by the disk driver program In an information processing system including an information processing device having a time stamp value holding register in which a time stamp value is set, and a disk storage device connected to the information processing device, When a write process is requested for a logical sector address, a physical sector address corresponding to the logical sector address is searched from the address map, and the physical sector address corresponding to the searched physical sector address is searched. Set the bit of the entry of the free bitmap to free, and the disk driver program determines from the free bitmap the free space of the physical sector address closest to the physical sector address of the last accessed sector set in the last access sector position holding register. The disk driver program searches for a sector, sets the bit of the entry of the physical sector address of the free bit map corresponding to the searched empty sector to in use, and sets the address map corresponding to the logical sector address for which the write process is requested. The disk driver program sets the physical sector address of the searched empty sector in the entry of the logical sector address for which write processing is requested and the time stamp value holding register. The disk driver program sets the physical sector address of the empty sector of the disk type storage device in which the data was written in the last access sector position holding register and writes the time stamp value together with the time stamp value to be held. An information processing system for incrementing a time stamp value of a register.
【請求項2】 請求項1に記載の情報処理システムにお
いて、アドレスマップの論理セクタアドレス数に対応す
るオペレーティングシステムに提供するセクタ数は、デ
ィスク型記憶装置が実際に保存するセクタ数よりも小さ
くなるように設定することを特徴とする情報処理システ
ム。
2. The information processing system according to claim 1, wherein the number of sectors provided to the operating system corresponding to the number of logical sector addresses in the address map is smaller than the number of sectors actually stored by the disk storage device. Information processing system characterized by setting as follows.
【請求項3】 アプリケーションプログラムと、アプリ
ケーションプログラムとやり取りするオペレーティング
システムと、オペレーティングシステムとやり取りする
ディスクドライバプログラムと、ディスクドライバプロ
グラムにより論理セクタアドレス、物理セクタアドレス
及びタイムスタンプ値が設定されるアドレスマップと、
ディスクドライバプログラムによりセクタの物理的構
成、物理セクタアドレス及びビットが設定されるフリー
ビットマップと、ディスクドライバプログラムにより最
後にアクセスしたセクタの物理的構成が設定される最終
アクセスセクタ位置保持レジスタと、ディスクドライバ
プログラムによりタイムスタンプ値が設定されるタイム
スタンプ値保持レジスタとを有する情報処理装置と、情
報処理装置に接続されたディスク型記憶装置とから構成
された情報処理システムにおいて、 ディスクドライバプログラムは、オペレーティングシス
テムからディスク型記憶装置の論理セクタアドレスに対
して書き込み処理が要求された場合、アドレスマップか
らその論理セクタアドレスに対応する物理セクタアドレ
スを検索し、その検索した物理セクタアドレスに対応す
るフリービットマップのエントリのビットをフリーに設
定し、 ディスクドライバプログラムは、フリービットマップか
ら最終アクセスセクタ位置保持レジスタに設定された最
後にアクセスしたセクタの物理的構成に基づいて空きセ
クタを検索し、検索した空きセクタに対応するフリービ
ットマップの物理セクタアドレスのエントリのビットを
使用中に設定し、 ディスクドライバプログラムは、書き込み処理が要求さ
れている論理セクタアドレスに対応するアドレスマップ
のエントリに検索した空きセクタの物理セクタアドレス
を設定し、 ディスクドライバプログラムは、オペレーティングシス
テムから転送されたデータを、書き込み処理が要求され
る論理セクタアドレスと、タイムスタンプ値保持レジス
タが保持するタイムスタンプ値とともに、検索した空き
セクタに書き込み、 ディスクドライバプログラムは、データを書き込んだデ
ィスク型記憶装置の空きセクタの物理セクタアドレスを
最終アクセスセクタ位置保持レジスタに設定するととも
に、タイムスタンプ値保持レジスタのタイムスタンプ値
をインクリメントすることを特徴とする情報処理装置。
3. An application program, an operating system for exchanging with the application program, a disk driver program for exchanging with the operating system, and an address map in which a logical sector address, a physical sector address and a time stamp value are set by the disk driver program. ,
A free bitmap in which the physical configuration of the sector, the physical sector address and bits are set by the disk driver program, a last access sector position holding register in which the physical configuration of the last accessed sector is set by the disk driver program, In an information processing system including an information processing device having a time stamp value holding register in which a time stamp value is set by a driver program, and a disk storage device connected to the information processing device, When the system requests write processing to the logical sector address of the disk-type storage device, a physical sector address corresponding to the logical sector address is searched from the address map, and the searched physical sector address is searched. The bit of the entry of the free bitmap corresponding to the address is set to free, and the disk driver program sets the free sector based on the physical configuration of the last accessed sector set in the last access sector position holding register from the free bitmap. And setting the used bit of the entry of the physical sector address of the free bit map corresponding to the searched empty sector to in use, and the disk driver program reads the address map corresponding to the logical sector address for which the write process is requested. Set the physical sector address of the searched empty sector in the entry. The disk driver program writes the data transferred from the operating system to the logical sector address for which write processing is requested and the time held by the timestamp value holding register. The disk driver program sets the physical sector address of the empty sector of the disk type storage device in which the data was written in the last access sector position holding register, and writes the time in the time stamp value holding register together with the stamp value. An information processing device for incrementing a stamp value.
【請求項4】 請求項3に記載の情報処理システムにお
いて、ディスクドライバプログラムは、最後にアクセス
したセクタの物理的構成に基づいて空きセクタを検索す
る際、最後にアクセスしたセクタからの距離が等しいセ
クタが最後にアクセスしたセクタから見て、外周トラッ
ク上と内周トラック上の両方に検索された場合、外周ト
ラック上のセクタを選択することを特徴とする情報処理
システム。
4. The information processing system according to claim 3, wherein when searching for a free sector based on the physical configuration of the last accessed sector, the disk driver program has equal distances from the last accessed sector. An information processing system, wherein a sector on an outer track is selected when a sector is found on both an outer track and an inner track as viewed from the last accessed sector.
【請求項5】 請求項1〜4の何れかに記載の情報処理
システムにおいて、ディスクドライバプログラムは、検
索した空きセクタに書き込み処理を行った後、フリービ
ットマップから書き込み処理を行ったセクタの物理セク
タアドレスに最も近い物理セクタアドレスの空きセクタ
を検索し、 ディスクドライバプログラムは、検索した空きセクタに
シーク処理を行うとともに、シーク処理を行った空きセ
クタの物理セクタアドレスを最終アクセスセクタ位置保
持レジスタに設定することを特徴とする情報処理システ
ム。
5. The information processing system according to claim 1, wherein the disk driver program performs a write process on the searched empty sector, and then writes a physical address of the sector that has performed the write process from the free bitmap. The disk driver program searches for a free sector of the physical sector address closest to the sector address, and the seek operation is performed on the searched free sector, and the physical sector address of the searched free sector is stored in the last access sector position holding register. An information processing system characterized by setting.
【請求項6】 請求項1〜5の何れかに記載の情報処理
システムにおいて、オペレーティングシステムとディス
クドライバプログラム間にオペレーティングシステムか
らの書き込み/読み込み処理要求を蓄積するキューバッ
ファを設け、 ディスクドライバプログラムは、キューバッファに書き
込み処理要求が2つ以上蓄積されていると判断した場
合、フリービットマップから最終アクセスセクタ位置保
持レシスタに設定された物理セクタアドレスに最も近
く、かつ書き込み処理要求数に応じた連続した空きセク
タを検索し、 ディスクドライバプログラムは、検索した連続空きセク
タに対してキューバッファに蓄積された書き込み処理要
求の処理をまとめて行うことを特徴とする情報処理シス
テム。
6. The information processing system according to claim 1, further comprising: a queue buffer for storing a write / read processing request from the operating system between the operating system and the disk driver program. If it is determined that two or more write processing requests have been stored in the queue buffer, the number of write processing requests is the closest to the physical sector address set in the last access sector position holding register from the free bitmap, and An information processing system which searches for empty sectors found, and collectively performs processing of write processing requests accumulated in a queue buffer for the searched continuous empty sectors.
【請求項7】 請求項6に記載の情報処理システムにお
いて、ディスクドライバプログラムは、キューバッファ
に書き込み/読み込み要求が蓄積されていない時、ディ
スク型記憶装置の各トラックに分散するように空きセク
タを再配置処理することを特徴とする情報処理システ
ム。
7. The information processing system according to claim 6, wherein, when no write / read request is stored in the queue buffer, the disk driver program allocates empty sectors so as to be distributed to each track of the disk storage device. An information processing system for performing rearrangement processing.
【請求項8】 請求項7に記載の情報処理システムにお
いて、ディスクドライバプログラムは、書き込み処理の
要求頻度に基づいて空きセクタの再配置処理を行うこと
を特徴とする情報処理システム。
8. The information processing system according to claim 7, wherein the disk driver program performs free sector relocation processing based on a request frequency of the write processing.
【請求項9】 請求項1〜8の何れかに記載の情報処理
システムにおいて、ディスクドライバプログラムは、オ
ペレーティングシステムが動作を停止する時、情報処理
装置のアドレスマップとフリービットマップとタイムス
タンプ値保持レジスタの情報をディスク型記憶装置に保
存しておき、 ディスクドライバプログラムは、オペレーティングシス
テムが動作を開始した時、ディスク型記憶装置からアド
レスマップとフリービットマップとタイムスタンプ値の
情報を読み出して情報処理装置のアドレスマップとフリ
ービットマップとタイムスタンプ値保持レジスタに設定
することを特徴とする情報処理システム。
9. The information processing system according to claim 1, wherein the disk driver program retains an address map, a free bit map, and a time stamp value of the information processing device when the operating system stops operating. Register information is stored in the disk storage device, and the disk driver program reads the address map, free bitmap, and time stamp value information from the disk storage device when the operating system starts operating, and processes the information. An information processing system comprising setting an address map, a free bit map, and a time stamp value holding register of a device.
【請求項10】 請求項1〜9の何れかに記載の情報処
理システムにおいて、情報処理装置にバッファメモリを
設け、ディスクドライバプログラムは、書き込み処理要
求されるオペレーティングシステムからの情報をバッフ
ァメモリに書き込んでおき、 ディスクドライバプログラムは、ディスク型記憶装置に
書き込み処理要求される情報が全て書き込まれていない
と判断した場合、バッファメモリから情報を読み出して
ディスク型記憶装置に書き込むことを特徴とする情報処
理システム。
10. The information processing system according to claim 1, wherein a buffer memory is provided in the information processing device, and the disk driver program writes information from the operating system requested to perform the write process to the buffer memory. The information processing method according to claim 1, wherein the disk driver program reads the information from the buffer memory and writes the information to the disk-type storage device when the disk driver program determines that all the information required for the write processing has not been written to the disk-type storage device. system.
【請求項11】 請求項1〜10の何れかに記載の情報
処理システムにおいて、情報処理装置に接続されるバッ
ファディスク型記憶装置を設け、ディスクドライバプロ
グラムは、書き込み処理要求されるオペレーティングシ
ステムからの情報をバッファディスク型記憶装置に書き
込んでおき、 ディスクドライバプログラムは、オペレーティングシス
テムが動作を開始した時、バッファディスク型記憶装置
から情報を読み出してディスク型記憶装置に書き込むこ
とを特徴とする情報処理システム。
11. The information processing system according to claim 1, further comprising a buffer disk-type storage device connected to the information processing device, wherein the disk driver program is provided from an operating system requested to perform a write process. An information processing system wherein information is written to a buffer disk type storage device, and a disk driver program reads information from the buffer disk type storage device and writes the information to the disk type storage device when the operating system starts operating. .
JP9086763A 1997-04-04 1997-04-04 Information processing system Expired - Fee Related JP3063669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9086763A JP3063669B2 (en) 1997-04-04 1997-04-04 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9086763A JP3063669B2 (en) 1997-04-04 1997-04-04 Information processing system

Publications (2)

Publication Number Publication Date
JPH10283120A JPH10283120A (en) 1998-10-23
JP3063669B2 true JP3063669B2 (en) 2000-07-12

Family

ID=13895795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9086763A Expired - Fee Related JP3063669B2 (en) 1997-04-04 1997-04-04 Information processing system

Country Status (1)

Country Link
JP (1) JP3063669B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101424782B1 (en) 2007-07-19 2014-08-04 삼성전자주식회사 Solid state disk controller and data processing method thereof

Also Published As

Publication number Publication date
JPH10283120A (en) 1998-10-23

Similar Documents

Publication Publication Date Title
US6115787A (en) Disc storage system having cache memory which stores compressed data
US7117309B2 (en) Method of detecting sequential workloads to increase host read throughput
US6172906B1 (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US7694087B2 (en) Duplicate data storing system, duplicate data storing method, and duplicate data storing program for storage device
US5963983A (en) Method and apparatus for dynamically creating conversion tables to access a semiconductor memory device
US5953737A (en) Method and apparatus for performing erase operations transparent to a solid state storage system
US6665740B1 (en) Logical volume selection in a probability-based job scheduler
US20090132621A1 (en) Selecting storage location for file storage based on storage longevity and speed
US20100312955A1 (en) Memory system and method of managing the same
JPS6143742B2 (en)
JPS6238731B2 (en)
WO2005124530A2 (en) Method for controlling memory card and method for controlling nonvolatile semiconductor memory
EP0574692A1 (en) Allocation of dasd for storing computer data
JPH023215B2 (en)
JPH05216593A (en) Indirect access storage device
US20030061444A1 (en) Method and system for cache management algorithm selection
US5619696A (en) Program cache apparatus which associates the physical address of a physical page with both the logical address in a program cache space and the logical address in a process space
US7487298B2 (en) Disk array device, method for controlling the disk array device and storage system
JP2002123424A (en) System and method for dynamically reallocating memory in computer system
KR20020016513A (en) Reclaim space reserve for a compressed memory system
JPH0744324A (en) Input and output control system for external storage
JPH1063551A (en) Information processor
US20020015252A1 (en) Method and apparatus for a disc drive adaptive file system
JP3063669B2 (en) Information processing system
JPH0863394A (en) Storage device system and controlling mathod for storage device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees