JPH10161938A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH10161938A
JPH10161938A JP8320294A JP32029496A JPH10161938A JP H10161938 A JPH10161938 A JP H10161938A JP 8320294 A JP8320294 A JP 8320294A JP 32029496 A JP32029496 A JP 32029496A JP H10161938 A JPH10161938 A JP H10161938A
Authority
JP
Japan
Prior art keywords
data
write
disk
cache
memory card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8320294A
Other languages
Japanese (ja)
Inventor
Fumihiro Sawada
文弘 澤田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8320294A priority Critical patent/JPH10161938A/en
Publication of JPH10161938A publication Critical patent/JPH10161938A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the operational reliability of disk controller having a write back cache. SOLUTION: At the time of writing write data to a cache 111, these write data are simultaneously written to a SRAM memory card 112 as well and a disk backup area 122 composed of continuous prescribed data storage areas is prepared on a disk device 12 as well. When an empty area is insufficient on the SRAM memory card 112, contents on the SRAM card memory 112 are simultaneously written into the disk backup area 122. At the time of recovery from power failure, erased data are recovered from the cache 111 while using the SRAM memory card 112 and the contents in the disk backup area 122.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はディスク制御装置
に関し、特にライトバックキャッシュを有し、ホストシ
ステムからのアクセス要求に応じてディスク装置を制御
するディスク制御装置に関する。
The present invention relates to a disk controller, and more particularly to a disk controller having a write-back cache and controlling a disk device in response to an access request from a host system.

【0002】[0002]

【従来の技術】近年、アクセス速度の高速化のために、
ディスクキャッシュを備えたディスク制御装置が種々開
発されている。ディスクキャッシュは、ホストコンピュ
ータと磁気ディスク装置間で入出力されるデータを一時
的に保持するための高速バッファ記憶であり、磁気ディ
スク上のデータの写しの一部が格納される。このバッフ
ァ記憶としては、通常、SRAMやDRAM等の高速半
導体メモリが使用される。
2. Description of the Related Art In recent years, in order to increase access speed,
Various disk control devices having a disk cache have been developed. The disk cache is a high-speed buffer storage for temporarily holding data input / output between the host computer and the magnetic disk device, and stores a part of a copy of data on the magnetic disk. Usually, a high-speed semiconductor memory such as an SRAM or a DRAM is used as the buffer storage.

【0003】ディスクキャッシュを備えたディスク制御
装置においては、ホストコンピュータからディスク装置
のリードアクセスが要求されると、まずバッファ記憶が
参照され、要求されたデータがそのバッファ記憶にあれ
ば(キャッシュヒット)、実際に磁気ディスク装置をア
クセスしないで直ちにそのバッファ記憶からデータがホ
ストコンピュータに転送される。
In a disk control device provided with a disk cache, when a host computer requests a disk device for read access, first the buffer storage is referred to, and if the requested data is in the buffer storage (cache hit). The data is immediately transferred from the buffer storage to the host computer without actually accessing the magnetic disk device.

【0004】もし、要求されたデータがバッファ記憶に
なければ(キャッシュミスヒット)、要求されたデータ
を含む適当な大きさのブロックデータが磁気ディスク装
置から読み出されてホストコンピュータに転送されると
共に、バッファ記憶に格納される。この時、バッファ記
憶に未使用の空きエントリがない場合にはLRUなどの
アルゴリズムに従ってブロック置き換えがなされる。こ
の場合、バッファ記憶内で最も古いブロックや使用頻度
の低いブロックが磁気ディスク装置に排出され、それに
よって生じた空きエントリに新たなブロックデータが格
納される。
If the requested data is not in the buffer storage (cache miss), block data of an appropriate size including the requested data is read from the magnetic disk device and transferred to the host computer. , Stored in the buffer storage. At this time, if there is no unused empty entry in the buffer storage, block replacement is performed according to an algorithm such as LRU. In this case, the oldest block or the least frequently used block in the buffer storage is ejected to the magnetic disk device, and the resulting empty entry stores new block data.

【0005】一方、ホストコンピュータからの要求が磁
気ディスク装置への書き込みの場合には、バッファ記憶
にそのデータが書き込まれる。この場合、バッファ記憶
の内容をディスク装置に反映することが必要となるが、
その方式には、バッファ記憶とディスク装置のデータ書
き替えを同時に行うライトスルー方式と、バッファ記憶
の内容だけを先に書き替えてディスク装置のデータ書き
替えを後で行うライトバック方式とがある。
On the other hand, when the request from the host computer is a write to the magnetic disk device, the data is written to the buffer storage. In this case, it is necessary to reflect the contents of the buffer storage to the disk device,
There are a write-through system in which buffer storage and data rewriting of the disk device are performed simultaneously, and a write-back system in which only the contents of the buffer storage are rewritten first and data rewriting of the disk device is performed later.

【0006】一般には、後者の方式のほうが高性能であ
るため、ディスクキャッシュにはそのライトバック方式
が多く採用されている。このように、ディスクキャッシ
ュを使用した場合には、磁気ディスク装置をアクセスす
るために必要な機械的な駆動動作の実行回数が少なくな
り、磁気ディスク装置のアクセス速度を見掛け上大幅に
高速にすることができる。
Generally, since the latter method has higher performance, a write-back method is often used for a disk cache. As described above, when the disk cache is used, the number of mechanical drive operations required to access the magnetic disk device is reduced, and the access speed of the magnetic disk device is apparently significantly increased. Can be.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前述し
たようにディスクキャッシュはSRAMやDRAM等の
揮発性の半導体メモリから構成されているので、例え
ば、停電のような電源異常が発生すると、キャッシュの
内容は全て消失されてしまう。特にライトバック方式の
ディスクキャッシュの場合には、ディスク装置に反映さ
れる前の最新のユーザデータが消失されてしまう等の深
刻な事態が引き起こされる。
However, as described above, the disk cache is composed of a volatile semiconductor memory such as an SRAM or a DRAM. Therefore, if a power failure such as a power failure occurs, the contents of the cache are lost. Are all lost. In particular, in the case of a write-back type disk cache, a serious situation such as losing the latest user data before being reflected in the disk device is caused.

【0008】このような停電によるライトバックキャッ
シュのデータ消失は、ライトバックキャッシュのデータ
を保持するための専用のバッテリをディスク制御装置に
設けることによって解決可能である。しかし、このよう
にすると、バッテリは高価であるためディスク制御装置
のコストアップが引き起こされる。また、バッテリを搭
載すると、それによって多くの実装面積が占有されるた
め、ディスク制御装置を1枚の回路ボードで実現するこ
とができなくなる等の不具合が生じる。
The data loss of the write-back cache due to such a power failure can be solved by providing a dedicated battery for holding the data of the write-back cache in the disk control device. However, this increases the cost of the disk controller because the battery is expensive. In addition, when a battery is mounted, a large amount of mounting area is occupied by the battery, which causes a problem that the disk control device cannot be realized by one circuit board.

【0009】この発明はこのような点に鑑みてなされた
もので、ライトバックキャッシュのデータを保持するた
めの専用のバッテリを設けることなく簡単な構成でライ
トバックキャッシュのデータをバックアップできるよう
にし、廉価で十分に信頼性の高いディスク制御装置を提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the foregoing, and has been made in view of the above circumstances. Therefore, it is possible to back up write-back cache data with a simple configuration without providing a dedicated battery for holding write-back cache data. It is an object of the present invention to provide an inexpensive and sufficiently reliable disk controller.

【0010】[0010]

【課題を解決するための手段】この発明は、ライトバッ
クキャッシュを有し、ホストシステムからのアクセス要
求に応じてディスク装置を制御するディスク制御装置に
おいて、前記ライトバックキャッシュよりもデータ記憶
容量が少ない不揮発性メモリから構成され、前記ライト
バックキャッシュのキャッシュディレクトリ情報と、前
記ホストシステムから前記ライトバックキャッシュに書
き込まれるライトデータとが書き込まれるバックアップ
メモリと、このバックアップメモリに空きエリアを確保
するために、前記不揮発性メモリに書き込まれているラ
イトデータそれぞれを、前記ディスク装置上の所定の連
続したデータ記憶領域から構成されるバックアップエリ
アに一括転送する手段と、停電からの復旧時に、前記バ
ックアップメモリおよび前記ディスク装置上のバックア
ップエリアの内容を用いて、前記ライトバックキャッシ
ュから消失し且つ前記ディスク装置に未反映のライトデ
ータを復元する手段とを具備することを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a disk control device having a write-back cache and controlling a disk device in response to an access request from a host system, which has a smaller data storage capacity than the write-back cache. A backup memory configured from a non-volatile memory, in which cache directory information of the write-back cache and write data written from the host system to the write-back cache are written; and to secure an empty area in the backup memory, Means for batch-transferring each of the write data written in the non-volatile memory to a backup area comprising a predetermined continuous data storage area on the disk device; and Using spare contents of the backup area on the disk device, characterized by comprising a means for restoring the unreflected write data to the lost and the disk device from the write-back cache.

【0011】このディスク制御装置においては、ライト
バックキャッシュのデータをバックアップするための手
段として、ライトバックキャッシュよりもデータ記憶サ
イズが小さい、SRAMなどの電池によりバックアップ
された不揮発性メモリが用いられている。
In this disk control device, as a means for backing up data in the write-back cache, a nonvolatile memory backed up by a battery such as an SRAM having a smaller data storage size than the write-back cache is used. .

【0012】ライトバックキャッシュへのライトデータ
書き込み時には、そのライトデータは同時に不揮発性メ
モリにも書き込まれる。また、ディスク装置上にも、連
続した所定のデータ記憶領域から構成されるバックアッ
プエリアが用意されており、不揮発性メモリに空きエリ
アが不足すると、不揮発性メモリの内容がディスク装置
上のバックアップエリアに一括して書き込まれる。この
書き込みは、連続したデータ領域に対して行われるた
め、ディスク装置に対する通常のデータ書き込みよりも
高速に行うことができる。
When writing write data to the write-back cache, the write data is simultaneously written to the nonvolatile memory. Also, a backup area composed of a continuous predetermined data storage area is prepared on the disk device, and if there is insufficient free space in the nonvolatile memory, the contents of the nonvolatile memory are stored in the backup area on the disk device. Written collectively. Since this writing is performed on a continuous data area, it can be performed at a higher speed than normal data writing on a disk device.

【0013】そして、停電からの復旧時には、不揮発性
メモリのキャッシュディレクトリ情報などを基に、不揮
発性メモリおよびバックアップエリアの内容を用いて、
ライトバックキャッシュから消失し且つディスク装置に
未反映のライトデータを復元するための処理が行われ
る。これにより、不揮発性メモリの容量以上のキャッシ
ュデータをバックアップすることが可能となり、廉価で
十分に信頼性の高いディスク制御装置を実現することが
できる。
At the time of recovery from a power failure, the contents of the nonvolatile memory and the backup area are used based on cache directory information of the nonvolatile memory and the like.
Processing for restoring write data that has disappeared from the write-back cache and has not been reflected on the disk device is performed. This makes it possible to back up cache data larger than the capacity of the non-volatile memory, thereby realizing an inexpensive and sufficiently reliable disk control device.

【0014】また、不揮発性メモリとしては、ディスク
制御装置の故障をも考慮すると、それ自体を単体で取り
外してバックアップデータだけを他の装置から読み出せ
るようにするために、例えばJEIDA/PCMCIA
規格のバッテリ付きSRAMカードなど、着脱可能なメ
モリカードを使用することが好ましい。
In consideration of the failure of the disk controller, the non-volatile memory may be detached by itself, so that only backup data can be read from another device. For example, JEIDA / PCMCIA
It is preferable to use a removable memory card such as a standard SRAM card with a battery.

【0015】このようなメモリカードをバックアップ用
メモリとして用いる場合には、電源断中にライトデータ
が格納されているメモリカードが取り外されたままシス
テムが再スタートされたり、電源断中に使用中のメモリ
カード以外の他のメモリカードに交換されたりすると、
正常なデータ復旧を行うことができなくなり、誤ったデ
ータがディスク装置に書き込まれるなどの危険が発生す
る。
When such a memory card is used as a backup memory, the system is restarted while the memory card storing the write data is removed during the power-off, or the memory card used during the power-off is used. If a memory card other than the memory card is replaced,
Normal data recovery cannot be performed and there is a danger that erroneous data is written to the disk device.

【0016】そこで、前記ライトバックキャッシュを使
用した書き込み動作が許可されているか否かを示すフラ
グ情報と前記ディスク固有の識別情報とを、前記ディス
ク装置と前記メモリカードの双方に格納しておき、停電
からの復旧時に、前記メモリカードと前記ディスク装置
との間で前記フラグ情報および識別情報を照合して、正
しいメモリカードが装着されているか否かを判別する手
段をさらに具備することが好ましい。これにより、電源
断中に誤ってメモリカードが交換されたり、あるいは使
用されていたメモリカードが抜き去られたままの状態で
あった場合には、正しいメモリカードが装着されていな
いことを検知することができるので、それをホストシス
テムに報告するなどの処置を取ることが可能となる。
Therefore, flag information indicating whether a write operation using the write-back cache is permitted and identification information unique to the disk are stored in both the disk device and the memory card. It is preferable that the apparatus further comprises means for comparing the flag information and the identification information between the memory card and the disk device at the time of recovery from a power failure to determine whether or not a correct memory card is mounted. Thus, if the memory card is accidentally replaced while the power is turned off, or if the used memory card remains removed, it is detected that the correct memory card is not installed. Therefore, it is possible to take measures such as reporting it to the host system.

【0017】[0017]

【発明の実施の形態】以下、図面を参照してこの発明の
実施形態を説明する。図1には、この発明の一実施形態
に係るディスクコントローラ11の構成が示されてい
る。ディスクコントローラ11は、コンピュータシステ
ムの二次記憶装置として使用される磁気ディスク装置1
2を制御するためのものであり、コンピュータシステム
のCPU、つまりホストシステムからのアクセス要求に
応じて磁気ディスク装置12をアクセスする。このディ
スクコントローラ11は、例えば1枚の回路ボードから
実現されており、その回路ボード上には、キャッシュメ
モリ111およびバッテリ付きSRAMカード112な
どが搭載されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a disk controller 11 according to an embodiment of the present invention. The disk controller 11 is a magnetic disk device 1 used as a secondary storage device of a computer system.
And controls the magnetic disk device 12 in response to an access request from the CPU of the computer system, that is, the host system. The disk controller 11 is realized by, for example, one circuit board, on which a cache memory 111 and an SRAM card 112 with a battery are mounted.

【0018】キャッシュメモリ111は、ディスク装置
12からの読み出しデータおよび書き込みデータを一時
的に保持するディスクキャッシュを構成するものであ
り、ライトバックキャッシュとして動作することができ
る。このキャッシュメモリ111は、リード/ライトデ
ータを保持するデータメモリと、データメモリ上のデー
タがディスク装置12上のどのアドレス位置に対応する
ものであるか等を管理するためのキャッシュディレクト
リ情報を保持するタグメモリとを含んでいる。データメ
モリは例えば数十メガバイトの記憶容量を有している。
キャッシュメモリ111は電源バックアップされておら
ず、停電時にはその記憶内容は消失される。
The cache memory 111 constitutes a disk cache for temporarily storing read data and write data from the disk device 12, and can operate as a write-back cache. The cache memory 111 holds a data memory for holding read / write data, and cache directory information for managing which address position on the disk device 12 corresponds to data on the data memory. And a tag memory. The data memory has a storage capacity of several tens of megabytes, for example.
The power of the cache memory 111 is not backed up, and its stored contents are lost during a power failure.

【0019】バッテリ付きSRAMカード112は、J
EIDA/PCMCIA規格のPCカードから構成され
ており、ディスクコントローラ11の回路ボード上に設
けられたPCカードソケットに着脱自在に装着すること
ができる。このバッテリ付きSRAMカード112は、
キャッシュメモリ111がライトバックキャッシュとし
て使用されるときに、そのライトバックキャッシュデー
タをバックアップするための不揮発性メモリとして使用
されるものであり、ホストシステムからのライトバック
キャッシュデータはキャッシュメモリ111に書き込ま
れると同時に、SRAMカード112にも書き込まれ
る。また、SRAMカード112には、各種コントロー
ル情報113、およびキャッシュメモリ111と同じキ
ャッシュディレクトリ情報114も書き込まれる。SR
AMカード112のデータ記憶サイズは、例えば1Mバ
イト程度であり、キャッシュメモリ111のデータ記憶
サイズよりも小さい。
The SRAM card 112 with a battery
It is composed of a PC card of the EIDA / PCMCIA standard, and can be detachably mounted on a PC card socket provided on a circuit board of the disk controller 11. This SRAM card with battery 112 is
When the cache memory 111 is used as a write-back cache, it is used as a non-volatile memory for backing up the write-back cache data, and the write-back cache data from the host system is written to the cache memory 111. At the same time, the data is also written to the SRAM card 112. The SRAM card 112 also writes various control information 113 and cache directory information 114 that is the same as the cache memory 111. SR
The data storage size of the AM card 112 is, for example, about 1 Mbyte, which is smaller than the data storage size of the cache memory 111.

【0020】磁気ディスク装置12のデータ記憶エリア
は通常使用されるエリア121(ディスク通常データエ
リア)とライトバックキャッシュデータのバックアップ
を格納するエリア122(ディスクバックアップエリ
ア)とに論理的に分けて使用される。ディスクバックア
ップエリア122は、ディスク装置12上の物理的に連
続する記憶エリアから構成されており、SRAMカード
112に空きエリアが不足したときに、SRAMカード
112にバックアップされているすべてのライトバック
キャッシュデータがディスクバックアップエリア122
に一括書き込みされる。
The data storage area of the magnetic disk device 12 is logically divided into an area 121 (disk normal data area) for normal use and an area 122 (disk backup area) for storing a backup of write-back cache data. You. The disk backup area 122 is composed of physically continuous storage areas on the disk device 12, and when the SRAM card 112 runs out of free space, all the write-back cache data backed up on the SRAM card 112 Is the disk backup area 122
Is written all at once.

【0021】SRAMカード112およびディスクバッ
クアップエリア122上のデータは、停電などによりキ
ャッシュメモリ111から消失され、且つディスク装置
12のディスク通常データエリア121に未反映のライ
トバックキャッシュデータを復元するために用いられ
る。
The data on the SRAM card 112 and the disk backup area 122 is used for restoring write-back cache data that has been lost from the cache memory 111 due to a power failure and has not been reflected in the disk normal data area 121 of the disk device 12. Can be

【0022】ここで、通常動作時のディスクコントロー
ラ11の動作を図2のフローチャートを参照して説明す
る。キャッシュメモリ111をライトバックキャッシュ
として使用するライトコマンドであるライトバックキャ
ッシュコマンドがホストシステムから発行されると(ス
テップS101)、ディスクコントローラ11は、SR
AMメモリカード112に必要な空き容量があるかを調
べる(ステップS102)。
Here, the operation of the disk controller 11 during normal operation will be described with reference to the flowchart of FIG. When a host system issues a write-back cache command that is a write command that uses the cache memory 111 as a write-back cache (step S101), the disk controller 11 sets the SR
It is checked whether the AM memory card 112 has a necessary free space (step S102).

【0023】SRAMメモリカード112に空き容量が
確保されていれば、ホストから転送されたライトバック
キャッシュコマンドのライトデータ(ライトバックキャ
ッシュデータ)をキャッシュメモリ111およびSRA
Mカード112に書き込み(ステップS103)、そし
てキャッシュメモリ111のキャッシュディレクトリ情
報およびSRAMカード112のキャッシュディレクト
リ情報114を更新した後、コマンドの終了報告を行う
(ステップS104)。
If free space is secured in the SRAM memory card 112, the write data (write-back cache data) of the write-back cache command transferred from the host is transferred to the cache memory 111 and the SRA.
After writing to the M card 112 (step S103), and updating the cache directory information of the cache memory 111 and the cache directory information 114 of the SRAM card 112, a command end report is made (step S104).

【0024】図1では、データEnがキャッシュメモリ
111とSRAMカード112に書き込まれた状態が示
されている。一方、空きが無い場合には、ホストから転
送されたライトバックキャッシュコマンドのライトデー
タ(ライトバックキャッシュデータ)は、キャッシュメ
モリ111およびSRAMメモリカード112のどちら
にも書き込まれることなく、直ちにディスク装置12の
ディスク通常データエリア121に書き込まれる(ステ
ップS112)。
FIG. 1 shows a state in which data En is written in cache memory 111 and SRAM card 112. On the other hand, when there is no free space, the write data (write-back cache data) of the write-back cache command transferred from the host is not written to either the cache memory 111 or the SRAM memory card 112, and the disk device 12 Is written to the disk normal data area 121 (step S112).

【0025】キャッシュメモリ111に書き込まれたデ
ータは、その後ライトバックキャッシュコマンドとは非
同期にディスク通常データエリア121に書き込まれ
る。そのデータがディスク通常データエリア121に書
き込まれた時にSRAMカード112の対応するデータ
はキャッシュディレクトリ114を更新することにより
無効化される。また、図1では、A0 〜An のデータが
ディスク通常データエリア121に既にデータデステー
ジングされた状態が示されている。
The data written to the cache memory 111 is thereafter written to the disk normal data area 121 asynchronously with the write-back cache command. When the data is written to the disk normal data area 121, the corresponding data in the SRAM card 112 is invalidated by updating the cache directory 114. FIG. 1 shows a state in which the data of A0 to An has already been data destaged in the disk normal data area 121.

【0026】ライトバックキャッシュコマンドがホスト
から連続して発行されて、SRAMカード112に次の
ライトデータを書き込むための空きが無くなったことが
検出されると(ステップS105)、ディスク装置12
のディスクバックアップエリア122に空きがあるか否
かが調べられ(ステップS106)、空きがあれば、S
RAMカード112に書き込まれたデータが、ライトバ
ックキャッシュコマンドと非同期にディスクバックアッ
プエリア122に一括して書き込まれる(ステップS1
07)。
When a write-back cache command is continuously issued from the host and it is detected that there is no more space for writing the next write data in the SRAM card 112 (step S105), the disk device 12
It is checked whether or not there is a free space in the disk backup area 122 (step S106).
The data written to the RAM card 112 is collectively written to the disk backup area 122 asynchronously with the write-back cache command (step S1).
07).

【0027】これにより、SRAMカード112に新た
にライトバックキャッシュデータを書き込むことが可能
となる。この一括書き込みでは、SRAMカード112
内のすべてのライトバックキャッシュデータがシリアル
アクセスによってディスクバックアップエリア122に
書き込まれるため、個々のライトバックキャッシュデー
タを通常のようにディスク通常エリア121にランダム
に書き込む時間の総和に比べて遥かに少ない時間で実行
が可能である。これはデータ長が比較的短い場合に限ら
れるが、データ長が長い場合はライトバックキャッシュ
機能自体が効果を発揮しないので、初めからディスクに
直接書き込んだ方がよい。
As a result, it is possible to newly write the write-back cache data into the SRAM card 112. In this batch writing, the SRAM card 112
Is written to the disk backup area 122 by serial access, so that the time required to write individual write-back cache data to the disk normal area 121 as usual is much less than the total time. It is possible to execute. This is limited to the case where the data length is relatively short. However, when the data length is long, the write-back cache function itself does not exert any effect. Therefore, it is better to write the data directly to the disk from the beginning.

【0028】図1ではA0 〜An 、B0 〜Bn 、C0 〜
Cn 、D0 〜Dn のデータがディスクバックアップエリ
ア122にデータバックアップされた状態が示されてい
る。このうちA0 〜An のデータは既にディスク通常エ
リア121にデステージングされているので、その内容
は無効である。
In FIG. 1, A0 to An, B0 to Bn, C0 to
The state where the data of Cn and D0 to Dn are backed up to the disk backup area 122 is shown. Among them, the data of A0 to An is already destaged in the disk normal area 121, so that its contents are invalid.

【0029】SRAMカード112およびディスクバッ
クアップエリア122上のデータの無効化は、前述した
ように、キャッシュメモリ111に書き込まれたデータ
をディスク通常データエリア121に書き込む処理(ス
テップS108,S109)が実行されたときに、その
書き込まれたデータに対応するSRAMカード112ま
たはディスクバックアップエリア122上のデータをキ
ャッシュディレクトリ情報114によって無効化する
(ステップS110)ことにより行われる。
To invalidate the data in the SRAM card 112 and the disk backup area 122, as described above, the processing of writing the data written in the cache memory 111 to the disk normal data area 121 (steps S108 and S109). In this case, the data on the SRAM card 112 or the disk backup area 122 corresponding to the written data is invalidated by the cache directory information 114 (step S110).

【0030】ホストからディスク装置12へのデータ書
き込みを指示するディスクライトコマンドが発行された
場合には(ステップS111)、ホストから転送される
ライトデータをディスク通常データエリア121に書き
込んだ後に終了報告を行い(ステップS112)、そし
て、対応するSRAMカード112またはディスクバッ
クアップエリア122上のデータを無効化する(ステッ
プS113)。
When a disk write command instructing data writing to the disk device 12 is issued from the host (step S111), the write data transferred from the host is written to the disk normal data area 121, and then an end report is issued. (Step S112), and invalidates the data on the corresponding SRAM card 112 or disk backup area 122 (step S113).

【0031】また、ホストからSRAMカード112に
存在するデータを書き換えるようなライトバックキャッ
シュコマンドが発行された場合は、空き容量は必要とせ
ず、キャッシュメモリ111のデータとSRAMカード
112のデータを書き換えて、そのコマンドの終了報告
を行う。ディスクバックアップエリア122にセーブさ
れているデータに対応する領域のデータを書き換えるよ
うなライトバックキャッシュコマンドが発行された場合
は、ディスク通常データエリア121にデータを書き込
んでから終了報告を返し、対応するディスクバックアッ
プエリア121のデータはキャッシュディレクトリ11
4を書き換えて無効化する。
When the host issues a write-back cache command for rewriting data existing in the SRAM card 112, no free space is required, and the data in the cache memory 111 and the data in the SRAM card 112 are rewritten. And reports the end of the command. When a write-back cache command that rewrites data in an area corresponding to data saved in the disk backup area 122 is issued, an end report is returned after writing data to the disk normal data area 121, and the corresponding disk is returned. The data in the backup area 121 is stored in the cache directory 11
4 is rewritten and invalidated.

【0032】次に、図3を参照して、SRAMカード1
12およびディスクバックアップエリア122のデータ
を用いて、停電によりキャッシュメモリ111から消失
され、且つディスク通常データエリア121に未反映の
データを復旧する動作について説明する。
Next, referring to FIG.
An operation of restoring data that has been lost from the cache memory 111 due to a power failure and has not been reflected in the disk normal data area 121 using the data in the disk backup area 122 and the disk 12 will be described.

【0033】動作中に停電が発生した場合は、図3に示
されているように、まだディスク通常データエリア12
1に書き込まれてないライトバックキャッシュデータが
SRAMカード112およびディスクバックアップエリ
ア122に残っている場合は、次の電源投入時にそのデ
ータをディスク通常エリア121の本来書き込まれるべ
きディスクアドレスへ書き写す処理が行われる。どのデ
ータを複写するかは、SRAMカード112にあるキャ
ッシュディレクトリ情報114及びコントロール情報1
13を用いて判断する。
If a power failure occurs during operation, as shown in FIG.
If the write-back cache data not written in No. 1 remains in the SRAM card 112 and the disk backup area 122, the process of copying the data to the disk address in the disk normal area 121 to which the data should be written at the next power-on is performed. Will be Which data is copied is determined by the cache directory information 114 and the control information 1 in the SRAM card 112.
13 is used.

【0034】コントロール情報には、SRAMカード1
12およびディスクバックアップエリア122のデータ
記憶領域それぞれについてそこに書き込まれているデー
タがキャッシュメモリ111のどのキャッシュブロック
に対応するものであるか等を管理するバンク管理テーブ
ルが設けられており、このバンク管理テーブルのキャッ
シュブロック番号からキャッシュディレクトリ情報11
4を検索することにより、本来書き込まれるべきディス
ク通常エリア121上のディスクアドレスを調べること
ができる。
The control information includes an SRAM card 1
12 and a data storage area of the disk backup area 122, there is provided a bank management table for managing which cache block of the cache memory 111 corresponds to the data written therein. From the cache block number of the table, the cache directory information 11
By searching "4", the disk address on the disk normal area 121 to which data should be written can be checked.

【0035】図3では、ディスクバックアップエリア1
22に残っているデータの内、データA0 〜An は既に
ディスク通常エリア121に書き込まれているので、キ
ャッシュディレクトリ情報114から無効と判断して、
電源投入時には書き込みを行わない。データB0 〜Bn
、C0 〜Cn 、D0 〜Dn については、バンク管理テ
ーブルおよびキャッシュディレクトリ情報114を用い
てそれを書き込むべきディスクアドレスが調べられ、コ
ントローラ11に一旦読み出された後、本来書き込まれ
るべきディスクアドレスへ書き写される。SRAMカー
ド112に残っているデータE0 〜En についても同様
にしてディスクアドレスが調べられて、SRAMカード
112から直接本来書き込まれるべきディスクアドレス
へ書き写される。全てのデータを正しいディスクアドレ
スへ書き写した後は、コントロール情報113およびキ
ャッシュディレクトリ情報114は初期化される。
In FIG. 3, the disk backup area 1
Among the data remaining in the storage area 22, since the data A0 to An have already been written in the disk normal area 121, it is determined from the cache directory information 114 that they are invalid.
No writing is performed when the power is turned on. Data B0 to Bn
, C0 to Cn, and D0 to Dn, the disk address to which the data is to be written is checked using the bank management table and the cache directory information 114. Will be copied. The disk addresses of the data E0 to En remaining in the SRAM card 112 are checked in the same manner, and the data is directly copied from the SRAM card 112 to the disk address to which the data should be written. After copying all data to the correct disk address, the control information 113 and the cache directory information 114 are initialized.

【0036】図4には、上の処理に使われるコントロー
ル情報113とキャッシュディレクトリ情報114の構
造が示されている。キャッシュディレクトリ情報114
は、キャッシュメモリ111のデータメモリに書き込ま
れる複数のキャッシュブロックそれぞれに対応するエン
トリから構成されており、各キャッシュディレクトリエ
ントリは、図5のように構成されている。すなわち、各
キャッシュディレクトリエントリには、通常のキャッシ
ュディレクトリデータ(データを書き込むべきディスク
装置のデバイス番号、LRUアルゴリズムのために使用
される頻度情報などを含むLRUデータ、ディスクアド
レスを示すキャッシュタグ、16Kバイトのキャッシュ
ブロック単位でその有効無効を示す管理フラグ、キャッ
シュブロック中における有効データ部を指定するスター
トおよびデータ長など)の他、キャッシュブロックデー
タがバックアップされているデータ格納領域を示すバン
ク番号が含まれている。
FIG. 4 shows the structure of the control information 113 and the cache directory information 114 used for the above processing. Cache directory information 114
Is composed of entries corresponding to a plurality of cache blocks written to the data memory of the cache memory 111, and each cache directory entry is configured as shown in FIG. That is, each cache directory entry includes ordinary cache directory data (device number of a disk device to which data is to be written, LRU data including frequency information used for an LRU algorithm, a cache tag indicating a disk address, 16 Kbytes). , A management flag indicating validity / invalidity of each cache block, a start and data length for designating a valid data portion in a cache block, and a bank number indicating a data storage area where cache block data is backed up. ing.

【0037】バンク管理テーブル113aはSRAMカ
ード112のデータとディスクバックアップエリア12
2のデータを管理するエントリからなり、SRAMカー
ド112にバックアップ可能な最大データサイズ(例え
ば、64Kバイト)のデータを1バンクとし、それらバ
ンク毎にそこに格納されているキャッシュブロックデー
タそれぞれのキャッシュブロック番号(キャッシュディ
レクトリ番号)をそれぞれ示す複数のバンクエントリか
ら構成されている。各バンクエントリの構造は図6の通
りである。バンクエントリの数は、ディスクバックアッ
プエリア122に用意されたバンク数とSRAMカード
112のバンク数1との総和である。
The bank management table 113a stores the data of the SRAM card 112 and the disk backup area 12
The data of the maximum data size (for example, 64 Kbytes) that can be backed up in the SRAM card 112 is defined as one bank, and the cache block of each cache block data stored in each bank is composed of entries for managing the data of the SRAM card 112. It is composed of a plurality of bank entries each indicating a number (cache directory number). The structure of each bank entry is as shown in FIG. The number of bank entries is the sum of the number of banks prepared in the disk backup area 122 and the number of banks 1 of the SRAM card 112.

【0038】カレントバンクポインタ113bは、現在
SRAMカード112に存在するデータを管理している
バンク管理テーブル113aのバンクエントリ番号を示
すものであり、このカレントバンクポインタ113bの
値はSRAMカード112のデータがディスクバックア
ップエリア122の空きバンクにバックアップされた時
に新しいバンクの値に更新される。
The current bank pointer 113b indicates the bank entry number of the bank management table 113a which manages the data present in the SRAM card 112, and the value of the current bank pointer 113b is the data of the SRAM card 112. When the data is backed up to an empty bank in the disk backup area 122, the value is updated to a new bank value.

【0039】図4の例では、キャッシュディレクトリ1
14のキャッシュブロックxのエントリにバンク番号m
が格納され、キャッシュブロックyのエントリにはバン
ク番号nが格納されている。これはキャッシュブロック
xの実データxがバンクmに相当するエリア(この場
合、カレントバンクがmなので、SRAMカード112
にバックアップされている)、キャッシュブロックyの
実データyがバンクnに相当するエリア(カレントバン
クm以外のバンクはディスクバックアップエリア122
に存在する)に書き込まれていることを示している。
In the example of FIG. 4, the cache directory 1
The bank number m is assigned to the entry of the 14 cache blocks x.
Is stored, and the bank number n is stored in the entry of the cache block y. This is an area where the actual data x of the cache block x corresponds to the bank m (in this case, since the current bank is m, the SRAM card 112
Area where the actual data y of the cache block y corresponds to the bank n (banks other than the current bank m are the disk backup area 122).
At the same time).

【0040】またバンク管理テーブル113aのバンク
mエントリにはキャッシュブロック番号xが、バンクn
エントリにはキャッシュブロック番号yが格納されてい
て、バンク管理テーブル113aから、それぞれのバン
クに含まれるキャッシュブロック番号を知ることができ
る。
The cache block number x is stored in the bank m entry of the bank management table 113a.
The cache block number y is stored in the entry, and the cache block number included in each bank can be known from the bank management table 113a.

【0041】次に、データバックアップが発生する場合
はSRAMカード113のデータがディスクバックアッ
プエリア122の空きバンク(または、すべてのキャッ
シュブロックデータが無効化されているバンク)に書き
込まれ、そのバンクがバンクmとして管理される。ま
た、カレントバンクポインタ113bの値は、バンク管
理テーブル113aにおける次の未使用バンクエントリ
(または、すべてのキャッシュブロックデータが無効化
されているバンクエントリ)の番号に更新される。
Next, when a data backup occurs, the data of the SRAM card 113 is written to an empty bank of the disk backup area 122 (or a bank in which all cache block data is invalidated), and the bank is stored in the bank. m. Further, the value of the current bank pointer 113b is updated to the number of the next unused bank entry (or the bank entry in which all cache block data is invalidated) in the bank management table 113a.

【0042】なおSRAMカード112およびディスク
バックアップエリア122からデータ読み出しはデータ
復旧動作時に行われるのみで、ホストシステムからの通
常のリードコマンドに対しては、キャッシュメモリ11
1からのデータ読み出し、またはディスク通常データエ
リア121からのデータ読み出しだけが行われる。
Data is read from the SRAM card 112 and the disk backup area 122 only at the time of data recovery operation, and a normal read command from the host system is not read from the cache memory 11.
1 or only data read from the disk normal data area 121 is performed.

【0043】以上のように、この実施形態においては、
ライトバックキャッシュデータをバックアップするため
の手段として、キャッシュメモリ111よりもデータ記
憶サイズが小さいバッテリ付きSRAMメモリカード1
12が用いられており、キャッシュ111へのライトデ
ータ書き込み時には、そのライトデータは同時にSRA
Mメモリカード112にも書き込まれる。また、ディス
ク装置12上にも、連続した所定のデータ記憶領域から
構成されるディスクバックアップエリア122が用意さ
れており、SRAMメモリカード112に空きエリアが
不足すると、SRAMメモリカード112の内容がディ
スクバックアップエリア122に一括して書き込まれ
る。そして、停電からの復旧時には、キャッシュディレ
クトリ情報114などを基に、SRAMメモリカード1
12およびディスクバックアップエリア122の内容を
用いて、キャッシュ111から消失し且つディスク装置
12に未反映のライトデータを復元するための処理が行
われる。これにより、SRAMメモリカード112の容
量以上のキャッシュデータをバックアップすることが可
能となり、廉価で十分に信頼性の高いディスクコントロ
ーラ11を実現することができる。
As described above, in this embodiment,
As a means for backing up write-back cache data, an SRAM memory card 1 with a battery having a smaller data storage size than the cache memory 111
12, when writing write data to the cache 111, the write data
It is also written to the M memory card 112. Also, a disk backup area 122 composed of a continuous predetermined data storage area is prepared on the disk device 12, and if there is not enough free space in the SRAM memory card 112, the contents of the SRAM memory card 112 are stored in the disk backup area. The data is collectively written to the area 122. Then, at the time of recovery from the power failure, the SRAM memory card 1 based on the cache directory information 114 and the like.
A process for restoring write data that has disappeared from the cache 111 and has not been reflected in the disk device 12 is performed using the contents of the disk backup area 122 and the disk 12. As a result, it is possible to back up the cache data larger than the capacity of the SRAM memory card 112, and it is possible to realize the inexpensive and sufficiently reliable disk controller 11.

【0044】また、SRAMメモリカード112は着脱
可能であるため、ディスクコントローラ11が故障した
場合には、SRAMメモリカード112をディスクコン
トローラ11から取り外してそのバックアップデータや
キャッシュディレクトリ情報を他の装置で読み出すこと
により、ディスク装置12の修復を行うことができる。
Further, since the SRAM memory card 112 is detachable, if the disk controller 11 fails, the SRAM memory card 112 is removed from the disk controller 11 and its backup data and cache directory information are read out by another device. Thus, the disk device 12 can be repaired.

【0045】このように、着脱可能なSRAMカード1
12を用いることはディスクコントローラ11の故障対
策として有効であるが、SRAMカード112は容易に
交換できるので、電源断中にそれまで使用されていたS
RAMカード112が取り外されたままシステムが再ス
タートされたり、電源断中に使用中のSRAMカード1
12以外の他のメモリカードに交換されたりすると、S
RAMカード112のバックアップデータを用いた正常
なデータ復旧を行うことができなくなり、誤ったデータ
がディスク装置12に書き込まれるなどの危険が発生す
る。このような不具合の発生を防止するため、この実施
形態では、以下のような方法によりバックアップデータ
の信頼性の維持を図っている。
As described above, the removable SRAM card 1
Although the use of the HDD 12 is effective as a measure against the failure of the disk controller 11, the SRAM card 112 can be easily replaced.
The system may be restarted with the RAM card 112 removed, or the SRAM card 1 in use while the power is turned off.
When the memory card is replaced with another memory card other than 12
Normal data recovery using the backup data of the RAM card 112 cannot be performed, and there is a danger that erroneous data is written to the disk device 12. In order to prevent such a problem from occurring, in this embodiment, the reliability of the backup data is maintained by the following method.

【0046】すなわち、ディスク装置12のコントロー
ルエリア123にライトバックキャッシュ機能を使用し
ていることを示すフラグ(WBC許可フラグ)を設定し
ておき、そのフラグがセットされている場合にのみSR
AMカード112およびディスクバックアップエリア1
22のデータを有効と判断する。WBC許可フラグはホ
ストからライトバックキャッシュ許可コマンドが発行さ
れた時にセットされ、ホストからライトバックキャッシ
ュ禁止コマンドが発行された時および、システムの停止
処理が正常に行われた時などのようにライトバックキャ
ッシュ機能が自動的に禁止された場合にリセットされ
る。このフラグがセットされていなければ、システムの
停止処理が正常に行われたか、あるいはライトバックキ
ャッシュ機能が使われていないかのどちらかであり、別
のSRAMカードが挿入されたとしても、ディスクデー
タの正常性が保証できる。
That is, a flag (WBC permission flag) indicating that the write-back cache function is used is set in the control area 123 of the disk device 12, and the SR is set only when the flag is set.
AM card 112 and disk backup area 1
It is determined that the data of No. 22 is valid. The WBC permission flag is set when a write-back cache permission command is issued from the host, and when the host issues a write-back cache prohibition command and when the system has been stopped normally, the write-back cache permission flag is set. Reset when the cache function is automatically disabled. If this flag is not set, either the system has been stopped normally or the write-back cache function is not used, and even if another SRAM card is inserted, the disk Normality can be guaranteed.

【0047】また、SRAMカードが無い状態でシステ
ムが稼働していた場合にはディスク装置12のWBC許
可フラグは必ずリセット状態なので、そのディスクコン
トローラ11に新たにSRAMカード122を実装して
もコントローラ11はディスク装置12のデータが正常
であると認識できる。したがって、システム稼働中にS
RAMカード122を実装して、その時点からライトバ
ックキャッシュ機能を有効に働かせるようにするといっ
たプラグ・アンド・プレイが可能となる。
When the system is operating without an SRAM card, the WBC permission flag of the disk device 12 is always reset. Therefore, even if a new SRAM card 122 is mounted on the disk controller 11, the controller 11 Can recognize that the data in the disk device 12 is normal. Therefore, during system operation, S
Plug-and-play is possible in which the RAM card 122 is mounted and the write-back cache function is effectively activated from that point.

【0048】WBC許可フラグがセットされている場合
は、以下のようにしてそのときのSRAMカード112
のデータの正常性を保証する。まずディスク12のコン
トロールエリアには、図7に示すように、WBC許可フ
ラグだけでなく、シリアル番号等のそのディスク特有の
情報を格納する。ライトバックキャッシュ機能を使用す
る時、すなわちディスク12のコントロールエリアにW
BC許可フラグをセットする時は、SRAMカード11
2に対しても、そのコントロール情報113の一部とし
てディスク装置12と同じ情報、つまりWBC許可フラ
グとディスク装置12のシリアル番号を格納しておく。
If the WBC permission flag is set, the SRAM card 112 at that time is set as follows.
To ensure the integrity of your data. First, in the control area of the disk 12, as shown in FIG. 7, not only the WBC permission flag but also information specific to the disk such as a serial number is stored. When the write-back cache function is used, that is, when the W
When setting the BC permission flag, the SRAM card 11
2, the same information as the disk device 12, that is, the WBC permission flag and the serial number of the disk device 12 are stored as a part of the control information 113.

【0049】停電からの復帰時などのような電源投入時
には、コントローラ11がディスクコントロールエリア
123とSRAMカード112の間でWBC許可フラグ
とディスク装置12のシリアル番号を比較する。これら
が共に一致すれば、電源断中にSRAMカード112が
交換されていないことを保証できる。
When the power is turned on, such as when returning from a power failure, the controller 11 compares the WBC permission flag between the disk control area 123 and the SRAM card 112 with the serial number of the disk device 12. If they match, it can be guaranteed that the SRAM card 112 has not been replaced while the power is off.

【0050】また、キャッシュディレクトリ情報114
等のクリティカルなデータを書き換えている瞬間に停電
が発生すると、次の電源投入時にデータを正しく復元で
きないことがある。このため、データの正常性を保証す
るためには、前述したSRAMカード112の正当性だ
けでなく、以下の方法でクリティカルなデータの正当性
を保証することが必要となる。
The cache directory information 114
If a power failure occurs at the moment when critical data such as is rewritten, data may not be correctly restored at the next power-on. Therefore, in order to guarantee the normality of data, it is necessary to guarantee not only the validity of the SRAM card 112 described above but also the validity of critical data by the following method.

【0051】すなわち、まずクリティカルなデータを書
き換える直前に、SRAMカード112のコントロール
情報格納エリアにそれらのデータを書き換え中であるこ
とを示すフラグ(CRITICフラグ)をセットする。
That is, immediately before rewriting critical data, a flag (CRITIC flag) indicating that the data is being rewritten is set in the control information storage area of the SRAM card 112.

【0052】一連のクリティカルなデータを書き換えた
後にCRITICフラグをリセットする。コントローラ
は電源投入時にCRITICフラグをチェックして、セ
ットされていなければクリティカルなデータは正しいと
判断できる。このフラグがセットされていた場合には、
ライトバックキャッシュを使用していたデータは保証で
きないので、ディスクデータへの通常のアクセスを禁止
する等の方法でホストに通知する。クリティカルデータ
の書換中に電源を落とさないためには、停電を検出する
とそれをコントローラ11に通知する機構と、コントロ
ーラ11が書き換え処理を終了するまでの時間、その動
作を保証するための電源供給を行う補助電源などが必要
となる。
After rewriting a series of critical data, the CRITIC flag is reset. When the power is turned on, the controller checks the CRITIC flag, and if not set, can determine that the critical data is correct. If this flag is set,
Since the data using the write-back cache cannot be guaranteed, the host is notified by a method such as prohibiting normal access to the disk data. In order to prevent the power from being shut down during the rewriting of critical data, a mechanism for notifying the controller 11 when a power failure is detected and a power supply for guaranteeing the operation until the controller 11 completes the rewriting process are provided. Auxiliary power supply to perform is required.

【0053】また、SRAMカード自体にはパリティ付
加機能等のチェックコード生成機能は無いので、キャッ
シュディレクトリ情報114を書き込む時にパリティビ
ットを付加することで、データの信頼性を上げることが
できる。
Since the SRAM card itself does not have a check code generation function such as a parity addition function, the reliability of data can be increased by adding a parity bit when writing the cache directory information 114.

【0054】さらに、ライトキャッシュデータそのもの
にもLRCなどのチェックコードを付加することによ
り、データの信頼性を上げることができる。コントロー
ラ11は電源投入時にそのチェックコードによりデータ
が正しいかどうかを判断できる。しかしながらデータ転
送中に停電が発生した場合は、そのデータは保証する必
要が無く、チェックコードに異常があっても異常と認識
する必要がない。以下の方法によってチェックコードに
異常があったデータは停電時に転送中であったかどうか
を知ることができる。
Further, by adding a check code such as LRC to the write cache data itself, data reliability can be improved. When the power is turned on, the controller 11 can determine whether the data is correct based on the check code. However, if a power failure occurs during data transfer, there is no need to guarantee the data, and it is not necessary to recognize that the check code is abnormal even if it has an error. By the following method, it is possible to know whether or not data having an error in the check code was being transferred at the time of the power failure.

【0055】まず、ホストシステムの主記憶からのDM
Aによるデータ転送を開始する直前にSRAMカード1
12のコントロール情報格納エリアにデータ転送中のキ
ャッシュブロックの番号を書き込む。データ転送が終了
した直後にその番号を、例えば−1等の無効な値に書き
換える。この方法により、電源投入時にコントローラ1
1がチェックコードのチェックによりライトキャッシュ
データの異常を検出したとしても、エラーを検出したブ
ロックがSRAMカード112のコントロール情報格納
エリアに残っていれば、そのデータを無効化し、コント
ローラ11は正常に動作を継続できる。ライトバックキ
ャッシュデータの内容が異常と判断される場合は、その
ブロックへの通常のアクセスを禁止するなどの方法でホ
ストに通知する。
First, the DM from the main memory of the host system is
SRAM card 1 immediately before data transfer by A
The number of the cache block being transferred is written to the control information storage area of No. 12. Immediately after the data transfer is completed, the number is rewritten to an invalid value such as -1. With this method, when the power is turned on, the controller 1
Even if the block 1 detects an error in the write cache data by checking the check code, if the block in which the error is detected remains in the control information storage area of the SRAM card 112, the data is invalidated, and the controller 11 operates normally. Can be continued. If the contents of the write-back cache data are determined to be abnormal, the host is notified by a method such as prohibiting normal access to the block.

【0056】以上の各点を考慮し、電源投入時にはコン
トローラ11は図9のフローチャートで示す手順でデー
タ信頼性判断処理を実行する。すなわち、電源投入がな
されると、コントローラ11は、まず、ディスク装置1
2のコントロールエリア123を読み出し(ステップS
201)、WBC許可フラグがセットされているか否か
を調べる(ステップS202)。WBC許可フラグがセ
ットされていたならば、停電発生前にライトバックキャ
ッシュ機能が使用されていたことになるので、コントロ
ーラ11は、図8に示すようなSRAMカード112の
コントロール情報格納エリアの内容を読み出し(ステッ
プS203)、SRAMカード112とディスク装置1
2との間でWBC許可フラグとディスクシリアル番号そ
れぞれについての一致の有無を調べる(ステップS20
4)。これらが共に一致すれば、コントローラ11は、
電源断中にSRAMカード112が交換されておらず正
しいSRAMカードが装着されていると認識し、次に、
CRITICフラグがセットされているか否かを調べ、
SRAMカード112に記録されているクリティカルデ
ータが書き換え途中であったか否かを判断する(ステッ
プS205)。
In consideration of the above points, when the power is turned on, the controller 11 executes the data reliability determination processing according to the procedure shown in the flowchart of FIG. That is, when the power is turned on, the controller 11 first sets the disk device 1
2 is read out (step S).
201), it is checked whether the WBC permission flag is set (step S202). If the WBC permission flag is set, it means that the write-back cache function was used before the power failure occurred, and the controller 11 stores the contents of the control information storage area of the SRAM card 112 as shown in FIG. Read (step S203), SRAM card 112 and disk device 1
2 is checked for a match between the WBC permission flag and the disk serial number (step S20).
4). If they match, the controller 11
It recognizes that the SRAM card 112 has not been replaced while the power is off, and that the correct SRAM card is installed,
Check whether the CRITIC flag is set,
It is determined whether or not the critical data recorded on the SRAM card 112 was being rewritten (step S205).

【0057】書き換え途中でなかった場合には、今度
は、コントローラ11は、パリティデータをチェックし
てキャッシュディレクトリ情報114が正しいか否かを
調べ(ステップS206)、正しいならば、DMA転送
中キャッシュブロック以外のキャッシュブロックそれぞ
れについてチェックコードによる正当性検査を行う(ス
テップS207)。
If the rewriting is not in progress, the controller 11 checks the parity data to determine whether the cache directory information 114 is correct (step S206). A validity check is performed using a check code for each of the other cache blocks (step S207).

【0058】以上のチェックで異常が発見されない場合
は、ライトバックキャッシュデータが正常と判断できる
ので、SRAMカード112およびディスクバックアッ
プエリア122上の全てのデータを本来のディスクアド
レスに書き込む(ステップS208)。そして、ディス
ク装置12およびSRAMカード112のWBC許可フ
ラグをリセットすると共に、キャッシュディレクトリ情
報を初期化する(ステップS209)。
If no abnormality is found in the above check, it can be determined that the write-back cache data is normal, so that all data on the SRAM card 112 and the disk backup area 122 are written to the original disk address (step S208). Then, the WBC permission flags of the disk device 12 and the SRAM card 112 are reset, and the cache directory information is initialized (step S209).

【0059】この後、ホストからライトバックキャッシ
ュ許可コマンドが発行された場合は、SRAMカード1
12が実装されているか否かが調べられ(ステップS2
10〜S212)、実装されている場合には、まずSR
AMカード112のコントロール情報格納エリアに対し
てディスクシリアル番号の書き込みとWBC許可フラグ
のセットが行われ、次いで、ディスクのコントロールエ
リアにもディスクシリアル番号の書き込みとWBC許可
フラグのセットが行われる(ステップS213,S21
4)。
Thereafter, when the host issues a write-back cache permission command, the SRAM card 1
It is checked whether or not No. 12 is mounted (step S2).
10 to S212), if implemented, first SR
The writing of the disk serial number and the setting of the WBC permission flag are performed on the control information storage area of the AM card 112, and then the writing of the disk serial number and the setting of the WBC permission flag are also performed on the control area of the disk (step). S213, S21
4).

【0060】ホストからライトバックキャッシュ禁止コ
マンドが発行された場合は、全てのライトバックキャッ
シュデータをディスクに書き込んでから、SRAMカー
ド112およびディスクコントロールエリア123のW
BC許可フラグをリセットする(ステップS215〜S
218)。
When the host issues a write-back cache prohibition command, all write-back cache data is written to the disk, and then the SRAM card 112 and the W of the disk control area 123 are written.
The BC permission flag is reset (steps S215 to S215).
218).

【0061】図10には、ライトバックキャッシュデー
タ、およびライトバックキャッシュディレクトリ、コン
トロールデータなどのクリティカルなデータを書き換え
る時の処理フローが示されている。
FIG. 10 shows a processing flow when rewriting critical data such as write-back cache data, a write-back cache directory, and control data.

【0062】ライトバックキャッシュコマンドの実行、
またはディスクライトコマンドの実行、またはライトバ
ックキャッシュデータのデステージング処理などで、ラ
イトバックキャッシュデータを含むキャッシュブロック
のキャッシュディレクトリ情報114を書き換える必要
があること、またはライトバックキャッシュ関係のクリ
ティカルなデータを書き換える必要があることが検出さ
れると(ステップS301)、以下のようにキャッシュ
ディレクトリのパリティデータを作成し、またSRAM
カードのコントロールエリアに格納されているCRIT
ICフラグおよびDMA転送中フラグの書換が行われ
る。
Execution of a write-back cache command,
Alternatively, it is necessary to rewrite the cache directory information 114 of the cache block including the write-back cache data by executing a disk write command or destaging the write-back cache data, or rewrite critical data related to the write-back cache. When it is detected that the data is necessary (step S301), the parity data of the cache directory is created as follows, and the SRAM
CRIT stored in the control area of the card
The IC flag and the DMA transfer flag are rewritten.

【0063】パリティビットの付加は、キャッシュディ
レクトリのデータを右に1ビットづつシフトしながら最
下位ビットの排他的論理和をとり、全てのビットの排他
的論理和の結果とパリティチェック用にリザーブされた
ビットとの排他的論理和を取って格納することにより行
われ(ステップS302〜S307)、これによりキャ
ッシュディレクトリの全てのビットの排他的論理和の結
果を0とすることができる。付加されたパリティデータ
は、コントローラ11が電源投入時にキャッシュディレ
クトリのパリティをチェックして、0でなければディス
クデータへの通常のアクセスを禁止するなどの方法でホ
ストに通知したり、キャッシュディレクトリのデータを
書き込んだ直後に読み出すことで書き込み時にデータ化
けが起きてないことの確認などに利用される。
The parity bit is added by taking the exclusive OR of the least significant bit while shifting the data of the cache directory one bit to the right, and reserves the result of the exclusive OR of all the bits and the parity check. This is performed by taking and storing the exclusive OR with the bit (steps S302 to S307), whereby the result of the exclusive OR of all the bits in the cache directory can be set to 0. The controller 11 checks the parity of the cache directory when the controller 11 is turned on. If the parity data is not 0, the controller 11 notifies the host of the added parity data by, for example, prohibiting normal access to the disk data. By reading immediately after writing, it is used to confirm that data corruption has not occurred at the time of writing.

【0064】次にキャッシュディレクトリおよびSRA
Mカードのコントロール情報格納エリアのクリティカル
データなどを書き換える前にCRITICフラグをセッ
トした後に、それらのデータを書き換え、書換が終了し
たときにそのデータを読み出して正当性をチェックした
後に、CRITICフラグをリセットする(ステップS
308〜S311)。
Next, the cache directory and the SRA
Set the CRITIC flag before rewriting critical data in the control information storage area of the M card, rewrite those data, read the data when rewriting is completed, check the validity, and then reset the CRITIC flag (Step S
308-S311).

【0065】DMA転送を開始する時には、データの転
送を行うキャッシュブロックの番号をSRAMカード1
12のコントロール情報格納エリアに格納し、DMA転
送が終了した時に、そのキャッシュブロック番号を無効
化する(ステップS312〜S315)。
When starting the DMA transfer, the number of the cache block in which data is to be transferred is set to the SRAM card 1
12 and the cache block number is invalidated when the DMA transfer is completed (steps S312 to S315).

【0066】次に、図11のフローチャートを参照し
て、データ正常性検出処理の第2の例について説明す
る。ここでは、ライトキャッシュデータやライトキャッ
シュディレクトリに付加されたチェックコードを用い
て、通常動作時にもホストからの命令を実行していない
時は正常性チェックが行われ、また、SRAMカード1
12の機能として電池切れが報告もされるようになって
おり、それも故障検出の対象となる。
Next, a second example of the data normality detection processing will be described with reference to the flowchart of FIG. Here, the normality check is performed using the write cache data and the check code added to the write cache directory when no command from the host is executed even during the normal operation.
As a function of No. 12, a battery exhaustion is also reported, which is also a target of failure detection.

【0067】図11の正常性チェックは一定の周期でコ
ントローラ11によって実行されるものであり、動作時
にSRAMカード112の電池切れまたはチェックコー
ドエラーが検出された場合には、その後のコマンドのラ
イトバックキャッシュ機能を禁止して、キャッシュメモ
リ111上のデータをディスク装置12に書き込み、そ
してWBC許可フラグのリセットが行われる(ステップ
S401〜S405)。このように、電源バックアップ
されていないキャッシュメモリ111のライトバックキ
ャッシュデータをディスク12に書き込むことにより、
ライトバックキャッシュデータを失わずに済む。また電
源バックアップされていないキャッシュメモリ111に
は通常ECCコードが付加されているので、読み出しを
行うだけでエラーを検出できる。そこでエラーが検出さ
れた場合は、今度は、SRAMカード112およびディ
スクバックアップエリア123からライトキャッシュデ
ータをディスク12に書き込まれる(ステップS406
〜S409)。
The normality check shown in FIG. 11 is executed by the controller 11 at regular intervals. If the battery of the SRAM card 112 runs out or a check code error is detected during operation, the subsequent command write-back is performed. The cache function is prohibited, the data in the cache memory 111 is written to the disk device 12, and the WBC permission flag is reset (steps S401 to S405). In this way, by writing the write-back cache data of the cache memory 111 that is not backed up to the power to the disk 12,
No need to lose write-back cache data. Further, since an ECC code is usually added to the cache memory 111 that is not backed up by a power supply, an error can be detected only by reading. If an error is detected, write cache data is written from the SRAM card 112 and the disk backup area 123 to the disk 12 (step S406).
To S409).

【0068】このようにライトバックキャッシュデータ
の二重化と、動作時のライトバックキャッシュデータの
正常性チェックを組み合わせることにより、メモリ故障
やメモリ上でのデータ消失が発生した場合でも正常なデ
ータをディスクに書き込むことが可能となる。
As described above, by combining the duplication of the write-back cache data and the normality check of the write-back cache data during operation, even if a memory failure or data loss occurs in the memory, normal data can be transferred to the disk. It becomes possible to write.

【0069】これにより、システム動作中にキャッシュ
メモリ111やSRAMカード112に故障が発生した
場合でも、ライトバックキャッシュデータが失われずに
全てディスク12に書き込むことができる。
As a result, even if a failure occurs in the cache memory 111 or the SRAM card 112 during the operation of the system, all the write-back cache data can be written to the disk 12 without loss.

【0070】[0070]

【発明の効果】以上説明したように、この発明によれ
ば、ライトバックキャッシュのデータを保持するための
専用のバッテリを設けることなく簡単な構成でライトバ
ックキャッシュのデータをバックアップできるように
し、またデータ正常性の判断機能を追加したため、廉価
で且つ十分に信頼性の高いディスク制御装置を実現でき
る。
As described above, according to the present invention, the data in the write-back cache can be backed up with a simple configuration without providing a dedicated battery for holding the data in the write-back cache. Since the function of determining data normality is added, a low-cost and sufficiently reliable disk controller can be realized.

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

【図1】この発明の一実施形態に係るディスク制御装置
の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a disk control device according to an embodiment of the present invention.

【図2】同実施形態におけるライトバックキャッシュデ
ータのバックアップ動作を説明するフローチャート。
FIG. 2 is an exemplary flowchart illustrating a backup operation of write-back cache data in the embodiment.

【図3】同実施形態における停電復旧時のデータ復元動
作を説明するための図。
FIG. 3 is an exemplary view for explaining a data restoration operation at the time of restoration from a power failure in the embodiment.

【図4】同実施形態で使用される管理テーブルの構造の
一例を示す図。
FIG. 4 is an exemplary view showing an example of the structure of a management table used in the embodiment.

【図5】同実施形態で使用されるキャッシュディレクト
リエントリのデータ構造の一例を示す図。
FIG. 5 is an exemplary view showing an example of a data structure of a cache directory entry used in the embodiment.

【図6】同実施形態で使用されるバンク管理テーブルの
データ構造の一例を示す図。
FIG. 6 is an exemplary view showing an example of a data structure of a bank management table used in the embodiment.

【図7】同実施形態で使用されるディスクコントロール
エリアの情報を一例を示す図。
FIG. 7 is an exemplary view showing an example of information of a disc control area used in the embodiment.

【図8】同実施形態で使用されるSRAMカードに記録
される制御情報の一例を示す図。
FIG. 8 is an exemplary view showing an example of control information recorded on an SRAM card used in the embodiment.

【図9】同実施形態のディスク制御装置によって実行さ
れるデータ正常性判断処理の手順を示すフローチャー
ト。
FIG. 9 is an exemplary flowchart showing the procedure of data normality determination processing executed by the disk control device of the embodiment.

【図10】同実施形態のディスク制御装置によって実行
されるライトバックキャッシュデータなどの書き換え処
理の手順を示すフローチャート。
FIG. 10 is an exemplary flowchart illustrating the procedure of rewriting processing of write-back cache data and the like executed by the disk control device of the embodiment.

【図11】同実施形態のディスク制御装置によって実行
されるデータ正常性判断処理の別の手順を示すフローチ
ャート。
FIG. 11 is an exemplary flowchart showing another procedure of the data normality determination process executed by the disk control device of the embodiment.

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

11…ディスクコントローラ、12…ディスク装置、1
11…キャッシュメモリ、112…SRAMカード、1
13…コントロール情報、114…キャッシュディレク
トリ情報。
11 disk controller, 12 disk device, 1
11: cache memory, 112: SRAM card, 1
13 ... control information, 114 ... cache directory information.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 12/08 320 G06F 1/00 341N ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI G06F 12/08 320 G06F 1/00 341N

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ライトバックキャッシュを有し、ホスト
システムからのアクセス要求に応じてディスク装置を制
御するディスク制御装置において、 前記ライトバックキャッシュよりもデータ記憶容量が少
ない不揮発性メモリから構成され、前記ライトバックキ
ャッシュのキャッシュディレクトリ情報と、前記ホスト
システムから前記ライトバックキャッシュに書き込まれ
るライトデータとが書き込まれるバックアップメモリ
と、 このバックアップメモリに空きエリアを確保するため
に、前記不揮発性メモリに書き込まれているライトデー
タそれぞれを、前記ディスク装置上の所定の連続したデ
ータ記憶領域から構成されるバックアップエリアに一括
転送する手段と、 停電からの復旧時に、前記バックアップメモリおよび前
記ディスク装置上のバックアップエリアの内容を用い
て、前記ライトバックキャッシュから消失し且つ前記デ
ィスク装置に未反映のライトデータを復元する手段とを
具備することを特徴とするディスク制御装置。
1. A disk control device having a write-back cache and controlling a disk device in response to an access request from a host system, comprising: a nonvolatile memory having a smaller data storage capacity than the write-back cache; A backup memory in which cache directory information of a write-back cache and write data written from the host system to the write-back cache are written; and in order to secure an empty area in the backup memory, the backup memory is written in the nonvolatile memory. Means for batch-transferring write data to each other to a backup area composed of a predetermined continuous data storage area on the disk device; and, upon recovery from a power failure, the backup memory and the disk device. Means for restoring write data that has disappeared from the write-back cache and has not been reflected in the disk device using the contents of the backup area.
【請求項2】 前記バックアップメモリは前記ディスク
制御装置に取り外し自在に装着可能なメモリカードから
構成されていることを特徴とする請求項1記載のディス
ク制御装置。
2. The disk control device according to claim 1, wherein said backup memory comprises a memory card which can be removably mounted on said disk control device.
【請求項3】 前記ライトバックキャッシュを使用した
書き込み動作が許可されているか否かを示すフラグ情報
と前記ディスク固有の識別情報とを、前記ディスク装置
と前記メモリカードの双方に格納する手段と、 前記停電からの復旧時に、前記メモリカードと前記ディ
スク装置との間で前記フラグ情報および識別情報を照合
して、正しいメモリカードが装着されているか否かを判
別する手段とをさらに具備することを特徴とする請求項
2記載のディスク制御装置。
3. A means for storing flag information indicating whether or not a write operation using the write-back cache is permitted and identification information unique to the disk in both the disk device and the memory card. Means for comparing the flag information and the identification information between the memory card and the disk device at the time of recovery from the power failure to determine whether or not a correct memory card is mounted. 3. The disk control device according to claim 2, wherein:
【請求項4】 前記メモリカードの各種制御情報の書き
換えに先立って、書き換え開始を示すフラグを前記メモ
リカードに書き込み、書き換え終了時に前記フラグをリ
セットする手段と、 前記停電からの復旧時に、前記フラグの状態に基づい
て、前記ライトバックキャッシュから消失し且つ前記デ
ィスク装置に未反映のライトデータを前記メモリカード
を用いて正しく復元できるか否かを判別する手段とをさ
らに具備することを特徴とする請求項2記載のディスク
制御装置。
4. A means for writing a flag indicating the start of rewriting to the memory card prior to rewriting various control information of the memory card, and resetting the flag at the end of rewriting; Means for judging whether write data that has disappeared from the write-back cache and has not been reflected in the disk device can be correctly restored using the memory card, based on the state of The disk control device according to claim 2.
【請求項5】 前記メモリカードに書き込まれるキャッ
シュディレクトリ情報にエラー検出符号を付加する手段
と、 前記停電からの復旧時に、前記エラー検出符号によって
前記キャッシュディレクトリ情報のエラー検出を行い、
前記ライトバックキャッシュから消失し且つ前記ディス
ク装置に未反映のライトデータを前記メモリカードを用
いて正しく復元できるか否かを判別する手段とをさらに
具備することを特徴とする請求項2記載のディスク制御
装置。
5. A means for adding an error detection code to the cache directory information written in the memory card, and performing error detection of the cache directory information by the error detection code upon recovery from the power failure,
3. The disk according to claim 2, further comprising: means for determining whether write data lost from the write-back cache and not reflected on the disk device can be correctly restored using the memory card. Control device.
【請求項6】 前記ホストシステムから前記ディスク制
御装置へのライトデータ転送に先立ってその転送される
キャッシュブロック番号を前記メモリカードに書き込
み、転送終了時に前記キャッシュブロック番号を無効化
する手段と、 前記停電からの復旧時に、前記キャッシュブロック番号
で指定されるデータ転送中であったデータ以外のデータ
について前記エラー検出符号を用いたエラー検出を行う
手段とをさらに具備することを特徴とする請求項2記載
のディスク制御装置。
6. A means for writing a cache block number to be transferred to the memory card prior to write data transfer from the host system to the disk control device, and invalidating the cache block number at the end of transfer. 3. The apparatus according to claim 2, further comprising: means for performing error detection using the error detection code for data other than the data being transferred by the data specified by the cache block number at the time of recovery from the power failure. The disk control device according to the above.
【請求項7】 ライトバックキャッシュを有し、ホスト
システムからのアクセス要求に応じてディスク装置を制
御するディスク制御装置において、 電池によりバックアップされたメモリカードから構成さ
れ、前記ライトバックキャッシュのライトデータの一部
をバックアップするバックアップメモリであって、前記
ホストシステムから前記ライトバックキャッシュに書き
込まれるライトデータが書き込まれるバックアップメモ
リと、 前記ライトバックキャッシュおよび前記メモリカードそ
れぞれに書き込まれるライトデータにエラー検出符号を
付加する手段と、 動作中に前記ライトバックキャッシュおよび前記メモリ
カードそれぞれのエラー検出符号を検査して、前記ライ
トバックキャッシュおよび前記メモリカードの動作状態
を監視するエラーチェック手段と、 前記メモリカードの電池切れを検出するバッテリチェッ
ク手段とを具備し、 前記エラーチェック手段および前記バッテリチェック手
段によって前記ライトバックキャッシュおよび前記メモ
リカードの一方の異常発生が検出されたとき、他方に格
納されているライトデータを前記ディスク装置に書き込
むことを特徴とするディスク制御装置。
7. A disk control device having a write-back cache and controlling a disk device in response to an access request from a host system, comprising: a memory card backed up by a battery; A backup memory for backing up a part of the memory, in which write data to be written from the host system to the write-back cache is written; Adding means for checking error detection codes of the write-back cache and the memory card during operation to monitor operation states of the write-back cache and the memory card. Error check means, and a battery check means for detecting battery exhaustion of the memory card, and when the error check means and the battery check means detect an abnormality in one of the write-back cache and the memory card. A disk control device for writing write data stored in the other disk device to the disk device.
JP8320294A 1996-11-29 1996-11-29 Disk controller Pending JPH10161938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8320294A JPH10161938A (en) 1996-11-29 1996-11-29 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8320294A JPH10161938A (en) 1996-11-29 1996-11-29 Disk controller

Publications (1)

Publication Number Publication Date
JPH10161938A true JPH10161938A (en) 1998-06-19

Family

ID=18119907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8320294A Pending JPH10161938A (en) 1996-11-29 1996-11-29 Disk controller

Country Status (1)

Country Link
JP (1) JPH10161938A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464788B1 (en) * 2002-11-04 2005-01-05 노윤호 apparatus and method for high-speed storage
JP2006134149A (en) * 2004-11-08 2006-05-25 Fujitsu Ltd Disk array device and recovery method for its data and data recovery program
EP1699053A1 (en) * 2005-03-02 2006-09-06 Funai Electric Co., Ltd. Disk device and control method therefor
JP2008501163A (en) * 2004-03-31 2008-01-17 ジェミニ モバイル テクノロジーズ,インク. Synchronous message queue
KR100816053B1 (en) 2006-11-21 2008-03-21 엠텍비젼 주식회사 Memory device, memory system and dual port memory device with self-copy function
JP2008269221A (en) * 2007-04-19 2008-11-06 Fujitsu Ltd Disk array device
JP2010262621A (en) * 2009-04-29 2010-11-18 Micro-Star Internatl Co Ltd Computer system with power supply control, and power supply control method
US8074017B2 (en) * 2006-08-11 2011-12-06 Intel Corporation On-disk caching for raid systems
JP5158187B2 (en) * 2008-02-28 2013-03-06 富士通株式会社 Storage device, storage control device, and storage control method
JP2013161112A (en) * 2012-02-01 2013-08-19 Nec Corp Information processor, controller, and information processing method
JP2015035247A (en) * 2013-08-07 2015-02-19 シーゲイト テクノロジー エルエルシー Method, apparatus and system for torn write mitigation
JP2018022404A (en) * 2016-08-05 2018-02-08 富士通株式会社 Storage system, storage control device, and storage control program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464788B1 (en) * 2002-11-04 2005-01-05 노윤호 apparatus and method for high-speed storage
JP2008501163A (en) * 2004-03-31 2008-01-17 ジェミニ モバイル テクノロジーズ,インク. Synchronous message queue
JP2006134149A (en) * 2004-11-08 2006-05-25 Fujitsu Ltd Disk array device and recovery method for its data and data recovery program
JP4491330B2 (en) * 2004-11-08 2010-06-30 富士通株式会社 Disk array device, data recovery method and data recovery program
US7616870B2 (en) 2005-03-02 2009-11-10 Funai Electric Co., Ltd. Disk device and control method therefor
EP1699053A1 (en) * 2005-03-02 2006-09-06 Funai Electric Co., Ltd. Disk device and control method therefor
US8074017B2 (en) * 2006-08-11 2011-12-06 Intel Corporation On-disk caching for raid systems
KR100816053B1 (en) 2006-11-21 2008-03-21 엠텍비젼 주식회사 Memory device, memory system and dual port memory device with self-copy function
WO2008063010A1 (en) * 2006-11-21 2008-05-29 Mtek Vision Co., Ltd. Memory device, memory system and dual port memory device with self-copy function
US8122186B2 (en) 2006-11-21 2012-02-21 Mtekvision Co., Ltd. Memory device, memory system and dual port memory device with self-copy function
JP2008269221A (en) * 2007-04-19 2008-11-06 Fujitsu Ltd Disk array device
JP5158187B2 (en) * 2008-02-28 2013-03-06 富士通株式会社 Storage device, storage control device, and storage control method
US8832355B2 (en) 2008-02-28 2014-09-09 Fujitsu Limited Storage device, storage controlling device, and storage controlling method
JP2010262621A (en) * 2009-04-29 2010-11-18 Micro-Star Internatl Co Ltd Computer system with power supply control, and power supply control method
JP2013161112A (en) * 2012-02-01 2013-08-19 Nec Corp Information processor, controller, and information processing method
JP2015035247A (en) * 2013-08-07 2015-02-19 シーゲイト テクノロジー エルエルシー Method, apparatus and system for torn write mitigation
JP2018022404A (en) * 2016-08-05 2018-02-08 富士通株式会社 Storage system, storage control device, and storage control program

Similar Documents

Publication Publication Date Title
US5353430A (en) Method of operating a cache system including determining an elapsed time or amount of data written to cache prior to writing to main storage
US6205521B1 (en) Inclusion map for accelerated cache flush
US7111134B2 (en) Subsystem and subsystem processing method
KR0128218B1 (en) Nonvolatile memory with flash erase capability
US5519831A (en) Non-volatile disk cache
US8621144B2 (en) Accelerated resume from hibernation in a cached disk system
JPH07146820A (en) Control method for flash memory and information processor using the same
US20060129763A1 (en) Virtual cache for disk cache insertion and eviction policies and recovery from device errors
JPH037978B2 (en)
JP2004021811A (en) Disk controller using nonvolatile memory
JPH0750558B2 (en) Batch erasable non-volatile memory
JP2004021811A5 (en)
JP3472008B2 (en) Flash memory management method
JPH10161938A (en) Disk controller
US20030131277A1 (en) Soft error recovery in microprocessor cache memories
JP7318367B2 (en) Storage control device and storage control program
JP2010152747A (en) Storage system, cache control method and cache control program for storage
JP3192664B2 (en) Cache memory system and cache memory controller
JP2006099802A (en) Storage controller, and control method for cache memory
JP2007058873A (en) Device control device using nonvolatile memory
US7062611B2 (en) Dirty data protection for cache memories
JP2701703B2 (en) Cache memory
JP3923563B2 (en) Disk cache system and disk cache method
JP2003122644A (en) Computer and its storage device
EP0128353A2 (en) Error recovery of non-store-through cache