[go: up one dir, main page]

JP4131953B2 - File control unit - Google Patents

File control unit Download PDF

Info

Publication number
JP4131953B2
JP4131953B2 JP2004000312A JP2004000312A JP4131953B2 JP 4131953 B2 JP4131953 B2 JP 4131953B2 JP 2004000312 A JP2004000312 A JP 2004000312A JP 2004000312 A JP2004000312 A JP 2004000312A JP 4131953 B2 JP4131953 B2 JP 4131953B2
Authority
JP
Japan
Prior art keywords
track
information
address
read
home address
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
JP2004000312A
Other languages
Japanese (ja)
Other versions
JP2004158029A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2004000312A priority Critical patent/JP4131953B2/en
Publication of JP2004158029A publication Critical patent/JP2004158029A/en
Application granted granted Critical
Publication of JP4131953B2 publication Critical patent/JP4131953B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

本発明は、上位装置とであるチャネル転送と直接アクセス記憶装置(DASD)との転送の経路が、時間的に独立に動作する非同期転送を行うディスク制御装置等のファイル制御装置に関する。   The present invention relates to a file control apparatus such as a disk control apparatus that performs asynchronous transfer in which a transfer path between a channel transfer and a direct access storage device (DASD), which is a host device, operates independently in time.

図7は従来例の説明図であり、図7(a)はCKDフォーマットの説明、図7(b)はFBAトラック上へのCKDトラックのエミュレート方法の説明である。   FIG. 7 is an explanatory diagram of a conventional example, FIG. 7A is a description of a CKD format, and FIG. 7B is a description of a method for emulating a CKD track on an FBA track.

従来、磁気ディスク装置や光ディスク装置等の外部記憶装置である直接アクセス記憶装置(DASD)へのデータの記憶方法は、可変長方式であるCKDフォーマットであり、また、上位装置(OS:オペレーティングシステム)が、DASDへデータを書き込むフォーマットもCKDフォーマットである。   Conventionally, a method for storing data in a direct access storage device (DASD), which is an external storage device such as a magnetic disk device or an optical disk device, is a CKD format that is a variable length method, and a host device (OS: operating system) is used. The format for writing data to DASD is also the CKD format.

図7(a)において、CKDフォーマットのディスクのあるトラックm内には、インデックス(Index)、ホームアドレスHA、レコード(Record)0、レコード1、レコード2、・・・レコードkからなっている。   7A, a track m having a CKD format disc includes an index (Index), a home address HA, a record (Record) 0, a record 1, a record 2,..., A record k.

インデックスは、トラックの起点マーカである。ホームアドレスHAは、トラックの状態等を示すものであり、フラグ(Flag)、トラックアドレス(Track Address:シリンダ番号とヘッド番号)、誤り訂正コード(Error Correction Code:ECC)が設けてある。このフラグ(Flag)はトラックが不良かどうかの使用状態を示し、例えば、2ビットによりなり、対象トラックが正常であれば「00」不良トラックであれば「10」交代トラックであれば「01」とするものである。誤り訂正コードECCはデータチェックのためのものである。   The index is a track origin marker. The home address HA indicates a track state and the like, and is provided with a flag, a track address (Track Address: cylinder number and head number), and an error correction code (Error Correction Code: ECC). This flag (Flag) indicates whether or not the track is defective. For example, the flag (Flag) is composed of 2 bits. If the target track is normal, it is “00”. It is what. The error correction code ECC is for data check.

レコード0は、ユーザの使用できないレコードで、そのカウント部に不良トラックが発生したとき交代トラックのアドレスを記録するものである。レコード1〜レコードkは、ユーザが使用できるレコードであり、それぞれ、カウント部C、キー部K(省略される場合もある)、データ部Dの3つのフィールドがある。このカウント部Cには、これに続くキー部K、データ部Dの長さが入っている。キー部Kには、データ部Dの検索等のための標識であるキーが入っている。データ部Dは、データを記録する部分である。   Record 0 is a record that cannot be used by the user, and records the address of the replacement track when a bad track occurs in the count section. Records 1 to k are records that can be used by the user, and each has three fields: a count part C, a key part K (may be omitted), and a data part D. The count part C contains the lengths of the key part K and the data part D that follow it. The key part K contains a key which is an indicator for searching the data part D. The data part D is a part for recording data.

しかし、近年、可変長方式であるCKDフォーマットのDASDから、実記憶媒体を固定長方式であるFBAフォーマットのDASDに変更し、冗長情報を付加して信頼性を向上するレイド(RAID)技術を使用する傾向が高まっている。   However, in recent years, the RAID (RAID) technology has been used to improve reliability by adding redundant information by changing the actual storage medium from DASD in the CKD format, which is a variable length method, to DASD in the FBA format, which is a fixed length method. The tendency to do is increasing.

この場合、上位装置(OS)の発行するフォーマットと実DASDのフォーマットが異なるため、ファイル制御装置(以下、「FCU〕という)が、FBAフォーマットDASD上に、CKDフォーマットをエミュレート(変換)する技術(Ckd On Fba=COF)が広まってきている。このCOF技術を用いる場合、CKDフォーマットのトラックを、FBAフォーマットの実DASD上に図7(b)のようにエミュレートする。   In this case, since the format issued by the host device (OS) is different from the actual DASD format, the file control device (hereinafter referred to as “FCU”) emulates (converts) the CKD format on the FBA format DASD. (Ckd On Fba = COF) is spreading.When this COF technology is used, a track in the CKD format is emulated on an actual DASD in the FBA format as shown in FIG.

図7(b)において、上図はFBAフォーマットの1トラックを示し、この例では、ブロックn、ブロックn+1、ブロックn+2、ブロックn+3、ブロックn+4、ブロックn+5・・・ブロックn+84まである。この1ブロックには、CKDフォーマットのレコードが0から最大で8まで含むことができる。   7B, the upper diagram shows one track of the FBA format, and in this example, there are block n, block n + 1, block n + 2, block n + 3, block n + 4, block n + 5... Block n + 84. One block can contain 0 to a maximum of 8 records in the CKD format.

例えば、FBAフォーマットのブロックn〜ブロックn+15(16ブロック分)をCKDフォーマットの1トラックが使用すると、図7(b)の上図は同下図のように見かけ上見える。即ち、FBAフォーマットの1トラックではエミュレートしたCKDフォーマットのトラックがトラックm(FBAブロックn〜n+15)、トラックm+1(FBAブロックn+16〜n+31)、トラックm+2(FBAブロックn+32〜n+47)、トラックm+3(FBAブロックn+48〜n+63)、トラックm+4(FBAブロックn+64〜n+79)と約5トラック分となる。   For example, when one track in the CKD format uses the block n to the block n + 15 (16 blocks) in the FBA format, the upper diagram in FIG. 7B looks as shown in the lower diagram. That is, in one FBA format track, the emulated CKD format tracks are track m (FBA blocks n to n + 15), track m + 1 (FBA blocks n + 16 to n + 31), track m + 2 (FBA blocks n + 32 to n + 47), track m + 3 (FBA). Block n + 48 to n + 63) and track m + 4 (FBA block n + 64 to n + 79), which is about 5 tracks.

さて、従来より、ライト動作においては、その処理を高速化するために、上位装置からのライト要求時には、ライトされるデータをDASDには書き込まず、ファイル制御装置(FCU)内の不揮発性メモリ(NVS=Non Volatile Storage)だけにデータを書き込み、FCUの遊休時間を利用して、DASDへの書き戻しを行う手法(DASDへの高速書き込み機構)が考えられている。   Conventionally, in the write operation, in order to speed up the processing, at the time of a write request from a host device, the data to be written is not written to the DASD, but a non-volatile memory (FCU) in the file control unit (FCU). A method of writing data only to NVS = Non Volatile Storage) and using the FCU idle time to write back to DASD (high-speed writing mechanism to DASD) is considered.

更に、この手法を改良した、NVSからDASDへのデータの書き戻しの手法としては、連続した複数トラックを1イベントでDASDへ書き戻す手法(マルチトラック・デステージ)が考えられている。   Further, as a method of writing back data from NVS to DASD, which is an improvement of this method, a method of writing back a plurality of continuous tracks to DASD in one event (multitrack destage) is considered.

しかし、COF技術を用いたファイル・サブシステムにおいては、連続したトラックのデステージが、必ずしも性能向上を期待できない。なぜならば、CKDフォーマットの連続した2トラックは、FBAフォーマット上では、隣接したブロックとなり、CKDフォーマットの1トラック処理を基本とするFCUでは、当該トラックの書き戻し後、後処理をしている間に、続くトラックの先頭部分が通りすぎ、一回転待ちを発生させるからである。   However, in a file subsystem using the COF technology, destaging of continuous tracks cannot always expect an improvement in performance. This is because two consecutive tracks in the CKD format become adjacent blocks in the FBA format, and in the FCU based on the one-track processing in the CKD format, after the track is written back, the post-processing is performed. This is because the leading portion of the following track passes and generates a waiting for one rotation.

図7を用いて説明すると、例えば、従来のCKDフォーマットDASDを使用した場合、トラックmをデステージした後、トラックm+1のホームアドレスHAにDASDのヘッドが到着するまでの時間は、トラックmのレコードkの処理が終了した後、ヘッドがインデックスを通過し、更にトラックm+1のホームアドレスHA部に位置付くまでの時間であり、比較的余裕があった。   Referring to FIG. 7, for example, when the conventional CKD format DASD is used, the time from the destaging of the track m to the arrival of the head of the DASD at the home address HA of the track m + 1 is the record of the track m. This is the time from when the processing of k is completed until the head passes the index and is further positioned at the home address HA portion of the track m + 1.

しかしながら、COF技術を用いた場合、トラックmの処理が終了してから、トラックm+1の処理を開始するまでには、ブロック間ギャップG分の時間しか与えられない。論理的に、この時間だけではFCUがエラーチェック等のトラックの終了処理と、続くトラックの開始処理を完結できない。このため、ヘッドは、ディスクが一回転して再びトラックm+1(FBAフォーマットではブロックn+16)の先頭に位置付くのを待つことになる。   However, when the COF technique is used, only the time corresponding to the inter-block gap G is given from the end of the process of the track m to the start of the process of the track m + 1. Logically, the FCU cannot complete the track end processing such as error check and the subsequent track start processing only by this time. For this reason, the head waits for the disk to make one revolution and to be positioned at the beginning of the track m + 1 (block n + 16 in the FBA format) again.

また、一般に、上位装置からのリード命令であるリードコマンド(Read Command)全般に対する応答は、対象データがキャッシュメモリ上に格納されていれば、キャッシュメモリから読み出して応答し、対象データがキャッシュメモリ上に格納されていなければ、実DASDへのアクセスが発生し、DASDへのヘッドの位置付け、回転待ちのための時間が費やされていた。   In general, a response to a read command (Read Command) that is a read command from a host device is read out from the cache memory if the target data is stored in the cache memory, and the target data is stored in the cache memory. Otherwise, access to the actual DASD occurred, and the time for positioning the head to the DASD and waiting for rotation was spent.

上記従来のものにおいては次のような課題があった。   The above-described conventional devices have the following problems.

(1) 連続してデステージすることによってDASDの回転待ちをなくすための手法であるためのマルチトラックデステージ手法が、COF技術を用いた場合回転待ちが発生し、その機能を果たさなくなるという問題があった。   (1) The problem that the multi-track destaging method, which is a method for eliminating DASD rotation waiting by continuously destaging, causes rotation waiting when COF technology is used, and fails to perform its function. was there.

(2) 上位装置からのリード命令全般に対する応答は、対象データがキャッシュメモリに格納されている場合でもその記憶場所を得るためのハッシュ変換、キャッシュメモリからの読み出し動作を行うための時間が消費され、また、ハード故障等によるアクセスエラーの発生する確率も高くなっていた。   (2) Response to general read commands from the host device consumes time to perform hash conversion to obtain the storage location and read operation from the cache memory even if the target data is stored in the cache memory In addition, the probability of occurrence of an access error due to a hardware failure or the like has increased.

本発明は、上記従来の課題を解決し、DASDへの論理CKDデステージトラックを連続に処理するのではなく、トラックの後処理、前処理を十分行える時間を確保できるようにして、無駄な回転待ちを無くし高速にデステージを行うこと、及び、対象データがキャッシュメモリ上に格納されているかいないかに係わらず、常に高速にホームアドレスを読む命令(Read HA命令)に応答でき、かつ、エラーの発生確率を低くすることを目的とする。   The present invention solves the above-mentioned conventional problems and does not process the logical CKD destage track to DASD continuously, but ensures sufficient time for post-processing and pre-processing of the track, and wasteful rotation. It can respond to an instruction to read the home address at a high speed (Read HA instruction) regardless of whether the target data is stored in the cache memory without waiting, and whether the target data is stored in the cache memory. The purpose is to reduce the probability of occurrence.

本発明は、上記の課題を解決するため次のように構成した。   The present invention is configured as follows to solve the above problems.

図1は本発明の原理説明図であり、図1中、1は上位装置、2はファイル制御装置(FCU)、3は直接アクセス記憶装置(DASD)、20はメモリ部、21はチャネルアダプタ(CA)、22はデバイスアダプタ(DA)、23はキャッシュ管理部(CFE)、24はキャッシュメモリ、25は不揮発性メモリ(NVS)、27は不良交代情報テーブルを示している。   FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, 1 is a host device, 2 is a file control unit (FCU), 3 is a direct access storage device (DASD), 20 is a memory unit, and 21 is a channel adapter (CA). ), 22 is a device adapter (DA), 23 is a cache management unit (CFE), 24 is a cache memory, 25 is a nonvolatile memory (NVS), and 27 is a defective replacement information table.

DASD3を制御するキャッシュメモリ24を持つFCU2において、FCU2の記憶部に不良交代情報テーブル27の格納部と、FCU2に設けたキャッシュ管理部23とを有し、前記キャッシュ管理部23は、電源の投入時、或いはリセット時に、配下の全ての前記DASD3の不良トラック領域を読み出し、各トラックのホームアドレスに格納されているフラグによって、不良交代リンクが作成されているかを判断し、その結果を前記記憶部に不良交代情報テーブル27として前記格納部に格納し、トラックが不良かどうかの使用状態を示すフラグ及びトラックアドレスを含むホームアドレスに対するリード命令を上位装置1から受領した場合、上位装置1から該FCU2に対して発行される各トラックを指定するシーク命令から各トラックのトラックアドレスを取得し、該トラックアドレスに基づいて前記DASD3の前記ホームアドレスから不良トラック情報が読み出せるか確認して前記不良交代情報テーブル27が有効かどうかを判断して前記受領したホームアドレスのリード命令に対するフラグ情報を確定し、前記トラックアドレスと前記フラグ情報に基づいて、前記ホームアドレスのリード命令に対する応答情報を作成するこのため、高速にホームアドレスを読む命令に応答することができる。 In the FCU 2 having the cache memory 24 for controlling the DASD 3, the storage unit of the FCU 2 has a storage unit for the defective replacement information table 27 and a cache management unit 23 provided in the FCU 2, and the cache management unit 23 is turned on. At the time of resetting or at the time of resetting, the bad track areas of all the subordinate DASDs 3 are read out, and it is determined whether or not a defective alternate link has been created by the flag stored in the home address of each track, and the result is stored in the storage unit When the read instruction for the home address including the flag indicating the use state of whether the track is defective and the home address including the track address is received from the higher-level device 1 as the failure change information table 27, the FCU 2 From the seek command to specify each track issued to The track address of the rack is obtained, and based on the track address, whether or not the defective track information can be read from the home address of the DASD 3 is determined to determine whether or not the defective replacement information table 27 is valid, and the received home address Flag information for the read command is determined, and response information for the read command for the home address is created based on the track address and the flag information . Therefore, it is possible to respond to a command for reading the home address at high speed.

また、前記DASD3が固定長方式のアレイディスクであり、FCU2が該アレイディスクで可変長方式をエミュレートしている場合、付加情報を含むホームアドレスのリード命令に対する応答であるトラックの傷情報を標準値に確定し、該傷情報と前記フラグ情報と前記トラックアドレスとから、付加情報を含むホームアドレスのリード命令に対する応答情報を作成する。このため、前記不良交代情報テーブル27が有効の場合の付加情報を含むホームアドレスのリード命令に対する応答を、キャッシュメモリ等へアクセスせず高速に行うことができ、エラーの発生確率も低くすることができる。   Also, when the DASD 3 is a fixed-length array disk and the FCU 2 emulates a variable-length system with the array disk, the track flaw information that is a response to the read command of the home address including additional information is standardized. Based on the flaw information, the flag information, and the track address, response information for a home address read command including additional information is created. For this reason, a response to the read instruction of the home address including the additional information when the defect replacement information table 27 is valid can be performed at high speed without accessing the cache memory or the like, and the error occurrence probability can be lowered. it can.

本発明によれば次のような効果がある。   The present invention has the following effects.

(1)FCUは、電源の投入時、或いはリセット時に、配下の全てのDASD3の不良トラック領域を読み出し、各トラックのホームアドレス部に格納されているフラグによって、不良交代リンクが作成されているか判断し、その結果を記憶部に不良交代情報テーブルとして格納し、ホームアドレスのリード命令を受領した場合、前記不良交代情報テーブルが有効かどうかを判断するため、無効な不良交代情報テーブルの情報で応答することを防止できる。   (1) When the power is turned on or reset, the FCU reads out the defective track areas of all the subordinate DASDs 3 and determines whether a defective replacement link has been created based on the flag stored in the home address portion of each track. The result is stored in the storage unit as a defective replacement information table, and when a home address read command is received, a response is received with invalid defective replacement information table information to determine whether the defective replacement information table is valid. Can be prevented.

(2)FCUが、不良交代情報テーブルを無効と判断した場合は、対象のホームアドレスが、キャッシュメモリ上に存在すれば前記キャッシュメモリから、存在しなければDASD3から読み出して情報を転送し、不良交代情報テーブルが有効の場合は、不良交代情報テーブル内の不良交代リンク情報を参照し、受領したホームアドレスのリード命令に対する応答の一部であるフラグ情報を確定するため、不良交代情報テーブル27が無効の場合にもフラグ情報の応答ができ、有効の場合はフラグ情報の作成を高速に行うことが出来る。   (2) When the FCU determines that the defective replacement information table is invalid, the information is transferred from the cache memory if the target home address exists on the cache memory, and is read from the DASD 3 if it does not exist. When the replacement information table is valid, the failure replacement information table 27 is referred to by referring to the failure replacement link information in the failure replacement information table and determining flag information which is a part of the response to the read instruction of the received home address. When invalid, flag information can be returned, and when valid, flag information can be created at high speed.

(3)確定したフラグ情報と、既に受領しているシークアドレスを使用したホームアドレスのリード命令に対する応答の一部であるトラックアドレスとから、ホームアドレスのリード命令に対する完全な応答情報を作成するため、不良交代情報テーブルが有効の場合のホームアドレスのリード命令に対する応答を高速に行うことが出来る。   (3) To create complete response information for the home address read command from the confirmed flag information and the track address that is part of the response to the home address read command using the already received seek address. In addition, when the defective replacement information table is valid, a response to the read instruction of the home address can be performed at high speed.

(4)FCUがアレイディスクで可変長方式をエミュレートしている場合、付加情報を含むホームアドレスのリード命令に対する応答の一部であるトラックの傷情報を標準値に確定し、該傷情報とフラグ情報とトラックアドレスとから、完全な付加情報を含むホームアドレスのリード命令に対する応答情報を作成するため、不良交代情報テーブルが有効の場合の付加情報を含むホームアドレスのリード命令に対する応答を、キャッシュメモリ等へアクセスせず高速に行うことができ、エラーの発生確率も低くすることができる。   (4) When the FCU emulates a variable length method with an array disk, the track flaw information that is a part of the response to the read command of the home address including the additional information is fixed to a standard value, and the flaw information In order to create response information for the home address read command including complete additional information from the flag information and the track address, the response to the home address read command including the additional information when the defective replacement information table is valid is cached. It can be performed at high speed without accessing the memory or the like, and the error occurrence probability can be reduced.

図2、図3は本発明の第1実施例、図4〜図6は本発明の第2実施例を示した図である。以下、本発明の実施例を図面に基づいて説明する。   2 and 3 show the first embodiment of the present invention, and FIGS. 4 to 6 show the second embodiment of the present invention. Embodiments of the present invention will be described below with reference to the drawings.

〔第1実施例の説明〕
1):ファイル制御装置(FCU)の説明
図2はファイル制御装置の説明図であり、ファイル制御装置(FCU)2は、上位装置の指示によりDASD3にデータのリード/ライトを行うものであり、上位装置とはチャネルアダプタ(CA)21で接続され、ディスクアレイ等のDASD3のDASDアダプタ31とはデバイスアダプタ(DA)22で接続されている。また、このFCU2には、ハードデスク(HD)4に接続されたサービスアダプタ(SA)26が設けてある。
[Description of the first embodiment]
1) Description of File Control Unit (FCU) FIG. 2 is an explanatory diagram of the file control unit. The file control unit (FCU) 2 reads / writes data to / from the DASD 3 according to an instruction from the host unit. The host apparatus is connected by a channel adapter (CA) 21, and the DASD adapter 31 of DASD 3 such as a disk array is connected by a device adapter (DA) 22. Further, the FCU 2 is provided with a service adapter (SA) 26 connected to the hard desk (HD) 4.

FCU2内には、チャネルアダプタ21、デバイスアダプタ22、キャッシュ管理部23、キャッシュメモリ24、不揮発性メモリ(NVS)25が設けてある。   In the FCU 2, a channel adapter 21, a device adapter 22, a cache management unit 23, a cache memory 24, and a nonvolatile memory (NVS) 25 are provided.

チャネルアダプタ21は、複数個設けてあり、主として上位装置のチャネルとのインタフェースを司り、デバイスアダプタ22は、DASD3とのインタフェースを制御するものである。キャッシュ管理部23は、キャッシュメモリ24に登録されているトラック等の管理を行うものである。   A plurality of channel adapters 21 are provided, which mainly control the interface with the channel of the host device, and the device adapter 22 controls the interface with the DASD 3. The cache management unit 23 manages tracks and the like registered in the cache memory 24.

キャッシュメモリ24は、DASD3上の命令及びデータの内後で使われる可能性の高いものの写しを保持するバッファ記憶装置である。不揮発性メモリ25は、バッテリバックアップされ、電源断時においてもデータが、喪失しないものである。   The cache memory 24 is a buffer storage device that holds a copy of instructions and data on the DASD 3 that are likely to be used later. The nonvolatile memory 25 is backed up by a battery, and data is not lost even when the power is turned off.

サービスアダプタ26は、ハードデスク4からの情報により、ファイル制御装置の初期設定、ファイル装置のエラー情報の履歴の管理等を行うものである。DASD3は、RAID技術を使用したディスクアレイ等のFBAフォーマット(固定長方式)の記憶装置である。DASDアダプタ31は、FCU2とのインタフェースを司るものである。   The service adapter 26 performs initial setting of the file control device, management of a history of error information of the file device, and the like based on information from the hard disk 4. DASD3 is a storage device of FBA format (fixed length system) such as a disk array using RAID technology. The DASD adapter 31 serves as an interface with the FCU 2.

2):ファイル制御装置の動作説明
FCU2は、上位装置からDASD3へのデータの書き込み指示を受けると、チャネルアダプタ21で上位装置からのCKDフォーマットをFBAフォーマットに変換し、キャッシュメモリ24と不揮発性メモリ25に同時に書き込む高速書き込み処理を行う。
2): Explanation of the operation of the file control device When the FCU 2 receives an instruction to write data to the DASD 3 from the host device, the channel adapter 21 converts the CKD format from the host device into the FBA format, and the cache memory 24 and the nonvolatile memory The high-speed writing process for simultaneously writing to 25 is performed.

キャッシュ管理部23は、不揮発性メモリ25内部に高速書き込み機構で生成されたトラックが存在することを検出すると、全てのトラック中で連続するトラックが存在するか否かを検索する。ここで、キャッシュ管理部23は、連続デステージ可能なトラック間隔を算出し、デステージする先頭トラックと終了トラックとデステージトラック間隔とを情報として、デバイスアダプタ22にデステージを要求する。   When the cache management unit 23 detects that there is a track generated by the high-speed writing mechanism in the nonvolatile memory 25, the cache management unit 23 searches whether there is a continuous track among all the tracks. Here, the cache management unit 23 calculates a track interval at which continuous destaging is possible, and requests the device adapter 22 to destage using the destage start track, end track and destage track interval as information.

デステージ要求を受けたデバイスアダプタ22は、前記情報により、先頭トラックに対して、DASD3へのヘッドの位置決めであるセレクション命令を発行する。   Upon receiving the destage request, the device adapter 22 issues a selection command for positioning the head to the DASD 3 with respect to the head track based on the information.

DASD3のセレクションが完了後、デバイスアダプタ22は、前記キャッシュ管理部23から受け取った情報を基に、デステージするトラックを決定する。   After the DASD 3 selection is completed, the device adapter 22 determines a track to be destaged based on the information received from the cache management unit 23.

最初にデステージするトラックは、キャッシュ管理部23から通知された、先頭トラックであり、次にデステージするトラックは、先頭トラックにデステージトラック間隔を加えたトラックである。更に、その次にデステージ対象とするトラックは、現デステージトラックに前記のデステージトラック間隔を加えたトラックである。   The first destaged track is the first track notified from the cache management unit 23, and the next destaged track is a track obtained by adding the destage track interval to the first track. Further, the next destage target track is a track obtained by adding the destage track interval to the current destage track.

デバイスアダプタ22は、この動作を繰り返し、キャッシュ管理部23から通知された終了トラックアドレスを越えるまで前述の動作を繰り返す。   The device adapter 22 repeats this operation until the end track address notified from the cache management unit 23 is exceeded.

なお、デステージトラック間隔は、トラックの後処理、前処理が十分行える時間を確保できる分だけ、デステージ対象トラックをスキップする間隔である。従来のマルチトラックデステージでは、デステージトラック数分だけの無駄な回転待ちが発生していたが、この実施例のようにすることにより、無駄な回転待ちは発生しなくなる。   Note that the destage track interval is an interval at which the destage target track is skipped by an amount that allows a sufficient time for track post-processing and pre-processing to be secured. In the conventional multi-track destage, wasteful waiting for rotation corresponding to the number of destaged tracks has occurred, but by using this embodiment, useless waiting for rotation does not occur.

3):デステージ動作の具体例による説明
図3はデステージ対象トラックの説明図である。
3): Description of Destage Operation by Specific Example FIG. 3 is an explanatory diagram of a destage target track.

キャッシュ管理部23は、不揮発性メモリ25上に、デステージ対象のトラックがあることを検出する。今回、対象のDASD3は、1シリンダに15ヘッド存在し、このデステージ対象トラックが、図3の様であったとする。また、対象のDASD3に対しては、3トラックの回転時間でトラックの後処理と、前処理が完了できるものとすると、連続デステージトラック間隔は4であると算出する。   The cache management unit 23 detects that there is a destage target track on the nonvolatile memory 25. This time, it is assumed that the target DASD 3 has 15 heads per cylinder, and this destage target track is as shown in FIG. For the target DASD 3, if the post-processing of the track and the pre-processing can be completed in the rotation time of 3 tracks, the continuous destage track interval is calculated to be 4.

ここで、今回デステージ対象となるトラックは、図3中で一回目の欄に○印の記されているトラックと、二回目の欄に●印の記されているトラックである。   Here, the tracks to be destaged this time are the tracks marked with a circle in the first column in FIG. 3 and the tracks marked with a ● in the second column.

(1) :キャッシュ管理部23は、デステージトラックの検索を行い、一回目として、先頭トラック(0)=シリンダ値「0005」・ヘッド値「0000」、終了トラック(+20)=シリンダ値「0006」・ヘッド値「0005」、連続デステージトラック間隔=4として、デバイスアダプタ22にデステージを発行する。   (1): The cache management unit 23 searches the destage track, and as the first time, the first track (0) = cylinder value “0005”, the head value “0000”, and the end track (+20) = cylinder value “0006” “Destage is issued to the device adapter 22 with the head value“ 0005 ”and the continuous destage track interval = 4.

(2) :キャッシュ管理部23からデステージ要求を受け付けたデバイスアダプタ22は、トラック(0)であるシリンダ値「0005」・ヘッド値「0000」に対してDASD3のセレクションを行う。   (2): The device adapter 22 that has received the destage request from the cache management unit 23 performs DASD3 selection for the cylinder value “0005” and the head value “0000” that are the track (0).

(3) :デバイスアダプタ22は、DASD3のセレクションが完了後、図3中の一回目の欄にある先頭トラック(0)から、順に○印の付いているトラック(+4)(+8)(+12)(+16)をデステージして、終了トラック(+20)のデステージが完了した後に、連続デステージ処理完了をキャッシュ管理部23に報告する。   (3): After the selection of DASD3 is completed, the device adapter 22 starts from the first track (0) in the first column in FIG. 3 and tracks (+4) (+8) (+12) with a circle in order. After destaging (+16) and completing the destage of the end track (+20), the completion of continuous destage processing is reported to the cache management unit 23.

(4) :キャッシュ管理部23は、二回目として、先頭トラック(+11)=シリンダ値「0005」・ヘッド値「000B」、終了トラック(+23)=シリンダ値「0006」・ヘッド値「0008」、連続デステージトラック間隔=4として、デバイスアダプタ22にデステージを発行する。   (4): The cache management unit 23, as the second time, starts track (+11) = cylinder value “0005” / head value “000B”, end track (+23) = cylinder value “0006”, head value “0008”, Destage is issued to the device adapter 22 with continuous destage track interval = 4.

(5) :キャッシュ管理部23からデステージ要求を受け付けたデバイスアダプタ22は、トラック(+11)であるシリンダ値「0005」・ヘッド値「000B」に対してDASD3のセレクションを行う。   (5): The device adapter 22 that has received the destage request from the cache management unit 23 selects DASD3 for the cylinder value “0005” and the head value “000B” that are the track (+11).

(6) :デバイスアダプタ22は、DASD3のセレクションが完了後、図3中の一回目の欄にある先頭トラック(+11)から、順に●印の付いているトラック(+15)(+19)をデステージして、終了トラック(+23)のデステージが完了した後に、連続デステージ処理完了をキャッシュ管理部23に報告する。   (6): After the DASD3 selection is completed, the device adapter 22 destages the tracks (+15) (+19) marked with ● in order from the first track (+11) in the first column in FIG. Then, after the destage of the end track (+23) is completed, the completion of the continuous destage processing is reported to the cache management unit 23.

なお、前記実施例では、連続デステージトラック間隔を4としたが、キャッシュ管理部23は、デステージ対象DASD3の種類を判断し、その対象DASD3の性能に基づき連続デステージトラック間隔を算出するものであり、通常は1トラック分をスキップする間にトラックの前処理、後処理を行える。この場合は、連続デステージトラック間隔は2となる。   In the above embodiment, the continuous destage track interval is set to 4, but the cache management unit 23 determines the type of the destage target DASD 3 and calculates the continuous destage track interval based on the performance of the target DASD 3. Normally, track pre-processing and post-processing can be performed while one track is skipped. In this case, the continuous destage track interval is 2.

また、ハードデスク4等にあらかじめ連続デステージトラック数を記憶させておくことにより、FCUの初期設定により連続デステージトラック数をあらかじめ定義しておくことができる。これにより、キャッシュ管理部23は、あらかじめ定義されている連続デステージトラック数から、デステージ可能な連続トラックを抽出する。   Also, by storing the number of continuous destage tracks in advance in the hard disk 4 or the like, the number of continuous destage tracks can be defined in advance by the initial setting of the FCU. Thereby, the cache management unit 23 extracts continuous tracks that can be destaged from the predetermined number of continuous destage tracks.

そして、キャッシュ管理部23は、デステージ可能な連続トラックを抽出する際、前記デステージ可能な連続トラックが、あらかじめ定義されている連続デステージトラック数よりも少ない場合は、デステージを延期し、あらかじめ定義されている連続デステージトラック数よりも多い場合は、前記あらかじめ定義されている連続デステージトラック数だけデステージをデバイスアダプタ22に要求する。   Then, when extracting the destageable continuous tracks, the cache management unit 23 postpones destage if the destageable continuous tracks are less than the number of predetermined continuous destage tracks, When the number of continuous destage tracks is larger than the predetermined number, the device adapter 22 is requested to destage the number of the predetermined continuous destage tracks.

さらに、デバイスアダプタ22は、連続デステージ処理を終了したのち、前記連続デステージによりデステージしたトラック数と、あらかじめ定義されている連続デステージトラック数を比較し、その比較値が異なる場合は、キャッシュ管理部23に対し、論理矛盾を検出したことを通知する機構を設け、また、前記比較値が等しい場合は、キャッシュ管理部23に対し、デステージが正常に終了したことを通知する機構を設ける。   Furthermore, after finishing the continuous destage processing, the device adapter 22 compares the number of tracks destaged by the continuous destage with the predefined number of continuous destage tracks, and if the comparison value is different, Provide a mechanism for notifying the cache management unit 23 that a logical contradiction has been detected, and a mechanism for notifying the cache management unit 23 that destaging has been completed normally if the comparison values are equal. Provide.

〔第2実施例の説明〕
1):ファイル制御装置(FCU)の説明
図4は第2実施例におけるファイル制御装置の説明図であり、ファイル制御装置(FCU)2は、上位装置の指示によりDASD3にデータのリード/ライトを行うものであり、上位装置とはチャネルアダプタ(CA)21で接続され、DASD3のDASDアダプタ31とデバイスアダプタ(DA)で接続されている。また、このFCU2には、ハードデスク(HD)4に接続されたサービスアダプタ(SA)26が設けてある。
[Description of the second embodiment]
1): Explanation of File Control Unit (FCU) FIG. 4 is an explanatory diagram of the file control unit in the second embodiment. The file control unit (FCU) 2 reads / writes data to / from the DASD 3 according to instructions from the host unit. It is connected to the host device by a channel adapter (CA) 21 and connected by a DASD adapter 31 of DASD 3 and a device adapter (DA). Further, the FCU 2 is provided with a service adapter (SA) 26 connected to the hard desk (HD) 4.

FCU2内には、チャネルアダプタ21、デバイスアダプタ22、キャッシュ管理部23、キャッシュメモリ24、不揮発性メモリ(NVS)25が設けてある。   In the FCU 2, a channel adapter 21, a device adapter 22, a cache management unit 23, a cache memory 24, and a nonvolatile memory (NVS) 25 are provided.

チャネルアダプタ21は、複数個設けてあり、主として上位装置のチャネルとのインタフェースを司り、デバイスアダプタ22は、DASD3とのインタフェースを制御するものである。キャッシュ管理部23は、キャッシュメモリ24に登録されているトラック等の管理を行うものであり、その記憶部に不良交代情報テーブル27を格納する場所が設けてある。   A plurality of channel adapters 21 are provided, which mainly control the interface with the channel of the host device, and the device adapter 22 controls the interface with the DASD 3. The cache management unit 23 manages tracks and the like registered in the cache memory 24, and the storage unit is provided with a place for storing the defective replacement information table 27.

キャッシュメモリ24は、DASD3上の命令及びデータの内後で使われる可能性の高いものの写しを保持するバッファ記憶装置である。不揮発性メモリ25は、バッテリバックアップされ、電源断時においてもデータが、喪失しないものである。   The cache memory 24 is a buffer storage device that holds a copy of instructions and data on the DASD 3 that are likely to be used later. The nonvolatile memory 25 is backed up by a battery, and data is not lost even when the power is turned off.

サービスアダプタ26は、ハードデスク4からの情報により、ファイル制御装置の初期設定、ファイル装置のエラー情報の履歴の管理等を行うものである。DASD3は、ディスク装置、光ディスク装置等の複数のデバイスからなる記憶装置である。DASDアダプタ31は、FCU2とのインタフェースを司るものである。   The service adapter 26 performs initial setting of the file control device, management of a history of error information of the file device, and the like based on information from the hard disk 4. The DASD 3 is a storage device including a plurality of devices such as a disk device and an optical disk device. The DASD adapter 31 serves as an interface with the FCU 2.

2):不良交代情報テーブルの説明
図5は不良交代情報テーブルの説明図であり、図5(a)は不良交代情報テーブルの説明、図5(b)は不良交代情報の1セット分の説明である。
2): Explanation of the defective replacement information table FIG. 5 is an explanatory diagram of the defective replacement information table, FIG. 5 (a) is a description of the defective replacement information table, and FIG. 5 (b) is a description of one set of defective replacement information. It is.

図5(a)において、この例では1デバイス当たり不良交代情報は、左端のセット番号0〜44のように最大45トラック数分まで格納できる。この不良交代情報の1セット分には不良側、交代側それぞれ4バイト分の格納部がある。また、不良交代情報テーブル27には、接続できる最大のデバイスの数分(この例では256デバイス)の格納部が設けてある。   In FIG. 5A, in this example, the failure replacement information per device can be stored up to the maximum number of 45 tracks as set numbers 0 to 44 at the left end. One set of the defective replacement information includes storage units for 4 bytes on each of the defective side and the replacement side. In addition, the defect replacement information table 27 is provided with storage units for the maximum number of devices that can be connected (in this example, 256 devices).

図5(b)において、不良交代情報の1セット分は、不良側と交代側に分かれている。不良側には、シリンダ値、ヘッド値、情報の格納部が設けてあり、交代側には、シリンダ値、ヘッド値、デバイス値(機番)の格納部が設けてある。この情報の格納部は、例えば「40」が格納されていれば交代側が有効であることを示しており、「20」であれば不良側が有効であることを示しており、「60」であれば不良側及び交代側の両者が有効、即ちリンクが確立済であることを示すものである。   In FIG. 5B, one set of defective replacement information is divided into a defective side and a replacement side. A storage unit for cylinder values, head values, and information is provided on the defective side, and a storage unit for cylinder values, head values, and device values (machine numbers) is provided on the replacement side. For example, if “40” is stored, the storage unit of this information indicates that the replacement side is valid, and “20” indicates that the defective side is valid. This indicates that both the defective side and the replacement side are effective, that is, the link has been established.

3):付加情報を含むホームアドレスのリード命令(Diag Read HA Command)の説明
この実施例では、ファイル制御装置(FCU)2内の不良交代情報テーブル27に、配下の全てのDASD3の不良交代情報を格納しておく。この不良交代情報は、ホームアドレスをライト(Write HA)又は付加情報を含むホームアドレスのライト(Diag Write HA)の処理時に作成更新される。
3): Description of Read Read HA Command of Home Address Including Additional Information In this embodiment, the failure replacement information table 27 in the file control unit (FCU) 2 stores the failure replacement information of all the subordinate DASDs 3. Is stored. This defective replacement information is created and updated at the time of processing a home address write (Write HA) or a home address write including additional information (Diag Write HA).

付加情報を含むホームアドレスのリード命令(Diag Read HA Command)で転送するデータはフラグ(Flag)、トラックアドレス(Track Address)、傷情報、セル(Cell)値、物理トラックアドレスである。   Data to be transferred by a home address read command (Diag Read HA Command) including additional information includes a flag, a track address, a flaw information, a cell value, and a physical track address.

この実施例では、FCU2内にトラックの不良交代情報が格納されているので、ホームアドレスHA部のフラグ情報はFCU2が作成することができる。トラックアドレスと物理トラックアドレスは、トラックの物理位置であるから、シーク(Seek)値と一致するはずであり、これはFCU2内で作成できる。   In this embodiment, since the defective change information of the track is stored in the FCU 2, the FCU 2 can create the flag information of the home address HA part. Since the track address and the physical track address are the physical position of the track, they should match the seek value, which can be created in the FCU 2.

傷情報は、RAID技術を用いるアレイディスクを考えた場合には、傷をゼロとした標準値で問題はない。セル値は、インデックスからの距離を示すものでありトラックに傷がない場合は固定値となる。   The flaw information is a standard value with no flaws when there is an array disk using RAID technology, and there is no problem. The cell value indicates the distance from the index, and is a fixed value when the track is not damaged.

ホームアドレスのリード命令(Read HA Command)で転送するデータは、フラグとトラックアドレスであり、付加情報を含むホームアドレスのリード命令(Diag Read HA Command)で必要とされる情報の一部であるので、やはり、FCU2内で作成できる。   The data transferred by the home address read command (Read HA Command) is a flag and a track address, and is part of the information required by the home address read command (Diag Read HA Command) including additional information. After all, it can be created in FCU2.

このように、FCU2内に不良交代情報を格納しておくことにより、Read HA Command及びDiag Read HA Commandに対しては、常に実DASD3へのアクセス無しに、或いは、キャッシュメモリからのデータ読み込み無しに、対象情報を送出できる。   In this way, by storing the defect replacement information in the FCU 2, the Read HA Command and the Dia Read HA Command are always accessed without accessing the actual DASD 3 or without reading data from the cache memory. Target information can be sent out.

4):ファイル制御装置(FCU)の動作説明
以下、FCU2の動作を説明する。
4): Explanation of operation of file control unit (FCU) Hereinafter, the operation of FCU 2 will be explained.

(1) :FCU2(キャッシュ管理部23)は、FCU2の電源の投入時、或いはリセット時に、配下の全てのDASD3の不良トラック領域を読み出し、各トラックのホームアドレスHA部に格納されているフラグによって、不良交代リンクが作成されているかどうかを判断し、その結果をFCU2内のメモリ(記憶部)に不良交代情報テーブル27として格納しておく。   (1): The FCU 2 (cache management unit 23) reads out the defective track areas of all subordinate DASDs 3 when the FCU 2 is turned on or reset, and uses the flags stored in the home address HA section of each track. Then, it is determined whether or not a defective replacement link has been created, and the result is stored as a defective replacement information table 27 in a memory (storage unit) in the FCU 2.

(2) :DASD3のアクセスに関して、リード命令を発行するには、あらかじめ対象のトラックを特定するシーク命令を発行しておかねばならない。このため、FCU2はリード命令に先立って上位装置のチャネルから発行されるシーク命令から、対象のトラックアドレスを認識できる。   (2): In order to issue a read command for DASD3 access, a seek command that identifies the target track must be issued in advance. For this reason, the FCU 2 can recognize the target track address from the seek command issued from the channel of the host device prior to the read command.

(3) :FCU2は、上位装置のチャネルから、配下のDASD3のホームアドレスのリード命令(Read HA Command)を受領した場合、不良交代情報テーブル27が有効か否かを判断する。   (3): When the FCU 2 receives a read instruction (Read HA Command) of the subordinate DASD 3 home address from the channel of the host device, the FCU 2 determines whether or not the defect replacement information table 27 is valid.

(4) :もし、この判断の結果、不良交代情報テーブル27が無効の場合(例えば、DASD3のホームアドレスHA部からの不良トラック情報読み込み失敗等)は、FCU2は対象のホームアドレスHAのフラグ情報を確認できないので、通常通り、キャッシュメモリ24上にデータが存在すれば前記キャッシュメモリ24から、存在しなければDASD3から読み込み、通常のリード動作を行う。   (4): If, as a result of this determination, the failure alternation information table 27 is invalid (for example, failure to read defective track information from the home address HA portion of DASD 3), the FCU 2 sets flag information of the target home address HA. Therefore, as usual, if there is data on the cache memory 24, the data is read from the cache memory 24, and if not, it is read from the DASD 3 and a normal read operation is performed.

(5) :もし、前記判断の結果、不良交代情報テーブル27が有効の場合は、前記不良交代情報テーブル27内の不良交代リンク情報を参照し、対象トラックに不良交代リンクが作成されているか否かを判断する(不良トラックか、交代トラックか、正常トラックかの判断をする)。   (5): If, as a result of the determination, the defective replacement information table 27 is valid, the defective replacement link information in the defective replacement information table 27 is referred to to determine whether a defective replacement link has been created for the target track. (Determining whether the track is a defective track, a replacement track, or a normal track).

(6) :もし、不良交代リンクが作成されている場合、ホームアドレスHA部のフラグ領域に該当するビットをセットする。また、このホームアドレスHA部のトラックアドレスであるシリンダ・ヘッド値は、物理シリンダ・ヘッド値と常に一致するので、既にシーク命令により特定された値をセットすることで、キャッシュメモリを使用せずに、適切な値を応答できる。   (6): If a defective alternate link has been created, a bit corresponding to the flag area of the home address HA section is set. Also, the cylinder head value, which is the track address of the home address HA part, always matches the physical cylinder head value, so by setting the value already specified by the seek instruction, the cache memory is not used. Can respond with an appropriate value.

(7) :FCU2が、付加情報を含むホームアドレスのリード命令(Diag Read HA Command)で、転送しなければならないデータは、前述のホームアドレスのリード命令(Read HA Command)で転送するデータに、トラックの傷情報と、セル値を付加したものである。しかし、アレイディスクを用いるFCU(COF技術を用いるFCU)2では、傷情報は常に標準値に特定できるので、これらの情報はFCU2内部で作成できる。このため、Diag Read HA Commandに対しても、FCU2は適切な値を転送できる。   (7): The data that the FCU 2 has to transfer with the read instruction of the home address including the additional information (Diag Read HA Command) is the data to be transferred with the read instruction of the home address (Read HA Command). This is a track flaw information and cell value added. However, in the FCU 2 using the array disk (FCU using the COF technology) 2, the flaw information can always be specified as a standard value, so that the information can be created inside the FCU 2. For this reason, the FCU 2 can transfer an appropriate value also to the Diag Read HA Command.

図6はRead HA Commandに対する処理フローチャートである。以下、図6の処理S1〜S5に従って説明する。   FIG. 6 is a process flowchart for the Read HA Command. Hereinafter, a description will be given according to the processes S1 to S5 of FIG.

S1:FCU2は、上位装置から、配下のDASD3のRead HA Commandを受領した場合、不良交代情報テーブル27が有効か否かを判断し、この不良交代情報テーブル27が有効の場合は、不良交代情報テーブル27の不良交代リンク情報を参照し、対象トラックが不良交代トラックか否かを判断する。この判断で対象トラックが不良交代トラックの場合は処理S2に移り、もし、不良交代トラックでない場合は処理S5に移る(尚、前記不良交代情報テーブル27が無効の場合は、キャッシュメモリ24又はDASD3から読み込む、通常のリード動作を行う。)。   S1: The FCU 2 determines whether or not the defective replacement information table 27 is valid when the Read HA Command of the subordinate DASD 3 is received from the host device. If the defective replacement information table 27 is valid, the defective replacement information is determined. With reference to the defective replacement link information in the table 27, it is determined whether or not the target track is a defective replacement track. If it is determined that the target track is a defective replacement track, the process proceeds to step S2. If the target track is not a defective replacement track, the process proceeds to step S5 (in the case where the defective replacement information table 27 is invalid, the cache memory 24 or the DASD 3). Read, perform normal read operation).

S2:FCU2は、対象トラックが不良トラックか否かを判断する。この判断で対象トラックが不良トラックの場合は、処理S3に移り、もし、不良トラックでない場合は、処理S4に移る。   S2: The FCU 2 determines whether the target track is a defective track. If it is determined that the target track is a defective track, the process proceeds to step S3. If the target track is not a defective track, the process proceeds to step S4.

S3:FCU2は、対象トラックのホームアドレスHA部のフラグ領域に不良トラック情報をセットし、処理S5に移る。   S3: The FCU 2 sets the defective track information in the flag area of the home address HA portion of the target track, and proceeds to processing S5.

S4:FCU2は、対象トラックのホームアドレスHA部のフラグ領域に交代トラック情報をセットし、処理S5に移る。   S4: The FCU 2 sets the replacement track information in the flag area of the home address HA portion of the target track, and proceeds to processing S5.

S5:FCU2は、フラグ領域にセットした不良交代情報とトラックアドレスであるシリンダ・ヘッド値を上位装置に通知してこの処理を終了する。   S5: The FCU 2 notifies the high-order apparatus of the defective replacement information set in the flag area and the cylinder head value that is the track address, and ends this processing.

本発明の原理説明図である。It is a principle explanatory view of the present invention. 第1実施例におけるファイル制御装置の説明図である。It is explanatory drawing of the file control apparatus in 1st Example. 第1実施例におけるデステージ対象トラックの説明図である。It is explanatory drawing of the destage object track | truck in 1st Example. 第2実施例におけるファイル制御装置の説明図である。It is explanatory drawing of the file control apparatus in 2nd Example. 第2実施例における不良交代情報テーブルの説明図である。It is explanatory drawing of the defect replacement information table in 2nd Example. 第2実施例におけるRead HA Commandに対する処理フローチャートである。It is a process flowchart with respect to Read HA Command in 2nd Example. 従来例の説明図である。It is explanatory drawing of a prior art example.

符号の説明Explanation of symbols

1 上位装置
2 ファイル制御装置(FCU)
3 直接アクセス記憶装置(DASD)
20 メモリ部
21 チャネルアダプタ(CA)
22 デバイスアダプタ(DA)
23 キャッシュ管理部(CFE)
24 キャッシュメモリ
25 不揮発性メモリ(NVS)
27 不良交代情報テーブル
1 Host device 2 File control unit (FCU)
3 Direct Access Storage Device (DASD)
20 Memory unit 21 Channel adapter (CA)
22 Device adapter (DA)
23 Cache Management Department (CFE)
24 cache memory 25 non-volatile memory (NVS)
27 Defect change information table

Claims (2)

直接アクセス記憶装置を制御するキャッシュメモリを持つファイル制御装置において、
該ファイル制御装置の記憶部に不良交代情報テーブルの格納部と、
該ファイル制御装置に設けたキャッシュ管理部とを有し、
前記キャッシュ管理部は、
電源の投入時、或いはリセット時に、配下の全ての前記直接アクセス記憶装置の不良トラック領域を読み出し、各トラックのホームアドレスに格納されているフラグによって、不良交代リンクが作成されているかを判断し、その結果を前記記憶部に不良交代情報テーブルとして前記格納部に格納し、
トラックが不良かどうかの使用状態を示すフラグ及びトラックアドレスを含むホームアドレスに対するリード命令を上位装置から受領した場合、上位装置から該ファイル制御装置に対して発行される各トラックを指定するシーク命令から各トラックのトラックアドレスを取得し、該トラックアドレスに基づいて前記直接アクセス記憶装置の前記ホームアドレスから不良トラック情報が読み出せるか確認して前記不良交代情報テーブルが有効かどうかを判断して前記受領したホームアドレスのリード命令に対するフラグ情報を確定し、前記トラックアドレスと前記フラグ情報に基づいて、前記ホームアドレスのリード命令に対する応答情報を作成することを特徴としたファイル制御装置。
In a file control device having a cache memory for controlling a direct access storage device,
A storage unit for a defective replacement information table in a storage unit of the file control device;
A cache management unit provided in the file control device;
The cache management unit
When power is turned on or reset, the bad track area of all the direct access storage devices under it is read, and it is determined whether a bad replacement link is created by the flag stored in the home address of each track. The result is stored in the storage unit as a defective replacement information table in the storage unit,
When a read command for a home address including a flag indicating whether the track is defective or a home address including a track address is received from the host device, a seek command specifying each track issued from the host device to the file control device Obtain the track address of each track, check whether bad track information can be read from the home address of the direct access storage device based on the track address, determine whether the defective replacement information table is valid, and receive the track address Home to confirm the flag information for the address read instruction, on the basis of the track address and the flag information, file control apparatus, wherein the benzalkonium create a response information in response to the read command of the home address.
前記直接アクセス記憶装置が固定長方式のアレイディスクであり、前記ファイル制御装置が該アレイディスクで可変長方式をエミュレートしている場合、
付加情報を含むホームアドレスのリード命令に対する応答であるトラックの傷情報を標準値に確定し、
該傷情報と前記フラグ情報と前記トラックアドレスとから、付加情報を含むホームアドレスのリード命令に対する応答情報を作成することを特徴とした請求項1記載のファイル制御装置。
When the direct access storage device is a fixed length array disk and the file control device emulates a variable length method with the array disk,
The scratch information of the track, which is a response to the read command of the home address including additional information, is fixed to the standard value,
2. The file control apparatus according to claim 1, wherein response information for a read command of a home address including additional information is created from the flaw information, the flag information, and the track address.
JP2004000312A 2004-01-05 2004-01-05 File control unit Expired - Fee Related JP4131953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004000312A JP4131953B2 (en) 2004-01-05 2004-01-05 File control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004000312A JP4131953B2 (en) 2004-01-05 2004-01-05 File control unit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP19274495A Division JP3615274B2 (en) 1995-07-28 1995-07-28 File control unit

Publications (2)

Publication Number Publication Date
JP2004158029A JP2004158029A (en) 2004-06-03
JP4131953B2 true JP4131953B2 (en) 2008-08-13

Family

ID=32821900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004000312A Expired - Fee Related JP4131953B2 (en) 2004-01-05 2004-01-05 File control unit

Country Status (1)

Country Link
JP (1) JP4131953B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252239A (en) * 2005-03-11 2006-09-21 Fujitsu Ltd File control unit

Also Published As

Publication number Publication date
JP2004158029A (en) 2004-06-03

Similar Documents

Publication Publication Date Title
US8706985B1 (en) System and method for optimizing garbage collection in data storage
JP4372134B2 (en) Storage system with data comparison function
US7831764B2 (en) Storage system having plural flash memory drives and method for controlling data storage
US6021463A (en) Method and means for efficiently managing update writes and fault tolerance in redundancy groups of addressable ECC-coded sectors in a DASD storage subsystem
US7908512B2 (en) Method and system for cache-based dropped write protection in data storage systems
US7861035B2 (en) Method of improving input and output performance of raid system using matrix stripe cache
US7587631B2 (en) RAID controller, RAID system and control method for RAID controller
US4935825A (en) Cylinder defect management system for data storage system
US6766491B2 (en) Parity mirroring between controllers in an active-active controller pair
EP2778926A1 (en) Hard disk data recovery method, device and system
US7415636B2 (en) Method and apparatus for replacement processing
US7702954B2 (en) Data storage apparatus having error recovery capability
JP2008071478A (en) Disk drive with non-volatile memory to store data about failure
JPH06332623A (en) Array type recorder and recorder
US7627725B2 (en) Stored data processing apparatus, storage apparatus, and stored data processing program
JP2007035217A (en) Data storage processing method for disk storage device and disk storage system
JP3860967B2 (en) Method for automatically changing leads and magnetic disk device using the same
JP3270959B2 (en) Parity storage method in disk array device and disk array device
US20100211703A1 (en) Storage Apparatus and Data Integrity Assurance Method
JP2004213470A (en) Disk array device, and data writing method for disk array device
JP3615274B2 (en) File control unit
JP4131953B2 (en) File control unit
JP3573599B2 (en) Data recovery method for disk array
JP2005004733A (en) Arrangement and method of disposition for detecting write error in storage system
CN113050892B (en) Method and device for protecting deduplication data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080324

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080324

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080324

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080527

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080529

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

Free format text: PAYMENT UNTIL: 20110606

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130606

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees