JPH0336640A - Control system for record storing space - Google Patents

Control system for record storing space

Info

Publication number
JPH0336640A
JPH0336640A JP1169981A JP16998189A JPH0336640A JP H0336640 A JPH0336640 A JP H0336640A JP 1169981 A JP1169981 A JP 1169981A JP 16998189 A JP16998189 A JP 16998189A JP H0336640 A JPH0336640 A JP H0336640A
Authority
JP
Japan
Prior art keywords
extent
file
space
record
processing
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
JP1169981A
Other languages
Japanese (ja)
Inventor
Hiroaki Tsuno
洋明 津野
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 JP1169981A priority Critical patent/JPH0336640A/en
Publication of JPH0336640A publication Critical patent/JPH0336640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve speed for processing by providing a space control table to express the using state of spaces in respective extents and a semaphore to execute the exclusive control of these space control tables. CONSTITUTION:An n-th extent is generated in a file 1. At first, the exclusive control is executed to the n-th extent as the increased extent by using the semaphore in a space control table exclusive control table 4 for the n-th extent so that the n-th extend can be in an uncompleted state and can not be used from the other process. The n-th extent is added to the file 1 and the increase processing of the file 1 is executed. Then, the information of the n-th extent are added to a file control record 6 and further, formating the n-th extent. The top space of the n-th extent is defined as the space control table and written to an Rm record. Thus, since the record can be updated and erased for the unit of the extent constituting the file, the addition processing of the new extent can be executed simultaneously, with the addition, update and deletion of the record in the existent extent.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ファイル管理方式に係り、特に、ファイル内
のレコード格納スペースをファイルのエクステント単位
で管理する単段を持ったレコード格納スペース制御方式
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a file management method, and in particular, a record storage space control method having a single stage for managing record storage space in a file in units of file extents. Regarding.

[従来の技術] ファイル管理方式において、一般に、論理的な関連性を
持ち分割すると意味をなさなくなる一群のレコードをメ
ンバと呼び、複数のメンバを1つのファイルに格納して
管理する場合、ファイル内は、ディレクトリ部とデータ
部とに分けて使用される。そして、データ部にはメンバ
のレコードが順次格納され、ディレクトリ部にはメンバ
の名称と、メンバのレコードがデータ部のどこに格納さ
れているかを示す情報が格納される。
[Prior Art] In a file management system, a group of records that have a logical relationship and become meaningless when divided is generally called a member. When multiple members are stored and managed in one file, is used separately for a directory part and a data part. The records of the members are sequentially stored in the data section, and the names of the members and information indicating where in the data section the records of the members are stored are stored in the directory section.

このように構成されるファイルを管理する従来技術は、
ファイル内のメンバのレコードを読み出す場合、メンバ
の名称をキーにしてディレクトリ部をサーチし、メンバ
のレコードの位置を知り、これにより、レコードの読み
出しを行い、また、メンバの更新を行う場合、データ部
の空き領域にメンバのレコードを書き込み、ディレクト
リ部内のメンバのレコード位置情報を更新し、さらに、
更新前のメンバのレコードが占めていたデータ部の領域
を空き状態にすることにより、ファイルの管理を行なっ
ている。そして、この従来技術は、前述ように行なわれ
るファイル管理のため、データ部の空き領域を捜したり
、不要になったレコードが占めていた領域を空き状態に
するために、般に、ファイル内のスペースを管理するス
ペース管理簿を用いている。
Conventional technology for managing files configured in this way is
When reading a member record in a file, the directory part is searched using the name of the member as a key, the position of the member record is found, and the record is read. Also, when updating a member, the data writes the member's record to the free space in the directory section, updates the member's record position information in the directory section, and
The file is managed by freeing up the area in the data section that was occupied by the member record before the update. In order to manage the file as described above, this conventional technology generally searches for free space in the data section and frees up space occupied by records that are no longer needed. A space management book is used to manage the space.

スペース管理簿は、一般に、ファイル内のブロック単位
に、使用中であるか空き状態であるかを記憶するビット
マツプにより構成されている。そして、ファイル内のメ
ンバを追加、更新、あるいは削除するときには、スペー
ス管理簿内のブロック使用状況を示す情報を参照して、
メンバの更新が行なわれる。このとき、複数のプロセス
から同時にメンバの追加、更新、あるいは、削除要求が
あった場合でも、ファイル内の空き領域の二重割当を防
止する必要があり、このため、スペース管理簿の参照、
更新処理は、排他的に行う必要がある。
A space management list generally consists of a bitmap that stores whether each block in a file is in use or free. When adding, updating, or deleting members in a file, refer to the block usage information in the space management list.
Members are updated. At this time, even if multiple processes request to add, update, or delete members at the same time, it is necessary to prevent double allocation of free space within the file.
Update processing must be performed exclusively.

また、一般に、ファイルに格納可能なデータ量を増加さ
せるためのファイルのデータ部の拡張処理も、スペース
管理簿で管理する情報を追加することにより行なう必要
があり、この場合にも、スペース管理簿の更新が発生す
る。このため、ファイルの拡張増分処理も、メンバの追
加、更新、削除処理と同様にスペース管理簿更新処理を
互いに排他的に行わなければならない。
Generally, expanding the data section of a file to increase the amount of data that can be stored in the file also needs to be done by adding information managed in the space management book. An update occurs. For this reason, file expansion and incremental processing must be performed mutually exclusively with space management list update processing, similar to member addition, update, and deletion processing.

前述したように、従来技術は、排他的に行わなければな
らない処理を、ファイル全体を排他制御して行うもので
あった。しかし、この従来技術による方式は、ファイル
の既存スペース範囲内で更新可能なメンバの更新やメン
バの削除要求も、ファイルスペース拡張処理中に発行さ
れると、ファイルスペース拡張完了まで待たされてしま
う。このため、前記従来技術は、メンバの追加、更新あ
るいは削除処理とファイルスペースの拡張を同時に行え
ないものであった。
As described above, in the conventional technology, processing that must be performed exclusively is performed by exclusively controlling the entire file. However, in this conventional method, if a request to update or delete a member that can be updated within the existing space of a file is issued during file space expansion processing, the request is made to wait until the file space expansion is completed. For this reason, the above-mentioned conventional technology cannot perform addition, update, or deletion processing of members and expansion of file space at the same time.

特に、ファイルスペースの拡張処理は、他の処理に比較
してその処理時間を多く必要とするため、前記従来技術
は、ファイルスペースの拡張処理中に、他の処理が待た
されることにより、処理効率を大きく低下させてしまう
ものであった。
In particular, since file space expansion processing requires more processing time than other processes, the above-mentioned conventional technology reduces processing efficiency by making other processes wait while file space expansion processing is in progress. This resulted in a significant decrease in .

なお、この種ファイル管理に関する従来技術として、例
えば、特開昭58−50043号公報等に記載された技
術が知られている。
Incidentally, as a conventional technique related to this type of file management, for example, a technique described in Japanese Patent Application Laid-Open No. 58-50043 is known.

[発明が解決しようとする課題] 前記従来技術は、ファイル内のレコード格納スペースを
拡張する場合、ファイル全体を排他制御するため、既存
ファイル内のレコードの更新、削除を、レコード格納ス
ペース拡張処理と同時に行なうことができず、処理効率
を低下させるという問題点を有していた。
[Problems to be Solved by the Invention] In the prior art, when expanding the record storage space in a file, in order to exclusively control the entire file, updating and deleting records in the existing file is performed as record storage space expansion processing. It is not possible to perform these processes simultaneously, which has the problem of reducing processing efficiency.

本発明の目的は、前記従来技術の問題点を解決し、ファ
イルを構成するエクステント単位でレコードの更新、削
除を可能とし、これにより、ファイルの増分割当て、す
なわち、新エクステントの追加処理と、既存エクステン
ト内のレコードの追加、更新、削除とを同時に実行可能
とすると共に、複数のプロセスからの、ファイル内のレ
コードの追加、更新、削除を、異なるエクステントの場
合に並列に行なうことのできるレコード格納スペース制
御方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, and to make it possible to update and delete records in units of extents constituting a file. Record storage that allows records in an extent to be added, updated, and deleted simultaneously, and records in a file to be added, updated, and deleted in parallel from multiple processes in different extents. The purpose is to provide a space control method.

[課題を解決するための手段] 本発明によれば前記目的は、ファイルを構成するエクス
テントごとにエクステント内のスペースの使用状況を示
すスペース管理簿を持ち、これらのエクステント毎のス
ペース管理簿単位に、排他制御をかけられるようにスペ
ース管理簿に対応した数のセマフォを持たせることによ
り、レコード格納スペース更新処理をエクステント単位
に独立に行い得るようにすることにより達成される。
[Means for Solving the Problems] According to the present invention, the above object is to have a space management book indicating the usage status of space in the extent for each extent constituting a file, and to have a space management book for each extent. This is achieved by providing a number of semaphores corresponding to the space management list so that exclusive control can be applied, thereby making it possible to independently perform record storage space update processing in units of extents.

[作 用] ファイルスペースの増分処理は、割り当てるエクステン
トのスペース管理簿に対応したセマフォを使用して、割
り当て予定エクステントの排他制御を行ってから、エク
ステントを割り当て、その先頭にスペース管理簿を置い
て行われる。このような排他制御により、増分処理完了
まで増分エクステントへのアクセスを防ぐことができる
[Operation] File space incremental processing uses a semaphore that corresponds to the space management list of the extent to be allocated, takes exclusive control of the extent to be allocated, then allocates the extent, places the space management list at the beginning of it, and then It will be done. Such exclusive control can prevent access to the incremental extent until the incremental processing is completed.

送出して、この場合、既存のエクステントのスペース管
理簿には、排他制御がかかつていないので、既存エクス
テント範囲内のレコードの追加、更新、削除を並列的に
行なうことが可能である。
In this case, since exclusive control has never been applied to the space management list of existing extents, it is possible to add, update, and delete records within the range of existing extents in parallel.

[実施例] 以下、本発明によるレコード格納スペース制御方式の一
実例を図面により詳細に説明する。
[Embodiment] Hereinafter, an example of the record storage space control method according to the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の処理概略を示す図、第2図
、第3図、第4図は本発明の一実施例の動作を説明する
各種処理のフローチャートである。
FIG. 1 is a diagram showing a processing outline of an embodiment of the present invention, and FIGS. 2, 3, and 4 are flowcharts of various processes explaining the operation of an embodiment of the present invention.

第1図において、1はファイル、2はファイルを構成す
るエクステント 3はエクステント先頭に位置するスペ
ース管理簿、4はスペース管理簿排他制御テーブル、5
はボリウム目録(以下、VT○Cという)、6はファイ
ル管理レコード、7はレコード格納スペース制御プログ
ラム、8はディレクトリ部である。
In Figure 1, 1 is a file, 2 is an extent that makes up the file, 3 is a space management book located at the beginning of the extent, 4 is a space management book exclusive control table, 5
is a volume catalog (hereinafter referred to as VT○C), 6 is a file management record, 7 is a record storage space control program, and 8 is a directory section.

第1図に示す本発明の一実施例において、ファイルlは
、媒体上で連続なエクステント2と呼ばれる複数の領域
により構成される。ファイル1を構成するエクステント
2は、ボリウム目録と呼ばれる媒体上のテーブルVTO
C5に格納されたファイル管理レコード6を用いて管理
されており。
In one embodiment of the present invention shown in FIG. 1, file l is composed of a plurality of continuous areas called extents 2 on the medium. Extent 2 that constitutes file 1 is a table VTO on the medium called a volume catalog.
It is managed using file management record 6 stored in C5.

このエクステント2は、ファイルの割り当てや増分時の
最小単位となる。ファイルlは、さらに、ディレクトリ
部8を備え、メンバのレコードがファイルのどこに格納
されているかを管理するために使用される。
This extent 2 becomes the minimum unit when allocating or incrementing a file. The file l further includes a directory section 8, which is used to manage where member records are stored in the file.

ファイルl内に格納されているメンバのレコードを読出
す場合、メンバの名称をキーとしてディレクトリ部8が
サーチされ、レコードの格納場所が検索される。レコー
ド格納スペース制御プログラム7は、このようなファイ
ル1内のレコードの格納スペースを管理するプログラム
であり、ファイルlのスペースを、各エクステント2の
先頭レコードに設置したスペース管理簿3を用いて管理
している。スペース管理簿3は、エクステント2内の各
ブロックが使用中であるか、空き状態であるかを示す情
報を持っている。レコード格納スペース制御プログラム
7は、メンバの追加、削除、更新、あるいは、ファイル
増分に伴うレコード格納スペースの変化に対応して呼び
出され、スペース管理簿3を使用して、追加、更新メン
バのレコード書き込みスペースを決定し、あるいは、削
除メンバのレコードが占めていたスペースを空き状態に
する制御を実行する。その際、レコード格納スペース制
御プログラム7は、スペース管理簿3の参照、更新を排
他的に行うためにスベ・−ス管理簿排他制御テーブル4
内に各エクステント2に対応して備えられているセマフ
ォを使用する。
When reading a record of a member stored in file l, the directory section 8 is searched using the name of the member as a key to find the storage location of the record. The record storage space control program 7 is a program that manages the storage space of records in the file 1, and manages the space of the file l using the space management list 3 installed in the first record of each extent 2. ing. The space management list 3 has information indicating whether each block within the extent 2 is in use or free. The record storage space control program 7 is called in response to addition, deletion, or update of members, or changes in the record storage space due to file increment, and uses the space management list 3 to write records of added or updated members. Determine the space or perform control to free the space occupied by the record of the deleted member. At this time, the record storage space control program 7 uses a space management book exclusive control table 4 to exclusively refer to and update the space management book 3.
A semaphore provided in correspondence to each extent 2 is used.

前述のように構成される本発明の一実施例の各種処理動
作を、第2図〜第4図に示すフローを参照して説明する
Various processing operations of an embodiment of the present invention configured as described above will be explained with reference to the flows shown in FIGS. 2 to 4.

まず、ファイルの増分処理の動作を第2図により説明す
る。
First, the operation of file increment processing will be explained with reference to FIG.

(1)ファイル1内に、新たに第n番目のエクステント
を生成するものとする9この場合、まず、これから作成
する第nエクステントが、未完の状態で他プロセスから
使用されることがないようにするため、第nエクステン
ト用のスペース管理簿排他制御テーブル4内のセマフォ
を用いて増分エクステントである第nエクステントを排
他制御する(ステップ2])。
(1) Assume that a new nth extent is created in file 19 In this case, first, make sure that the nth extent that will be created from now on is not used by other processes in an incomplete state. Therefore, the n-th extent, which is an incremental extent, is exclusively controlled using the semaphore in the space management book exclusive control table 4 for the n-th extent (step 2).

(2)第nエクステントをファイルlに追加してファイ
ルの増分処理を行い、ファイル管理レコード6に第nエ
クステントの情報を追加し、さらに、第nエクステント
のフォーマツティングを行なう(ステップ22〜24)
4 (3)増分エクステントである第nエクステントの先頭
スペースをスペース管理簿3とし、Rmレコードを書き
込む(ステップ25)。
(2) Add the nth extent to file l, perform file incremental processing, add information about the nth extent to file management record 6, and perform formatting of the nth extent (steps 22 to 24). )
4 (3) The leading space of the n-th extent, which is the incremental extent, is set as the space management list 3, and an Rm record is written (step 25).

(4)以上の処理により、増分エクステントである第n
エクステントが完成したため、スペース管理簿排他制御
テーブル4の第nエクステント用のセマフォを用いて、
第nエクステントに対する、すなわち、このエクステン
トのスペース管理簿3に対する排他制御を解除する(ス
テップ26)。
(4) Through the above processing, the nth incremental extent
Since the extent is completed, use the semaphore for the nth extent of the space management book exclusive control table 4,
The exclusive control on the n-th extent, that is, on the space management list 3 of this extent, is released (step 26).

次に、第3図によりエクステント内に格納されているレ
コードの削除処理を説明する。
Next, the process of deleting records stored in an extent will be explained with reference to FIG.

(1)まず、VTOC5内のファイル管理レコード6を
取り込み、削除すべきレコードが、どのエクステントに
含まれているかを調べる(ステップ31.32)。
(1) First, the file management record 6 in the VTOC 5 is imported and it is determined which extent contains the record to be deleted (steps 31 and 32).

(2)スペース管理簿排他制御テーブル4内の、削除す
べきレコードを含むエクステントのセマフォを用いて、
削除すべきレコードを含むエクステントを排他制御する
。(ステップ33)。
(2) Using the semaphore of the extent containing the record to be deleted in the space management book exclusive control table 4,
Exclusively control the extent containing the record to be deleted. (Step 33).

(3〉削除すべきレコードを含むエクステントの先頭に
あるスペース管理簿3を取り込み、削除すべきレコード
に対応した情報を未使用状態にすることによりレコード
の削除を実行する(ステップ34.35)。
(3> Record deletion is executed by importing the space management list 3 at the head of the extent containing the record to be deleted and making the information corresponding to the record to be deleted unused (steps 34 and 35).

(4)ステップ35の処理を終了したスペース管理簿3
をエクステントの先頭の元の場所に書き込んでレコード
の削除を完了させ、最後に、スペース管理簿排他制御テ
ーブル4内の対応するセマフォを用いてそのエクステン
トの排他制御を解除する(ステップ36.37)。
(4) Space management book 3 that has completed the process of step 35
is written to the original location at the beginning of the extent to complete the deletion of the record, and finally, the exclusive control of the extent is released using the corresponding semaphore in the space management book exclusive control table 4 (steps 36 and 37). .

前述した第2図と第3図の処理において、削除すべきレ
コードを含むエクステントと増分処理を行なうエクステ
ントとが同一となることはなく、増分エクステントの排
他制御(第2図のステップ21)と、削除すべきレコー
ドを含むエクステントの排他制御(第3図のステップ3
3)とが競合することがない。このため、前述した本発
明の一実施例によれば、増分処理とレコードの削除処理
とを同時に実行することが可能となる。
In the processes shown in FIGS. 2 and 3 described above, the extent containing the record to be deleted and the extent to which incremental processing is performed are never the same, and exclusive control of the incremental extent (step 21 in FIG. 2) is performed. Exclusive control of extents containing records to be deleted (step 3 in Figure 3)
3) There is no conflict between the two. Therefore, according to the above-described embodiment of the present invention, it is possible to perform incremental processing and record deletion processing at the same time.

次に、第3図によりレコード格納用のスペースを求める
処理を説明する。
Next, the process of determining the record storage space will be explained with reference to FIG.

(1)既存エクステントの中でレコードを格納できるス
ペースをエクステントの順番に探すため、まず、エクス
テントの番号iを“O”に初期設定した後、+1して、
このエクステントの番号iがファイル1を構成する全エ
クステントの最終エクステントの番号nより大きくない
ことを確認する(ステップ41〜43)。
(1) In order to search for a space that can store records in existing extents in the order of the extents, first initialize the extent number i to "O", then increment it by 1,
It is confirmed that this extent number i is not larger than the last extent number n of all extents constituting the file 1 (steps 41 to 43).

(2)この第iエクステントに、前述した処理の場合と
同様に排他制御をかけ、第iエクステントの先頭にある
スペース管理簿3を取り込む(ステップ44.45)。
(2) Exclusive control is applied to this i-th extent in the same manner as in the process described above, and the space management list 3 at the head of the i-th extent is taken in (steps 44 and 45).

(3)ステップ45で取り込んだスペース管理簿3内の
管理情報を調査し、そのエクステント内に空きスペース
があるか否かを検索する(ステップ46.47)。
(3) Examine the management information in the space management list 3 imported in step 45, and search whether there is free space within the extent (steps 46 and 47).

(4)ステップ47で、空きスペースが見つかれば、第
iエクステントのスペース管理簿3内で空きスペースを
割り当て、そのスペース管理簿3を第iエクステントの
先頭レコードに書き込む(ステップ48.49)。
(4) If a free space is found in step 47, the free space is allocated in the space management list 3 of the i-th extent, and the space management list 3 is written in the first record of the i-th extent (steps 48 and 49).

(5)第iエクステントの排他制御を前述の処理の場合
と同様に解除して処理を終了する(ステップ50)。
(5) Exclusive control of the i-th extent is released in the same way as in the above-described process, and the process ends (step 50).

(6)ステップ47で、第nエクステント内に空きスペ
ースが見つからない場合、第iエクステントの排他制御
を解除し、ステップ42からの処理を、エクステント番
号を+1しながら空きスペースが見つかるまで、あるい
は、ステップ43で、iがnより大きくなるまで繰返し
実行する(ステップ51)。
(6) In step 47, if no free space is found in the n-th extent, release the exclusive control of the i-th extent and continue the process from step 42 while incrementing the extent number by 1 until a free space is found, or In step 43, the process is repeated until i becomes larger than n (step 51).

前述した処理において、既存エクステント内に要求する
空きスペースが見つかればこの処理におけるエクステン
トの排他制御(第4図のステップ44)は、増分エクス
テントの排他制御(第2図のステップ21)と競合する
ことがない。このため、前述した本発明の一実施例によ
れば、増分処理とレコード格納スペースを求める処理を
同時に実行することが可能となる。
In the process described above, if the requested free space is found in the existing extent, the exclusive control of the extent in this process (step 44 in FIG. 4) will conflict with the exclusive control of the incremental extent (step 21 in FIG. 2). There is no. Therefore, according to the embodiment of the present invention described above, it is possible to simultaneously execute the incremental processing and the processing for determining the record storage space.

また1本発明の一実施例によれば、エクステント毎に排
他制御を行なっているので、複数のプロセスからの要求
を、同−エクステントに対するものでない限り、並列に
処理することが可能である。
Furthermore, according to one embodiment of the present invention, exclusive control is performed for each extent, so requests from multiple processes can be processed in parallel unless they are for the same extent.

[発明の効果] 以上説明したように本発明によれば、ファイルを構成す
るエクステント毎に設けた、各エクステント内のスペー
ス使用状況を表すスペース管理簿と、これらのスペース
管理簿を排他制御するセマフォとを備えることにより、
ファイルの増分処理と、ファイル内のレコードの更新、
削除処理を並列に同時に実行することが可能となる。ま
た、ファイルを使用しながら増分処理を行なうことがで
きるので、処理の高速化及びファイルシステムの運用の
自由度の向上を図ることができる。
[Effects of the Invention] As explained above, according to the present invention, a space management list is provided for each extent constituting a file and represents the space usage status in each extent, and a semaphore is provided for exclusive control of these space management records. By having
Incremental processing of a file and updating of records within the file,
It becomes possible to simultaneously execute deletion processing in parallel. Further, since incremental processing can be performed while using files, processing speed can be increased and the degree of freedom in file system operation can be increased.

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

第1図は本発明の一実施例の処理概略を示す図、第2図
は増分割り当て処理の流れを示すフローチャート、第3
図はレコード削除処理の流れを示すフローチャート、第
4図はレコード格納スペース割り当て処理の流れを示す
フローチャートである。 l・・・・・・ファイル、2・・・・・・ファイルを構
成するエクステント、3・・・・・・エクステント先頭
に位置するスペース管理簿、4・・・・・・スペース管
理簿排他制御テーブル、5・・・・・・VTOC,6・
・・・・・ファイル管理レコード、7・・・・・・レコ
ード格納スペース制御プロダラム、 8・・・・・・ディレクトリ部。 第1図 第2図 第3図
FIG. 1 is a diagram showing a processing outline of an embodiment of the present invention, FIG. 2 is a flowchart showing the flow of incremental allocation processing, and FIG.
FIG. 4 is a flowchart showing the flow of record deletion processing, and FIG. 4 is a flowchart showing the flow of record storage space allocation processing. l...File, 2...Extents that make up the file, 3...Space management book located at the beginning of the extent, 4...Space management book exclusive control Table, 5...VTOC, 6.
... File management record, 7 ... Record storage space control program, 8 ... Directory section. Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】 1、ファイル内のレコード格納スペースを管理するスペ
ース管理簿を備えたファイルの制御方式において、ファ
イルを構成するエクステント毎に、該エクステント内の
レコード格納スペースを管理するスペース管理簿を備え
、該スペース管理簿の更新処理を排他制御することを特
徴とするレコード格納スペース制御方式。 2、前記スペース管理簿の更新処理を排他制御するため
、スペース管理簿毎にセマフオを備えることを特徴とす
る特許請求の範囲第1項記載のレコード格納スペース制
御方式。 3、前記スペース管理簿の更新処理を排他制御すること
により、ファイルのレコード格納スペースの増分処理を
行ない新しいエクステントを割り当てているときに、既
存エクステント範囲内でレコードの追加、更新あるいは
削除を可能としたことを特徴とする特許請求の範囲第1
項または第2項記載のレコード格納スペース制御方式。
[Claims] 1. In a file control method including a space management list for managing record storage space within a file, for each extent constituting a file, a space management list for managing record storage space within the extent. 1. A record storage space control method, comprising: exclusive control of update processing of the space management list. 2. The record storage space control system according to claim 1, wherein a semaphore is provided for each space management list in order to exclusively control update processing of the space management list. 3. By exclusively controlling the updating process of the space management list, it is possible to add, update, or delete records within the range of existing extents while incrementally processing the record storage space of a file and allocating new extents. Claim 1 characterized in that
The record storage space control method described in item 1 or 2.
JP1169981A 1989-07-03 1989-07-03 Control system for record storing space Pending JPH0336640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1169981A JPH0336640A (en) 1989-07-03 1989-07-03 Control system for record storing space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1169981A JPH0336640A (en) 1989-07-03 1989-07-03 Control system for record storing space

Publications (1)

Publication Number Publication Date
JPH0336640A true JPH0336640A (en) 1991-02-18

Family

ID=15896389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1169981A Pending JPH0336640A (en) 1989-07-03 1989-07-03 Control system for record storing space

Country Status (1)

Country Link
JP (1) JPH0336640A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0997205A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0997205A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment

Similar Documents

Publication Publication Date Title
US5029125A (en) Method of reading and writing files on nonerasable storage media
US7213116B2 (en) Method and apparatus for mirroring objects between storage systems
US5579516A (en) Method for storing data files on a multiple volume media set
JP2998857B2 (en) Structured data storage method and medium
JPH04141867A (en) File managing method
KR20020080458A (en) A method for repartitioning physical sectors of a storage system with use of virtual disc drives, a data processing apparatus and a data storage apparatus
JPH0317141B2 (en)
JP4394467B2 (en) Storage system, server apparatus, and preceding copy data generation method
JPH02257340A (en) Virtual copy file system
JPH0336640A (en) Control system for record storing space
JPH0644118A (en) File backup system
JP2767966B2 (en) High-speed file access method
JPH0581091A (en) Data processor
JPH04155546A (en) Multivolume file processing method
JPS58163054A (en) Member replacing system of section data set
JPH0652019A (en) File controller
JP2000148550A (en) Area management method and free area management method for file
JPH0283639A (en) File generation control method
JPH01237853A (en) System for processing degeneration of prime page in hash file
JPH0273436A (en) File control system
JPH0310341A (en) Disk space compaction system
JPH04156626A (en) File entry generating system for vtoc
JPS63257849A (en) Reorganizing method for file in use
JPS6113488A (en) Storage control system of nonerase type disk device
JPS63173270A (en) Data set area managing system for draw type storage device