JPH06259303A - Decentralized file system - Google Patents

Decentralized file system

Info

Publication number
JPH06259303A
JPH06259303A JP5048095A JP4809593A JPH06259303A JP H06259303 A JPH06259303 A JP H06259303A JP 5048095 A JP5048095 A JP 5048095A JP 4809593 A JP4809593 A JP 4809593A JP H06259303 A JPH06259303 A JP H06259303A
Authority
JP
Japan
Prior art keywords
page
processor
file
original
target
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
JP5048095A
Other languages
Japanese (ja)
Inventor
Yoshimitsu Bounou
義光 坊農
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5048095A priority Critical patent/JPH06259303A/en
Publication of JPH06259303A publication Critical patent/JPH06259303A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the decentralized file system which shortens the time required for the transmission of a file to a decentralized processor and the synchronization of its contents and need not to pay attention to the decentralized arrangement of files. CONSTITUTION:The file used by the decentralized file system is composed of a virtual data set and when there is a request to open the file from decentralized sides 120 and 130, only a page table is sent from an original side 110. Then a necessary page is sent from the original side 110 each time the page is required on the decentralized sides 120 and 130. Further, when page data are updated on the decentralized sides 120 and 130, only the corresponding page data on the original side 110 are updated and the same page being referred to on other decentralized sides are placed in a page absent state with a command from the original side 110. Consequently, the frequency of data transfer between the original side 110 and decentralized sides 120 and 130 is decreased, so the performance of the decentralized file can be improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は分散ファイルシステムに
係り、特に、ネットワーク上に分散して存在するファイ
ルをあたかも操作しているマシン上にあるかのように見
せる分散ファイルシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed file system, and more particularly to a distributed file system that makes files existing in a distributed manner on a network appear as if they were on a machine that is operating the files.

【0002】[0002]

【従来の技術】従来より、分散ファイルシステムとし
て、NFS(ネットワークファイルシステム)やAFS
(アンドリューファイルシステム,日経エレクトロニク
ス 1990.8.20号に記載)などが知られている。上記フ
ァイルシステムは、磁気ディスク装置などの外部記憶装
置に記憶された物理ファイルを扱うものであり、例えば
AFSでは分散ファイルシステムを実現するために、分
散側プロセッサからファイルの実体を有するオリジナル
側プロセッサに対して、あるファイルへのアクセス要求
があったときには、当該ファイルを分散側にすべて伝送
して、分散側に当該ファイルのコピーをつくる。そし
て、分散側プロセッサにおいて当該ファイルの更新が行
われたときには、オリジナル側プロセッサと分散側プロ
セッサとの間で再びファイル伝送を行うことにより、オ
リジナルファイルに対する分散側のコピーファイルの内
容の同期をとっている。
2. Description of the Related Art Conventionally, NFS (Network File System) and AFS have been used as distributed file systems.
(Andrew file system, described in Nikkei Electronics 1990.8.20) etc. are known. The file system handles physical files stored in an external storage device such as a magnetic disk device. For example, in AFS, in order to realize a distributed file system, a distributed side processor is changed to an original side processor having a file entity. On the other hand, when there is a request for access to a certain file, the file is all transmitted to the distribution side, and a copy of the file is made on the distribution side. Then, when the file is updated in the distribution side processor, the file transfer is performed again between the original side processor and the distribution side processor to synchronize the contents of the distribution side copy file with the original file. There is.

【0003】[0003]

【発明が解決しようとする課題】したがって、上記従来
の分散ファイルシステムにおいては、分散側プロセッサ
からアクセスされるオリジナル側プロセッサのファイル
の容量が大きくなるほど、また、分散側プロセッサから
の更新要求回数が増えるほど、オリジナル側プロセッサ
と分散側プロセッサとの間の伝送トラフィックが増大す
るため、伝送系のハードウェアの能力によって各プロセ
ッサの処理能力が減殺されてしまうという問題点があっ
た。
Therefore, in the above-mentioned conventional distributed file system, the larger the file size of the original processor accessed by the distributed processor, the larger the number of update requests from the distributed processor. Since the transmission traffic between the original-side processor and the distributed-side processor increases, the processing capacity of each processor is reduced by the capacity of the hardware of the transmission system.

【0004】また、例えば同一のファイルに対して複数
の分散側プロセッサからの更新要求がほぼ同時に行われ
たときなどには、コピーファイルの内容の同期をとるた
めの処理が複雑となり、これによっても各プロセッサの
処理能力が減殺されてしまうという問題点があった。
Further, for example, when update requests from a plurality of distribution side processors are made to the same file at substantially the same time, the processing for synchronizing the contents of the copy file becomes complicated, which also causes There is a problem that the processing capacity of each processor is diminished.

【0005】そして、上記のような問題点を回避するた
めに、従来の分散ファイルシステムにおいてはファイル
が分散配置されていることをある程度意識してプログラ
ムを作成しなければならないという問題点があった。
In order to avoid the above-mentioned problems, in the conventional distributed file system, there has been a problem that a program must be created with a certain awareness of the distributed arrangement of files. .

【0006】したがって本発明の目的は、上記の問題点
を解決して、分散側プロセッサへのファイルの伝送およ
び内容の同期に要する時間を短縮し、ファイルが分散配
置されていることを全く意識する必要のない分散ファイ
ルシステムを提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, shorten the time required for file transmission to the distribution side processor and the synchronization of the contents, and be fully aware that the files are distributed. It is to provide a distributed file system that does not require.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の請求項1は、あるプロセッサに管理される
外部記憶装置内に存在するファイルを他のプロセッサか
ら参照および更新することができる分散ファイルシステ
ムにおいて、論理的な入出力単位であるレコードの集合
を所定のスロット単位に再区分した複数のページの集合
からなるデータ部と、前記ページを検索するためのペー
ジテーブルが記録されるインデックス部とを具備し、仮
想記憶装置内に確保された仮想データセット空間にペー
ジ固定状態で配置された前記ページテーブル中のページ
不在ビットに応じて、プログラムから参照または更新さ
れる対象レコードを含む対象ページを前記仮想データセ
ット空間と前記外部記憶装置との間でページングする仮
想データセットにより、前記ファイルを構成したもので
ある。
In order to achieve the above object, according to claim 1 of the present invention, a file existing in an external storage device managed by one processor can be referred to and updated by another processor. In the distributed file system that can be used, a data section including a set of a plurality of pages obtained by redistributing a set of records, which is a logical input / output unit, into predetermined slot units, and a page table for searching the page are recorded. And a target record to be referred to or updated by a program according to a page absent bit in the page table arranged in a page fixed state in a virtual data set space secured in a virtual storage device. The target page is a virtual data set for paging between the virtual data set space and the external storage device. Ri, it is obtained by forming the file.

【0008】また、さらに本発明の請求項2は、前記フ
ァイルを管理するオリジナル側プロセッサに対し、前記
オリジナル側プロセッサに接続された他の分散側プロセ
ッサから前記ファイルの参照または更新を行う旨のファ
イルオープン要求があったとき、前記仮想記憶装置内に
前記仮想データセット空間を確保して前記ファイルに対
応する前記ページテーブルを前記外部記憶装置から読み
込むとともに、前記ファイルオープン要求を行った前記
分散側プロセッサに対して読み込んだ前記ページテーブ
ルを送信するオリジナル側ファイルオープン・ページテ
ーブル送信手段を、前記オリジナル側プロセッサに具備
し、前記オリジナル側プロセッサに対して前記ファイル
オープン要求を行ったとき、前記仮想記憶装置内に前記
仮想データセット空間を確保するとともに、前記ファイ
ルオープン要求に応じて前記オリジナル側プロセッサか
ら送信された前記ページテーブルを、前記仮想データセ
ット空間にページ固定状態で配置する分散側ファイルオ
ープン・ページテーブル受信手段を、前記分散側プロセ
ッサに具備する構成としたものである。
According to a second aspect of the present invention, a file to the original processor that manages the file is referred to or updated by another distributed processor connected to the original processor. When there is an open request, the virtual data set space is secured in the virtual storage device, the page table corresponding to the file is read from the external storage device, and the distribution side processor that has issued the file open request The original side file open / page table transmitting means for transmitting the page table read to the original side processor is provided, and when the file open request is made to the original side processor, the virtual memory device Within the virtual dataset And a distribution side file open / page table receiving means for allocating a space and arranging the page table transmitted from the original side processor in response to the file open request in the virtual data set space in a page fixed state, This is a configuration provided in the distribution side processor.

【0009】また、さらに本発明の請求項3は、前記オ
リジナル側プロセッサに対し、前記分散側プロセッサか
ら前記対象ページの参照または更新を行う旨の対象ペー
ジ転送要求があったとき、必要に応じて前記仮想データ
セット空間における前記ページのページングを行った後
に、前記対象ページを前記分散側プロセッサに送信する
対象ページ送信手段を、前記オリジナル側プロセッサに
具備し、前記ページテーブル中の前記ページ不在ビット
により、プログラムが参照または更新しようとする前記
対象レコードを含む前記対象ページのページ不在が確認
されたとき、前記オリジナル側プロセッサに対して前記
対象ページ転送要求を行うとともに、必要に応じて前記
仮想データセット空間における前記ページのページング
を行った後に、前記対象ページ送信手段によって転送さ
れた前記対象ページを前記仮想データセット空間に配置
する対象ページ受信手段を、前記分散側プロセッサに具
備する構成としたものである。
Further, according to a third aspect of the present invention, when a request for transferring a target page is issued to the original side processor from the distributing side processor to refer to or update the target page, it is necessary. After the paging of the page in the virtual data set space, the original side processor is provided with a target page transmitting means for transmitting the target page to the distribution side processor, and by the page absent bit in the page table. When the absence of a page of the target page including the target record that the program attempts to reference or update is confirmed, the target page transfer request is made to the original side processor, and the virtual data set is issued as necessary. After paging the page in space, before The target page receiving means for disposing said object pages transferred by the target page sending means to said virtual data set space, in which is configured to be provided in the dispersion-side processor.

【0010】また、さらに本発明の請求項4は、前記オ
リジナル側プロセッサに対し、前記分散側プロセッサか
ら前記対象ページの更新を行った旨の対象ページ回送要
求があったとき、必要に応じて前記仮想データセット空
間における前記ページのページングを行った後に、前記
分散側プロセッサから転送された前記対象ページを前記
仮想データセット空間に配置するとともに、前記対象ペ
ージ回送要求を行った前記分散側プロセッサを除き、前
記ファイルの参照または更新を行っている他の分散側プ
ロセッサに対して、更新された前記対象ページに対応す
る前記ページ不在ビットをページ不在の状態に設定すべ
き旨の更新対象ページ無効化指令を伝える更新対象ペー
ジ無効化手段を、前記オリジナル側プロセッサに具備
し、前記仮想データセット空間に配置された前記対象ペ
ージに含まれる前記対象レコードの内容がプログラムに
よって更新されたとき、前記オリジナル側プロセッサに
対して前記対象ページ回送要求を行って前記対象ページ
を前記オリジナル側プロセッサに送信する対象ページ回
送手段を、前記分散側プロセッサに具備する構成とした
ものである。
Further, according to a fourth aspect of the present invention, when there is a request from the distribution side processor to forward the target page to the original side processor, the target page forwarding request is issued, and if necessary, the original page forwarding is performed. After paging the page in the virtual data set space, the target page transferred from the distribution side processor is arranged in the virtual data set space, and the distribution side processor making the target page forwarding request is excluded. , An update target page invalidation instruction to the other distributed processors that are referencing or updating the file to set the page fault bit corresponding to the updated target page to the page fault state Update target page invalidating means for transmitting the virtual data to the original processor. When the content of the target record included in the target page arranged in the output space is updated by a program, the target page forwarding request is issued to the original side processor to transfer the target page to the original side processor. The target page forwarding means for transmission is provided in the distribution side processor.

【0011】[0011]

【作用】上記構成に基づく作用を説明する。The operation based on the above configuration will be described.

【0012】すなわち、上記請求項1の構成では、分散
ファイルシステムで使用されるファイルの形式をすべて
仮想データセットとしたため、ファイルに対する入出力
はすべて仮想記憶装置内に対する入出力と同等となり、
プログラムからのファイルに対する読み書きの速さを大
幅に向上させてプロセッサの処理性能を最大限に引き出
すことができる。
That is, in the configuration of the above-mentioned claim 1, since all the file formats used in the distributed file system are virtual data sets, the input / output to / from the file is the same as the input / output to / from the virtual storage device.
The read / write speed of a file from a program can be greatly improved to maximize the processing performance of the processor.

【0013】また、上記請求項2の構成では、分散側プ
ロセッサからのファイルオープン要求に対してオリジナ
ル側プロセッサからは該当するファイルのページテーブ
ルのみを送信するため、分散側プロセッサではどんな容
量のファイルであってもほとんど瞬時にオープンするこ
とが可能となり、ファイルのオープンによって分散側プ
ロセッサの処理が待ち状態となることを防止してプロセ
ッサの処理性能を最大限に引き出すことができる。
Further, according to the second aspect of the present invention, in response to the file open request from the distribution side processor, only the page table of the corresponding file is transmitted from the original side processor. Even if there is, it can be opened almost instantly, and the processing of distributed processors can be prevented from waiting due to the opening of a file, and the processing performance of the processor can be maximized.

【0014】また、上記請求項3の構成では、分散側プ
ロセッサのプログラムから上記ファイルに含まれるある
レコード(対象レコード)に対して参照または更新要求
があり、しかも上記対象レコードが含まれるページ(対
象ページ)が分散プロセッサの仮想データセット空間に
存在しない場合にのみオリジナル側プロセッサに対象ペ
ージ転送要求を行うため、各プロセッサ間を接続するチ
ャネルまたは回線には必要最小限のページデータのみが
転送されることになり、通信トラフィックを抑制して通
信資源の利用効率を向上させることができる。
According to the third aspect of the invention, the program of the distribution side processor issues a reference or update request to a certain record (target record) contained in the file, and the page containing the target record (target Page) does not exist in the virtual data set space of the distributed processor, the target page transfer request is made to the original side processor, so only the minimum required page data is transferred to the channel or line connecting each processor. Therefore, it is possible to suppress communication traffic and improve the use efficiency of communication resources.

【0015】また、上記請求項4の構成では、同一ファ
イルの参照または更新を行っている第三の分散側ファイ
ルに対して、更新対象ページ無効化指令を伝えて更新さ
れたページをページ不在の状態とさせるのみで、ページ
データそのものの転送を行わないため、上記第三の分散
側プロセッサの処理が待ち状態となることを防止してプ
ロセッサの処理性能を最大限に引き出すとともに、上記
と同様に通信トラフィックを抑制して通信資源の利用効
率を向上させることができる。
Further, in the configuration of the above-mentioned claim 4, the page to be updated is transmitted by transmitting the update target page invalidation command to the third distribution side file which refers to or updates the same file. Since the page data itself is not transferred, the processing of the third distribution side processor is prevented from waiting and the processing performance of the processor is maximized. It is possible to suppress communication traffic and improve utilization efficiency of communication resources.

【0016】[0016]

【実施例】以下、本発明の分散ファイルシステムの一実
施例を図面を用いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the distributed file system of the present invention will be described in detail below with reference to the drawings.

【0017】図1は、本発明の分散ファイルシステムの
一実施例を示す概略構成図である。同図において物理装
置は、オリジナル側プロセッサ110と、オリジナル側
プロセッサ110に例えばチャネル接続された分散側プ
ロセッサ(A)120と、オリジナルオリジナル側プロ
セッサ110に例えば回線接続された分散側プロセッサ
(B)130と、オリジナル側プロセッサ110と外部
入出力装置との中継を行う入出力プロセッサ(IOP)
114と、IOP114に接続された外部記憶装置11
5によって構成されている。そして、各プロセッサは、
プログラムの解釈および実行を行うための命令プロセッ
サ(IP)111,121,131と、プログラムを記
憶させるプログラムストレージ(PS)112,12
2,132と、プログラムが扱うデータを記憶させるデ
ータストレージ(DS)113,123,133とを、
それぞれ有している。また、外部記憶装置115として
は、例えばフロッピーディスク装置115a,磁気ディ
スク装置115b,磁気テープ装置115cなどが接続
されている。
FIG. 1 is a schematic block diagram showing an embodiment of the distributed file system of the present invention. In the figure, the physical device includes an original processor 110, a distributed processor (A) 120 that is channel-connected to the original processor 110, and a distributed processor (B) 130 that is line-connected to the original original processor 110, for example. And an input / output processor (IOP) that relays between the original processor 110 and an external input / output device
114 and the external storage device 11 connected to the IOP 114
It is composed of 5. And each processor
Instruction processors (IP) 111, 121, 131 for interpreting and executing programs, and program storages (PS) 112, 12 for storing the programs
2, 132 and data storages (DS) 113, 123, 133 for storing data handled by the program,
I have each. Further, as the external storage device 115, for example, a floppy disk device 115a, a magnetic disk device 115b, a magnetic tape device 115c, etc. are connected.

【0018】また論理装置は、各プロセッサにおけるP
S112,122,132には仮想記憶装置(VS)1
1,21,31が、DS113,123,133には拡
張仮想記憶装置(XVS)12,22,32が、それぞ
れ対応している。そして、VS11,21,31および
XVS12,22,32には、図示しないオペレーティ
ングシステムによってアドレス空間が設定されている。
VS11,21,31のアドレス空間内にはプログラム
が配置される。また、XVS12,22,32のアドレ
ス空間内には、特開昭63−140348号公報におい
て本出願人が提案した仮想データセット(VDS)のペ
ージングを行うための仮想データセット空間(VDS空
間)などが生成される。なお、VS内のアドレス空間へ
のプログラムの割当方式にはシングルバーチャル方式と
マルチバーチャル方式があるが、本発明はいずれの方式
にも対応することができる。
Further, the logical unit is a P in each processor.
Virtual storage device (VS) 1 for S112, 122, 132
1, 21 and 31 correspond to the DSs 113, 123 and 133, and extended virtual storage devices (XVS) 12, 22 and 32 correspond thereto. An address space is set in the VS 11, 21, 31 and the XVS 12, 22, 32 by an operating system (not shown).
A program is arranged in the address space of VS11, 21, 31. Further, in the address space of the XVS 12, 22, 32, a virtual data set space (VDS space) for paging the virtual data set (VDS) proposed by the present applicant in Japanese Patent Laid-Open No. 63-140348, etc. Is generated. It should be noted that there are a single virtual method and a multi-virtual method as a method of allocating a program to the address space in the VS, but the present invention can be applied to either method.

【0019】図2〜図8は、本発明の分散ファイルシス
テムにおける各処理フローを示す図であり、図2および
図3はオリジナル側プロセッサおよび分散側プロセッサ
におけるファイルオープンの処理フローを、図4および
図5はオリジナル側プロセッサおよび分散側プロセッサ
におけるページデータ参照の処理フローを、図6および
図7はオリジナル側プロセッサおよび分散側プロセッサ
におけるページデータ更新の処理フローを、図8は分散
側プロセッサにおける更新対象ページ無効化の処理フロ
ーを、それぞれ示す。以下、図1および上記処理フロー
についてステップごとの詳細な説明を行う。
2 to 8 are diagrams showing respective processing flows in the distributed file system of the present invention, and FIGS. 2 and 3 show file opening processing flows in the original side processor and the distributed side processor, respectively. FIG. 5 shows a page data reference processing flow in the original side processor and the distribution side processor, FIGS. 6 and 7 show page data update processing flows in the original side processor and the distribution side processor, and FIG. 8 shows an update target in the distribution side processor. The processing flow of page invalidation is shown respectively. Hereinafter, FIG. 1 and the process flow will be described step by step in detail.

【0020】図2のオリジナル側プロセッサにおけるフ
ァイルオープン処理では、ステップ201で受領したV
DSのファイルオープン要求に対応する仮想データセッ
トがすでにオープンされているか否かをステップ202
で判定する。そして後者であれば、ステップ203で例
えば磁気ディスク装置115bに記録されているVDS
のページテーブル(PTV)をDS113内に読み込む
とともに、ステップ204でXVS12にVDS空間1
2aを生成してからステップ205に進む。また前者で
あれば、そのままステップ205に進む。次に、ステッ
プ205でVDSのオープン要求が自プロセッサすなわ
ちオリジナル側プロセッサ上のプログラムから発信され
たのか、それとも他プロセッサすなわち分散側プロセッ
サから発信されたのかを判定する。そして前者であった
ときは、ファイルオープン処理を完了する。
In the file open processing in the original processor of FIG. 2, the V received at step 201 is received.
Step 202: Check if the virtual data set corresponding to the DS file open request is already open.
Determine with. If the latter, in step 203, the VDS recorded on the magnetic disk device 115b, for example.
The page table (PTV) of the VDS space 1
After generating 2a, the process proceeds to step 205. In the case of the former, the process directly proceeds to step 205. Next, in step 205, it is determined whether the VDS open request is issued from the program on the own processor, that is, the original processor or from another processor, that is, the distributed processor. And in the former case, the file open process is completed.

【0021】また、後者であったときは、ステップ20
6で先にDS113内に読み込んだPTV(以後、オリ
ジナルPTVまたはO.PTVと記す)中のページ不在
ビット(VDSを構成する複数のページそれぞれについ
て、当該ページがVDS空間内にページインされている
か否かを示すビット)をすべてページ不在状態としたも
のを生成した後、これをステップ207でVDSのオー
プン要求を発信した分散側プロセッサに対して送信する
(この分散側プロセッサに送信されたPTVを以後、分
散PTVまたはC.PTVと記す)。ステップ207の
送信は、分散側プロセッサから送信されるべき送信完了
コードの受信が、ステップ208で確認されるまで繰り
返される(以上がファイルオープン・ページテーブル送
信手段に相当する。)。
If the latter, step 20
6. The page absent bit in the PTV (hereinafter, referred to as the original PTV or O.PTV) read into the DS 113 in step 6 (for each of a plurality of pages forming the VDS, whether the page is page-in in the VDS space). After generating a page absent state for all bits indicating whether or not), this is transmitted to the distributed processor that has issued the VDS open request in step 207 (the PTV transmitted to this distributed processor is Hereinafter referred to as dispersed PTV or C.PTV). The transmission in step 207 is repeated until the reception of the transmission completion code to be transmitted from the distribution side processor is confirmed in step 208 (the above corresponds to the file open / page table transmitting means).

【0022】図3の分散側プロセッサにおけるファイル
オープン処理では、ステップ301でオリジナル側プロ
セッサに対して仮想データセット(VDS)のファイル
オープン要求を発信する。そして、ステップ302で上
記図2の説明によってオリジナル側プロセッサから送信
された分散PTVの受信が完了したか否かを判定する。
そして後者であれば再びステップ301に戻る。また前
者であればステップ303に進む。ステップ303で
は、送信完了コードをオリジナル側プロセッサに送信す
る。そして、ステップ304で送信された分散PTVを
DSに読み込むとともに、ステップ305でXVS上に
VDS空間を生成する(以上がファイルオープン・ペー
ジテーブル受信手段に相当する。)。
In the file open processing in the distributed side processor of FIG. 3, a file open request of the virtual data set (VDS) is transmitted to the original side processor in step 301. Then, in step 302, it is determined whether or not the reception of the distributed PTV transmitted from the original processor is completed according to the description of FIG.
And in the latter case, it returns to step 301 again. If it is the former, the process proceeds to step 303. In step 303, the transmission completion code is transmitted to the original processor. Then, the distributed PTV transmitted in step 304 is read into the DS, and a VDS space is generated on XVS in step 305 (the above corresponds to the file open page table receiving means).

【0023】図4のオリジナル側プロセッサにおけるペ
ージデータ参照処理では、図2のファイルオープン処理
でVDS空間が確保されているファイルに対するプログ
ラムからのレコード参照要求に対応して、最初にステッ
プ401で当該VDS空間への上記レコードを含むペー
ジデータのリード要求を行った後、ステップ402で上
記ページデータがVDS空間内にあったか否かを判定す
る。そして後者であったときには、ステップ403で該
当するページデータを外部記憶装置の例えば磁気ディス
ク装置内からVDS空間にページインさせた後、ステッ
プ404に進む。また前者であったときには、そのまま
ステップ404に進む。
In the page data reference process in the original processor of FIG. 4, in response to the record reference request from the program for the file in which the VDS space is secured in the file open process of FIG. After making a request to read the page data including the record into the space, it is determined in step 402 whether the page data is in the VDS space. In the latter case, in step 403, the corresponding page data is paged in from the external storage device, for example, from the magnetic disk device to the VDS space, and then the process proceeds to step 404. If the former is the case, the process proceeds to step 404 as it is.

【0024】ステップ404では上記リード要求の発信
元が自プロセッサすなわちオリジナル側プロセッサ内の
プログラムと、他プロセッサすなわち分散側プロセッサ
内のプログラムのいずれであったのかを判定する。そし
て前者であったときには、ステップ405でページデー
タ内から参照要求のあったレコードを読み出してオリジ
ナル側プロセッサ内のプログラムに渡すことにより、ペ
ージデータ参照処理が完了する。また、後者であったと
きには、ステップ406でリード要求を発信した分散側
プロセッサに当該ページデータを送信して、ステップ4
07で送信が終了したか否かを判定する。そして、送信
がまだ終了していなければ、再びステップ406に戻っ
てさらに次のページデータの送信を行う。また、送信が
終了すれば、ページデータ参照処理は完了する(以上が
対象ページ送信手段に相当する)。なお、以上の処理に
おいてレコードはプログラムからの入出力単位であり、
ページはVDS空間のアクセス単位であるため、参照要
求のあったレコードが複数のページにまたがって存在す
ることもありうる。
In step 404, it is determined whether the source of the read request is the program in its own processor, that is, the original processor, or the program in another processor, that is, the distributed processor. In the former case, the page data reference process is completed by reading the record requested to be referred from the page data in step 405 and passing it to the program in the original processor. If it is the latter, the page data is transmitted to the distribution side processor that issued the read request in step 406, and step 4
At 07, it is determined whether the transmission is completed. Then, if the transmission has not been completed yet, the process returns to step 406 again to transmit the next page data. When the transmission is completed, the page data reference process is completed (the above corresponds to the target page transmitting means). In the above processing, a record is an input / output unit from the program,
Since a page is an access unit of the VDS space, a record for which a reference request has been made may exist across multiple pages.

【0025】図5の分散側プロセッサにおけるページデ
ータ参照処理では、図3のファイルオープン処理でVD
S空間が確保されているファイルに対するプログラムか
らのレコード参照要求に対応して、最初にステップ50
1で当該VDS空間への上記レコードを含むページデー
タのリード要求を行った後、ステップ502で上記ペー
ジデータがVDS空間内にあったか否かを判定する。そ
して、後者であったときには、ステップ503でオリジ
ナル側プロセッサに対して当該ページの要求を行って、
オリジナル側プロセッサから当該ページが送信されてく
るまでステップ504によって上記ページ要求を続けた
後、ステップ505で受信した当該ページをVDS空間
内に配置する(以上が対象ページ受信手段に相当す
る)。また、前者であったときには、ステップ506に
進む。ステップ506では、上記当該ページから要求さ
れたレコードを読み出してプログラムに渡す。以上によ
って、分散側プロセッサにおけるページデータ参照処理
は完了する。
In the page data reference process in the distribution side processor of FIG. 5, VD is executed in the file open process of FIG.
In response to a record reference request from a program for a file in which S space is secured, first, step 50
After a request for reading page data including the record to the VDS space is issued in step 1, it is determined in step 502 whether the page data is in the VDS space. Then, in the latter case, in step 503, a request for the page is made to the original processor,
After the page request is continued at step 504 until the page is transmitted from the original processor, the page received at step 505 is arranged in the VDS space (the above corresponds to the target page receiving means). If it is the former, the process proceeds to step 506. In step 506, the requested record is read from the page and passed to the program. By the above, the page data reference process in the distribution side processor is completed.

【0026】図6のオリジナル側プロセッサにおけるペ
ージデータ更新処理では、図2のファイルオープン処理
でVDS空間が確保されているファイルに対するプログ
ラムからのレコード更新要求に対応して、最初にステッ
プ601で当該VDS空間への上記レコードを含むペー
ジデータのライト要求を行った後、ステップ602で上
記ページデータがVDS空間内にあるか否かを判定す
る。そして、後者であったときには、ステップ603で
該当するページデータを外部記憶装置の例えば磁気ディ
スク装置内からVDS空間にページインさせた後、ステ
ップ604に進む。また、前者であったときには、その
ままステップ604に進む。ステップ604では、要求
元プログラムからのレコード更新処理にしたがってVD
S空間内の当該レコードを含むページデータを更新す
る。そして、更新されたページをステップ605で磁気
ディスク装置にページアウトさせる。ただし、このペー
ジアウト処理のタイミングは、レコード更新に対して同
期または非同期のいずれであってもよい。
In the page data update processing in the original processor of FIG. 6, in response to the record update request from the program for the file in which the VDS space is secured in the file open processing of FIG. After the request to write the page data including the record to the space is made, it is determined at step 602 whether the page data is in the VDS space. In the latter case, in step 603, the corresponding page data is paged in to the VDS space from the external storage device, for example, from the magnetic disk device, and then the process proceeds to step 604. If the former is the case, the process proceeds directly to step 604. In step 604, the VD is processed according to the record update processing from the request source program.
The page data including the record in the S space is updated. Then, in step 605, the updated page is paged out to the magnetic disk device. However, the timing of this page-out process may be either synchronous or asynchronous with respect to the record update.

【0027】続くステップ606では、同期をとるべき
分散側プロセッサの有無、すなわち同一ファイルに対す
るアクセスを行っている分散側プロセッサがあるか否か
を判定する。そして後者であった場合には、これでペー
ジデータ更新処理は終了する。また前者であった場合に
は、その分散側プロセッサに対してステップ607で当
該ページに対応するページ不在ビットをページ不在状態
にさせる更新対象ページ無効化指令を行って、これをス
テップ608でPTV(分散PTV)更新済コードの受
信が確認されるまで繰り返す。ステップ608でPTV
更新済コードの受信が確認されたときには、ステップ6
06に戻って他にも同期をとるべき分散側プロセッサが
ないか判定して、同一ファイルを使用中のすべての分散
側プロセッサについて同期をとる(以上が更新対象ペー
ジ無効化手段に相当する)。
In the following step 606, it is determined whether or not there is a distribution side processor to be synchronized, that is, whether or not there is a distribution side processor accessing the same file. In the latter case, the page data update process is completed. In the case of the former, an update target page invalidation command for setting the page absent bit corresponding to the page to the page absent state is issued to the distribution side processor in step 607, and this is issued in step 608 to PTV ( Repeat until the distributed PTV) updated code is received. PTV in step 608
If it is confirmed that the updated code is received, step 6
Returning to 06, it is determined whether or not there are other distributed processors to be synchronized, and all distributed processors that are using the same file are synchronized (the above is equivalent to the update target page invalidating means).

【0028】図7の分散側プロセッサにおけるページデ
ータ更新処理では、ステップ701〜705の処理は図
5中のステップ501〜505の処理と同一なので、そ
の説明を省略する。そして、続くステップ706で、要
求元プログラムからのレコード更新処理にしたがってV
DS空間内の当該レコードを含むページデータを更新し
た後、ステップ707でオリジナル側プロセッサへの対
象ページ回送要求を行って、オリジナル側プロセッサに
図6に示したページデータ更新処理を行わせる。この対
象ページ回送要求は、ステップ708でオリジナル側ラ
イト処理終了コードの返信が確認されるまで繰り返す
(以上が対象ページ回送手段に相当する)。
In the page data update processing in the distribution side processor of FIG. 7, the processing of steps 701 to 705 is the same as the processing of steps 501 to 505 in FIG. 5, and therefore its explanation is omitted. Then, in the following step 706, V is processed according to the record update processing from the request source program.
After updating the page data including the record in the DS space, in step 707 a target page forwarding request is issued to the original processor to cause the original processor to perform the page data update process shown in FIG. This target page forwarding request is repeated until the reply of the original side write processing end code is confirmed in step 708 (the above corresponds to the target page forwarding means).

【0029】図8の分散側プロセッサにおける更新対象
ページ無効化処理では、図6中のステップ607でオリ
ジナルプロセッサから送信されたページ不在ビットON
要求を、ステップ801で分散側プロセッサが受信し、
これに応じてステップ802で当該ページ不在ビットを
ONすなわちページ不在状態とする。そして、オリジナ
ル側プロセッサにPTV更新済コードを送信して、更新
対象ページ無効化処理が完了する。
In the update target page invalidation process in the distribution side processor of FIG. 8, the page absent bit ON transmitted from the original processor in step 607 of FIG. 6 is turned on.
The request is received by the distributing processor in step 801.
In response to this, in step 802, the page absent bit is turned on, that is, the page absent state is set. Then, the PTV updated code is transmitted to the original processor, and the update target page invalidation processing is completed.

【0030】図9〜図15は、上述した各処理中におけ
る本発明の分散ファイルシステムの状態を示す図であ
り、図9および図10はファイルオープン処理前および
処理中の状態を、図11および図12はページデータ参
照処理中の状態を、図13および図14はページデータ
更新処理中の状態を、図15は更新対象ページ無効化処
理中の状態を、それぞれ示す。以下、前述した各処理フ
ローに基づいて図9〜図15の説明を行う。
9 to 15 are views showing the state of the distributed file system of the present invention during each of the above-mentioned processes, and FIGS. 9 and 10 show the states before and during the file open process, respectively. FIG. 12 shows a state during page data reference processing, FIGS. 13 and 14 show a state during page data update processing, and FIG. 15 shows a state during update target page invalidation processing. Hereinafter, FIGS. 9 to 15 will be described based on the above-described processing flows.

【0031】図9のファイルオープン処理前における分
散ファイルシステムの状態では、オリジナル側プロセッ
サ110に管理される外部記憶装置115内に存在する
仮想データセット(オリジナルVDSまたはO.VD
S)に対して、分散側プロセッサAの仮想記憶装置(V
S)21内のプログラム21aと、分散側プロセッサB
のVS31内のプログラム31aとから、図3のステッ
プ301に示したファイルオープン要求が送信されてい
る。これに応じて図2および図3に示したファイルオー
プン処理が行われると、分散ファイルシステムは図10
の状態に移行する。
In the state of the distributed file system before the file open processing of FIG. 9, a virtual data set (original VDS or O.VD) existing in the external storage device 115 managed by the original processor 110 is used.
S) to the virtual memory device (V
S) program 21a in 21 and distribution side processor B
The file open request shown in step 301 of FIG. 3 is transmitted from the program 31a in the VS 31. When the file open process shown in FIGS. 2 and 3 is performed in response to this, the distributed file system is changed to that shown in FIG.
Transition to the state of.

【0032】図10のファイルオープン処理中における
分散ファイルシステムの状態では、図2および図3に示
したファイルオープン処理によって、オリジナル側11
0,分散側A120,分散側B130のいずれのプロセ
ッサに属するデータストレージ(DS)113,12
3,133にも同一内容のページテーブル(分散PT
V)が生成されるとともに、拡張仮想記憶装置(XV
S)12,22,32内のアドレス空間には仮想データ
セット空間(VDS空間)12a,22a,32aが確
保される。したがって、分散側A120,分散側B13
0のプロセッサ中のプログラム21a,31aからは、
あたかもオリジナル側プロセッサ110に属するO.V
DSと同じ仮想データセット115x,115y(分散
VDSまたはC.VDS)が、自プロセッサ120,1
30に属して存在するかのように見えるようになる。た
だし、オープン直後にはすべてのページがページアウト
された状態となっており(すなわち、PTV中のページ
不在ビットがすべてONの状態)、VDS空間12a,
22a,32aのデータはすべて無効である。
In the state of the distributed file system during the file open processing of FIG. 10, the original side 11 is executed by the file open processing shown in FIGS.
0, distributed side A120, distributed side B130 data storage (DS) 113, 12 belonging to any processor
Page tables with the same contents in 3 and 133 (distributed PT
V) is generated and the extended virtual storage device (XV
S) Virtual data set spaces (VDS spaces) 12a, 22a, 32a are secured in the address spaces in 12, 22, 32. Therefore, the distribution side A120, the distribution side B13
From the programs 21a and 31a in the 0 processor,
As if it belongs to the original processor 110. V
The virtual data sets 115x and 115y (distributed VDS or C.VDS) that are the same as the DS are the self-processors 120 and 1
It will appear as if it belongs to 30 and exists. However, immediately after the opening, all the pages are in the paged-out state (that is, all the page absent bits in the PTV are in the ON state), and the VDS space 12a,
The data of 22a and 32a are all invalid.

【0033】図11のページデータ参照処理中(対象ペ
ージがVDS空間にない場合)における分散ファイルシ
ステムの状態では、分散側プロセッサA120で実行さ
れるプログラム21aによって参照要求されたレコード
“G´”を含むページ“G”が分散側AのVDS空間2
2a中に存在しない状態(参照対象ページがページアウ
トされた状態)であるため、オリジナル側プロセッサ1
10にIOP114を介して接続された外部記憶装置1
15から図4および図5の処理によってページ“G”の
読み出しを行う。ただし、図11の場合にはファイルオ
ープン直後などのために、オリジナル側のVDS空間1
2a中にもページ“G”が存在していない。
In the state of the distributed file system during the page data reference processing of FIG. 11 (when the target page is not in the VDS space), the record "G '" requested to be referenced by the program 21a executed by the distributed processor A120 is stored. VDS space 2 on distribution side A containing page "G"
Since it is not present in 2a (the page to be referenced is paged out), the original processor 1
External storage device 1 connected to I / O 10 via IOP 114
The page "G" is read by the processing from 15 to 4 and 5. However, in the case of FIG. 11, the VDS space 1 on the original side is set because the file has just been opened.
There is no page “G” in 2a.

【0034】すなわち、分散側Aはオリジナル側に対し
てページ“G”の送信要求を行うが(ステップ50
3)、オリジナル側のVDS空間にも存在しないため、
磁気ディスク115からページ“G”のページイン動作
を行った(ステップ403)後、オリジナル側から分散
側Aへのページ“G”の送信(ステップ406)を行
う。そして、分散側Aのプログラムは送信されたページ
“G”の中から参照するレコード“G´”を読み出し
て、プログラムに渡す(ステップ506)。
That is, the distribution side A makes a transmission request for the page "G" to the original side (step 50).
3), because it does not exist in the VDS space on the original side,
After the page-in operation of the page "G" is performed from the magnetic disk 115 (step 403), the page "G" is transmitted from the original side to the distribution side A (step 406). Then, the program on the distribution side A reads out the reference record “G ′” from the transmitted page “G” and passes it to the program (step 506).

【0035】また、図12のページデータ参照処理中
(対象ページがVDS空間にある場合)における分散フ
ァイルシステムの状態では、分散側AのVDS空間22
aにすでに以前読み出されたページ“G”が存在するの
で、この中から参照するレコード“G´”を読み出し
て、プログラムに渡す。
Further, in the state of the distributed file system during the page data reference process of FIG. 12 (when the target page is in the VDS space), the VDS space 22 on the distribution side A is used.
Since the previously read page “G” already exists in “a”, the record “G ′” to be referred to from this is read and passed to the program.

【0036】なお、図中には表示されていないが、上記
いずれの場合についてもVDS空間のページ“G”に対
応するページ不在ビットは、ページ“G”の読み出しが
完了した時点でON(ページ不在)からOFF(ページ
既存)の状態に変更される。
Although not shown in the figure, in any of the above cases, the page absent bit corresponding to the page "G" in the VDS space is turned ON when the reading of the page "G" is completed (page The status is changed from (absent) to OFF (existing page).

【0037】図13のページデータ更新処理中(対象ペ
ージがVDS空間にある場合)における分散ファイルシ
ステムの状態では、プログラム21aから更新要求され
たレコード“G´”を含むページ“G”がすでに分散側
AのVDS空間22a中に存在しているため、図7の処
理によってVDS空間22aの更新を行って(ステップ
706)から、更新されたページ“G”をオリジナル側
へ送信する(ステップ707)。これを受けて、オリジ
ナル側では図6の処理により、ページ“G”の更新(ス
テップ601〜605)と、他の分散側プロセッサすな
わち分散側Bにページインされている当該ページの無効
化すなわち対応するページ不在ビットのON要求(ステ
ップ606〜608)を行う。
In the state of the distributed file system during the page data update process of FIG. 13 (when the target page is in the VDS space), the page "G" including the record "G '" requested to be updated by the program 21a has already been distributed. Since it exists in the VDS space 22a on the side A, the VDS space 22a is updated by the process of FIG. 7 (step 706), and then the updated page “G” is transmitted to the original side (step 707). . In response to this, the original side updates the page "G" (steps 601 to 605) and invalidates or responds to the page that has been paged in to another distributed side processor, that is, distributed side B by the processing of FIG. A page-absence bit ON request (steps 606 to 608) is made.

【0038】また、図14のページデータ更新処理中
(対象ページがVDS空間にない場合)における分散フ
ァイルシステムの状態では、プログラム21aから更新
要求されたレコード“G´”を含むページ“G”が分散
側AのVDS空間22a中に存在しないため、図7の処
理でオリジナル側からページ“G”を受信してVDS空
間22aに配置(ステップ703〜705)してから、
上記の処理を行う。
Further, in the state of the distributed file system during the page data update process of FIG. 14 (when the target page is not in the VDS space), the page "G" including the record "G '" requested to be updated by the program 21a is Since it does not exist in the VDS space 22a on the distribution side A, the page "G" is received from the original side in the processing of FIG. 7 and placed in the VDS space 22a (steps 703 to 705),
The above processing is performed.

【0039】図15の更新対象ページ無効化処理中にお
ける分散ファイルシステムの状態では、上述したページ
データ更新処理が分散側Aおよびオリジナル側で行われ
たときに、分散側プロセッサB130がVDS空間32
aに保持していた更新以前のページ“G”が、対応する
ページ不在ビットをONとすることによってページアウ
トの状態にされたため、次に分散側Bのプログラム31
aがページ“G”を必要としたときには、改めて図4お
よび図5の処理によってオリジナル側からページ“G”
を分散側Bへ送信する。
In the state of the distributed file system during the updating target page invalidation processing of FIG. 15, when the above-described page data update processing is performed on the distribution side A and the original side, the distribution side processor B130 causes the VDS space 32 to operate.
Since the page “G” before the update held in “a” is brought into the page-out state by turning on the corresponding page-absence bit, the program 31 on the distribution side B next.
When "a" needs the page "G", the page "G" is again processed from the original side by the processing of FIGS. 4 and 5.
To the distribution side B.

【0040】[0040]

【発明の効果】以上詳しく説明したように、請求項1記
載の発明によれば、分散ファイルシステムで使用される
ファイルの形式をすべて仮想データセットとしたため、
ファイルに対する入出力はすべて仮想記憶装置内に対す
る入出力と同等となり、プログラムからのファイルに対
する読み書きの速さを大幅に向上させてプロセッサの処
理性能を最大限に引き出すことができるという効果が得
られる。
As described above in detail, according to the invention described in claim 1, since all the file formats used in the distributed file system are virtual data sets,
The input and output to and from the file are all the same as the input and output to and from the virtual memory device, and the effect that the speed of reading and writing to and from the file from the program is greatly improved and the processing performance of the processor can be maximized is obtained.

【0041】また、上記請求項2記載の発明によれば、
分散側プロセッサからのファイルオープン要求に対して
オリジナル側プロセッサからは該当するファイルのペー
ジテーブルのみを送信するため、分散側プロセッサでは
どんな容量のファイルであってもほとんど瞬時にオープ
ンすることが可能となり、ファイルのオープンによって
分散側プロセッサの処理が待ち状態となることを防止し
てプロセッサの処理性能を最大限に引き出すことができ
るという効果が得られる。
According to the invention described in claim 2,
In response to a file open request from the distribution side processor, the original side processor sends only the page table of the corresponding file, so that the distribution side processor can open a file of any capacity almost instantly, It is possible to obtain the effect that the processing performance of the processor can be maximized by preventing the processing of the distributed processors from waiting due to the opening of the file.

【0042】また、上記請求項3記載の発明によれば、
分散側プロセッサのプログラムから上記ファイルに含ま
れるあるレコード(対象レコード)に対して参照および
更新要求があり、しかも上記対象レコードが含まれるペ
ージ(対象ページ)が分散プロセッサの仮想データセッ
ト空間に存在しない場合にのみオリジナル側プロセッサ
に対象ページ転送要求を行うため、各プロセッサ間を接
続するチャネルまたは回線には必要最小限のページデー
タのみが転送されることになり、通信トラフィックを抑
制して通信資源の利用効率を向上させることができると
いう効果が得られる。
According to the invention described in claim 3,
There is a reference and update request to a certain record (target record) contained in the file from the program of the distribution side processor, and the page (target page) containing the target record does not exist in the virtual data set space of the distributed processor. In this case, since the target page transfer request is sent to the original processor only, the minimum required page data will be transferred to the channel or line connecting each processor, suppressing communication traffic and reducing communication resources. The effect that the utilization efficiency can be improved is obtained.

【0043】また、上記請求項4記載の発明によれば、
同一ファイルの参照および更新を行っている第三の分散
側ファイルに対して、更新対象ページ無効化指令を伝え
て更新されたページをページ不在の状態とさせるのみ
で、ページデータそのものの転送を行わないため、上記
第三の分散側プロセッサの処理が待ち状態となることを
防止してプロセッサの処理性能を最大限に引き出すとと
もに、上記と同様に通信トラフィックを抑制して通信資
源の利用効率を向上させることができるという効果が得
られる。
According to the invention described in claim 4,
Transfers the page data itself by simply sending an invalidation page for the update target page to the third distribution side file that is referencing and updating the same file and setting the updated page to be in the page-absent state. Since it does not exist, the processing of the third distribution side processor is prevented from waiting and the processing performance of the processor is maximized, and communication traffic is suppressed and communication resource utilization efficiency is improved in the same manner as above. The effect that it can be obtained is obtained.

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

【図1】本発明の分散ファイルシステムの一実施例を示
す概略構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of a distributed file system of the present invention.

【図2】本発明の分散ファイルシステムのオリジナル側
プロセッサにおけるファイルオープンの処理フローを示
す図である。
FIG. 2 is a diagram showing a file open processing flow in an original processor of the distributed file system of the present invention.

【図3】本発明の分散ファイルシステムの分散側プロセ
ッサにおけるファイルオープンの処理フローを示す図で
ある。
FIG. 3 is a diagram showing a file open processing flow in the distributed processors of the distributed file system of the present invention.

【図4】本発明の分散ファイルシステムのオリジナル側
プロセッサにおけるページデータ参照の処理フローを示
す図である。
FIG. 4 is a diagram showing a processing flow of page data reference in an original processor of the distributed file system of the present invention.

【図5】本発明の分散ファイルシステムの分散側プロセ
ッサにおけるページデータ参照の処理フローを示す図で
ある。
FIG. 5 is a diagram showing a processing flow of page data reference in the distributed processors of the distributed file system of the present invention.

【図6】本発明の分散ファイルシステムのオリジナル側
プロセッサにおけるページデータ更新の処理フローを示
す図である。
FIG. 6 is a diagram showing a processing flow of updating page data in the original processor of the distributed file system of the present invention.

【図7】本発明の分散ファイルシステムの分散側プロセ
ッサにおけるページデータ更新の処理フローを示す図で
ある。
FIG. 7 is a diagram showing a processing flow of page data update in the distributed processors of the distributed file system of the present invention.

【図8】本発明の分散ファイルシステムの分散側プロセ
ッサにおける更新対象ページ無効化の処理フローを示す
図である。
FIG. 8 is a diagram showing a processing flow for invalidating update target pages in the distribution side processors of the distributed file system of the present invention.

【図9】ファイルオープン処理が行われる以前における
本発明の分散ファイルシステムの状態を示す図である。
FIG. 9 is a diagram showing a state of the distributed file system of the present invention before a file open process is performed.

【図10】ファイルオープン処理中における本発明の分
散ファイルシステムの状態を示す図である。
FIG. 10 is a diagram showing a state of the distributed file system of the present invention during file open processing.

【図11】ページデータ参照処理中における本発明の分
散ファイルシステムの状態を示す図(その1)である。
FIG. 11 is a diagram (part 1) showing the state of the distributed file system of the present invention during the page data reference process.

【図12】ページデータ参照処理中における本発明の分
散ファイルシステムの状態を示す図(その2)である。
FIG. 12 is a diagram (No. 2) showing the state of the distributed file system of the present invention during the page data reference process.

【図13】ページデータ更新処理中における本発明の分
散ファイルシステムの状態を示す図(その1)である。
FIG. 13 is a diagram (No. 1) showing the state of the distributed file system of the present invention during the page data update process.

【図14】ページデータ更新処理中における本発明の分
散ファイルシステムの状態を示す図(その2)である。
FIG. 14 is a diagram (No. 2) showing the state of the distributed file system of the present invention during the page data update process.

【図15】更新対象ページ無効化処理中における本発明
の分散ファイルシステムの状態を示す図である。
FIG. 15 is a diagram showing a state of the distributed file system of the present invention during the update target page invalidation processing.

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

110 オリジナル側プロセッサ 120 分散側プロセッサA 130 分散側プロセッサB 111,121,131 命令プロセッサ(IP) 112,122,132 プログラムストレージ(P
S) 113,123,133 データストレージ(DS) 114 入出力プロセッサ(IOP) 115 外部記憶装置 11,21,31 仮想記憶装置(VS) 11a,21a,31a プログラム 12,22,32 拡張仮想記憶装置(XVS) 12a,22a,32a 仮想データセット空間(VD
S空間)
110 Original Processor 120 Distributed Processor A 130 Distributed Processor B 111, 121, 131 Instruction Processor (IP) 112, 122, 132 Program Storage (P
S) 113, 123, 133 Data storage (DS) 114 Input / output processor (IOP) 115 External storage device 11, 21, 31 Virtual storage device (VS) 11a, 21a, 31a Program 12, 22, 32 Extended virtual storage device ( XVS) 12a, 22a, 32a Virtual data set space (VD
S space)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 あるプロセッサに管理される外部記憶装
置内に存在するファイルを他のプロセッサから参照およ
び更新することができる分散ファイルシステムにおい
て、 論理的な入出力単位であるレコードの集合を所定のスロ
ット単位に再区分した複数のページの集合からなるデー
タ部と、前記ページを検索するためのページテーブルが
記録されるインデックス部とを具備し、仮想記憶装置内
に確保された仮想データセット空間にページ固定状態で
配置された前記ページテーブル中のページ不在ビットに
応じて、プログラムから参照または更新される対象レコ
ードを含む対象ページを前記仮想データセット空間と前
記外部記憶装置との間でページングする仮想データセッ
トにより、前記ファイルを構成したことを特徴とする分
散ファイルシステム。
1. A distributed file system in which a file existing in an external storage device managed by a certain processor can be referred to and updated by another processor, and a set of records, which is a logical input / output unit, is predetermined. A virtual data set space secured in a virtual storage device is provided, which comprises a data section composed of a set of a plurality of pages redistributed in slot units, and an index section in which a page table for searching the page is recorded. Virtual for paging a target page including a target record to be referenced or updated by a program between the virtual data set space and the external storage device according to a page absent bit in the page table arranged in a page fixed state. A distributed file system characterized in that the file is constructed by a data set. Beam.
【請求項2】 前記ファイルを管理するオリジナル側プ
ロセッサに対し、前記オリジナル側プロセッサに接続さ
れた他の分散側プロセッサから前記ファイルの参照また
は更新を行う旨のファイルオープン要求があったとき、
前記仮想記憶装置内に前記仮想データセット空間を確保
して前記ファイルに対応する前記ページテーブルを前記
外部記憶装置から読み込むとともに、前記ファイルオー
プン要求を行った前記分散側プロセッサに対して読み込
んだ前記ページテーブルを送信するオリジナル側ファイ
ルオープン・ページテーブル送信手段を、前記オリジナ
ル側プロセッサに具備し、 前記オリジナル側プロセッサに対して前記ファイルオー
プン要求を行ったとき、前記仮想記憶装置内に前記仮想
データセット空間を確保するとともに、前記ファイルオ
ープン要求に応じて前記オリジナル側プロセッサから送
信された前記ページテーブルを、前記仮想データセット
空間にページ固定状態で配置する分散側ファイルオープ
ン・ページテーブル受信手段を、前記分散側プロセッサ
に具備する構成としたことを特徴とする請求項1記載の
分散ファイルシステム。
2. When a file open request to refer to or update the file is made to the original side processor managing the file from another distributed side processor connected to the original side processor,
The virtual table space is secured in the virtual storage device, the page table corresponding to the file is read from the external storage device, and the page read to the distribution side processor that has made the file open request. The original side file open / page table transmitting means for transmitting a table is provided in the original side processor, and when the file open request is issued to the original side processor, the virtual data set space is stored in the virtual storage device. And the distribution side file open / page table receiving means for arranging the page table transmitted from the original side processor in response to the file open request in the virtual data set space in a page fixed state. Side The distributed file system according to claim 1, wherein the distributed file system is provided in a processor.
【請求項3】 前記オリジナル側プロセッサに対し、前
記分散側プロセッサから前記対象ページの参照または更
新を行う旨の対象ページ転送要求があったとき、必要に
応じて前記仮想データセット空間における前記ページの
ページングを行った後に、前記対象ページを前記分散側
プロセッサに送信する対象ページ送信手段を、前記オリ
ジナル側プロセッサに具備し、 前記ページテーブル中の前記ページ不在ビットにより、
プログラムが参照または更新しようとする前記対象レコ
ードを含む前記対象ページのページ不在が確認されたと
き、前記オリジナル側プロセッサに対して前記対象ペー
ジ転送要求を行うとともに、必要に応じて前記仮想デー
タセット空間における前記ページのページングを行った
後に、前記対象ページ送信手段によって転送された前記
対象ページを前記仮想データセット空間に配置する対象
ページ受信手段を、前記分散側プロセッサに具備する構
成としたことを特徴とする請求項2記載の分散ファイル
システム。
3. When an original page transfer request is issued to the original side processor from the distribution side processor to refer to or update the target page, the page of the page in the virtual data set space is transferred as necessary. After paging, the target page sending means for sending the target page to the distribution side processor, the original side processor, comprising the page absent bit in the page table,
When it is confirmed that the page of the target page including the target record to be referenced or updated by the program is absent, the target page transfer request is made to the original processor, and the virtual data set space is used as necessary. In the above configuration, the distribution side processor is provided with target page receiving means for arranging the target page transferred by the target page transmitting means in the virtual data set space after paging the page in The distributed file system according to claim 2.
【請求項4】 前記オリジナル側プロセッサに対し、前
記分散側プロセッサから前記対象ページの更新を行った
旨の対象ページ回送要求があったとき、必要に応じて前
記仮想データセット空間における前記ページのページン
グを行った後に、前記分散側プロセッサから転送された
前記対象ページを前記仮想データセット空間に配置する
とともに、前記対象ページ回送要求を行った前記分散側
プロセッサを除き、前記ファイルの参照または更新を行
っている他の分散側プロセッサに対して、更新された前
記対象ページに対応する前記ページ不在ビットをページ
不在の状態に設定すべき旨の更新対象ページ無効化指令
を伝える更新対象ページ無効化手段を、前記オリジナル
側プロセッサに具備し、 前記仮想データセット空間に配置された前記対象ページ
に含まれる前記対象レコードの内容がプログラムによっ
て更新されたとき、前記オリジナル側プロセッサに対し
て前記対象ページ回送要求を行って前記対象ページを前
記オリジナル側プロセッサに送信する対象ページ回送手
段を、前記分散側プロセッサに具備する構成としたこと
を特徴とする請求項3記載の分散ファイルシステム。
4. The paging of the page in the virtual data set space, if necessary, when the original processor is requested to forward the target page by the distributed processor to the effect that the target page has been updated. After that, the target page transferred from the distribution side processor is arranged in the virtual data set space, and the file is referenced or updated except for the distribution side processor that has made the target page forwarding request. An update target page invalidating means for transmitting an update target page invalidation command to the effect that the page absent bit corresponding to the updated target page should be set to a page absent state to another distributed processor , The target provided in the processor on the original side and arranged in the virtual dataset space When the content of the target record included in the page is updated by a program, a target page forwarding means for sending the target page forwarding request to the original side processor and sending the target page to the original side processor, The distributed file system according to claim 3, wherein the distributed file system is provided in the distributed processor.
JP5048095A 1993-03-09 1993-03-09 Decentralized file system Pending JPH06259303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5048095A JPH06259303A (en) 1993-03-09 1993-03-09 Decentralized file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5048095A JPH06259303A (en) 1993-03-09 1993-03-09 Decentralized file system

Publications (1)

Publication Number Publication Date
JPH06259303A true JPH06259303A (en) 1994-09-16

Family

ID=12793762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5048095A Pending JPH06259303A (en) 1993-03-09 1993-03-09 Decentralized file system

Country Status (1)

Country Link
JP (1) JPH06259303A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0895838A (en) * 1994-09-22 1996-04-12 Nec Corp Double writing control method for data
US20150050093A1 (en) * 2013-08-19 2015-02-19 The Boeing Company Fluid-Fed Vacuum Cutters

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0895838A (en) * 1994-09-22 1996-04-12 Nec Corp Double writing control method for data
US20150050093A1 (en) * 2013-08-19 2015-02-19 The Boeing Company Fluid-Fed Vacuum Cutters

Similar Documents

Publication Publication Date Title
US20190075163A1 (en) Apparatus including an i/o interface and a network interface and related method of use
US4897781A (en) System and method for using cached data at a local node after re-opening a file at a remote node in a distributed networking environment
US10860245B2 (en) Method and apparatus for optimizing data storage based on application
US10831612B2 (en) Primary node-standby node data transmission method, control node, and database system
US20030120669A1 (en) Duplex structure of main-memory DBMS using log information in diskless environment and method for controlling consistency of data of main-memory DBMS
US8612717B2 (en) Storage system
US5657471A (en) Dual addressing arrangement for a communications interface architecture
US7613786B2 (en) Distributed file system
JPH07239808A (en) Distributed data managing system
JP3848268B2 (en) Computer system, computer apparatus, data access method and program in computer system
CN110413689B (en) Multi-node data synchronization method and device for memory database
JPH06259303A (en) Decentralized file system
US11341163B1 (en) Multi-level replication filtering for a distributed database
JPS63289657A (en) Common file access system
JP3819517B2 (en) Data transfer control method and computer system for distributed shared memory
JP3237599B2 (en) Multiprocessor system and data transfer method in multiprocessor system
CN114328364B (en) Data transmission method, device and equipment in full text search engine and storage medium
CN112286897B (en) Method for communication between PNFS server and client
US11853319B1 (en) Caching updates appended to an immutable log for handling reads to the immutable log
JPH01198862A (en) System for managing received document
JPH08202602A (en) File backup method
JPH0612388A (en) Access system for decentralized file
JPH09204337A (en) Data base management system
JPH0773092A (en) Data transfer quantity reduction method in remote file access
JP5664389B2 (en) Computer system