JPS61109160A - Area control system for inter-system share volume - Google Patents

Area control system for inter-system share volume

Info

Publication number
JPS61109160A
JPS61109160A JP59229303A JP22930384A JPS61109160A JP S61109160 A JPS61109160 A JP S61109160A JP 59229303 A JP59229303 A JP 59229303A JP 22930384 A JP22930384 A JP 22930384A JP S61109160 A JPS61109160 A JP S61109160A
Authority
JP
Japan
Prior art keywords
area
file
mode
reserved
allotment
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
JP59229303A
Other languages
Japanese (ja)
Inventor
Yuji Terauchi
寺内 勇二
Yoshiaki Shimada
島田 芳明
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 JP59229303A priority Critical patent/JPS61109160A/en
Publication of JPS61109160A publication Critical patent/JPS61109160A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the replacement processing time of a volume register list VTOC by giving just a reserved display on the VTOC with a temporary work file and performing the registration when necessary with an inherent or shared file. CONSTITUTION:An area set under an idle mode 1 is changed to an allotment executed mode 2 in the form of an inter-system share file by the file area allotment processing. The undesired shared file is reset to the mode 1 by the file release processing. At the same time, the area set under the mode 1 is turned into a reserved mode 3 to either one of systems by the collective reservation process. The area in the mode 3 can be canceled (released collectively) with its reservation. It is also possible to turn an area used as a work file in the system reserved area into a system proper area. Then this inherent area is turned into an allotment executed mode 4 by the partial allotment processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機の外部記憶装置、いわゆる直接アク
セス記憶装置(DASD)の領域管理方式に関し、特に
2以上の計算機システムで共用されるDASDにおいて
、1つのシステム内でのみ使用されるワークファイル領
域の割当て/解放処理を効率的に行なう方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an area management system for an external storage device for a computer, a so-called direct access storage device (DASD), and particularly for a DASD that is shared by two or more computer systems. The present invention relates to a method for efficiently allocating/releasing a work file area used only within one system.

〔従来の技術〕[Conventional technology]

一般にDASD上のファイル領塊の管理は、当該DAS
D内の特定領域にあるボリューム登録簿(VTOC)を
用いて、DASD側のハードウェアが領域の割当て/解
放を行なう。
Generally, the management of file areas on a DASD is
Using the volume register (VTOC) in a specific area in D, the hardware on the DASD side allocates/releases the area.

また複数のシステλ間でDASD (正しくはボリュー
ム:1つのDASDが1つのボリューム又は複数のボリ
ュームを含んでいる)を共用する場合、領域管理の都合
上何らかのシステム間排他制御が必要となる。
Furthermore, when a DASD (or more accurately, a volume: one DASD includes one volume or a plurality of volumes) is shared between a plurality of systems λ, some kind of inter-system exclusive control is required for area management reasons.

共用されるボリウム内には、両システムでその内容が共
用される共用ファイル、一方のシステムが固有に用いる
固有ファイル、一方のシステムが一時的に作業領域とし
て用いるワークファイル等がある。
The shared volume includes a shared file whose contents are shared by both systems, a unique file used uniquely by one system, and a work file used temporarily as a work area by one system.

従来のVTOCによる領域管理では、ボリューム上の領
域を「割当済み領域」と「空き領域」とに分類して管理
している。
In conventional area management using VTOC, areas on a volume are managed by classifying them into "allocated areas" and "free areas."

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の領域管理方式では、一方のシステムに上記固有フ
ァイルを割当てる場合も上記作業ファイルを割当てる場
合も、同じ扱いでVTOC上で排他制御を行なっており
、そのためにはVTOCを何度もアクセスする必要があ
り、その間他のシステムはそのボリュームにアクセスが
できなくなる。
In conventional area management methods, exclusive control is performed on the VTOC with the same treatment when allocating the above-mentioned unique file or the above-mentioned work file to one system, and in order to do so, it is necessary to access the VTOC many times. During this period, other systems will be unable to access the volume.

このような方式では、会話型端末数が増大しているOA
志向のシステムなどのように、一時的な作業領域を各端
末等のリクエスト源毎に頻繁に生成/消滅させる場合に
は非能率的である。
In this type of system, the number of conversational terminals is increasing.
It is inefficient when temporary work areas are frequently created and deleted for each request source such as each terminal, such as in a computer-oriented system.

〔問題点を解決するための手段〕[Means for solving problems]

本発明はこのよ゛うに一時的な作業領域の割当/解放の
処理を効率化することを目的とし、そのために、VTO
C上での領域管理を「割当済み」 「空き」に加えて「
予約済」の3種の状態を用いて行なうようにしたもので
ある。
The purpose of the present invention is to improve the efficiency of temporary work area allocation/release processing, and for this purpose, VTO
In addition to “allocated” and “free”, space management on C can be changed to “allocated” and “free”.
This is done using three types of status: ``reserved''.

〔作用〕[Effect]

即ち、各システムは予じめ所定の領域を単に予約し、V
TOC上にはその領域が単に予約済みであることを示す
にとどめ、他のシステムが重複予約することを防ぐのみ
とし、該領域内でのワークファイルの各端末への割当て
等は、当該システムの領域管理プログラムがメモリ上で
独自に管理を行なうことにより、VTOCの正式な割当
て作業に伴う繁雑な処理は不要となり、他システムのア
クセスを遅らせることもなくなる。
That is, each system simply reserves a predetermined area in advance, and
The TOC simply indicates that the area is reserved, and only prevents other systems from making duplicate reservations, and the assignment of work files to each terminal within the area is at the discretion of the system in question. Since the area management program independently manages the memory, the complicated processing associated with formal VTOC allocation work is unnecessary, and access by other systems is not delayed.

もしワークファイルの1つを保存ファイルとして正式に
共用ファイルもしくは固をファイルとしたければ、その
時点でVTOCへの登録を行なえばよい。
If you want to officially make one of the work files a shared file or a fixed file as a storage file, you can register it in the VTOC at that point.

〔実施例〕〔Example〕

第1図は本発明による領域管理方式の状態遷移図である
。空き状態(11にある領域はファイル領域割当処理に
よって、システム間共用ファイルとして割当済み状態(
2)となる。不要になった共用ファイルはファイル解放
処理によって空き状態illに戻る。また空き状!3t
t+にある領域は一括予約処理によっていずれか1つの
システムに対する予約状態(3)となる。システム予約
された領域は予約解除(一括解放)することもできる。
FIG. 1 is a state transition diagram of the area management system according to the present invention. Free status (The area in 11 is allocated as an inter-system shared file by file area allocation processing) (
2). A shared file that is no longer needed returns to the free state ill through file release processing. Another vacancy! 3t
The area at t+ becomes reserved for any one system (3) through the batch reservation process. The system reserved area can also be released (released all at once).

システム予約された領域内では夫々のシステムが自由に
利用することができる。システム予約領域でワークファ
イルとして用いていた領域をシステム固有領域とするこ
ともでき、部分割当て処理によってその領域は割当済み
状態(4)となる。勿論その領域を部分解放することも
できる。
Each system can freely use the area reserved by the system. The area used as a work file in the system reserved area can also be made into a system specific area, and the area becomes allocated state (4) through partial allocation processing. Of course, the area can also be partially released.

第2図は本発明の一実施例におけるVTOCの概略構造
及びボリューム内の各IN域との対応関係を示す図であ
り、ボリューム制御ブロック(VCB)はボリュームを
所定の単位大きさ毎に分けて、それぞれが割当済み(A
)か、空き(F)か、それとも予約済み(R)かを表示
している。ファイル割当てブロック(FEB)は各ファ
イルの名称、割当て先のシステム名、排他制御の態様、
ボリューム上でのアドレス、領域の大きさ、等を保持す
る。空きスペース制御ブロック(FSB)は空き領域の
大きさ、ボリューム上でのアドレス等を保持する。そし
て予約スペ−ス制御ブロック(R3Bl、R3B2)は
各システムに予約した領域の予約先システム名、大きさ
、ボリューム上のアドレス等を保持する。
FIG. 2 is a diagram showing the schematic structure of a VTOC and its correspondence with each IN area within a volume in an embodiment of the present invention, and the volume control block (VCB) divides the volume into predetermined unit sizes. , each has been assigned (A
), vacant (F), or reserved (R). The file allocation block (FEB) includes the name of each file, the name of the system to which it is allocated, the mode of exclusive control,
It holds the address, area size, etc. on the volume. A free space control block (FSB) holds information such as the size of free space and addresses on the volume. The reserved space control blocks (R3B1, R3B2) hold the reserved system name, size, volume address, etc. of the area reserved for each system.

〔発明の効果〕〔Effect of the invention〕

以上の如く本発明によれば、一時的なワークファイルは
VTOC上では単に予約済み表示にとどめ、固有ファイ
ル又は共用ファイルとしての登録はその必要が生じた時
点で行うようにすることによって、VTOCの更新処理
時間を短縮し、他システムのアクセス°禁止時間を短縮
することができ、大規模なオンラインシステムにおいて
も、効率の良いDASDの領域管理が可能となる。
As described above, according to the present invention, a temporary work file is only displayed as a reserved file on the VTOC, and is registered as a unique file or a shared file when the need arises. The update processing time can be shortened, the access prohibition time for other systems can be shortened, and even in a large-scale online system, efficient DASD area management is possible.

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

第1図は本発明による領域管理方式の状態遷移図、第2
図は本発明の一実施例におけるVTOCの概略構造及び
ボリューム内の領域との対応関係を示す図である。
FIG. 1 is a state transition diagram of the area management method according to the present invention, and FIG.
The figure is a diagram showing a schematic structure of a VTOC and its correspondence with areas within a volume in an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 領域の割当て状態を管理するボリューム登録簿(VTO
C)を備えて、複数のシステムで共用されるボリューム
の領域管理を制御する方式において、上記領域の割当て
状態として空き状態、割当済み状態及び予約済み状態を
定め、予約済み状態の領域については該領域を予約した
システムの領域管理プログラムによって、該システム内
の各リクエスト源に対するワークファイルの割当てを制
御することを特徴とするシステム間共用ボリュームの領
域管理制御方式。
The volume register (VTO) manages the area allocation status.
C), in which the allocation status of the above-mentioned areas is defined as free status, allocated status, and reserved status, and areas in the reserved status are subject to applicable conditions. An area management control method for an inter-system shared volume, characterized in that an area management program of a system that has reserved an area controls allocation of work files to each request source in the system.
JP59229303A 1984-10-31 1984-10-31 Area control system for inter-system share volume Pending JPS61109160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59229303A JPS61109160A (en) 1984-10-31 1984-10-31 Area control system for inter-system share volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59229303A JPS61109160A (en) 1984-10-31 1984-10-31 Area control system for inter-system share volume

Publications (1)

Publication Number Publication Date
JPS61109160A true JPS61109160A (en) 1986-05-27

Family

ID=16890020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59229303A Pending JPS61109160A (en) 1984-10-31 1984-10-31 Area control system for inter-system share volume

Country Status (1)

Country Link
JP (1) JPS61109160A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63124123A (en) * 1986-11-13 1988-05-27 Nec Corp Control system for magnetic disk device
JPH0635732A (en) * 1992-07-14 1994-02-10 Hitachi Ltd Area assigning method for storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63124123A (en) * 1986-11-13 1988-05-27 Nec Corp Control system for magnetic disk device
JPH0635732A (en) * 1992-07-14 1994-02-10 Hitachi Ltd Area assigning method for storage device

Similar Documents

Publication Publication Date Title
JPS61109160A (en) Area control system for inter-system share volume
JPH0713823A (en) File resource management system of virtual computer system
JPS61228538A (en) File control system
JPH02207350A (en) Common storage area allocation system
JPS61279959A (en) Saving and outputting system for main storage
JPH02280264A (en) Message block control system
JPS6364146A (en) Logical space control system
JPS62163154A (en) Virtual logic volume system
JPS61226842A (en) Resources control system for electronic computer system
JPH0348950A (en) Memory control system
JPH0251740A (en) Control system for process allocation
JPH04148247A (en) Automatic file optimization processing system for random-accessible storage device
JPH09212426A (en) Storage device managing method for virtual computer system
JPH01230134A (en) Information processor
JPS63148334A (en) Resource management system for multi-operating system
JPH08249225A (en) Memory management device
JPH02304615A (en) Allocating system for parallel disk control buffer
JPS63228249A (en) Program loading system
JPH0495120A (en) Data storage device assigning system
JPS59157754A (en) System for outputting simultaneously plural members to source program library
JPH04349546A (en) Shared memory pool managing system
JPH03154130A (en) Task switching system
JPS62192828A (en) File space allocation system
JPH02310745A (en) Work buffer sharing system
JPH05257794A (en) Main memory control system